/
ts.jte.jdk11
269 lines (251 loc) · 12.8 KB
/
ts.jte.jdk11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
#
# Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0, which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the
# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
# version 2 with the GNU Classpath Exception, which is available at
# https://www.gnu.org/software/classpath/license.html.
#
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
#
#########################################################################
#
# JavaTest Environment file for JSF Compatibility Test Suite
#
# Environment specific properties in this file will likely
# have to be modified prior to running the JSF TCK. Instructions
# for modifying these properties are contained in this file.
#
#########################################################################
#########################################################################
## @jte.version This version denotes the bundle this JTE was
## originally included with. The version matches the ID
## in the bundle name. It can be used to identify a
## mismatched JTE file. This value is filled in during
## the build process as part of sanitizing the jte file.
#########################################################################
jte.version=@JTE_VERSION@
#########################################################################
# The following properties MUST be set prior to running the
# TCK for JavaServer Faces.
# ---------------------------------
# webServerHost - Specifies the host of the target container
# webServerPort - Specifies the port the container is bound
# webServerHome - Specifies the installation directory of the container
#
# The web.deployment.handler property must refer to an ANT file containing
# at least a single target named 'deploy'. When 'ant deploy' is invoked,
# this target will be invoked to handle the deployment of the web
# applications to the target server.
#
# If using a custom handler, copy the handler to TS_HOME/bin/deploy and
# provide only the filename as the property value.
#
# The JSF TCK includes 3 handlers:
# - none (no deployment occurs)
# - glassfish (deployment to SJSAS/Glassfish)
# - tomcat (Tomcat)
#
# jsf.classes - Specifies the JSF API and implementation classes that
# are under test
#
# jspservlet.classes - Specifies the path to the Servlet & JSP API classes.
#
#
# Here are some example configurations.
#
# Glassfish V4 Example:
# webServerHost=localhost
# webServerPort=8080
# webServerHome=/sun/glassfish3/glassfish
# impl.vi=glassfish
# impl.vi.deploy.dir=${webServerHome}/domains/domain1/autodeploy
# impl.deploy.timeout.multiplier=20
# jsf.classes=${webServerHome}/modules/jakarta.faces.jar${pathsep} \
# ${webServerHome}/modules/weld-osgi-bundle.jar
# jspservlet.classes=${webServerHome}/modules/jakarta.servlet.jsp.jar${pathsep} \
# ${webServerHome}/modules/jakarta.servlet.jsp.jstl-api.jar${pathsep} \
# ${webServerHome}/modules/jakarta.servlet.jsp.jstl.jar${pathsep} \
# ${webServerHome}/modules/jakarta.servlet-api.jar${pathsep} \
# ${webServerHome}/modules/jakarta.el.jar${pathsep} \
# ${webServerHome}/modules/jakarta.servlet.jsp-api.jar
#
#########################################################################
webServerHost=localhost
webServerPort=8080
webServerHome=/ri/glassfish3/glassfish
impl.vi=glassfish
impl.vi.deploy.dir=${webServerHome}/domains/domain1/autodeploy
impl.deploy.timeout.multiplier=20
jsf.classes=${webServerHome}/modules/jakarta.faces.jar${pathsep}${webServerHome}/modules/weld-osgi-bundle.jar
jspservlet.classes=${webServerHome}/modules/jakarta.servlet.jsp.jar${pathsep}${webServerHome}/modules/jakarta.servlet.jsp.jstl.jar${pathsep}${webServerHome}/modules/jakarta.servlet.jsp.jstl-api.jar${pathsep}${webServerHome}/modules/jakarta.servlet-api.jar${pathsep}${webServerHome}/modules/jakarta.el.jar${pathsep}${webServerHome}/modules/jakarta.servlet.jsp-api.jar
########################################################################
# @javatest.timeout.factor This property specifies the scale factor used by
# Javatest to adjust the time JavaTest will wait for a given test to
# complete before returning failure. For instance if the default test timeout
# is 5 minutes, this value will be multiplied by 5 minutes to determine
# the total timeout delay. Note: this value only works with Javatest's
# batch mode (runclient). When using the Javatest GUI users must change
# this timeout factor in the GUI. Configure -> Edit Configuration -> View
# -> choose Standard Values -> select tab Execution -> set Time Factor.
########################################################################
javatest.timeout.factor=2.0
########################################################################
#
# @sigTestClasspath: This property must be set when running signature
# tests. This property should be set to a list of
# jar files and/or directories which contain your
# Java EE and Java SE classes. Paths must be
# separated by the appropriate path separator
# (';' windows, ':' Unixes).
#
# Note: On Mac OS X systems use the following:
# sigTestClasspath=${jsf.classes}${pathsep}${jspservlet.classes}${pathsep}\
# /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar
#
# Sun's J2SE:
# sigTestClasspath=${jsf.classes}${pathsep}${jspservlet.classes}${pathsep}\
# ${java.home}/jre/lib/rt.jar
#
########################################################################
sigTestClasspath=${jsf.classes}${pathsep}${jspservlet.classes}${pathsep}${java.home}/lib/modules
########################################################################
#These properties must be set to tell the Javatest harness the
#class names of your porting class implementations. By default
#the property settings below point to Sun RI specific classes.
########################################################################
porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL
########################################################################
# Javatest batch mode work directory and report directory, and policy for
# handling existing work and report directories. These properties affects
# runclient and report targets, but not gui target.
# To disable generating test report, unset report.dir, or set it to "none"
# either here or from command line, as in the following command:
# ant runclient -Dreport.dir="none"
#
# if.existing.work.report.dirs specifies how existing work.dir and
# report.dir will be handled, and it must be one of the following values:
# overwrite overwrites all content in work.dir and report.dir
# backup moves all content in work.dir and report.dir to
# work.dir_time_day_bak and report.dir_time_day_bak,
# respectively
# append reuses and preserves the existing work.dir and report.dir
########################################################################
work.dir=/tmp/JTwork
report.dir=/tmp/JTreport
if.existing.work.report.dirs=overwrite
########################################################################
## Common environment for both ts_unix and ts_win32
#
# @command.testExecute - This command is used to execute any test
# clients which are not run inside an
# application client container. For example,
# any URL clients or standalone java clients
# would be executed with this command. Some
# test directories which make use of this command
# are servlet and jsp.
########################################################################
command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd \
CLASSPATH=${JAVA_HOME}/lib/rt.jar${pathsep}\
${LOCAL_CLASSES} \
HOME="${user.home}" \
windir=${windir} \
SYSTEMROOT=${SYSTEMROOT} \
${JAVA_HOME}/bin/java \
${JAVA_OPTIONS} $testExecuteClass $testExecuteArgs
########################################################################
# Environment ts_unix
########################################################################
env.ts_unix.menu=true
########################################################################
# Environment ts_win32
########################################################################
env.ts_win32.menu=true
##########################################################################
# Include the TS harness libs - tsharness.jar,
# javatest.jar - the test classes and any tck specific jars.
# DO NOT EDIT
##########################################################################
local.classes=${ts.home}/lib/tsharness.jar${pathsep}\
${ts.home}/lib/jsftck.jar${pathsep}\
${ts.home}/lib/sigtest.jar${pathsep}\
${ts.home}/lib/javatest.jar${pathsep}\
${ts.home}/classes${pathsep}\
${jsf.classes}${pathsep}\
${jspservlet.classes}${pathsep}\
${ts.home}/lib/commons-logging-1.1.3.jar${pathsep}\
${ts.home}/lib/commons-io-2.4.jar${pathsep}\
${ts.home}/lib/commons-lang3-3.3.2.jar${pathsep}\
${ts.home}/lib/commons-codec-1.9.jar${pathsep}\
${ts.home}/lib/commons-collections-3.2.1.jar${pathsep}\
${ts.home}/lib/commons-httpclient-3.1.jar${pathsep}\
${ts.home}/lib/cssparser-0.9.25.jar${pathsep}\
${ts.home}/lib/htmlunit-2.15.jar${pathsep}\
${ts.home}/lib/htmlunit-core-js-2.15.jar${pathsep}\
${ts.home}/lib/httpcore-4.4.9.jar${pathsep}\
${ts.home}/lib/httpclient-4.5.5.jar${pathsep}\
${ts.home}/lib/httpmime-4.5.5.jar${pathsep}\
${ts.home}/lib/nekohtml-1.9.21.jar${pathsep}\
${ts.home}/lib/sac-1.3.jar${pathsep}\
${ts.home}/lib/saxpath.jar${pathsep}\
${ts.home}/lib/jaxen-1.1.6.jar${pathsep}\
${ts.home}/lib/jaxen-core-1.0.jar${pathsep}\
${ts.home}/lib/jdom-1.1.3.jar${pathsep}\
${ts.home}/lib/xercesImpl-2.11.0.jar${pathsep}\
${ts.home}/lib/xalan-2.7.2.jar${pathsep}\
${ts.home}/lib/serializer-2.7.2.jar${pathsep}\
${ts.home}/lib/xml-apis-1.4.01.jar${pathsep}\
##########################################################################
# Final classpath
# DO NOT EDIT
##########################################################################
ts.classpath=${local.classes}${pathsep}${ant.home}/lib/ant.jar
ts.harness.classpath=${ts.classpath}
########################################################################
#These properties are used by the harness. "harness.log.port"
#specifies the port that server components use to send logging
#output back to JavaTest. If the default port # is not available
#on the machine running JavaTest, then you can set it here.
#
#"harness.log.traceflag" is used to turn on/off verbose debugging output
#for the tests.
#
# "harness.executeMode" is used to run the harness in the following modes
# of execution (DO NOT EDIT):
# 2 - run only
########################################################################
harness.temp.directory=${ts.home}/tmp
harness.log.port=2000
harness.log.mode=silent
harness.log.traceflag=true
harness.executeMode=2
harness.log.delayseconds=1
harness.socket.retry.count=10
ts_home=${TS_HOME}
##########################################################################
# Set your local timezone. For valid values, consult your Operating System
# documentation.
##########################################################################
tz=US/Eastern
########################################################################
# This property specifies the type of archive that is generated.
# DO NOT EDIT
########################################################################
build.level=2
##########################################################################
# The alt.schema.dir and alt.dtd.dir properties specifu the location of
# the Schemas used to package the TCK tests (web, Java EE, etc). These
# properties need not be set if only running the tests.
# DO NOT EDIT
##########################################################################
alt.dtd.dir=${ts.home}/lib/dtds
alt.schema.dir=${ts.home}/lib/schemas
##########################################################################
# Needed for building/packaging
##########################################################################
deliverable.class=com.sun.ts.lib.deliverable.tck.TCKDeliverable