Bump version to 5.0-14
[LibreOffice.git] / sc / qa / complex / calcPreview / makefile.mk
blob85eeefb47e8b1d91190c772e06988e527742c92c
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)" == ""
20 nothing .PHONY:
21 .ELSE
23 PRJ = ../../..
24 PRJNAME = sc
25 TARGET = qa_complex_calcpreview
27 .IF "$(OOO_JUNIT_JAR)" != ""
28 PACKAGE = complex/calcPreview
29 JAVATESTFILES = \
30 TestDocument.java \
31 ViewForwarder.java
33 JAVAFILES = $(JAVATESTFILES)
34 JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar
35 EXTRAJARFILES = $(OOO_JUNIT_JAR)
36 .END
38 .INCLUDE: settings.mk
39 .INCLUDE: target.mk
40 .INCLUDE: installationtest.mk
42 ALLTAR : javatest
44 .END
49 # PRJ = ..$/..$/..
50 # TARGET = ViewForward
51 # PRJNAME = $(TARGET)
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
70 # JARCOMPRESS = TRUE
72 # # --- Parameters for the test --------------------------------------
74 # # start an office if the parameter is set for the makefile
75 # .IF "$(OFFICE)" == ""
76 # CT_APPEXECCOMMAND =
77 # .ELSE
78 # CT_APPEXECCOMMAND = -AppExecutionCommand "$(OFFICE)$/soffice --accept=socket,host=localhost,port=8100;urp;"
79 # .ENDIF
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
100 # .ELSE
101 # $(CLASSDIR)$/$(PACKAGE)$/$(JAVAFILES:b).props : ALLDEP
102 # .ENDIF
104 # .INCLUDE : target.mk
107 # RUN:
108 # +java -cp "$(CLASSPATH)" $(CT_APP) $(CT_APPEXECCOMMAND) $(CT_TESTDOCS) $(CT_TESTBASE) $(CT_WORKDIR) $(CT_TIMEOUT) $(CT_TEST)
110 # run: RUN
112 # tst:
113 # +@echo $(CT_TESTDOCS)