summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:20:53 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:20:53 +0200
commitb29a838b1cd9014c0951312f53ca6c0ebb9e1219 (patch)
treef951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
parentb9bff9906e94ef3b1c8d6da779269122d39d8354 (diff)
recreated tag libreoffice-3.3.0.4 which had these commits:
commit 868b90218854a32bdd0bbcc85aad838f198e40bb (tag: refs/tags/libreoffice-3.3.0.4, refs/remotes/origin/libreoffice-3-3-0) Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 18 19:01:21 2011 +0100 Version 3.3.0.4, tag libreoffice-3.3.0.4 (3.3-rc4) commit 7525320ca65ca0cf2ed5ec481d9f26638aed1b5c Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 11 22:59:38 2011 +0100 Branch libreoffice-3-3-0 This is 'libreoffice-3-3-0' - the stable branch for the 3.3.0 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 3.3.x release, please use the 'libreoffice-3-3' branch. If you want to build something cool, unstable, and risky, use master.
Notes
Notes: split repo tag: testing_libreoffice-3.3.0.4
Diffstat (limited to 'qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java')
-rwxr-xr-xqadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
index eaacd4a5966a..e9a0700780f8 100755
--- a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,9 +58,9 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
public XTextFieldsSupplier oObj = null; // oObj filled by MultiMethodTest
private boolean mDispose = false;
private boolean mbCreateFieldMaster = true;
-
+
/**
- * Insert some text fields into a cell on the sheet, so this interface test
+ * Insert some text fields into a cell on the sheet, so this interface test
* makes sense.
*/
protected void before() {
@@ -139,10 +139,10 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
e.printStackTrace(log);
throw new StatusException("Couldn't insert textField.URL", e);
}
-
+
}
}
-
+
public void _getTextFields() {
XEnumerationAccess xEnumAccess = oObj.getTextFields();
XEnumeration xEnum = xEnumAccess.createEnumeration();
@@ -151,15 +151,15 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
Object o = xEnum.nextElement();
}
catch(com.sun.star.container.NoSuchElementException e) {
- setMethodFalse("getTextFields()", e);
+ setMethodFalse("getTextFields()", e);
}
catch(com.sun.star.lang.WrappedTargetException e) {
- setMethodFalse("getTextFields()", e);
+ setMethodFalse("getTextFields()", e);
}
}
tRes.tested("getTextFields()", xEnum != null);
}
-
+
public void _getTextFieldMasters() {
if (mbCreateFieldMaster) {
XNameAccess xName = oObj.getTextFieldMasters();
@@ -171,7 +171,7 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
tRes.tested("getTextFieldMasters()", true);
}
}
-
+
/**
* Just for convenience: log the exception and set the method false.
* @param method The name of the method to set to false.
@@ -182,10 +182,10 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
e.printStackTrace((PrintWriter)log);
tRes.tested(method, false);
}
-
+
protected void after() {
if (mDispose)
disposeEnvironment();
}
-
+
}