diff options
Diffstat (limited to 'qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java index 92df9c390bbd..50508ce8c9b6 100644 --- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java @@ -197,7 +197,7 @@ public class _XMultiPropertySet extends MultiMethodTest { e.printStackTrace(log); } // end of try-catch } - waitAMoment(); + util.utils.pause(200); tRes.tested("addPropertiesChangeListener()", propertiesChanged); } @@ -216,7 +216,7 @@ public class _XMultiPropertySet extends MultiMethodTest { propertiesChanged = false ; oObj.firePropertiesChangeEvent(testPropsNames, PClistener); - waitAMoment() ; + util.utils.pause(200); tRes.tested("firePropertiesChangeEvent()", propertiesChanged); } @@ -336,17 +336,6 @@ public class _XMultiPropertySet extends MultiMethodTest { testPropsAmount = nr; } - /** - * Waits some time for listener to be called. - */ - private void waitAMoment() { - try { - Thread.sleep(200) ; - } catch (InterruptedException e) { - log.println("!!! Exception while waiting !!!") ; - } - } - /* * Does nothing. */ |