qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java | 6 +++++- qadevOOo/tests/java/mod/_forms/ODateModel.java | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-)
New commits: commit 8dbfb3bfb1b06abfdc99d483f1a9aa948d6efa6e Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Aug 5 11:51:23 2013 +0200 More little fixes for JunitTest_forms_unoapi ...needed since 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: If0fc8109d6da56c8e8df181ae0b35a4d9b34e767 diff --git a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java index 1433a7a..3580a02 100644 --- a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java +++ b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java @@ -110,12 +110,16 @@ public class _XValidatableFormComponent extends MultiMethodTest if ( testPropsNames[i].equals("Value") - || testPropsNames[i].equals("Time") || testPropsNames[i].equals("EffectiveValue") ) { oldValue = new Integer(10); } + else if (testPropsNames[i].equals("Time")) + { + oldValue = new com.sun.star.util.Time( + 10, (short) 10, (short) 10, (short) 10, false); + } Object newValue = ValueChanger.changePValue(oldValue); gValues[i] = newValue; diff --git a/qadevOOo/tests/java/mod/_forms/ODateModel.java b/qadevOOo/tests/java/mod/_forms/ODateModel.java index f5c7445..79d24c1 100644 --- a/qadevOOo/tests/java/mod/_forms/ODateModel.java +++ b/qadevOOo/tests/java/mod/_forms/ODateModel.java @@ -140,7 +140,7 @@ public class ODateModel extends GenericModelTest { NamedValue Date = new NamedValue(); Date.Name = "Date"; - Date.Value = new Integer(DBTools.TST_DATE); + Date.Value = new com.sun.star.util.Date(); super.m_propertiesToSet.add(Date); super.m_LCShape_Type = "FixedText"; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits