2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 TARGET
= StorageUnitTest
24 PACKAGE
= complex
$/storages
26 # --- Settings -----------------------------------------------------
30 #----- compile .java files -----------------------------------------
32 JARFILES
= ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunner.jar
57 RegressionTest_114358.java\
58 RegressionTest_i29169.java\
59 RegressionTest_i30400.java\
60 RegressionTest_i29321.java\
61 RegressionTest_i30677.java\
62 RegressionTest_i27773.java\
63 RegressionTest_i46848.java\
64 RegressionTest_i55821.java\
65 RegressionTest_i35095.java\
66 RegressionTest_i49755.java\
67 RegressionTest_i59886.java\
68 RegressionTest_i61909.java\
69 RegressionTest_i84234.java\
70 RegressionTest_125919.java
72 JAVACLASSFILES
= $(foreach,i
,$(JAVAFILES
) $(CLASSDIR
)$/$(PACKAGE
)$/$(i
:b
).class
)
74 #----- make a jar from compiled files ------------------------------
76 MAXLINELENGTH
= 100000
78 JARCLASSDIRS
= $(PACKAGE
)
79 JARTARGET
= $(TARGET
).jar
82 # --- Parameters for the test --------------------------------------
84 # start an office if the parameter is set for the makefile
88 CT_APPEXECCOMMAND
= -AppExecutionCommand
"$(OFFICE)$/soffice --accept=socket,host=localhost,port=8100;urp;"
91 # test base is java complex
92 CT_TESTBASE
= -TestBase java_complex
94 # test looks something like the.full.package.TestName
95 CT_TEST
= -o
$(PACKAGE
:s\
$/\.\
).
$(JAVAFILES
:b
)
97 # start the runner application
98 CT_APP
= org.openoffice.Runner
100 # --- Targets ------------------------------------------------------
107 java
-cp
$(CLASSPATH
) $(CT_APP
) $(CT_TESTBASE
) $(CT_APPEXECCOMMAND
) $(CT_TEST
)