From 9cc52266bd1a4d01552675f151ce2da8c5210f84 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 17 Jun 2015 16:58:33 +0200 Subject: 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 --- qadevOOo/tests/java/ifc/chart/_ChartAxis.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit