xref: /trunk/main/sw/JunitTest_sw_complex.mk (revision 3309286857f19787ae62bd793a98b5af4edd2ad3)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_JunitTest_JunitTest,sw_complex,SRCDIR))
25
26$(eval $(call gb_JunitTest_set_defs,sw_complex,\
27    $$(DEFS) \
28    -Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/sw/qa/complex/writer/testdocuments \
29))
30
31$(eval $(call gb_JunitTest_add_sourcefiles,sw_complex,\
32    sw/qa/complex/checkColor/CheckChangeColor \
33    sw/qa/complex/indeterminateState/CheckIndeterminateState \
34    sw/qa/complex/writer/CheckCrossReferences \
35    sw/qa/complex/writer/LoadSaveTest \
36    sw/qa/complex/writer/CheckNamedPropertyValues \
37    sw/qa/complex/writer/CheckIndexedPropertyValues \
38    sw/qa/complex/writer/TestDocument \
39    sw/qa/complex/writer/CheckBookmarks \
40    sw/qa/complex/writer/CheckFlies \
41    sw/qa/complex/writer/TextPortionEnumerationTest \
42    sw/qa/complex/accessibility/AccessibleRelationSet \
43))
44
45$(eval $(call gb_JunitTest_add_jars,sw_complex,\
46    $(OUTDIR)/bin/OOoRunner.jar \
47    $(OUTDIR)/bin/ridl.jar \
48    $(OUTDIR)/bin/test.jar \
49    $(OUTDIR)/bin/unoil.jar \
50    $(OUTDIR)/bin/jurt.jar \
51    $(OUTDIR)/bin/juh.jar \
52))
53
54$(eval $(call gb_JunitTest_add_classes,sw_complex,\
55    complex.accessibility.AccessibleRelationSet \
56    complex.checkColor.CheckChangeColor \
57    complex.writer.CheckCrossReferences \
58    complex.writer.CheckFlies \
59    complex.writer.CheckIndexedPropertyValues \
60    complex.writer.CheckNamedPropertyValues \
61    complex.writer.TextPortionEnumerationTest \
62    complex.writer.LoadSaveTest \
63))
64
65# CheckBookmarks currently fails on windows because the hashes are different
66ifneq ($(OS),WNT)
67$(eval $(call gb_JunitTest_add_classes,sw_complex,\
68    complex.writer.CheckBookmarks \
69))
70endif
71
72# vim: set noet sw=4 ts=4:
73