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 .
19 .IF
"$(OOO_SUBSEQUENT_TESTS)" == ""
25 TARGET
= qa_complex_calcpreview
27 .IF
"$(OOO_JUNIT_JAR)" != ""
28 PACKAGE
= complex
/calcPreview
33 JAVAFILES
= $(JAVATESTFILES
)
34 JARFILES
= OOoRunner.jar ridl.jar
test.jar unoil.jar jurt.jar
35 EXTRAJARFILES
= $(OOO_JUNIT_JAR
)
40 .INCLUDE
: installationtest.mk
50 # TARGET = ViewForward
52 # PACKAGE = complex$/calcPreview
54 # # --- Settings -----------------------------------------------------
55 # .INCLUDE: settings.mk
58 # #----- compile .java files -----------------------------------------
60 # JARFILES = mysql.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunner.jar mysql.jar
61 # JAVAFILES = ViewForwarder.java
62 # JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
64 # #----- make a jar from compiled files ------------------------------
66 # MAXLINELENGTH = 100000
68 # JARCLASSDIRS = $(PACKAGE)
69 # JARTARGET = $(TARGET).jar
72 # # --- Parameters for the test --------------------------------------
74 # # start an office if the parameter is set for the makefile
75 # .IF "$(OFFICE)" == ""
78 # CT_APPEXECCOMMAND = -AppExecutionCommand "$(OFFICE)$/soffice --accept=socket,host=localhost,port=8100;urp;"
81 # # test base is java complex
82 # CT_TESTBASE = -TestBase java_complex
84 # # set test document path
85 # CT_TESTDOCS = -tdoc $(PWD)$/test_documents
87 # # test looks something like the.full.package.TestName
88 # CT_TEST = -o $(PACKAGE:s\$/\.\).$(JAVAFILES:b)
90 # # start the runner application
91 # CT_APP = org.openoffice.Runner
93 # # set the timeout to a bigger value
94 # CT_TIMEOUT = -TimeOut 120000
96 # # --- Targets ------------------------------------------------------
98 # .IF "$(depend)" == ""
99 # $(CLASSDIR)$/$(PACKAGE)$/$(JAVAFILES:b).props : ALLTAR
101 # $(CLASSDIR)$/$(PACKAGE)$/$(JAVAFILES:b).props : ALLDEP
104 # .INCLUDE : target.mk
108 # +java -cp "$(CLASSPATH)" $(CT_APP) $(CT_APPEXECCOMMAND) $(CT_TESTDOCS) $(CT_TESTBASE) $(CT_WORKDIR) $(CT_TIMEOUT) $(CT_TEST)
113 # +@echo $(CT_TESTDOCS)