summaryrefslogtreecommitdiff
path: root/sfx2/qa
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2011-01-11 12:43:09 +0100
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2011-01-11 12:43:09 +0100
commitdf399dd5b190c0e45262b6409fb7d7a08163abd9 (patch)
treebc84b1a0de19b7821ad1b49c968cb50e2ca39053 /sfx2/qa
parentb127144838ce91ad86d730a2026cf2019438aabf (diff)
gnumake3: complex tests in sfx2
Diffstat (limited to 'sfx2/qa')
-rw-r--r--sfx2/qa/complex/framework/TestDocument.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/qa/complex/framework/TestDocument.java b/sfx2/qa/complex/framework/TestDocument.java
index 8cc6ef7756b1..fa60ff2057a2 100644
--- a/sfx2/qa/complex/framework/TestDocument.java
+++ b/sfx2/qa/complex/framework/TestDocument.java
@@ -29,10 +29,11 @@ package complex.framework;
import java.io.File;
import org.openoffice.test.OfficeFileUrl;
+import org.openoffice.test.Argument;
final class TestDocument {
public static String getUrl(String name) {
- return OfficeFileUrl.getAbsolute(new File("testdocuments", name));
+ return OfficeFileUrl.getAbsolute(new File(org.openoffice.test.Argument.get("docpath"), name));
}
private TestDocument() {}