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