Kaydet (Commit) 9cc52266 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Try make JunitTest_chart2_unoapi sch.ChXChartAxis more robust

...setting a new StepHelp value sometimes did not change the old value at all,
for whatever reason.

Change-Id: Id859091679bff96c1a3337bf32da42e7054cc166
üst c4e5a14b
......@@ -184,5 +184,17 @@ public class _ChartAxis extends MultiPropertyTest {
testProperty("StepMain", StepMainTester);
}
public void _StepHelp() {
try {
oObj.setPropertyValue("AutoStepMain", Boolean.FALSE);
oObj.setPropertyValue("Logarithmic",Boolean.FALSE);
oObj.setPropertyValue("StepMain", 100.0);
oObj.setPropertyValue("StepHelpCount", 10);
} catch (com.sun.star.uno.Exception e) {
throw new StatusException("Couldn't set property value", e);
}
testProperty("StepHelp");
}
} // finish class _ChartAxis
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