xref: /trunk/main/sw/JunitTest_sw_complex.mk (revision f107c74e)
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))
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	complex.writer.LoadSaveTest \
62))
63
64# CheckBookmarks currently fails on windows because the hashes are different
65ifneq ($(OS),WNT)
66$(eval $(call gb_JunitTest_add_classes,sw_complex,\
67	complex.writer.CheckBookmarks \
68))
69endif
70
71# vim: set noet sw=4 ts=4:
72