summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-03-06 23:51:54 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-03-08 11:44:45 +0000
commitb4931cf9e7d5a4bcda7c52c46d6c4f5e32420396 (patch)
treed8ebaeff92d979dbc21e50269828d98785e4da46 /qadevOOo
parent766931e1de1adee987108d59d96431dc41cd2d96 (diff)
qadevOOo: _XPropertySet.java: fix unrealistic expectations:
We can't assume that when setting properties whose semantics we don't know to random values in an arbitrary order, a non-changing value indicates any kind of error. The only real error this test can detect is if setting a property crashes. Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XPropertySet.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
index 07efacb4f415..09e933fb6a65 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
@@ -319,11 +319,15 @@ public class _XPropertySet extends MultiMethodTest {
"property '"+ propertyName+"'");
e.printStackTrace(log);
} // end of try-catch
+ /* this is stupid: we can't set properties whose semantics we
+ * don't know to random values in an arbitrary order and
+ * expect that to actually work.
if( gValue.equals(sValue) )
{
log.println("setting property '"+ propertyName+"' failed");
error = true;
}
+ */
}
tRes.tested("setPropertyValue()",!error);
} //endif