diff options
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r-- | qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java index 5250e6de62a9..92df9c390bbd 100644 --- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java @@ -167,6 +167,11 @@ public class _XMultiPropertySet extends MultiMethodTest { testPropsAmount = 0; } + if (testPropsAmount == 0) { + log.println("all properties are read only"); + tRes.tested("addPropertiesChangeListener()", Status.skipped(true)); + return; + } // Change one of the property to be sure, that this event was cauched. for (int i=0; i<testPropsAmount;i++) { @@ -177,7 +182,6 @@ public class _XMultiPropertySet extends MultiMethodTest { gValues[i] = newValue; propertiesChanged = false; oObj.setPropertyValues(testPropsNames, gValues); - waitAMoment() ; log.println(" ... done"); } catch (com.sun.star.beans.PropertyVetoException e) { log.println("Exception occurred while trying to change "+ @@ -193,12 +197,8 @@ public class _XMultiPropertySet extends MultiMethodTest { e.printStackTrace(log); } // end of try-catch } - if (testPropsAmount == 0) { - log.println("all properties are read only"); - tRes.tested("addPropertiesChangeListener()", Status.skipped(true)); - } else { - tRes.tested("addPropertiesChangeListener()", propertiesChanged); - } + waitAMoment(); + tRes.tested("addPropertiesChangeListener()", propertiesChanged); } /** |