diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-17 16:58:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-17 16:59:26 +0200 |
commit | 9cc52266bd1a4d01552675f151ce2da8c5210f84 (patch) | |
tree | 1da30140132f860b5d6555ee06d0643f0de46747 | |
parent | c4e5a14b1c8d2d85476791c519ac7df8b13f02df (diff) |
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
-rw-r--r-- | qadevOOo/tests/java/ifc/chart/_ChartAxis.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java index f63413ebe7cb..8c8e17c65606 100644 --- a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java +++ b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java @@ -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 |