summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-03-06 23:51:54 +0100
committerMichael Stahl <mstahl@redhat.com>2012-03-07 11:17:12 +0100
commit73867da36960adf8b79ff34c7094c63aa5a05940 (patch)
treeed5c412181697cd07dfbc1c18c33458b7ca7e5ae /qadevOOo
parent86d316f9737e2bbe37968b9b9b32bd9aa4564077 (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.
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