1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir$(eval $(call gb_JunitTest_JunitTest,framework_complex))
25cdf0e10cSrcweir
26cdf0e10cSrcweir$(eval $(call gb_JunitTest_set_defs,framework_complex,\
27cdf0e10cSrcweir	$$(DEFS) \
28cdf0e10cSrcweir	-Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/framework/qa/complex/broken_document/test_documents \
29cdf0e10cSrcweir))
30cdf0e10cSrcweir
31cdf0e10cSrcweir$(eval $(call gb_JunitTest_add_jars,framework_complex,\
32cdf0e10cSrcweir	$(OUTDIR)/bin/OOoRunner.jar \
33cdf0e10cSrcweir	$(OUTDIR)/bin/ridl.jar \
34cdf0e10cSrcweir	$(OUTDIR)/bin/test.jar \
35cdf0e10cSrcweir	$(OUTDIR)/bin/unoil.jar \
36cdf0e10cSrcweir	$(OUTDIR)/bin/jurt.jar \
37cdf0e10cSrcweir))
38cdf0e10cSrcweir
39cdf0e10cSrcweir$(eval $(call gb_JunitTest_add_sourcefiles,framework_complex,\
40cdf0e10cSrcweir	framework/qa/complex/disposing/GetServiceWhileDisposingOffice \
41cdf0e10cSrcweir	framework/qa/complex/path_substitution/PathSubstitutionTest \
42cdf0e10cSrcweir	framework/qa/complex/loadAllDocuments/InteractionHandler \
43cdf0e10cSrcweir	framework/qa/complex/loadAllDocuments/StreamSimulator \
44cdf0e10cSrcweir	framework/qa/complex/loadAllDocuments/TestDocument \
45cdf0e10cSrcweir	framework/qa/complex/loadAllDocuments/CheckXComponentLoader \
46cdf0e10cSrcweir	framework/qa/complex/loadAllDocuments/StatusIndicator \
47cdf0e10cSrcweir	framework/qa/complex/broken_document/TestDocument \
48cdf0e10cSrcweir	framework/qa/complex/broken_document/LoadDocument \
49cdf0e10cSrcweir	framework/qa/complex/XUserInputInterception/EventTest \
50cdf0e10cSrcweir	framework/qa/complex/framework/autosave/AutoSave \
51cdf0e10cSrcweir	framework/qa/complex/framework/autosave/Protocol \
52cdf0e10cSrcweir	framework/qa/complex/framework/autosave/ConfigHelper \
53cdf0e10cSrcweir	framework/qa/complex/framework/recovery/TimeoutThread \
54cdf0e10cSrcweir	framework/qa/complex/framework/recovery/KlickButtonThread \
55cdf0e10cSrcweir	framework/qa/complex/framework/recovery/RecoveryTools \
56cdf0e10cSrcweir	framework/qa/complex/framework/recovery/RecoveryTest \
57cdf0e10cSrcweir	framework/qa/complex/framework/recovery/CrashThread \
58cdf0e10cSrcweir	framework/qa/complex/accelerators/AcceleratorsConfigurationTest \
59cdf0e10cSrcweir	framework/qa/complex/accelerators/KeyMapping \
60cdf0e10cSrcweir	framework/qa/complex/contextMenuInterceptor/CheckContextMenuInterceptor \
61cdf0e10cSrcweir	framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor \
62cdf0e10cSrcweir	framework/qa/complex/path_settings/PathSettingsTest \
63cdf0e10cSrcweir	framework/qa/complex/desktop/DesktopTerminate \
64cdf0e10cSrcweir	framework/qa/complex/imageManager/_XComponent \
65cdf0e10cSrcweir	framework/qa/complex/imageManager/CheckImageManager \
66cdf0e10cSrcweir	framework/qa/complex/imageManager/_XTypeProvider \
67cdf0e10cSrcweir	framework/qa/complex/imageManager/_XInitialization \
68cdf0e10cSrcweir	framework/qa/complex/imageManager/_XImageManager \
69cdf0e10cSrcweir	framework/qa/complex/imageManager/_XUIConfigurationPersistence \
70cdf0e10cSrcweir	framework/qa/complex/imageManager/_XUIConfiguration \
71cdf0e10cSrcweir	framework/qa/complex/api_internal/CheckAPI \
72cdf0e10cSrcweir	framework/qa/complex/dispatches/Interceptor \
73cdf0e10cSrcweir	framework/qa/complex/ModuleManager/CheckXModuleManager \
74cdf0e10cSrcweir))
75cdf0e10cSrcweir
76cdf0e10cSrcweir# does not build
77cdf0e10cSrcweir#	framework/qa/complex/dispatches/checkdispatchapi \
78cdf0e10cSrcweir
79cdf0e10cSrcweir$(eval $(call gb_JunitTest_add_classes,framework_complex,\
80cdf0e10cSrcweir))
81cdf0e10cSrcweir# these were disabled in the old build system too, please check
82cdf0e10cSrcweir# carefully before reenabling
83cdf0e10cSrcweir#	complex.ModuleManager.CheckXModuleManager \
84cdf0e10cSrcweir	complex.XUserInputInterception.EventTest \
85cdf0e10cSrcweir	complex.accelerators.AcceleratorsConfigurationTest \
86cdf0e10cSrcweir	complex.dispatches.checkdispatchapi \
87cdf0e10cSrcweir	complex.api_internal.CheckAPI \
88cdf0e10cSrcweir	complex.broken_document.LoadDocument \
89cdf0e10cSrcweir	complex.desktop.DesktopTerminate \
90cdf0e10cSrcweir	complex.disposing.GetServiceWhileDisposingOffice \
91cdf0e10cSrcweir	complex.framework.autosave.AutoSave \
92cdf0e10cSrcweir	complex.framework.recovery.RecoveryTest \
93cdf0e10cSrcweir	complex.imageManager.CheckImageManager \
94cdf0e10cSrcweir	complex.loadAllDocuments.CheckXComponentLoader \
95cdf0e10cSrcweir	complex.path_settings.PathSettingsTest \
96cdf0e10cSrcweir	complex.path_substitution.PathSubstitutionTest \
97cdf0e10cSrcweir
98cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
99