xref: /trunk/main/sfx2/JunitTest_sfx2_complex.mk (revision b9af2a23)
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,sfx2_complex,SRCDIR))
25
26$(eval $(call gb_JunitTest_set_defs,sfx2_complex,\
27	$$(DEFS) \
28	-Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/sfx2/qa/complex/sfx2/testdocuments \
29))
30
31$(eval $(call gb_JunitTest_add_jars,sfx2_complex,\
32	$(OUTDIR)/bin/OOoRunner.jar \
33	$(OUTDIR)/bin/ridl.jar \
34	$(OUTDIR)/bin/test.jar \
35	$(OUTDIR)/bin/test-tools.jar \
36	$(OUTDIR)/bin/unoil.jar \
37	$(OUTDIR)/bin/jurt.jar \
38	$(OUTDIR)/bin/juh.jar \
39))
40
41$(eval $(call gb_JunitTest_add_sourcefiles,sfx2_complex,\
42	sfx2/qa/complex/sfx2/tools/DialogThread \
43	sfx2/qa/complex/sfx2/tools/WriterHelper \
44	sfx2/qa/complex/sfx2/tools/TestDocument \
45	sfx2/qa/complex/sfx2/GlobalEventBroadcaster \
46	sfx2/qa/complex/sfx2/DocumentMetadataAccess \
47	sfx2/qa/complex/sfx2/DocumentProperties \
48	sfx2/qa/complex/sfx2/DocumentInfo \
49	sfx2/qa/complex/sfx2/StandaloneDocumentInfo \
50	sfx2/qa/complex/sfx2/UndoManager \
51	sfx2/qa/complex/sfx2/JUnitBasedTest \
52	sfx2/qa/complex/sfx2/DocumentEvents \
53	sfx2/qa/complex/sfx2/standalonedocinfo/StandaloneDocumentInfoTest \
54	sfx2/qa/complex/sfx2/standalonedocinfo/TestHelper \
55	sfx2/qa/complex/sfx2/standalonedocinfo/Test01 \
56	sfx2/qa/complex/sfx2/undo/CalcDocumentTest \
57	sfx2/qa/complex/sfx2/undo/ChartDocumentTest \
58	sfx2/qa/complex/sfx2/undo/DocumentTest \
59	sfx2/qa/complex/sfx2/undo/DocumentTestBase \
60	sfx2/qa/complex/sfx2/undo/DrawDocumentTest \
61	sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest \
62	sfx2/qa/complex/sfx2/undo/ImpressDocumentTest \
63	sfx2/qa/complex/sfx2/undo/WriterDocumentTest \
64))
65
66$(eval $(call gb_JunitTest_add_classes,sfx2_complex,\
67	complex.sfx2.DocumentInfo \
68	complex.sfx2.DocumentProperties \
69	complex.sfx2.DocumentMetadataAccess \
70	complex.sfx2.UndoManager \
71	complex.sfx2.DocumentEvents \
72))
73# #i115674# fails currently: misses some OnUnfocus event
74#	complex.sfx2.GlobalEventBroadcaster \
75# breaks because binfilter export has been removed
76#	complex.sfx2.StandaloneDocumentInfo \
77
78# vim: set noet sw=4 ts=4:
79