1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2011 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_JunitTest_JunitTest,framework_complex))
29
30$(eval $(call gb_JunitTest_set_defs,framework_complex,\
31	$$(DEFS) \
32	-Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/framework/qa/complex/broken_document/test_documents \
33))
34
35$(eval $(call gb_JunitTest_add_jars,framework_complex,\
36	$(OUTDIR)/bin/OOoRunner.jar \
37	$(OUTDIR)/bin/ridl.jar \
38	$(OUTDIR)/bin/test.jar \
39	$(OUTDIR)/bin/unoil.jar \
40	$(OUTDIR)/bin/jurt.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