[Libreoffice-commits] core.git: qadevOOo/tests
Stephan Bergmann
sbergman at redhat.com
Wed Jun 17 07:59:48 PDT 2015
qadevOOo/tests/java/ifc/chart/_ChartAxis.java | 12 ++++++++++++
1 file changed, 12 insertions(+)
New commits:
commit 9cc52266bd1a4d01552675f151ce2da8c5210f84
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jun 17 16:58:33 2015 +0200
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
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java
index f63413e..8c8e17c 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
More information about the Libreoffice-commits
mailing list