cvs commit: jakarta-log4j/tests build.xml
[email protected] 10 May 2002 07:57:36 -0000
| Newsgroups | gmane.comp.jakarta.log4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
ceki 02/05/10 00:57:36
Modified: tests build.xml
Log:
All existing tests are now under the <regression> target. The <longUnit>
target remains but is empty. Very long tests such as StressCatgory will
be added to it in due time.
Also changed the comment for the <clean> target to reflect the addition
of the <delete dir="./output/" /> task.
Revision Changes Path
1.16 +25 -18 jakarta-log4j/tests/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-log4j/tests/build.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- build.xml 10 May 2002 06:29:18 -0000 1.15
+++ build.xml 10 May 2002 07:57:36 -0000 1.16
@@ -78,7 +78,8 @@
</target>
<!-- ================================================================= -->
- <!-- Remove all generated (compiled) class files. -->
+ <!-- Remove all generated files such as compiled class files and test -->
+ <!-- case output. -->
<!-- ================================================================= -->
<target name="clean">
<delete dir="./classes/" />
@@ -100,15 +101,16 @@
HierarchyThreshold, SocketServer,
XMLLayout, AsyncAppender,
OptionConverter, BoundedFIFO,
- CyclicBuffer, OR, LevelMatchFilter"/>
+ CyclicBuffer, OR, LevelMatchFilter,
+ DRFA"/>
<!-- ================================================================= -->
<!-- Longer unit tests -->
<!-- ================================================================= -->
- <target name="longUnit" depends="DRFA"/>
+ <target name="longUnit" depends=""/>
<!-- ================================================================= -->
- <!-- =================== Regression Tests follow ===================== -->
+ <!-- ============== Regression and Unit Tests follow ================= -->
<!-- ================================================================= -->
<target name="Minimum" depends="build">
<junit printsummary="yes" fork="yes" haltonfailure="yes">
@@ -202,9 +204,15 @@
</junit>
</target>
- <!-- ================================================================= -->
- <!-- ========================= Unit Tests ============================ -->
- <!-- ================================================================= -->
+ <target name="LevelMatchFilter" depends="build">
+ <junit printsummary="yes" fork="yes" haltonfailure="yes">
+ <classpath refid="tests.classpath"/>
+ <formatter type="plain" usefile="false"/>
+ <test name="org.apache.log4j.varia.LevelMatchFilterTestCase" />
+ </junit>
+ </target>
+
+
<target name="OptionConverter" depends="build">
<junit printsummary="yes" fork="yes" haltonfailure="yes">
<classpath refid="tests.classpath"/>
@@ -229,14 +237,7 @@
</junit>
</target>
- <target name="DRFA" depends="build">
- <junit printsummary="yes" fork="yes" haltonfailure="yes">
- <classpath refid="tests.classpath"/>
- <formatter type="plain" usefile="false"/>
- <test name="org.apache.log4j.DRFATestCase" />
- </junit>
- </target>
-
+
<target name="OR" depends="build">
<junit printsummary="yes" fork="yes" haltonfailure="yes">
<classpath refid="tests.classpath"/>
@@ -244,14 +245,20 @@
<test name="org.apache.log4j.or.ORTestCase" />
</junit>
</target>
-
- <target name="LevelMatchFilter" depends="build">
+
+ <target name="DRFA" depends="build">
<junit printsummary="yes" fork="yes" haltonfailure="yes">
<classpath refid="tests.classpath"/>
<formatter type="plain" usefile="false"/>
- <test name="org.apache.log4j.varia.LevelMatchFilterTestCase" />
+ <test name="org.apache.log4j.DRFATestCase" />
</junit>
</target>
+ <!-- ================================================================= -->
+ <!-- ========================= Very long Tests ======================= -->
+ <!-- ================================================================= -->
+
+ <!-- none yet, but StressCategory is a good candidate... -->
+
</project>