1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2011 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28$(eval $(call gb_JunitTest_JunitTest,sw_complex)) 29 30$(eval $(call gb_JunitTest_set_defs,sw_complex,\ 31 $$(DEFS) \ 32 -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/sw/qa/complex/writer/testdocuments \ 33)) 34 35$(eval $(call gb_JunitTest_add_sourcefiles,sw_complex,\ 36 sw/qa/complex/checkColor/CheckChangeColor \ 37 sw/qa/complex/indeterminateState/CheckIndeterminateState \ 38 sw/qa/complex/writer/CheckCrossReferences \ 39 sw/qa/complex/writer/LoadSaveTest \ 40 sw/qa/complex/writer/CheckNamedPropertyValues \ 41 sw/qa/complex/writer/CheckIndexedPropertyValues \ 42 sw/qa/complex/writer/TestDocument \ 43 sw/qa/complex/writer/CheckBookmarks \ 44 sw/qa/complex/writer/CheckFlies \ 45 sw/qa/complex/writer/TextPortionEnumerationTest \ 46 sw/qa/complex/accessibility/AccessibleRelationSet \ 47)) 48 49$(eval $(call gb_JunitTest_add_jars,sw_complex,\ 50 $(OUTDIR)/bin/OOoRunner.jar \ 51 $(OUTDIR)/bin/ridl.jar \ 52 $(OUTDIR)/bin/test.jar \ 53 $(OUTDIR)/bin/unoil.jar \ 54 $(OUTDIR)/bin/jurt.jar \ 55)) 56 57$(eval $(call gb_JunitTest_add_classes,sw_complex,\ 58 complex.accessibility.AccessibleRelationSet \ 59 complex.checkColor.CheckChangeColor \ 60 complex.writer.CheckCrossReferences \ 61 complex.writer.CheckFlies \ 62 complex.writer.CheckIndexedPropertyValues \ 63 complex.writer.CheckNamedPropertyValues \ 64 complex.writer.TextPortionEnumerationTest \ 65)) 66 67# CheckBookmarks currently fails on windows because the hashes are different 68ifneq ($(OS),WNT) 69$(eval $(call gb_JunitTest_add_classes,sw_complex,\ 70 complex.writer.CheckBookmarks \ 71)) 72endif 73 74# vim: set noet sw=4 ts=4: 75