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