You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/08/12 17:23:08 UTC
svn commit: r232310 [6/92] - in /beehive/trunk/controls/test: common/
infra/gtlf/ infra/gtlf/xsl/ infra/mantis/ infra/tch/ infra/tch/messages/
infra/tch/runtime/ infra/tch/schema/ perf/ perf/bin/ perf/cases/
perf/ctlsrc/org/apache/beehive/controls/perf...
Propchange: beehive/trunk/controls/test/infra/tch/schema/everything-suite.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/controls/test/infra/tch/setenv.sh
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/infra/tch/setenv.sh?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/infra/tch/setenv.sh (original)
+++ beehive/trunk/controls/test/infra/tch/setenv.sh Fri Aug 12 08:12:28 2005
@@ -1,54 +1,54 @@
-#!/bin/sh
-
-PATHSEP=":"
-myos=`uname`
-case "$myos" in
- Window*)
- PATHSEP=";"
- ;;
-esac
-
-echo ""
-
-TCH_HOME=`pwd`
-cd ${TCH_HOME}/..
-TCH_LIB=`pwd`
-cd ${TCH_HOME}
-ANT_HOME=${ANT_HOME:-${BEEHIVE_HOME}/installed/apache-ant-1.6.1}
-EXTERNAL_DIR=${BEEHIVE_HOME}/external
-
-echo Adding $TCH_HOME to PATH
-PATH="${TCH_HOME}${PATHSEP}$PATH"
-export PATH
-
-echo Adding $TCH_LIB to PATH
-PATH="${TCH_LIB}${PATHSEP}$PATH"
-export PATH
-
-TCH_JAR=${TCH_HOME}/tchx.jar
-echo Adding $TCH_JAR to CLASSPATH
-CLASSPATH="${TCH_JAR}${PATHSEP}$CLASSPATH"
-
-ANT_JAR=${ANT_JAR:-$ANT_HOME/lib/ant.jar}
-echo Adding ${ANT_JAR} to CLASSPATH
-CLASSPATH="${ANT_JAR}${PATHSEP}${CLASSPATH}"
-
-XBEAN_JAR=${TCH_HOME}/xbean-1.0.2.jar
-echo Adding ${XBEAN_JAR} to CLASSPATH
-CLASSPATH="${XBEAN_JAR}${PATHSEP}${CLASSPATH}"
-
-SCHEMA_JAR=${TCH_HOME}/schema.jar
-echo Adding ${SCHEMA_JAR} to CLASSPATH
-CLASSPATH="${SCHEMA_JAR}${PATHSEP}${CLASSPATH}"
-
-export CLASSPATH
-export TCH_HOME
-export BUILDDIR
-
-unset TCH_JAR
-unset XERCES_JAR
-unset ANT_JAR
-unset TCH_LIB
-
-echo ""
-
+#!/bin/sh
+
+PATHSEP=":"
+myos=`uname`
+case "$myos" in
+ Window*)
+ PATHSEP=";"
+ ;;
+esac
+
+echo ""
+
+TCH_HOME=`pwd`
+cd ${TCH_HOME}/..
+TCH_LIB=`pwd`
+cd ${TCH_HOME}
+ANT_HOME=${ANT_HOME:-${BEEHIVE_HOME}/installed/apache-ant-1.6.1}
+EXTERNAL_DIR=${BEEHIVE_HOME}/external
+
+echo Adding $TCH_HOME to PATH
+PATH="${TCH_HOME}${PATHSEP}$PATH"
+export PATH
+
+echo Adding $TCH_LIB to PATH
+PATH="${TCH_LIB}${PATHSEP}$PATH"
+export PATH
+
+TCH_JAR=${TCH_HOME}/tchx.jar
+echo Adding $TCH_JAR to CLASSPATH
+CLASSPATH="${TCH_JAR}${PATHSEP}$CLASSPATH"
+
+ANT_JAR=${ANT_JAR:-$ANT_HOME/lib/ant.jar}
+echo Adding ${ANT_JAR} to CLASSPATH
+CLASSPATH="${ANT_JAR}${PATHSEP}${CLASSPATH}"
+
+XBEAN_JAR=${TCH_HOME}/xbean-1.0.2.jar
+echo Adding ${XBEAN_JAR} to CLASSPATH
+CLASSPATH="${XBEAN_JAR}${PATHSEP}${CLASSPATH}"
+
+SCHEMA_JAR=${TCH_HOME}/schema.jar
+echo Adding ${SCHEMA_JAR} to CLASSPATH
+CLASSPATH="${SCHEMA_JAR}${PATHSEP}${CLASSPATH}"
+
+export CLASSPATH
+export TCH_HOME
+export BUILDDIR
+
+unset TCH_JAR
+unset XERCES_JAR
+unset ANT_JAR
+unset TCH_LIB
+
+echo ""
+
Propchange: beehive/trunk/controls/test/infra/tch/setenv.sh
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/controls/test/infra/tch/tch
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/infra/tch/tch?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/infra/tch/tch (original)
+++ beehive/trunk/controls/test/infra/tch/tch Fri Aug 12 08:12:28 2005
@@ -1,3 +1,3 @@
-#!/bin/sh
-
-java org.apache.tools.ant.Main -emacs -verbose -f ${TCH_HOME}/build.xml -Dtch.home=${TCH_HOME} "$@"
+#!/bin/sh
+
+java org.apache.tools.ant.Main -emacs -verbose -f ${TCH_HOME}/build.xml -Dtch.home=${TCH_HOME} "$@"
Propchange: beehive/trunk/controls/test/infra/tch/tch
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/controls/test/infra/tch/tch-base-process-config.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/infra/tch/tch-base-process-config.xml?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/infra/tch/tch-base-process-config.xml (original)
+++ beehive/trunk/controls/test/infra/tch/tch-base-process-config.xml Fri Aug 12 08:12:28 2005
@@ -1,44 +1,44 @@
-<config-root>
- <machine-config>
- <machine host="localhost" name="localhost"/>
- </machine-config>
-
- <process-config>
-
- <!-- Core Process Types -->
-
- <!-- Deprecated, see tch-agent-process-type below -->
- <process-type
- name="listener-process-type"
- process-handler="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessHandler"
- default-process-manager="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessManager"
- root-config-tagname="listener-process-config"
- xml-handler="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerXMLHandler"
- configuration-manager="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerConfigurationManager"
- />
- <!-- Same as above, different logical name and configuration-tag name -->
- <process-type
- name="tch-agent"
- process-handler="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessHandler"
- default-process-manager="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessManager"
- root-config-tagname="tch-agent-process-config"
- xml-handler="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerXMLHandler"
- configuration-manager="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerConfigurationManager"
- />
- <process-type
- name="exec-process-type"
- process-handler="org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessHandler"
- default-process-manager="org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessManager"
- root-config-tagname="exec-process-config"
- xml-handler="org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessXMLHandler"
- configuration-manager="org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessConfigurationManager"
- />
-
- </process-config>
-</config-root>
-
-
-
-
-
-
+<config-root>
+ <machine-config>
+ <machine host="localhost" name="localhost"/>
+ </machine-config>
+
+ <process-config>
+
+ <!-- Core Process Types -->
+
+ <!-- Deprecated, see tch-agent-process-type below -->
+ <process-type
+ name="listener-process-type"
+ process-handler="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessHandler"
+ default-process-manager="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessManager"
+ root-config-tagname="listener-process-config"
+ xml-handler="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerXMLHandler"
+ configuration-manager="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerConfigurationManager"
+ />
+ <!-- Same as above, different logical name and configuration-tag name -->
+ <process-type
+ name="tch-agent"
+ process-handler="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessHandler"
+ default-process-manager="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessManager"
+ root-config-tagname="tch-agent-process-config"
+ xml-handler="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerXMLHandler"
+ configuration-manager="org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerConfigurationManager"
+ />
+ <process-type
+ name="exec-process-type"
+ process-handler="org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessHandler"
+ default-process-manager="org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessManager"
+ root-config-tagname="exec-process-config"
+ xml-handler="org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessXMLHandler"
+ configuration-manager="org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessConfigurationManager"
+ />
+
+ </process-config>
+</config-root>
+
+
+
+
+
+
Propchange: beehive/trunk/controls/test/infra/tch/tch-base-process-config.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/controls/test/infra/tch/tch-dd
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/infra/tch/tch-dd?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/infra/tch/tch-dd (original)
+++ beehive/trunk/controls/test/infra/tch/tch-dd Fri Aug 12 08:12:28 2005
@@ -1,4 +1,4 @@
-#!/bin/sh
-
-java org.apache.beehive.test.tools.tch.util.CmdDashDEmulator -f ${TCH_HOME}/build.xml -Dtch.home=${TCH_HOME} -mainclass org.apache.tools.ant.Main "$@"
-
+#!/bin/sh
+
+java org.apache.beehive.test.tools.tch.util.CmdDashDEmulator -f ${TCH_HOME}/build.xml -Dtch.home=${TCH_HOME} -mainclass org.apache.tools.ant.Main "$@"
+
Propchange: beehive/trunk/controls/test/infra/tch/tch-dd
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/controls/test/infra/tch/tch-error-messages.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/infra/tch/tch-error-messages.xml?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/infra/tch/tch-error-messages.xml (original)
+++ beehive/trunk/controls/test/infra/tch/tch-error-messages.xml Fri Aug 12 08:12:28 2005
@@ -1,205 +1,205 @@
-<!-- About local, fatal and global error messages:
- By default, the error messages are "local". This means they only prevent
- the entity (test) that is associated with them (that caused them) from
- running (if failfast-validation disabled).
-
- If designated as "fatal", these errors will prevent the entire run from
- starting, even with failfast-validation disabled.
-
- If a message is "global", all errors with the same id will be aggregated.
- For many errors, it is enough to print the error message only once, and
- then list all locations/calling chains. This is what will happen
- when setting global to "true". Note that the global switch only affects
- formatting behavior, not behavior.
--->
-<error-messages>
-
- <error id="100">
- <short-message>Could not resolve property: "%{propname}"</short-message>
- </error>
- <error id="110" fatal="true">
- <short-message>"%{propname}" is not a valid Tch system property (tch.*). See %{propfilename}.</short-message>
- </error>
- <error id="150" fatal="true">
- <short-message>"%{propname}" is no longer a valid Tch system property. %{alternative}.</short-message>
- </error>
- <error id="120" fatal="true">
- <short-message>The values for the "%{propname}" property must be either "on" or "off".</short-message>
- </error>
- <error id="130">
- <short-message>Expecting an integer, but got "%{broken-int-val}"</short-message>
- </error>
- <error id="140" fatal="true">
- <short-message>Found no tests to run.</short-message>
- </error>
-
- <error id="200">
- <short-message>Name: "%{name}" contains the following illegal characters: %{illegalchars}</short-message>
- </error>
- <error id="201">
- <short-message>Testunit: "%{testunit}" is not allowed to exceed %{maxchars} characters. It is %{numchars} chars long.</short-message>
- </error>
- <error id="202">
- <short-message>No Testunit Defined: This testfile does not have a testunit defined (meaning it cannot be run by itself) and does have a testunit set by a calling testfile. </short-message>
- </error>
- <error id="210">
- <short-message>A test named "%{testname}" is already registered.%{sep}These are the respective calling paths:%{sep}Already registered: %{otherchain}%{sep}and%{sep}Trying to register: %{chain}</short-message>
- </error>
- <error id="212">
- <short-message>The test-name "%{testname}" is not unique. Possible resolutions: %{resolutions}</short-message>
- </error>
- <error id="213">
- <short-message>Could not resolve this test name: "%{testname}"</short-message>
- </error>
- <error id="214">
- <short-message>Could not find test with name: "%{test}". Make sure you have specified the fully qualified test name (testunit.testname.[subtestname]) and also make sure the test class exists.</short-message>
- </error>
- <error id="215">
- <short-message>Test name: "%{test}" is not allowed to exceed %{maxchars} characters. It is %{numchars} chars long.</short-message>
- </error>
- <error id="220">
- <short-message>A testunit may only be set in a test or test-block directly within a test-suite.</short-message>
- </error>
-
- <error id="230" fatal="false">
- <short-message>The test specified in the requires clause does not exist: %{reference}</short-message>
- </error>
- <error id="231" fatal="false">
- <short-message>The test specified in the requires clause does not refer to a test in the same test-suite: %{reference}</short-message>
- </error>
- <error id="232" fatal="false">
- <short-message>The requires clause is part of a cyclical reference: %{reference}</short-message>
- </error>
-
- <error id="300" global="true">
- <short-message>No implicit process registered for this run. Have you forgotten to set your tch.wls.* properties, or to supply your process-config file, using -Dconfig-file ?</short-message>
- </error>
- <error id="310">
- <short-message>More than one ProcessTask (at least "%{process}" and "%{process2}") is set as default.</short-message>
- </error>
- <error id="311">
- <short-message>No default process defined for test vehicle</short-message>
- </error>
- <error id="320" global="false">
- <short-message>No process registered with name "%{process}".%{sep}If name is "null", make sure you have set the implicit process (in your process-config file), or use the anonymous process.</short-message>
- </error>
- <error id="321">
- <short-message>No process "%{process}" declared for test "%{test}", ambiguous as to which process to associate with Test Vehicle.</short-message>
- </error>
-
- <error id="330" fatal="true">
- <short-message>Already a process registered with name "%{process}".</short-message>
- </error>
-
- <error id="340" fatal="true">
- <short-message>
- Cannot find %{reftype} element with name "%{refname}" referenced by %{type} element with name "%{name}". XML dump of the referencing tag: %{sep} %{dump}
- </short-message>
- </error>
-
- <error id="341" fatal="true">
- <short-message>
- Detected circular inheritance path for element type "%{type}". %{sep}Inheritance path is: %{inheritance-path}
- </short-message>
- </error>
-
- <error id="342" fatal="true">
- <short-message>
- This <process> element must reference a configured-process-type, or point to a configuration:%{sep} %{dump}
- </short-message>
- </error>
-
- <error id="343" fatal="true">
- <short-message>
- Could not resolve property: "%{propname}", in process-config at %{process-config-file}.%{sep}Global dynamic process-config props need to be prefixed with %{prefix}.%{sep}If you want to reference an environment variable directly, prefix the property name with "env.".
- </short-message>
- </error>
-
- <error id="344" fatal="true">
- <short-message>
- Could not construct a process management class, check your classpath.
- </short-message>
- </error>
-
- <error id="345" fatal="true">
- <short-message>
- Only one process can be configured as "implicit". Check your process-config file and make sure you only have one <process> tag that has "implicit" set to "true".
- </short-message>
- </error>
-
- <error id="346" fatal="true">
- <short-message>
- Cannot find nested process "%{nested-process-name}" for process "%{process-name}".
- </short-message>
- </error>
-
- <error id="347" fatal="true">
- <short-message>
- Duplicate element in process-config file %{file}.%{sep}%{dup-element-name}.
- </short-message>
- </error>
-
- <error id="350" fatal="true">
- <short-message>
- Error validating process-config %{file}.%{sep}Error is:%{sep} %{error-message}
- </short-message>
- </error>
-
- <error id="360" fatal="true">
- <short-message>
- Could not resolve this processinfo property: %{propname}
- </short-message>
- </error>
-
- <error id="400">
- <short-message>Invalid testfile "%{file}": %{message}</short-message>
- </error>
-
- <error id="401">
- <short-message>Invalid test-suite-call "%{file}"</short-message>
- </error>
-
- <error id="500">
- <short-message>Unknown test-vehicle: %{test-vehicle}</short-message>
- </error>
-
- <error id="501" fatal="true">
- <short-message>The property "tch.global-test-vehicle-process" can only be used in conjunction with the property "tch.global-test-vehicle".</short-message>
- </error>
-
- <error id="502" fatal="true">
- <short-message>The property "tch.global-test-vehicle" can only be used in conjunction with the property "tch.global-test-vehicle-process".</short-message>
- </error>
-
- <error id="503" fatal="true">
- <short-message>The global-test-vehicle-process "%{process}" has not been registered.</short-message>
- </error>
-
- <error id="600">
- <short-message>File attribute not set, and no embedded CDATA for this task; one of the two is required.</short-message>
- </error>
- <error id="601">
- <short-message>Could not find configuration dependency file: %{file}</short-message>
- </error>
-
- <error id="700">
- <short-message>Invalid execution task: %{message}</short-message>
- </error>
- <error id="701">
- <short-message>Validation failed for this execution task:</short-message>
- </error>
-
- <error id="751">
- <short-message>Validation failed for this custom task: %{message}</short-message>
- </error>
-
- <error id="800">
- <short-message>Validation failed for ProcessManagement extension: %{message}</short-message>
- </error>
-
- <error id="801" fatal="true">
- <short-message>Fatal error for ProcessManagement extension: %{message}</short-message>
- </error>
-
-</error-messages>
-
+<!-- About local, fatal and global error messages:
+ By default, the error messages are "local". This means they only prevent
+ the entity (test) that is associated with them (that caused them) from
+ running (if failfast-validation disabled).
+
+ If designated as "fatal", these errors will prevent the entire run from
+ starting, even with failfast-validation disabled.
+
+ If a message is "global", all errors with the same id will be aggregated.
+ For many errors, it is enough to print the error message only once, and
+ then list all locations/calling chains. This is what will happen
+ when setting global to "true". Note that the global switch only affects
+ formatting behavior, not behavior.
+-->
+<error-messages>
+
+ <error id="100">
+ <short-message>Could not resolve property: "%{propname}"</short-message>
+ </error>
+ <error id="110" fatal="true">
+ <short-message>"%{propname}" is not a valid Tch system property (tch.*). See %{propfilename}.</short-message>
+ </error>
+ <error id="150" fatal="true">
+ <short-message>"%{propname}" is no longer a valid Tch system property. %{alternative}.</short-message>
+ </error>
+ <error id="120" fatal="true">
+ <short-message>The values for the "%{propname}" property must be either "on" or "off".</short-message>
+ </error>
+ <error id="130">
+ <short-message>Expecting an integer, but got "%{broken-int-val}"</short-message>
+ </error>
+ <error id="140" fatal="true">
+ <short-message>Found no tests to run.</short-message>
+ </error>
+
+ <error id="200">
+ <short-message>Name: "%{name}" contains the following illegal characters: %{illegalchars}</short-message>
+ </error>
+ <error id="201">
+ <short-message>Testunit: "%{testunit}" is not allowed to exceed %{maxchars} characters. It is %{numchars} chars long.</short-message>
+ </error>
+ <error id="202">
+ <short-message>No Testunit Defined: This testfile does not have a testunit defined (meaning it cannot be run by itself) and does have a testunit set by a calling testfile. </short-message>
+ </error>
+ <error id="210">
+ <short-message>A test named "%{testname}" is already registered.%{sep}These are the respective calling paths:%{sep}Already registered: %{otherchain}%{sep}and%{sep}Trying to register: %{chain}</short-message>
+ </error>
+ <error id="212">
+ <short-message>The test-name "%{testname}" is not unique. Possible resolutions: %{resolutions}</short-message>
+ </error>
+ <error id="213">
+ <short-message>Could not resolve this test name: "%{testname}"</short-message>
+ </error>
+ <error id="214">
+ <short-message>Could not find test with name: "%{test}". Make sure you have specified the fully qualified test name (testunit.testname.[subtestname]) and also make sure the test class exists.</short-message>
+ </error>
+ <error id="215">
+ <short-message>Test name: "%{test}" is not allowed to exceed %{maxchars} characters. It is %{numchars} chars long.</short-message>
+ </error>
+ <error id="220">
+ <short-message>A testunit may only be set in a test or test-block directly within a test-suite.</short-message>
+ </error>
+
+ <error id="230" fatal="false">
+ <short-message>The test specified in the requires clause does not exist: %{reference}</short-message>
+ </error>
+ <error id="231" fatal="false">
+ <short-message>The test specified in the requires clause does not refer to a test in the same test-suite: %{reference}</short-message>
+ </error>
+ <error id="232" fatal="false">
+ <short-message>The requires clause is part of a cyclical reference: %{reference}</short-message>
+ </error>
+
+ <error id="300" global="true">
+ <short-message>No implicit process registered for this run. Have you forgotten to set your tch.wls.* properties, or to supply your process-config file, using -Dconfig-file ?</short-message>
+ </error>
+ <error id="310">
+ <short-message>More than one ProcessTask (at least "%{process}" and "%{process2}") is set as default.</short-message>
+ </error>
+ <error id="311">
+ <short-message>No default process defined for test vehicle</short-message>
+ </error>
+ <error id="320" global="false">
+ <short-message>No process registered with name "%{process}".%{sep}If name is "null", make sure you have set the implicit process (in your process-config file), or use the anonymous process.</short-message>
+ </error>
+ <error id="321">
+ <short-message>No process "%{process}" declared for test "%{test}", ambiguous as to which process to associate with Test Vehicle.</short-message>
+ </error>
+
+ <error id="330" fatal="true">
+ <short-message>Already a process registered with name "%{process}".</short-message>
+ </error>
+
+ <error id="340" fatal="true">
+ <short-message>
+ Cannot find %{reftype} element with name "%{refname}" referenced by %{type} element with name "%{name}". XML dump of the referencing tag: %{sep} %{dump}
+ </short-message>
+ </error>
+
+ <error id="341" fatal="true">
+ <short-message>
+ Detected circular inheritance path for element type "%{type}". %{sep}Inheritance path is: %{inheritance-path}
+ </short-message>
+ </error>
+
+ <error id="342" fatal="true">
+ <short-message>
+ This <process> element must reference a configured-process-type, or point to a configuration:%{sep} %{dump}
+ </short-message>
+ </error>
+
+ <error id="343" fatal="true">
+ <short-message>
+ Could not resolve property: "%{propname}", in process-config at %{process-config-file}.%{sep}Global dynamic process-config props need to be prefixed with %{prefix}.%{sep}If you want to reference an environment variable directly, prefix the property name with "env.".
+ </short-message>
+ </error>
+
+ <error id="344" fatal="true">
+ <short-message>
+ Could not construct a process management class, check your classpath.
+ </short-message>
+ </error>
+
+ <error id="345" fatal="true">
+ <short-message>
+ Only one process can be configured as "implicit". Check your process-config file and make sure you only have one <process> tag that has "implicit" set to "true".
+ </short-message>
+ </error>
+
+ <error id="346" fatal="true">
+ <short-message>
+ Cannot find nested process "%{nested-process-name}" for process "%{process-name}".
+ </short-message>
+ </error>
+
+ <error id="347" fatal="true">
+ <short-message>
+ Duplicate element in process-config file %{file}.%{sep}%{dup-element-name}.
+ </short-message>
+ </error>
+
+ <error id="350" fatal="true">
+ <short-message>
+ Error validating process-config %{file}.%{sep}Error is:%{sep} %{error-message}
+ </short-message>
+ </error>
+
+ <error id="360" fatal="true">
+ <short-message>
+ Could not resolve this processinfo property: %{propname}
+ </short-message>
+ </error>
+
+ <error id="400">
+ <short-message>Invalid testfile "%{file}": %{message}</short-message>
+ </error>
+
+ <error id="401">
+ <short-message>Invalid test-suite-call "%{file}"</short-message>
+ </error>
+
+ <error id="500">
+ <short-message>Unknown test-vehicle: %{test-vehicle}</short-message>
+ </error>
+
+ <error id="501" fatal="true">
+ <short-message>The property "tch.global-test-vehicle-process" can only be used in conjunction with the property "tch.global-test-vehicle".</short-message>
+ </error>
+
+ <error id="502" fatal="true">
+ <short-message>The property "tch.global-test-vehicle" can only be used in conjunction with the property "tch.global-test-vehicle-process".</short-message>
+ </error>
+
+ <error id="503" fatal="true">
+ <short-message>The global-test-vehicle-process "%{process}" has not been registered.</short-message>
+ </error>
+
+ <error id="600">
+ <short-message>File attribute not set, and no embedded CDATA for this task; one of the two is required.</short-message>
+ </error>
+ <error id="601">
+ <short-message>Could not find configuration dependency file: %{file}</short-message>
+ </error>
+
+ <error id="700">
+ <short-message>Invalid execution task: %{message}</short-message>
+ </error>
+ <error id="701">
+ <short-message>Validation failed for this execution task:</short-message>
+ </error>
+
+ <error id="751">
+ <short-message>Validation failed for this custom task: %{message}</short-message>
+ </error>
+
+ <error id="800">
+ <short-message>Validation failed for ProcessManagement extension: %{message}</short-message>
+ </error>
+
+ <error id="801" fatal="true">
+ <short-message>Fatal error for ProcessManagement extension: %{message}</short-message>
+ </error>
+
+</error-messages>
+
Propchange: beehive/trunk/controls/test/infra/tch/tch-error-messages.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/controls/test/infra/tch/tch-logger-conf.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/infra/tch/tch-logger-conf.xml?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/infra/tch/tch-logger-conf.xml (original)
+++ beehive/trunk/controls/test/infra/tch/tch-logger-conf.xml Fri Aug 12 08:12:28 2005
@@ -1,67 +1,67 @@
-<loggers>
- <!-- some standard properties for file loggers -->
- <!-- tch.file-name: the full log filename -->
- <!-- tch.file-prefix: controls the filename excluding the extension -->
- <!-- tch.file-postfix: controls the filename extension -->
-
- <!-- logging to stdout -->
- <logger classname="org.apache.beehive.test.tools.tch.logger.StandardLogger" dest="console"/>
-
- <!-- file loggers -->
-
- <!-- standard .log (same as stdout) -->
- <logger classname="org.apache.beehive.test.tools.tch.logger.StandardLogger" dest="file">
- <property name="tch.file-postfix" value="log"/>
- </logger>
-
- <!-- .debug -->
- <logger classname="org.apache.beehive.test.tools.tch.logger.DebugLogger" dest="file">
- <property name="tch.file-postfix" value="debug"/>
- </logger>
-
- <!-- verbose .debug -->
- <logger
- classname="org.apache.beehive.test.tools.tch.logger.VerboseDebugLogger"
- type="verbose-debug"
- dest="file"
- >
- <property name="tch.file-postfix" value="debug-all"/>
- </logger>
-
- <!-- GTLF logger -->
- <logger
- classname="org.apache.beehive.test.tools.tch.logger.GTLFLogger" type="gtlf" dest="file"
- >
- <property name="tch.file-postfix" value="xml"/>
- </logger>
-
- <!-- Composite Execution Output (linked to from Sapphire) -->
- <logger
- classname="org.apache.beehive.test.tools.tch.logger.ExecutionOutputLogger"
- type="composite-output"
- dest="file"
- >
- <property name="tch.file-postfix" value="cout"/>
-
- <!-- Controls what kind of results will be logged into the composite log -->
- <!-- If true, only log FAILURE|SCRATCH|ABORT -->
- <!-- (where result.isProblem() == true) -->
- <!-- If false, log all outcome results -->
- <property name="log-only-problems" value="true"/>
-
- </logger>
-
-
- <!-- internal Tch self-testing logger -->
- <logger
- classname="org.apache.beehive.test.tools.tch.logger.ComparisonLogger"
- type="clf"
- dest="file"
- >
- <property name="tch.file-postfix" value="clf"/>
- </logger>
-
-</loggers>
-
-
-
+<loggers>
+ <!-- some standard properties for file loggers -->
+ <!-- tch.file-name: the full log filename -->
+ <!-- tch.file-prefix: controls the filename excluding the extension -->
+ <!-- tch.file-postfix: controls the filename extension -->
+
+ <!-- logging to stdout -->
+ <logger classname="org.apache.beehive.test.tools.tch.logger.StandardLogger" dest="console"/>
+
+ <!-- file loggers -->
+
+ <!-- standard .log (same as stdout) -->
+ <logger classname="org.apache.beehive.test.tools.tch.logger.StandardLogger" dest="file">
+ <property name="tch.file-postfix" value="log"/>
+ </logger>
+
+ <!-- .debug -->
+ <logger classname="org.apache.beehive.test.tools.tch.logger.DebugLogger" dest="file">
+ <property name="tch.file-postfix" value="debug"/>
+ </logger>
+
+ <!-- verbose .debug -->
+ <logger
+ classname="org.apache.beehive.test.tools.tch.logger.VerboseDebugLogger"
+ type="verbose-debug"
+ dest="file"
+ >
+ <property name="tch.file-postfix" value="debug-all"/>
+ </logger>
+
+ <!-- GTLF logger -->
+ <logger
+ classname="org.apache.beehive.test.tools.tch.logger.GTLFLogger" type="gtlf" dest="file"
+ >
+ <property name="tch.file-postfix" value="xml"/>
+ </logger>
+
+ <!-- Composite Execution Output (linked to from Sapphire) -->
+ <logger
+ classname="org.apache.beehive.test.tools.tch.logger.ExecutionOutputLogger"
+ type="composite-output"
+ dest="file"
+ >
+ <property name="tch.file-postfix" value="cout"/>
+
+ <!-- Controls what kind of results will be logged into the composite log -->
+ <!-- If true, only log FAILURE|SCRATCH|ABORT -->
+ <!-- (where result.isProblem() == true) -->
+ <!-- If false, log all outcome results -->
+ <property name="log-only-problems" value="true"/>
+
+ </logger>
+
+
+ <!-- internal Tch self-testing logger -->
+ <logger
+ classname="org.apache.beehive.test.tools.tch.logger.ComparisonLogger"
+ type="clf"
+ dest="file"
+ >
+ <property name="tch.file-postfix" value="clf"/>
+ </logger>
+
+</loggers>
+
+
+
Propchange: beehive/trunk/controls/test/infra/tch/tch-logger-conf.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/controls/test/infra/tch/tch-props.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/infra/tch/tch-props.xml?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/infra/tch/tch-props.xml (original)
+++ beehive/trunk/controls/test/infra/tch/tch-props.xml Fri Aug 12 08:12:28 2005
@@ -1,190 +1,190 @@
-<root>
-
- <!-- Use %{env.[name]} syntax to access environment variables -->
-
- <!-- Other special properties that can be referenced: -->
- <!-- %{tch.home} -->
-
- <property name="ant-file-gen" default="false" excluded="true"/>
- <property name="baseDir" excluded="true"/>
- <property name="base-logfile-name" default="tch" excluded="true"/>
- <property name="branch" excluded="true"/> <!-- GTLF logging -->
- <property name="changenumber" excluded="true"/> <!-- GTLF logging -->
- <property name="code-coverage.enabled" excluded="true" default="0"/>
- <property name="config-dependency" default="false"/>
- <property name="debug" default="false"/>
-
- <property name="env.beanjndiname" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Browser" excluded="true"/> <!-- GTLF logging -->
- <property name="env.chip-architecture" excluded="true"/> <!-- GTLF logging -->
- <property name="env.client" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Client_JVM_Mode" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Client_JVM_Name" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Client_JVM_Version" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Database" excluded="true"/> <!-- GTLF logging -->
- <property name="env.domain_type" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Driver_Type" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Driver_Version" excluded="true"/> <!-- GTLF logging -->
- <property name="env.GC-mode" excluded="true"/> <!-- GTLF logging -->
- <property name="env.JVM_Mode" excluded="true"/> <!-- GTLF logging -->
- <property name="env.JVM_Name" excluded="true"/> <!-- GTLF logging -->
- <property name="env.JVM_Version" excluded="true"/> <!-- GTLF logging -->
- <property name="env.NativeIO" excluded="true"/> <!-- GTLF logging -->
- <property name="env.OS" excluded="true"/> <!-- GTLF logging -->
- <property name="env.plugin" excluded="true"/> <!-- GTLF logging -->
- <property name="env.ProdMode" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Protocol" excluded="true"/> <!-- GTLF logging -->
- <property name="env.rarjndiname" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Remote_VM" excluded="true"/> <!-- GTLF logging -->
- <property name="env.sharedbeanjndiname" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Thread-mode" excluded="true"/> <!-- GTLF logging -->
- <property name="env.Tier" excluded="true"/> <!-- GTLF logging -->
- <property name="env.XA" excluded="true"/> <!-- GTLF logging -->
-
- <property name="execaccount" excluded="true"/> <!-- GTLF logging -->
- <property name="execdate" excluded="true"/> <!-- GTLF logging -->
- <property name="fail-build" default="true" excluded="true"/>
- <property name="failfast-validation" default="true" forceval="false"/>
-
- <!-- filter props -->
- <property name="filter.adopt-test-names" default="false" excluded="true"/>
- <property name="filter.dbs" excluded="true"/>
- <property name="filter.client-type" excluded="true"/>
- <property name="filter.conversations" excluded="true"/>
- <property name="filter.crs" excluded="true"/>
- <property name="filter.crs-match-all" excluded="true" default="false"/>
- <property name="filter.domains" excluded="true"/>
- <property name="filter.knownFailures" excluded="true"/>
- <property name="filter.frequencies" excluded="true"/>
- <property name="filter.webapps" excluded="true"/>
- <property name="filter.owners" excluded="true"/>
- <property name="filter.misc" excluded="true"/>
- <property name="filter.security-type" excluded="true" default="security70"/>
- <property name="filter.server-modes" excluded="true"/>
- <property name="filter.silently-ignore" excluded="true" default="true"/>
- <property name="filter.ssl" excluded="true"/>
- <property name="filter.status" excluded="true"/>
- <property name="filter.test-level" excluded="true"/>
-
- <property name="fork"/>
- <property name="global-test-vehicle" default="local"/>
- <property name="global-test-vehicle-process" excluded="false"/>
- <property name="home" excluded="true"/>
- <property name="hostname" excluded="true"/> <!-- GTLF logging -->
- <property name="importinfo" excluded="true"/> <!-- GTLF logging -->
- <property name="init-mode-only" default="false"/>
-
- <!-- Do not set this on the generated java command line so that
- its length can be kept to a minimum.
- This means that any subsequent command lines generated from running
- the generated java command line will not be correct. -->
- <property name="javaopts" javaExcluded="true"/>
-
- <!-- deprecated, replaced by process.keep-alive -->
- <property name="keep-alive" default="true" excluded="true"/>
-
- <!-- deprecated, append subtest name to test name, set using
- tch.test-names -->
- <property name="javatest.method-names" excluded="true"/>
-
- <property name="junit.force-failure" default="false" excluded="false"/>
- <property name="junit.validate-class" default="true" excluded="false"/>
- <property name="junit.validate-method-names" default="true" excluded="false"/>
-
- <property name="load" excluded="true"/> <!-- GTLF logging -->
-
- <property name="log.basedir" excluded="true" default="."/>
- <property name="log-banners" default="true" excluded="true"/>
- <property name="log-comparison" default="false" excluded="true"/>
- <property name="log.composite.enabled" default="true" excluded="true"/>
- <property name="log.config" default="%{tch.home}/tch-logger-conf.xml"/>
- <property name="log-custom" excluded="true"/>
- <property name="log-custom-suffix" excluded="true"/>
- <property name="log.date-format" default="MMM d, yyyy h:mm:ss aa zzz" excluded="true"/>
- <property name="log.debug-level" default="3" excluded="true"/>
- <property name="log-gtlf" default="true" forceval="false"/>
- <property name="log.gtlf.file-extension" default="xml" excluded="true"/>
- <property name="log.stdout-as-inform" default="false" excluded="true"/>
- <property name="log.inform-as-details" default="true" excluded="true"/>
-
- <!-- Prefered way to pass envs to the GTLF logger -->
- <property name="log.gtlf.env.*" excluded="true"/>
-
- <property name="log-to-stdout" default="true" excluded="true"/>
- <property name="log.progress-info" default="false" excluded="false"/>
- <property name="log-verbose-debug" default="true" excluded="true"/>
- <property name="log.test-names" default="false" excluded="true"/>
-
- <property name="management-admin-port" default="9425" excluded="true"/>
-
- <!-- Deprecated, internal, not documented -->
- <property name="modified-classpath" default="false" excluded="true"/>
-
- <property name="start-processes-only" default="false"/>
- <property name="test-info"/>
- <property name="test-info-also-run" default="false"/>
- <property name="test-names" excluded="true"/>
- <property name="test-vehicle.vm.shutdown-after-test" excluded="false" default="false"/>
- <property name="test-vehicle.vm.shutdown-if-problem" excluded="false" default="false"/>
- <property name="run-timeout" default="false"/>
- <property name="run-timeout-seconds" default="1800"/>
- <property name="runmodifier" default="" excluded="true"/> <!-- GTLF logging -->
- <property name="test-timeout" default="false"/>
- <property name="test-timeout-seconds" default="300"/>
- <property name="process.auto-start" default="false" excluded="false"/>
- <property name="process.base-home" excluded="false"/>
- <property name="process.ctrlc-cleanup" default="false" excluded="true"/>
- <property name="process.configure-all" default="false"/>
- <property name="process.dynamic.*" excluded="false"/>
- <property name="process.local-listener-port" default="4242" excluded="true"/>
- <property name="process.keep-alive" default="true" excluded="true"/>
- <property name="process.log.basedir" excluded="true"/>
- <property name="process.merge-output-streams" default="true" excluded="true"/>
- <property name="process.window" default="false"/>
- <property name="process.write-cmd-files" default="true" excluded="true"/>
- <property name="process.write-process-data-props-file" default="false" excluded="true"/>
- <property name="prop-val-substitution" default="false" excluded="true"/>
- <property name="replication.entry-point" default="tch.sh run" excluded="true"/>
- <property name="replication.info" default="" excluded="true"/>
- <property name="replication.print-win-cmdline" default="false" excluded="true"/>
- <property name="replication.set-javaopts" default="true" excluded="true"/>
- <property name="release" excluded="true"/> <!-- GTLF logging -->
- <property name="runid" excluded="true"/> <!-- GTLF logging -->
- <property name="stagger-result-time" default="true" excluded="true"/>
- <property name="stf.component-files" excluded="true"/>
- <property name="stf.operation-files" excluded="true"/>
-
- <!-- not excluded because some tests use it in conditionals -->
- <property name="string" excluded="false"/> <!-- GTLF logging -->
-
- <property name="testruntype" excluded="true"/> <!-- GTLF logging -->
- <property name="threaddump" default="false" excluded="true"/>
- <property name="toptestfile" excluded="true"/> <!-- GTLF logging -->
- <property name="update.*" excluded="true"/>
- <property
- name="junit.update.src"
- excluded="true"
- default="%{tch.home}/../core/java"
- />
- <property name="validate" default="true"/>
- <property name="validate-test-name-length" default="true" excluded="true"/>
- <property name="validation-error-metafile" default="tch-error-messages.xml"/>
- <property name="verbose" default="false" excluded="true"/>
- <property name="verbose-validation" default="true"/>
-
-
- <property name="wstest.verbose" default="false"/>
- <property name="wstest.config-file"/>
- <property name="wstest.host" default="localhost"/>
- <property name="wstest.builddir" default="."/>
- <property name="wstest.installdir" default="."/>
-
- <!-- These are for internal Tch use only, cannot ever be set by user.-->
- <property name="internal.log-banners-prop-name"/>
- <property name="internal.srcdir"/>
- <property name="internal.start-processes-only-prop-name"/>
- <property name="internal.validation-failed" default="false"/>
-
-</root>
-
-
+<root>
+
+ <!-- Use %{env.[name]} syntax to access environment variables -->
+
+ <!-- Other special properties that can be referenced: -->
+ <!-- %{tch.home} -->
+
+ <property name="ant-file-gen" default="false" excluded="true"/>
+ <property name="baseDir" excluded="true"/>
+ <property name="base-logfile-name" default="tch" excluded="true"/>
+ <property name="branch" excluded="true"/> <!-- GTLF logging -->
+ <property name="changenumber" excluded="true"/> <!-- GTLF logging -->
+ <property name="code-coverage.enabled" excluded="true" default="0"/>
+ <property name="config-dependency" default="false"/>
+ <property name="debug" default="false"/>
+
+ <property name="env.beanjndiname" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Browser" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.chip-architecture" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.client" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Client_JVM_Mode" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Client_JVM_Name" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Client_JVM_Version" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Database" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.domain_type" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Driver_Type" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Driver_Version" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.GC-mode" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.JVM_Mode" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.JVM_Name" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.JVM_Version" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.NativeIO" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.OS" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.plugin" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.ProdMode" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Protocol" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.rarjndiname" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Remote_VM" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.sharedbeanjndiname" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Thread-mode" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.Tier" excluded="true"/> <!-- GTLF logging -->
+ <property name="env.XA" excluded="true"/> <!-- GTLF logging -->
+
+ <property name="execaccount" excluded="true"/> <!-- GTLF logging -->
+ <property name="execdate" excluded="true"/> <!-- GTLF logging -->
+ <property name="fail-build" default="true" excluded="true"/>
+ <property name="failfast-validation" default="true" forceval="false"/>
+
+ <!-- filter props -->
+ <property name="filter.adopt-test-names" default="false" excluded="true"/>
+ <property name="filter.dbs" excluded="true"/>
+ <property name="filter.client-type" excluded="true"/>
+ <property name="filter.conversations" excluded="true"/>
+ <property name="filter.crs" excluded="true"/>
+ <property name="filter.crs-match-all" excluded="true" default="false"/>
+ <property name="filter.domains" excluded="true"/>
+ <property name="filter.knownFailures" excluded="true"/>
+ <property name="filter.frequencies" excluded="true"/>
+ <property name="filter.webapps" excluded="true"/>
+ <property name="filter.owners" excluded="true"/>
+ <property name="filter.misc" excluded="true"/>
+ <property name="filter.security-type" excluded="true" default="security70"/>
+ <property name="filter.server-modes" excluded="true"/>
+ <property name="filter.silently-ignore" excluded="true" default="true"/>
+ <property name="filter.ssl" excluded="true"/>
+ <property name="filter.status" excluded="true"/>
+ <property name="filter.test-level" excluded="true"/>
+
+ <property name="fork"/>
+ <property name="global-test-vehicle" default="local"/>
+ <property name="global-test-vehicle-process" excluded="false"/>
+ <property name="home" excluded="true"/>
+ <property name="hostname" excluded="true"/> <!-- GTLF logging -->
+ <property name="importinfo" excluded="true"/> <!-- GTLF logging -->
+ <property name="init-mode-only" default="false"/>
+
+ <!-- Do not set this on the generated java command line so that
+ its length can be kept to a minimum.
+ This means that any subsequent command lines generated from running
+ the generated java command line will not be correct. -->
+ <property name="javaopts" javaExcluded="true"/>
+
+ <!-- deprecated, replaced by process.keep-alive -->
+ <property name="keep-alive" default="true" excluded="true"/>
+
+ <!-- deprecated, append subtest name to test name, set using
+ tch.test-names -->
+ <property name="javatest.method-names" excluded="true"/>
+
+ <property name="junit.force-failure" default="false" excluded="false"/>
+ <property name="junit.validate-class" default="true" excluded="false"/>
+ <property name="junit.validate-method-names" default="true" excluded="false"/>
+
+ <property name="load" excluded="true"/> <!-- GTLF logging -->
+
+ <property name="log.basedir" excluded="true" default="."/>
+ <property name="log-banners" default="true" excluded="true"/>
+ <property name="log-comparison" default="false" excluded="true"/>
+ <property name="log.composite.enabled" default="true" excluded="true"/>
+ <property name="log.config" default="%{tch.home}/tch-logger-conf.xml"/>
+ <property name="log-custom" excluded="true"/>
+ <property name="log-custom-suffix" excluded="true"/>
+ <property name="log.date-format" default="MMM d, yyyy h:mm:ss aa zzz" excluded="true"/>
+ <property name="log.debug-level" default="3" excluded="true"/>
+ <property name="log-gtlf" default="true" forceval="false"/>
+ <property name="log.gtlf.file-extension" default="xml" excluded="true"/>
+ <property name="log.stdout-as-inform" default="false" excluded="true"/>
+ <property name="log.inform-as-details" default="true" excluded="true"/>
+
+ <!-- Prefered way to pass envs to the GTLF logger -->
+ <property name="log.gtlf.env.*" excluded="true"/>
+
+ <property name="log-to-stdout" default="true" excluded="true"/>
+ <property name="log.progress-info" default="false" excluded="false"/>
+ <property name="log-verbose-debug" default="true" excluded="true"/>
+ <property name="log.test-names" default="false" excluded="true"/>
+
+ <property name="management-admin-port" default="9425" excluded="true"/>
+
+ <!-- Deprecated, internal, not documented -->
+ <property name="modified-classpath" default="false" excluded="true"/>
+
+ <property name="start-processes-only" default="false"/>
+ <property name="test-info"/>
+ <property name="test-info-also-run" default="false"/>
+ <property name="test-names" excluded="true"/>
+ <property name="test-vehicle.vm.shutdown-after-test" excluded="false" default="false"/>
+ <property name="test-vehicle.vm.shutdown-if-problem" excluded="false" default="false"/>
+ <property name="run-timeout" default="false"/>
+ <property name="run-timeout-seconds" default="1800"/>
+ <property name="runmodifier" default="" excluded="true"/> <!-- GTLF logging -->
+ <property name="test-timeout" default="false"/>
+ <property name="test-timeout-seconds" default="300"/>
+ <property name="process.auto-start" default="false" excluded="false"/>
+ <property name="process.base-home" excluded="false"/>
+ <property name="process.ctrlc-cleanup" default="false" excluded="true"/>
+ <property name="process.configure-all" default="false"/>
+ <property name="process.dynamic.*" excluded="false"/>
+ <property name="process.local-listener-port" default="4242" excluded="true"/>
+ <property name="process.keep-alive" default="true" excluded="true"/>
+ <property name="process.log.basedir" excluded="true"/>
+ <property name="process.merge-output-streams" default="true" excluded="true"/>
+ <property name="process.window" default="false"/>
+ <property name="process.write-cmd-files" default="true" excluded="true"/>
+ <property name="process.write-process-data-props-file" default="false" excluded="true"/>
+ <property name="prop-val-substitution" default="false" excluded="true"/>
+ <property name="replication.entry-point" default="tch.sh run" excluded="true"/>
+ <property name="replication.info" default="" excluded="true"/>
+ <property name="replication.print-win-cmdline" default="false" excluded="true"/>
+ <property name="replication.set-javaopts" default="true" excluded="true"/>
+ <property name="release" excluded="true"/> <!-- GTLF logging -->
+ <property name="runid" excluded="true"/> <!-- GTLF logging -->
+ <property name="stagger-result-time" default="true" excluded="true"/>
+ <property name="stf.component-files" excluded="true"/>
+ <property name="stf.operation-files" excluded="true"/>
+
+ <!-- not excluded because some tests use it in conditionals -->
+ <property name="string" excluded="false"/> <!-- GTLF logging -->
+
+ <property name="testruntype" excluded="true"/> <!-- GTLF logging -->
+ <property name="threaddump" default="false" excluded="true"/>
+ <property name="toptestfile" excluded="true"/> <!-- GTLF logging -->
+ <property name="update.*" excluded="true"/>
+ <property
+ name="junit.update.src"
+ excluded="true"
+ default="%{tch.home}/../core/java"
+ />
+ <property name="validate" default="true"/>
+ <property name="validate-test-name-length" default="true" excluded="true"/>
+ <property name="validation-error-metafile" default="tch-error-messages.xml"/>
+ <property name="verbose" default="false" excluded="true"/>
+ <property name="verbose-validation" default="true"/>
+
+
+ <property name="wstest.verbose" default="false"/>
+ <property name="wstest.config-file"/>
+ <property name="wstest.host" default="localhost"/>
+ <property name="wstest.builddir" default="."/>
+ <property name="wstest.installdir" default="."/>
+
+ <!-- These are for internal Tch use only, cannot ever be set by user.-->
+ <property name="internal.log-banners-prop-name"/>
+ <property name="internal.srcdir"/>
+ <property name="internal.start-processes-only-prop-name"/>
+ <property name="internal.validation-failed" default="false"/>
+
+</root>
+
+
Propchange: beehive/trunk/controls/test/infra/tch/tch-props.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/controls/test/infra/tch/tch-root-template.xml
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/infra/tch/tch-root-template.xml?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/infra/tch/tch-root-template.xml (original)
+++ beehive/trunk/controls/test/infra/tch/tch-root-template.xml Fri Aug 12 08:12:28 2005
@@ -1,270 +1,270 @@
-<project name="tch" default="version">
-
- <!-- This is the root Tch buildfile. It performs process configuration, as well as
- calling out to the specified Tch buildfile supplied by the user.
- See the documentation and the functional description document for more details. -->
-
- <!-- Tch core tasks -->
-
- <taskdef name="process-setup" classname="org.apache.beehive.test.tools.tch.core.stl.ProcessSetupTask"/>
-
- <taskdef name="test-suite-call" classname="org.apache.beehive.test.tools.tch.core.TestSuiteCallTask"/>
- <taskdef name="test-suite" classname="org.apache.beehive.test.tools.tch.core.TestSuiteTask"/>
- <taskdef name="test-block" classname="org.apache.beehive.test.tools.tch.core.TestBlockTask"/>
- <taskdef name="test" classname="org.apache.beehive.test.tools.tch.core.TestTask"/>
-
- <taskdef name="process" classname="org.apache.beehive.test.tools.tch.core.ProcessTask"/>
- <taskdef name="independent-test-group" classname="org.apache.beehive.test.tools.tch.core.IndependentTestGroupTask"/>
- <taskdef name="configuration-dependency" classname="org.apache.beehive.test.tools.tch.core.ConfigurationDependencyTask"/>
- <taskdef name="jvmarg" classname="org.apache.beehive.test.tools.tch.core.JvmargTask"/>
- <taskdef name="test-parameter" classname="org.apache.beehive.test.tools.tch.core.ParamTask"/>
- <taskdef name="test-unit-modifier" classname="org.apache.beehive.test.tools.tch.core.TestUnitModifierTask"/>
- <taskdef name="test-unit-override" classname="org.apache.beehive.test.tools.tch.core.TestUnitOverrideTask"/>
- <taskdef name="append-to-test-unit" classname="org.apache.beehive.test.tools.tch.core.AppendModifierToTestUnitTask"/>
- <taskdef name="test-name-modifier" classname="org.apache.beehive.test.tools.tch.core.TestNameModifierTask"/>
- <taskdef name="append-to-test-name" classname="org.apache.beehive.test.tools.tch.core.AppendModifierToTestNameTask"/>
- <taskdef name="test-parallel" classname="org.apache.beehive.test.tools.tch.core.TestParallelTask"/>
- <taskdef name="test-sequential" classname="org.apache.beehive.test.tools.tch.core.TestSequentialTask"/>
- <taskdef name="test-vehicle" classname="org.apache.beehive.test.tools.tch.core.TestVehicleTask"/>
- <taskdef name="test-metadata" classname="org.apache.beehive.test.tools.tch.core.TestMetadataTask"/>
-
- <taskdef name="if" classname="org.apache.beehive.test.tools.tch.core.IfTask"/>
- <taskdef name="conditional" classname="org.apache.beehive.test.tools.tch.core.IfTask$ConditionTask"/>
-
- <taskdef name="requires-dependent" classname="org.apache.beehive.test.tools.tch.core.RequiresDependentTask"/>
- <taskdef name="requires" classname="org.apache.beehive.test.tools.tch.core.RequiresTask"/>
- <taskdef name="dependent" classname="org.apache.beehive.test.tools.tch.core.DependentTask"/>
-
- <!-- FIXME we can probably remove the 'utility' task -->
- <taskdef name="utility" classname="org.apache.beehive.test.tools.tch.core.UtilityTask"/>
- <taskdef
- name="javatest-utility"
- classname="org.apache.beehive.test.tools.tch.extension.exectask.javatest.JavatestUtilityTask"/>
- <taskdef name="parameter"
- classname="org.apache.beehive.test.tools.tch.extension.exectask.javatest.JavatestUtilityTask$ParameterContainer"/>
-
- <taskdef name="custom-task" classname="org.apache.beehive.test.tools.tch.core.AnythingTask"/>
- <taskdef name="init-hook" classname="org.apache.beehive.test.tools.tch.core.InitHookTask"/>
- <taskdef name="cleanup-hook" classname="org.apache.beehive.test.tools.tch.core.CleanupHookTask"/>
- <taskdef name="prop-val-substitution" classname="org.apache.beehive.test.tools.tch.core.PropValueSubstitutionSetupTask"/>
- <taskdef name="inform" classname="org.apache.beehive.test.tools.tch.core.ant.TchLogTask"/>
-
- @TASKDEFS@
-
- <taskdef name="startup" classname="org.apache.beehive.test.tools.tch.core.StartupTask"/>
- <taskdef name="file-exists" classname="org.apache.beehive.test.tools.tch.util.ant.FileExistsTask"/>
- <taskdef name="message" classname="org.apache.beehive.test.tools.tch.core.MessageTask"/>
- <taskdef name="test-list-output" classname="org.apache.beehive.test.tools.tch.core.TestListOutputTask"/>
- <taskdef name="update" classname="org.apache.beehive.test.tools.tch.extension.update.UpdateManager"/>
-
- <taskdef name="init-pm"
- classname="org.apache.beehive.test.tools.tch.core.InitProcessManagementTask"/>
- <taskdef name="resolve-process-info-props"
- classname="org.apache.beehive.test.tools.tch.core.process.ResolveProcessPropertiesTask"/>
- <taskdef name="check-references"
- classname="org.apache.beehive.test.tools.tch.core.ReferenceCheckTask"/>
- <taskdef name="final-validation"
- classname="org.apache.beehive.test.tools.tch.core.configuration.FinalValidationCheckTask"/>
- <taskdef name="auto-start-processes"
- classname="org.apache.beehive.test.tools.tch.core.AutoStartProcessesTask"/>
- <taskdef name="init-logger"
- classname="org.apache.beehive.test.tools.tch.core.InitLoggerTask"/>
- <taskdef name="test-runner" classname="org.apache.beehive.test.tools.tch.core.TestRunner"/>
- <taskdef name="shutdown"
- classname="org.apache.beehive.test.tools.tch.core.PrepareForShutdown"/>
-
- <!-- For javatest execution task -->
- <taskdef name="javatest"
- classname="org.apache.beehive.test.tools.tch.extension.exectask.javatest.JavatestTask"/>
-
- <taskdef name="junit"
- classname="org.apache.beehive.test.tools.tch.extension.exectask.junit.JunitExecTask"/>
-
- <!-- For webservertest execution task -->
- <taskdef name="wstest"
- classname="org.apache.beehive.test.tools.tch.extension.exectask.wstest.WebServerExecTask"/>
-
- <!-- Tch test (tch testing tch) -->
- <taskdef name="tch-diff-test" classname="org.apache.beehive.test.tools.tch.extension.exectask.self.TchExecTask"/>
-
- @PRODUCTION-EXEC-TASKDEFS@
-
- <!-- cmdline exec task -->
- <taskdef name="cmdline"
- classname="org.apache.beehive.test.tools.tch.extension.exectask.cmdline.CommandLineTask"/>
-
- <!-- For stf execution task
- <taskdef name="stf"
- classname="org.apache.beehive.test.tools.tch.extension.exectask.stf.STFExecTask"/>
- -->
- <!-- For ant-exec-task execution task -->
- <taskdef name="ant-task"
- classname="org.apache.beehive.test.tools.tch.extension.exectask.ant.AntExecTask"/>
-
- <property name="test-suite" value="test.xml"/>
-
- <property name="base-param" value="set-at-base"/>
-
- <property
- name="tch.internal.start-processes-only-prop-name"
- value="tch.start-processes-only"
- />
-
- <property
- name="tch.internal.log-banners-prop-name"
- value="tch.log-banners"
- />
-
- <!-- do not change this prefix, we depend on it for dynamic process config -->
- <property environment="env"/>
-
-
- <target name="version">
- <echo message="runtime java.version: ${java.version}"/>
- <echo message="runtime java.home: ${java.home}"/>
- <java classname="tch.version"/>
- </target>
-
- <target name="dtd">
- <antstructure output="simple.dtd"/>
- </target>
-
- <target name="run" depends="version,
- preRun,
- InitRun,
- PostInitRun,
- PreExecRun,
- ExecRun,
- PostRun"/>
-
- <target name="preRun">
-
- <startup/> <!-- might want to move both of these to the very beginning, when we want to have control over all msgs -->
-
- <fail unless="tch.home" message="tch.home must be set."/>
- <file-exists dir="${tch.baseDir}" file="${test-suite}" message="Your supplied test-suite XML testfile was not found. This is set using "-Dtest-suite=filename" and defaults to "test.xml". The file not found is: "/>
-
- <antcall target="print-start-message"/>
-
- <process-setup/>
-
- <!--java classname="org.apache.beehive.test.tools.tch.core.configuration.ProcessSetup"
- failonerror="true"/-->
-
- @INIT-ANONYMOUS-PROCESS@
- @INIT-TEST-VEHICLE@
-
- </target>
-
- <target name="InitRun" depends="is-init-mode-enabled">
- <echo message="Running test suite: ${test-suite} ..."/>
- <test-suite-call
- testfile="${test-suite}"
- dir="${tch.baseDir}"
- topLevel="true"
- />
- <check-references/>
- <final-validation checkFatalOnly="true"/>
-
- <!-- this performs updates to test metadata
- forces init-mode-only
- experimental, does not do anything right now
- -->
- <update/>
-
- <!-- There are antcalls since they should only run if
- tch.internal.validation-failed is not set
- -->
- <antcall target="test-runner"/>
- <antcall target="init-pm"/>
-
- <!-- this task needs to set properties, on the current project,
- so it cannot run in its own target -->
- <resolve-process-info-props/>
-
- <final-validation/>
- <message mode="middle"/>
- <test-list-output/>
- </target>
-
- <target name="test-runner" unless="tch.internal.validation-failed">
- <test-runner/>
- </target>
-
- <target name="init-pm" unless="tch.internal.validation-failed">
- <init-pm/>
- </target>
-
- <target name="final-validation" unless="tch.internal.validation-failed">
- <final-validation/>
- </target>
-
- <target name="PostInitRun" unless="tch.internal.init-mode-only-enabled">
- <init-logger/>
- <auto-start-processes/>
- </target>
-
- <target name="ExitEarly" if="${tch.internal.start-processes-only-prop-name}">
- <fail message="Exiting after starting processes..."/>
- </target>
-
- <target name="PreExecRun" depends="ExitEarly" unless="tch.internal.init-mode-only-enabled">
-
- <prop-val-substitution>
- <arg name="${env.TCH_HOME}" value="TCH_HOME" env="true"/>
- </prop-val-substitution>
-
- @ENV-PROP-MAPPING@
-
- <!-- Switching from init mode to run mode -->
- <java classname="org.apache.beehive.test.tools.tch.core.DirtyClass"
- failonerror="true"/>
- <test-runner/>
- </target>
-
- <target name="ExecRun" unless="tch.internal.init-mode-only-enabled">
- <test-suite-call testfile="${test-suite}" dir="${tch.baseDir}" topLevel="true"/>
- </target>
-
- <target name="PostRun" unless="tch.internal.init-mode-only-enabled">
- <java
- classname="org.apache.beehive.test.tools.tch.core.DirtyClass"
- failonerror="true"
- />
-
- <antcall target="print-end-message"/>
-
- <shutdown/>
- </target>
-
- <target name="print-start-message" unless="${tch.internal.log-banners-prop-name}">
- <loadfile
- srcfile="${tch.home}/messages/start.txt"
- property="tch.internal.start-message"
- />
- <echo message="${tch.internal.start-message}"/>
- </target>
-
- <target name="print-end-message" unless="${tch.internal.log-banners-prop-name}">
- <loadfile
- srcfile="${tch.home}/messages/end.txt"
- property="tch.internal.end-message"
- />
- <echo message="${tch.internal.end-message}"/>
- </target>
-
- <target name="is-init-mode-enabled">
- <condition
- property="tch.internal.init-mode-only-enabled"
- value="set"
- >
- <equals
- arg1="true"
- arg2="${tch.init-mode-only}"
- casesensitive="false"
- />
- </condition>
- </target>
-
-</project>
-
+<project name="tch" default="version">
+
+ <!-- This is the root Tch buildfile. It performs process configuration, as well as
+ calling out to the specified Tch buildfile supplied by the user.
+ See the documentation and the functional description document for more details. -->
+
+ <!-- Tch core tasks -->
+
+ <taskdef name="process-setup" classname="org.apache.beehive.test.tools.tch.core.stl.ProcessSetupTask"/>
+
+ <taskdef name="test-suite-call" classname="org.apache.beehive.test.tools.tch.core.TestSuiteCallTask"/>
+ <taskdef name="test-suite" classname="org.apache.beehive.test.tools.tch.core.TestSuiteTask"/>
+ <taskdef name="test-block" classname="org.apache.beehive.test.tools.tch.core.TestBlockTask"/>
+ <taskdef name="test" classname="org.apache.beehive.test.tools.tch.core.TestTask"/>
+
+ <taskdef name="process" classname="org.apache.beehive.test.tools.tch.core.ProcessTask"/>
+ <taskdef name="independent-test-group" classname="org.apache.beehive.test.tools.tch.core.IndependentTestGroupTask"/>
+ <taskdef name="configuration-dependency" classname="org.apache.beehive.test.tools.tch.core.ConfigurationDependencyTask"/>
+ <taskdef name="jvmarg" classname="org.apache.beehive.test.tools.tch.core.JvmargTask"/>
+ <taskdef name="test-parameter" classname="org.apache.beehive.test.tools.tch.core.ParamTask"/>
+ <taskdef name="test-unit-modifier" classname="org.apache.beehive.test.tools.tch.core.TestUnitModifierTask"/>
+ <taskdef name="test-unit-override" classname="org.apache.beehive.test.tools.tch.core.TestUnitOverrideTask"/>
+ <taskdef name="append-to-test-unit" classname="org.apache.beehive.test.tools.tch.core.AppendModifierToTestUnitTask"/>
+ <taskdef name="test-name-modifier" classname="org.apache.beehive.test.tools.tch.core.TestNameModifierTask"/>
+ <taskdef name="append-to-test-name" classname="org.apache.beehive.test.tools.tch.core.AppendModifierToTestNameTask"/>
+ <taskdef name="test-parallel" classname="org.apache.beehive.test.tools.tch.core.TestParallelTask"/>
+ <taskdef name="test-sequential" classname="org.apache.beehive.test.tools.tch.core.TestSequentialTask"/>
+ <taskdef name="test-vehicle" classname="org.apache.beehive.test.tools.tch.core.TestVehicleTask"/>
+ <taskdef name="test-metadata" classname="org.apache.beehive.test.tools.tch.core.TestMetadataTask"/>
+
+ <taskdef name="if" classname="org.apache.beehive.test.tools.tch.core.IfTask"/>
+ <taskdef name="conditional" classname="org.apache.beehive.test.tools.tch.core.IfTask$ConditionTask"/>
+
+ <taskdef name="requires-dependent" classname="org.apache.beehive.test.tools.tch.core.RequiresDependentTask"/>
+ <taskdef name="requires" classname="org.apache.beehive.test.tools.tch.core.RequiresTask"/>
+ <taskdef name="dependent" classname="org.apache.beehive.test.tools.tch.core.DependentTask"/>
+
+ <!-- FIXME we can probably remove the 'utility' task -->
+ <taskdef name="utility" classname="org.apache.beehive.test.tools.tch.core.UtilityTask"/>
+ <taskdef
+ name="javatest-utility"
+ classname="org.apache.beehive.test.tools.tch.extension.exectask.javatest.JavatestUtilityTask"/>
+ <taskdef name="parameter"
+ classname="org.apache.beehive.test.tools.tch.extension.exectask.javatest.JavatestUtilityTask$ParameterContainer"/>
+
+ <taskdef name="custom-task" classname="org.apache.beehive.test.tools.tch.core.AnythingTask"/>
+ <taskdef name="init-hook" classname="org.apache.beehive.test.tools.tch.core.InitHookTask"/>
+ <taskdef name="cleanup-hook" classname="org.apache.beehive.test.tools.tch.core.CleanupHookTask"/>
+ <taskdef name="prop-val-substitution" classname="org.apache.beehive.test.tools.tch.core.PropValueSubstitutionSetupTask"/>
+ <taskdef name="inform" classname="org.apache.beehive.test.tools.tch.core.ant.TchLogTask"/>
+
+ @TASKDEFS@
+
+ <taskdef name="startup" classname="org.apache.beehive.test.tools.tch.core.StartupTask"/>
+ <taskdef name="file-exists" classname="org.apache.beehive.test.tools.tch.util.ant.FileExistsTask"/>
+ <taskdef name="message" classname="org.apache.beehive.test.tools.tch.core.MessageTask"/>
+ <taskdef name="test-list-output" classname="org.apache.beehive.test.tools.tch.core.TestListOutputTask"/>
+ <taskdef name="update" classname="org.apache.beehive.test.tools.tch.extension.update.UpdateManager"/>
+
+ <taskdef name="init-pm"
+ classname="org.apache.beehive.test.tools.tch.core.InitProcessManagementTask"/>
+ <taskdef name="resolve-process-info-props"
+ classname="org.apache.beehive.test.tools.tch.core.process.ResolveProcessPropertiesTask"/>
+ <taskdef name="check-references"
+ classname="org.apache.beehive.test.tools.tch.core.ReferenceCheckTask"/>
+ <taskdef name="final-validation"
+ classname="org.apache.beehive.test.tools.tch.core.configuration.FinalValidationCheckTask"/>
+ <taskdef name="auto-start-processes"
+ classname="org.apache.beehive.test.tools.tch.core.AutoStartProcessesTask"/>
+ <taskdef name="init-logger"
+ classname="org.apache.beehive.test.tools.tch.core.InitLoggerTask"/>
+ <taskdef name="test-runner" classname="org.apache.beehive.test.tools.tch.core.TestRunner"/>
+ <taskdef name="shutdown"
+ classname="org.apache.beehive.test.tools.tch.core.PrepareForShutdown"/>
+
+ <!-- For javatest execution task -->
+ <taskdef name="javatest"
+ classname="org.apache.beehive.test.tools.tch.extension.exectask.javatest.JavatestTask"/>
+
+ <taskdef name="junit"
+ classname="org.apache.beehive.test.tools.tch.extension.exectask.junit.JunitExecTask"/>
+
+ <!-- For webservertest execution task -->
+ <taskdef name="wstest"
+ classname="org.apache.beehive.test.tools.tch.extension.exectask.wstest.WebServerExecTask"/>
+
+ <!-- Tch test (tch testing tch) -->
+ <taskdef name="tch-diff-test" classname="org.apache.beehive.test.tools.tch.extension.exectask.self.TchExecTask"/>
+
+ @PRODUCTION-EXEC-TASKDEFS@
+
+ <!-- cmdline exec task -->
+ <taskdef name="cmdline"
+ classname="org.apache.beehive.test.tools.tch.extension.exectask.cmdline.CommandLineTask"/>
+
+ <!-- For stf execution task
+ <taskdef name="stf"
+ classname="org.apache.beehive.test.tools.tch.extension.exectask.stf.STFExecTask"/>
+ -->
+ <!-- For ant-exec-task execution task -->
+ <taskdef name="ant-task"
+ classname="org.apache.beehive.test.tools.tch.extension.exectask.ant.AntExecTask"/>
+
+ <property name="test-suite" value="test.xml"/>
+
+ <property name="base-param" value="set-at-base"/>
+
+ <property
+ name="tch.internal.start-processes-only-prop-name"
+ value="tch.start-processes-only"
+ />
+
+ <property
+ name="tch.internal.log-banners-prop-name"
+ value="tch.log-banners"
+ />
+
+ <!-- do not change this prefix, we depend on it for dynamic process config -->
+ <property environment="env"/>
+
+
+ <target name="version">
+ <echo message="runtime java.version: ${java.version}"/>
+ <echo message="runtime java.home: ${java.home}"/>
+ <java classname="tch.version"/>
+ </target>
+
+ <target name="dtd">
+ <antstructure output="simple.dtd"/>
+ </target>
+
+ <target name="run" depends="version,
+ preRun,
+ InitRun,
+ PostInitRun,
+ PreExecRun,
+ ExecRun,
+ PostRun"/>
+
+ <target name="preRun">
+
+ <startup/> <!-- might want to move both of these to the very beginning, when we want to have control over all msgs -->
+
+ <fail unless="tch.home" message="tch.home must be set."/>
+ <file-exists dir="${tch.baseDir}" file="${test-suite}" message="Your supplied test-suite XML testfile was not found. This is set using "-Dtest-suite=filename" and defaults to "test.xml". The file not found is: "/>
+
+ <antcall target="print-start-message"/>
+
+ <process-setup/>
+
+ <!--java classname="org.apache.beehive.test.tools.tch.core.configuration.ProcessSetup"
+ failonerror="true"/-->
+
+ @INIT-ANONYMOUS-PROCESS@
+ @INIT-TEST-VEHICLE@
+
+ </target>
+
+ <target name="InitRun" depends="is-init-mode-enabled">
+ <echo message="Running test suite: ${test-suite} ..."/>
+ <test-suite-call
+ testfile="${test-suite}"
+ dir="${tch.baseDir}"
+ topLevel="true"
+ />
+ <check-references/>
+ <final-validation checkFatalOnly="true"/>
+
+ <!-- this performs updates to test metadata
+ forces init-mode-only
+ experimental, does not do anything right now
+ -->
+ <update/>
+
+ <!-- There are antcalls since they should only run if
+ tch.internal.validation-failed is not set
+ -->
+ <antcall target="test-runner"/>
+ <antcall target="init-pm"/>
+
+ <!-- this task needs to set properties, on the current project,
+ so it cannot run in its own target -->
+ <resolve-process-info-props/>
+
+ <final-validation/>
+ <message mode="middle"/>
+ <test-list-output/>
+ </target>
+
+ <target name="test-runner" unless="tch.internal.validation-failed">
+ <test-runner/>
+ </target>
+
+ <target name="init-pm" unless="tch.internal.validation-failed">
+ <init-pm/>
+ </target>
+
+ <target name="final-validation" unless="tch.internal.validation-failed">
+ <final-validation/>
+ </target>
+
+ <target name="PostInitRun" unless="tch.internal.init-mode-only-enabled">
+ <init-logger/>
+ <auto-start-processes/>
+ </target>
+
+ <target name="ExitEarly" if="${tch.internal.start-processes-only-prop-name}">
+ <fail message="Exiting after starting processes..."/>
+ </target>
+
+ <target name="PreExecRun" depends="ExitEarly" unless="tch.internal.init-mode-only-enabled">
+
+ <prop-val-substitution>
+ <arg name="${env.TCH_HOME}" value="TCH_HOME" env="true"/>
+ </prop-val-substitution>
+
+ @ENV-PROP-MAPPING@
+
+ <!-- Switching from init mode to run mode -->
+ <java classname="org.apache.beehive.test.tools.tch.core.DirtyClass"
+ failonerror="true"/>
+ <test-runner/>
+ </target>
+
+ <target name="ExecRun" unless="tch.internal.init-mode-only-enabled">
+ <test-suite-call testfile="${test-suite}" dir="${tch.baseDir}" topLevel="true"/>
+ </target>
+
+ <target name="PostRun" unless="tch.internal.init-mode-only-enabled">
+ <java
+ classname="org.apache.beehive.test.tools.tch.core.DirtyClass"
+ failonerror="true"
+ />
+
+ <antcall target="print-end-message"/>
+
+ <shutdown/>
+ </target>
+
+ <target name="print-start-message" unless="${tch.internal.log-banners-prop-name}">
+ <loadfile
+ srcfile="${tch.home}/messages/start.txt"
+ property="tch.internal.start-message"
+ />
+ <echo message="${tch.internal.start-message}"/>
+ </target>
+
+ <target name="print-end-message" unless="${tch.internal.log-banners-prop-name}">
+ <loadfile
+ srcfile="${tch.home}/messages/end.txt"
+ property="tch.internal.end-message"
+ />
+ <echo message="${tch.internal.end-message}"/>
+ </target>
+
+ <target name="is-init-mode-enabled">
+ <condition
+ property="tch.internal.init-mode-only-enabled"
+ value="set"
+ >
+ <equals
+ arg1="true"
+ arg2="${tch.init-mode-only}"
+ casesensitive="false"
+ />
+ </condition>
+ </target>
+
+</project>
+
Propchange: beehive/trunk/controls/test/infra/tch/tch-root-template.xml
------------------------------------------------------------------------------
svn:eol-style = native