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))
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))
39
40$(eval $(call gb_JunitTest_add_sourcefiles,sfx2_complex,\
41	sfx2/qa/complex/sfx2/tools/DialogThread \
42	sfx2/qa/complex/sfx2/tools/WriterHelper \
43	sfx2/qa/complex/sfx2/tools/TestDocument \
44	sfx2/qa/complex/sfx2/GlobalEventBroadcaster \
45	sfx2/qa/complex/sfx2/DocumentMetadataAccess \
46	sfx2/qa/complex/sfx2/DocumentProperties \
47	sfx2/qa/complex/sfx2/DocumentInfo \
48	sfx2/qa/complex/sfx2/StandaloneDocumentInfo \
49	sfx2/qa/complex/sfx2/UndoManager \
50	sfx2/qa/complex/sfx2/JUnitBasedTest \
51	sfx2/qa/complex/sfx2/DocumentEvents \
52	sfx2/qa/complex/sfx2/standalonedocinfo/StandaloneDocumentInfoTest \
53	sfx2/qa/complex/sfx2/standalonedocinfo/TestHelper \
54	sfx2/qa/complex/sfx2/standalonedocinfo/Test01 \
55	sfx2/qa/complex/sfx2/undo/CalcDocumentTest \
56	sfx2/qa/complex/sfx2/undo/ChartDocumentTest \
57	sfx2/qa/complex/sfx2/undo/DocumentTest \
58	sfx2/qa/complex/sfx2/undo/DocumentTestBase \
59	sfx2/qa/complex/sfx2/undo/DrawDocumentTest \
60	sfx2/qa/complex/sfx2/undo/DrawingOrPresentationDocumentTest \
61	sfx2/qa/complex/sfx2/undo/ImpressDocumentTest \
62	sfx2/qa/complex/sfx2/undo/WriterDocumentTest \
63))
64
65$(eval $(call gb_JunitTest_add_classes,sfx2_complex,\
66	complex.sfx2.DocumentInfo \
67	complex.sfx2.DocumentProperties \
68	complex.sfx2.DocumentMetadataAccess \
69	complex.sfx2.UndoManager \
70	complex.sfx2.DocumentEvents \
71))
72# #i115674# fails currently: misses some OnUnfocus event
73#	complex.sfx2.GlobalEventBroadcaster \
74# breaks because binfilter export has been removed
75#	complex.sfx2.StandaloneDocumentInfo \
76
77# vim: set noet sw=4 ts=4:
78