Kaydet (Commit) 73867da3 authored tarafından Michael Stahl's avatar Michael Stahl

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.
üst 86d316f9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment