summaryrefslogtreecommitdiff
path: root/unoxml/qa/complex
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2011-02-10 18:37:54 +0100
committerMichael Stahl <mst@openoffice.org>2011-02-10 18:37:54 +0100
commitd3df5839b98a439ee82f642b5f435a9250dcc8b4 (patch)
treef42482bf7251609c8db9174222429be68e70b352 /unoxml/qa/complex
parent1076aee651966c51e96c505632708ee336091432 (diff)
xmlfix3: convert unoxml to gbuild
Diffstat (limited to 'unoxml/qa/complex')
-rw-r--r--unoxml/qa/complex/unoxml/TestDocument.java3
-rw-r--r--unoxml/qa/complex/unoxml/makefile.mk59
2 files changed, 2 insertions, 60 deletions
diff --git a/unoxml/qa/complex/unoxml/TestDocument.java b/unoxml/qa/complex/unoxml/TestDocument.java
index bce9510e4d94..d64431f21741 100644
--- a/unoxml/qa/complex/unoxml/TestDocument.java
+++ b/unoxml/qa/complex/unoxml/TestDocument.java
@@ -29,10 +29,11 @@ package complex.unoxml;
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(Argument.get("tdoc"), name));
}
private TestDocument() {}
diff --git a/unoxml/qa/complex/unoxml/makefile.mk b/unoxml/qa/complex/unoxml/makefile.mk
deleted file mode 100644
index 136d23a9a232..000000000000
--- a/unoxml/qa/complex/unoxml/makefile.mk
+++ /dev/null
@@ -1,59 +0,0 @@
-#*************************************************************************
-#
-# 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
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-.IF "$(OOO_SUBSEQUENT_TESTS)" == ""
-nothing .PHONY:
-.ELSE
-
-PRJ = ../../..
-PRJNAME = unoxml
-TARGET = qa_complex_unoxml
-
-.IF "$(OOO_JUNIT_JAR)" != ""
-PACKAGE = complex/unoxml
-JAVATESTFILES = \
- RDFRepositoryTest.java
-
-JAVAFILES = $(JAVATESTFILES) \
- TestDocument.java
-
-JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar
-EXTRAJARFILES = $(OOO_JUNIT_JAR)
-
-# Sample how to debug
-# JAVAIFLAGS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y
-.END
-
-.INCLUDE: settings.mk
-.INCLUDE: target.mk
-.INCLUDE: installationtest.mk
-
-ALLTAR : javatest
-
-.END
-
-