xref: /AOO41X/main/sw/JunitTest_sw_complex.mk (revision 752c0af7a363384187ac405b16fce81a66637031)
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))
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))
52
53$(eval $(call gb_JunitTest_add_classes,sw_complex,\
54    complex.accessibility.AccessibleRelationSet \
55    complex.checkColor.CheckChangeColor \
56    complex.writer.CheckCrossReferences \
57    complex.writer.CheckFlies \
58    complex.writer.CheckIndexedPropertyValues \
59    complex.writer.CheckNamedPropertyValues \
60    complex.writer.TextPortionEnumerationTest \
61))
62
63# CheckBookmarks currently fails on windows because the hashes are different
64ifneq ($(OS),WNT)
65$(eval $(call gb_JunitTest_add_classes,sw_complex,\
66    complex.writer.CheckBookmarks \
67))
68endif
69
70# vim: set noet sw=4 ts=4:
71