1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24.IF "$(OOO_SUBSEQUENT_TESTS)" == ""
25nothing .PHONY:
26.ELSE
27
28PRJ = ../../..
29PRJNAME = svl
30TARGET = qa_complex_passwordcontainer
31
32.IF "$(OOO_JUNIT_JAR)" != ""
33PACKAGE = complex/passwordcontainer
34
35# here store only Files which contain a @Test
36JAVATESTFILES = \
37	PasswordContainerUnitTest.java
38
39
40# put here all other files
41JAVAFILES = $(JAVATESTFILES) \
42	PasswordContainerTest.java\
43	Test01.java\
44    Test02.java\
45    Test03.java\
46	TestHelper.java\
47	MasterPasswdHandler.java
48
49
50JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar
51EXTRAJARFILES = $(OOO_JUNIT_JAR)
52
53# Sample how to debug
54# JAVAIFLAGS=-Xdebug  -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y
55
56.END
57
58.INCLUDE: settings.mk
59.INCLUDE: target.mk
60.INCLUDE: installationtest.mk
61
62ALLTAR : javatest
63
64.END
65
66
67#
68#
69#
70#
71# PRJ = ..$/..$/..
72# TARGET  = PasswordContainerUnitTest
73# PRJNAME=svl
74# PACKAGE = complex$/passwordcontainer
75#
76# # --- Settings -----------------------------------------------------
77# .INCLUDE: settings.mk
78#
79#
80# #----- compile .java files -----------------------------------------
81#
82# JARFILES        = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunner.jar
83#
84# JAVAFILES       =\
85# 				PasswordContainerUnitTest.java\
86# 				PasswordContainerTest.java\
87# 				TestHelper.java\
88# 				Test01.java\
89#                 Test02.java\
90#                 Test03.java\
91# 				MasterPasswdHandler.java
92#
93# JAVACLASSFILES	= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
94#
95# #----- make a jar from compiled files ------------------------------
96#
97# MAXLINELENGTH = 100000
98#
99# JARCLASSDIRS    = $(PACKAGE)
100# JARTARGET       = $(TARGET).jar
101# JARCOMPRESS 	= TRUE
102#
103# # --- Parameters for the test --------------------------------------
104#
105# # start an office if the parameter is set for the makefile
106# .IF "$(OFFICE)" == ""
107# CT_APPEXECCOMMAND =
108# .ELSE
109# CT_APPEXECCOMMAND = -AppExecutionCommand "$(OFFICE)$/soffice -accept=socket,host=localhost,port=8100;urp;"
110# .ENDIF
111#
112# # test base is java complex
113# CT_TESTBASE = -TestBase java_complex
114#
115# # test looks something like the.full.package.TestName
116# CT_TEST     = -o $(PACKAGE:s\$/\.\).$(JAVAFILES:b)
117#
118# # start the runner application
119# CT_APP      = org.openoffice.Runner
120#
121# # --- Targets ------------------------------------------------------
122#
123# .INCLUDE: target.mk
124#
125# RUN: run
126#
127# run:
128#     +java -cp $(CLASSPATH) $(CT_APP) $(CT_TESTBASE) $(CT_APPEXECCOMMAND) $(CT_TEST)
129#
130#
131