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,framework_complex))
25
26$(eval $(call gb_JunitTest_set_defs,framework_complex,\
27	$$(DEFS) \
28	-Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/framework/qa/complex/broken_document/test_documents \
29))
30
31$(eval $(call gb_JunitTest_add_jars,framework_complex,\
32	$(OUTDIR)/bin/OOoRunner.jar \
33	$(OUTDIR)/bin/ridl.jar \
34	$(OUTDIR)/bin/test.jar \
35	$(OUTDIR)/bin/unoil.jar \
36	$(OUTDIR)/bin/jurt.jar \
37))
38
39$(eval $(call gb_JunitTest_add_sourcefiles,framework_complex,\
40	framework/qa/complex/disposing/GetServiceWhileDisposingOffice \
41	framework/qa/complex/path_substitution/PathSubstitutionTest \
42	framework/qa/complex/loadAllDocuments/InteractionHandler \
43	framework/qa/complex/loadAllDocuments/StreamSimulator \
44	framework/qa/complex/loadAllDocuments/TestDocument \
45	framework/qa/complex/loadAllDocuments/CheckXComponentLoader \
46	framework/qa/complex/loadAllDocuments/StatusIndicator \
47	framework/qa/complex/broken_document/TestDocument \
48	framework/qa/complex/broken_document/LoadDocument \
49	framework/qa/complex/XUserInputInterception/EventTest \
50	framework/qa/complex/framework/autosave/AutoSave \
51	framework/qa/complex/framework/autosave/Protocol \
52	framework/qa/complex/framework/autosave/ConfigHelper \
53	framework/qa/complex/framework/recovery/TimeoutThread \
54	framework/qa/complex/framework/recovery/KlickButtonThread \
55	framework/qa/complex/framework/recovery/RecoveryTools \
56	framework/qa/complex/framework/recovery/RecoveryTest \
57	framework/qa/complex/framework/recovery/CrashThread \
58	framework/qa/complex/accelerators/AcceleratorsConfigurationTest \
59	framework/qa/complex/accelerators/KeyMapping \
60	framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor \
61	framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor \
62	framework/qa/complex/path_settings/PathSettingsTest \
63	framework/qa/complex/desktop/DesktopTerminate \
64	framework/qa/complex/imageManager/_XComponent \
65	framework/qa/complex/imageManager/CheckImageManager \
66	framework/qa/complex/imageManager/_XTypeProvider \
67	framework/qa/complex/imageManager/_XInitialization \
68	framework/qa/complex/imageManager/_XImageManager \
69	framework/qa/complex/imageManager/_XUIConfigurationPersistence \
70	framework/qa/complex/imageManager/_XUIConfiguration \
71	framework/qa/complex/api_internal/CheckAPI \
72	framework/qa/complex/dispatches/Interceptor \
73	framework/qa/complex/ModuleManager/CheckXModuleManager \
74))
75
76# does not build
77#	framework/qa/complex/dispatches/checkdispatchapi \
78
79$(eval $(call gb_JunitTest_add_classes,framework_complex,\
80))
81# these were disabled in the old build system too, please check
82# carefully before reenabling
83#	complex.ModuleManager.CheckXModuleManager \
84	complex.XUserInputInterception.EventTest \
85	complex.accelerators.AcceleratorsConfigurationTest \
86	complex.dispatches.checkdispatchapi \
87	complex.api_internal.CheckAPI \
88	complex.broken_document.LoadDocument \
89	complex.desktop.DesktopTerminate \
90	complex.disposing.GetServiceWhileDisposingOffice \
91	complex.framework.autosave.AutoSave \
92	complex.framework.recovery.RecoveryTest \
93	complex.imageManager.CheckImageManager \
94	complex.loadAllDocuments.CheckXComponentLoader \
95	complex.path_settings.PathSettingsTest \
96	complex.path_substitution.PathSubstitutionTest \
97
98# vim: set noet sw=4 ts=4:
99