⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build.xml

📁 jgroups开发平台
💻 XML
📖 第 1 页 / 共 3 页
字号:
            <param name="mux.conf.stack" value="tcp"/>            <param name="testname.ext" value="mux-tcp"/>            <param name="formatter.class" value="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"/>    	</antcall>    </target>    <!--			 Runs entire testsuite.			 Note: report generated will NOT contain results for all stacks.			 See all-tests-cc. 		 	-->    <target name="all-tests" depends="makeKeystore"            description="Runs entire testsuite">        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="channel.conf" value="udp.xml"/>            <param name="channel.conf.flush" value="flush-udp.xml"/>        </antcall>        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="channel.conf" value="tcp.xml"/>            <param name="channel.conf.flush" value="flush-tcp.xml"/>        </antcall>    </target>    <!--          Runs entire testsuite with default udp confguration specified by udp.xml.          Other valid parameters that can additionally be specified are:          threadcount          test.verbose     -->    <target name="all-tests-udp" depends="makeKeystore"            description="Runs entire testsuite with default udp confguration specified by udp.xml">        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="channel.conf" value="udp.xml"/>            <param name="channel.conf.flush" value="flush-udp.xml"/>        </antcall>    </target>    <!--          Runs entire testsuite with default tunnel confguration specified by tunnel.xml.          Other valid parameters that can additionally be specified are:          threadcount          test.verbose         -->    <target name="all-tests-tunnel" depends="makeKeystore"            description="Runs entire testsuite with default tunnel confguration specified by tunnel.xml">        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="channel.conf" value="tunnel.xml"/>            <param name="channel.conf.flush" value="tunnel.xml"/>            <param name="mux.conf.stack" value="tunnel"/>        </antcall>    </target>    <!--          Runs entire testsuite in multiplexer mode with default stacks.xml          multiplexer udp stack configuration.          Other valid parameters that can additionally be specified are:          channel.conf          channel.conf.flush          threadcount          test.verbose     -->    <target name="all-tests-mux-udp" depends="makeKeystore"            description="Runs entire testsuite in multiplexer mode using multiplexer udp stack configuration">        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="mux.on" value="true"/>            <param name="mux.conf.stack" value="udp"/>        </antcall>    </target>    <!--          Runs entire testsuite with default tcp confguration specified by tcp.xml.          Other valid parameters that can additionally be specified are:          threadcount          test.verbose     -->    <target name="all-tests-tcp" depends="makeKeystore"            description="Runs entire testsuite with default tcp confguration specified by tcp.xml">        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="channel.conf" value="tcp.xml"/>            <param name="channel.conf.flush" value="flush-tcp.xml"/>        </antcall>    </target>	    <!--          Runs entire testsuite with default tcp-nio confguration specified by tcp-nio.xml.          Other valid parameters that can additionally be specified are:          threadcount          test.verbose     -->    <target name="all-tests-tcp-nio" depends="makeKeystore"            description="Runs entire testsuite with default tcp confguration specified by tcp.xml">        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="channel.conf" value="tcp-nio.xml"/>            <param name="channel.conf.flush" value="flush-tcp-nio.xml"/>        </antcall>    </target>	    <!--          Runs entire testsuite in multiplexer mode with default stacks.xml          multiplexer tcp stack configuration.          Other valid parameters that can additionally be specified are:          channel.conf          channel.conf.flush          threadcount          test.verbose     -->    <target name="all-tests-mux-tcp" depends="makeKeystore"            description="Runs entire testsuite in multiplexer mode using multiplexer tcp stack configuration">        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="mux.on" value="true"/>            <param name="mux.conf.stack" value="tcp"/>        </antcall>    </target>    <!--          Runs entire testsuite in multiplexer mode with default stacks.xml          multiplexer tcp-nio stack configuration.          Other valid parameters that can additionally be specified are:          channel.conf          channel.conf.flush          threadcount          test.verbose     -->    <target name="all-tests-mux-tcp-nio" depends="makeKeystore"            description="Runs entire testsuite in multiplexer mode using multiplexer tcp stack configuration">        <antcall target="runtests">            <param name="testset" value="all.tests"/>            <param name="mux.on" value="true"/>            <param name="mux.conf.stack" value="tcp-nio"/>        </antcall>    </target>		    <!--          Runs a single junit test indicated by -Dtest=<testname> parameter.          Note that indication of full class name is not necessary to invoke          a single test but rather a unique substring of <testname>. For example,          in order to invoke org.jgroups.tests.ConcurrentStartupTest from a          command line, invoking build.sh one-test -Dtest=Conc is good enough since          Conc is a unique substring among all test names.          Other valid parameters that can additionally be specified are:          channel.conf          channel.conf.flush          mux.on          mux.conf          mux.conf.stack          mux.factorycount          threadcount          test.verbose     -->    <target name="one-test"            description="Runs a single junit test indicated by -Dtest=testname parameter, e.g. -Dtest=Deadlock2Test (no package names needed)">        <antcall target="runtests">            <param name="testset" value="one.test"/>            <param name="test.verbose" value="true"/>        </antcall>    </target>    <!--          Runs multiplexer specific tests with default stacks.xml multiplexer          udp stack configuration.          Other valid parameters that can additionally be specified are:          threadcount          test.verbose     -->    <target name="mux-test-udp"            description="Runs multiplexer specific tests with multiplexer udp stack configuration">        <antcall target="runtests">            <param name="mux.on" value="true"/>            <param name="mux.conf.stack" value="udp"/>            <param name="testset" value="mux.tests"/>            <param name="test.verbose" value="true"/>        </antcall>    </target>    <!--          Runs multiplexer specific tests with default stacks.xml multiplexer          udp-sync stack configuration.          Other valid parameters that can additionally be specified are:          threadcount          test.verbose     -->    <target name="mux-test-udp-sync"            description="Runs multiplexer specific tests with multiplexer udp-sync stack configuration">        <antcall target="runtests">            <param name="mux.on" value="true"/>            <param name="mux.conf.stack" value="udp-sync"/>            <param name="testset" value="mux.tests"/>            <param name="test.verbose" value="true"/>        </antcall>    </target>    <!--          Runs multiplexer specific tests with default stacks.xml multiplexer          tcp stack configuration.          Other valid parameters that can additionally be specified are:          threadcount          test.verbose     -->    <target name="mux-test-tcp"            description="Runs multiplexer specific tests with multiplexer tcp stack configuration">        <antcall target="runtests">            <param name="mux.on" value="true"/>            <param name="mux.conf.stack" value="tcp"/>            <param name="testset" value="mux.tests"/>            <param name="test.verbose" value="true"/>        </antcall>    </target>    <!--          Runs multiplexer specific tests with default stacks.xml multiplexer          tcp-sync stack configuration.          Other valid parameters that can additionally be specified are:          threadcount          test.verbose     -->    <target name="mux-test-tcp-sync"            description="Runs multiplexer specific tests with default stacks.xml multiplexer			tcp-sync stack configuration">        <antcall target="runtests">            <param name="mux.on" value="true"/>            <param name="mux.conf.stack" value="tcp-sync"/>            <param name="testset" value="mux.tests"/>            <param name="test.verbose" value="true"/>        </antcall>    </target>    <target name="copy-build-properties">        <copy file="${build.properties.file}.template" tofile="${build.properties.file}" overwrite="false"/>    </target>    <target name="findxalan">        <available property="xalan.available" classpathref="jg.classpath" classname="org.apache.xalan.Version"/>        <fail unless="xalan.available"              message="Xalan was not found. Please add the xalan.jar file from the lib directory to the CLASSPATH and retry"/>    </target>    <target name="testreport"            depends="findxalan,unittests-xml"            if="xalan.available"            description="Generates HTML from unit tests (target unitests-xml must have run before)">        <delete dir="${tmp.dir}/html"/>        <mkdir dir="${tmp.dir}/html"/>        <junitreport todir="${tmp.dir}/html">            <fileset dir="${tmp.dir}/tests-results" includes="**/TEST-*.xml"/>            <report todir="${tmp.dir}/html"/>        </junitreport>        <echo message="********************************************************************"/>        <echo message="The unit test report is available in ${tmp.dir}/html/index.html"/>        <echo message="********************************************************************"/>    </target>    <target name="report"            depends="findxalan"            if="xalan.available"            description="Generates HTML from unit tests (target unitests-xml must have run before)">        <delete dir="${tmp.dir}/html"/>        <mkdir dir="${tmp.dir}/html"/>        <junitreport todir="${tmp.dir}/html">            <fileset dir="${tmp.dir}/tests-results" includes="**/TEST-*.xml"/>            <report todir="${tmp.dir}/html"/>        </junitreport>        <echo message="********************************************************************"/>        <echo message="The unit test report is available in ${tmp.dir}/html/index.html"/>        <echo message="********************************************************************"/>    </target></project>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -