Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

Commit dee031fa authored by Fabien Triolet's avatar Fabien Triolet
Browse files

this script use the new version of tests.

parent 1602f215
<!-- $Id: build.xml,v 1.43 2002-11-07 08:21:46 triolet Exp $ -->
<!-- $Id: build.xml,v 1.44 2003-01-22 09:57:16 triolet Exp $ -->
<project name="transmo" default="compile" basedir="..">
......@@ -181,12 +181,12 @@
<target name="updatetests" depends="init">
<echo message="Building test directory..."/>
<javadoc
sourcepath="src" destdir="tests"
sourcepath="src" destdir="test"
packagenames="fr.fluxmedia.*"
defaultexcludes="yes"
doclet="com.objectfab.tools.junitdoclet.JUnitDoclet"
docletpathref="classpath"
additionalparam="-d ../tests -buildall"
additionalparam="-d ../test -buildall"
>
<classpath refid="classpath"/>
</javadoc>
......@@ -200,42 +200,70 @@
<target name="test" depends="init">
<echo message="Testing..."/>
<javac srcdir="tests/fr/fluxmedia/transmorpher/Graph/Rules"
<!-- <javac srcdir="test/fr/fluxmedia/transmorpher/graph/rules"
debug="on" destdir="classes">
<classpath refid="classpath"/>
</javac>
<javac srcdir="tests/fr/fluxmedia/" debug="on" destdir="classes">
</javac> -->
<javac srcdir="test/fr/fluxmedia/" debug="on" destdir="classes">
<classpath refid="classpath"/>
<include name="AllTests.*"/>
<include name="transmorpher/Graph/TransmorpherTest.*"/>
<include name="transmorpher/Graph/GraphSuite.*"/>
<include name="transmorpher/Utils/mVersionTest.*"/>
<include name="transmorpher/Utils/ParametersTest.*"/>
<include name="transmorpher/Utils/FifoTest.*"/>
<include name="transmorpher/Utils/UtilsSuite.*"/>
<include name="transmorpher/stdlib/ReadfileTest.*"/>
<!-- <include name="AllTests.*"/> -->
<include name="transmorpher/utils/ParametersTest.*"/>
<include name="transmorpher/utils/FifoTest.*"/>
<include name="transmorpher/graph/TransmorpherTest.*"/>
<include name="transmorpher/graph/PortTest.*"/>
<include name="transmorpher/graph/PortListTest.*"/>
<include name="transmorpher/graph/ChannelTest.*"/>
<include name="transmorpher/graph/GenerateTest.*"/>
<include name="transmorpher/graph/SerializeTest.*"/>
<include name="transmorpher/graph/MergeTest.*"/>
<include name="transmorpher/graph/DispatchTest.*"/>
<include name="transmorpher/graph/ApplyExternalTest.*"/>
<include name="transmorpher/graph/ApplyProcessTest.*"/>
<include name="transmorpher/graph/ApplyQueryTest.*"/>
<include name="transmorpher/graph/ApplyRulesetTest.*"/>
<include name="transmorpher/graph/QueryTest.*"/>
<include name="transmorpher/graph/rules/*.*"/>
<!-- <include name="transmorpher/Graph/GraphSuite.*"/>-->
<!-- <include name="transmorpher/Utils/mVersionTest.*"/> -->
<!-- <include name="transmorpher/Utils/UtilsSuite.*"/> -->
<include name="transmorpher/stdlib/ReadFileTest.*"/>
<include name="transmorpher/stdlib/BroadcastTest.*"/>
<include name="transmorpher/stdlib/ConcatTest.*"/>
<include name="transmorpher/stdlib/IntegerIteratorTest.*"/>
<include name="transmorpher/stdlib/FileIteratorTest.*"/>
<include name="transmorpher/stdlib/FixpointIteratorTest.*"/>
<include name="transmorpher/stdlib/TestingDispatcherTest.*"/>
<include name="transmorpher/stdlib/XsltTest.*"/>
<include name="transmorpher/stdlib/WritefileTest.*"/>
<include name="transmorpher/stdlib/StdoutTest.*"/>
<include name="transmorpher/stdlib/StdlibSuite.*"/>
<include name="transmorpher/TProcessFactory/ContentHandlerInfoTest.*"/>
<include name="transmorpher/TProcessFactory/XML_PortTest.*"/>
<include name="transmorpher/TProcessFactory/TProcessFactorySuite.*"/>
<include name="transmorpher/stdlib/FixpointIteratorTest.*"/>
<include name="transmorpher/stdlib/TestingDispatcherTest.*"/>
<include name="transmorpher/stdlib/XSLTTest.*"/>
<!-- <include name="transmorpher/stdlib/WritefileTest.*"/> -->
<!-- <include name="transmorpher/stdlib/StdoutTest.*"/> -->
<!-- <include name="transmorpher/stdlib/StdlibSuite.*"/> -->
<include name="transmorpher/engine/ContentHandlerInfoTest.*"/>
<include name="transmorpher/engine/XML_PortTest.*"/>
<!-- <include name="transmorpher/TProcessFactory/TProcessFactorySuite.*"/> -->
</javac>
<antcall target="jar"/>
<junit printsummary="no" fork="yes" haltonfailure="no">
<test name="fr.fluxmedia.AllTests">
<formatter type="brief" usefile="false"/>
</test>
<junit printsummary="yes" fork="yes" haltonfailure="no">
<batchtest todir="test/reports/xml/">
<fileset dir="classes/">
<include name="**/*Test.class"/>
<exclude name="**/Test.class"/>
</fileset>
<formatter type="xml"/>
</batchtest>
<classpath refid="classpath"/>
</junit>
<junitreport todir="test/reports">
<fileset dir="test/reports/xml/">
<include name="TEST-*.xml"/>
</fileset>
<report todir="test/reports/html/"/>
</junitreport>
</target>
<target name="ttask" depends="init">
......@@ -243,7 +271,7 @@
classpath="./lib/transmo.jar"/>
<echo message="Transmorphing..."/>
<transmorph debug="2" mode="run" srcfile="../JAVA/transmorpher/samples//biblio/process.xml" message="Yurk">
<transmorph debug="1" reloc="test-csv/result" mode="run" srcfile="cvslog/process.xml" message="Yurk">
<param name="myParam" select="value"/>
<param name="myParam">value</param>
</transmorph>
......@@ -320,8 +348,8 @@
<copy todir="transmo-${version}/classes">
<fileset dir="classes" includes="**/*.class"/>
</copy>
<copy todir="transmo-${version}/tests">
<fileset dir="tests" includes="**/*.java,**/*.xml"/>
<copy todir="transmo-${version}/test">
<fileset dir="test" includes="**/*.java,**/reports,**/html,**/xml"/>
</copy>
<copy todir="transmo-${version}/api">
<fileset dir="api" includes="**/*.html"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment