summaryrefslogtreecommitdiffstats
path: root/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java')
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
index d55e56e4ab48..97354b886738 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
@@ -51,6 +51,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -63,6 +64,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _BorderColor() {
testProperty("BorderColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
@@ -75,6 +77,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -87,6 +90,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
@@ -99,6 +103,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
*/
public void _Tabstop() {
testProperty("Tabstop", new PropertyTester() {
+ @Override
protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Boolean(true) : null ;
}