summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-31 21:04:27 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-02 00:26:51 +0100
commit5bd82e6c7bad871689106158f2a82d56e7bffb35 (patch)
tree5f8474bb1543ef0aabd3181500aa359d97afd111 /qadevOOo
parentbd6187ae9fdf2535333d372be65f01131262d385 (diff)
prevent hanging junit tests
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java4
-rw-r--r--qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java4
2 files changed, 2 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
index 1068af55b063..b81a4b56c767 100644
--- a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
+++ b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsEnumeration.java
@@ -75,9 +75,7 @@ public class ScUniqueCellFormatsEnumeration extends TestCase {
* Disposes Spreadsheet document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
- //add this lines after synchronisation
- //log.println(" disposing xSheetDoc ");
- //DesktopTools.closeDoc(xSheetDoc);
+ util.DesktopTools.closeDoc(xSheetDoc);
}
protected TestEnvironment createTestEnvironment(TestParameters tParam,
diff --git a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java
index e85fcb2bb4c5..5a5920469f55 100644
--- a/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java
+++ b/qadevOOo/tests/java/mod/_sc/ScUniqueCellFormatsObj.java
@@ -74,9 +74,7 @@ public class ScUniqueCellFormatsObj extends TestCase {
* Disposes Spreadsheet document.
*/
protected void cleanup(TestParameters tParam, PrintWriter log) {
- //add this lines after synchronisation
- //log.println(" disposing xSheetDoc ");
- //DesktopTools.closeDoc(xSheetDoc);
+ util.DesktopTools.closeDoc(xSheetDoc);
}
protected TestEnvironment createTestEnvironment(TestParameters tParam,