From f27dec459621543c9dcd94c72ab6af8147b8b4d6 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Tue, 11 Jan 2011 21:16:21 +0100 Subject: gnumake3: more work on junit subsequenttest migration --- xmloff/JunitTest_xmloff_unoapi.mk | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 xmloff/JunitTest_xmloff_unoapi.mk (limited to 'xmloff/JunitTest_xmloff_unoapi.mk') diff --git a/xmloff/JunitTest_xmloff_unoapi.mk b/xmloff/JunitTest_xmloff_unoapi.mk new file mode 100755 index 000000000000..78cd23137410 --- /dev/null +++ b/xmloff/JunitTest_xmloff_unoapi.mk @@ -0,0 +1,45 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_JunitTest_JunitTest,xmloff_unoapi)) + +$(eval $(call gb_JunitTest_set_defs,xmloff_unoapi,\ + $$(DEFS) \ + -Dorg.openoffice.test.arg.sce=$(SRCDIR)/xmloff/qa/unoapi/xmloff.sce \ + -Dorg.openoffice.test.arg.xcl=$(SRCDIR)/xmloff/qa/unoapi/knownissues.xcl \ + -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/xmloff/qa/unoapi/testdocuments \ +)) + +$(eval $(call gb_JunitTest_add_sourcefiles,xmloff_unoapi,\ + xmloff/qa/unoapi/Test \ +)) + +$(eval $(call gb_JunitTest_add_classes,xmloff_unoapi,\ + org.openoffice.xmloff.qa.unoapi.Test \ +)) + +# vim: set noet sw=4 ts=4: -- cgit From 526f8f9a9caa29d8687c8bddb20a60994a8d67ce Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Wed, 19 Jan 2011 14:16:46 +0100 Subject: gnumake3: #i116390# finishing support for Junittests in gbuild --- xmloff/JunitTest_xmloff_unoapi.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xmloff/JunitTest_xmloff_unoapi.mk') diff --git a/xmloff/JunitTest_xmloff_unoapi.mk b/xmloff/JunitTest_xmloff_unoapi.mk index 78cd23137410..8ac3a5aedfd3 100755 --- a/xmloff/JunitTest_xmloff_unoapi.mk +++ b/xmloff/JunitTest_xmloff_unoapi.mk @@ -34,6 +34,14 @@ $(eval $(call gb_JunitTest_set_defs,xmloff_unoapi,\ -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/xmloff/qa/unoapi/testdocuments \ )) +$(eval $(call gb_JunitTest_add_jars,xmloff_unoapi,\ + $(OUTDIR)/bin/OOoRunner.jar \ + $(OUTDIR)/bin/ridl.jar \ + $(OUTDIR)/bin/test.jar \ + $(OUTDIR)/bin/unoil.jar \ + $(OUTDIR)/bin/jurt.jar \ +)) + $(eval $(call gb_JunitTest_add_sourcefiles,xmloff_unoapi,\ xmloff/qa/unoapi/Test \ )) -- cgit