diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java index d48ff910cbbb..7c4fd15a288f 100644 --- a/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java +++ b/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java @@ -29,6 +29,7 @@ public class _UnoControlSpinButtonModel extends MultiPropertyTest { */ public void _BackgroundColor() { testProperty("BackgroundColor", new PropertyTester() { + @Override protected Object getNewValue(String p, Object old) { return utils.isVoid(old) ? new Integer(32768) : null ; } @@ -41,6 +42,7 @@ public class _UnoControlSpinButtonModel 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 ; } @@ -53,6 +55,7 @@ public class _UnoControlSpinButtonModel extends MultiPropertyTest { */ public void _SymbolColor() { testProperty("SymbolColor", new PropertyTester() { + @Override protected Object getNewValue(String p, Object old) { return utils.isVoid(old) ? new Integer(65324) : null ; } |