burton 2004/10/17 17:12:23
Modified: feedparser build.xml
Log:
all tests for raw feed parsing pass fine...
Revision Changes Path
1.9 +32 -12 jakarta-commons-sandbox/feedparser/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/feedparser/build.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- build.xml 14 Sep 2004 01:32:04 -0000 1.8
+++ build.xml 18 Oct 2004 00:12:23 -0000 1.9
@@ -70,20 +70,24 @@
<target name="test-autodiscover" description="Runs the testing class for
autodiscovery"
depends="jakarta-feedparser.jar">
+
<java classpathref="project.classpath"
classname="org.apache.commons.feedparser.locate.FeedLocator"
fork="true"
failonerror="true">
</java>
+
</target>
<target name="test-probing" description="Runs the testing class for aggresive
probing"
depends="jakarta-feedparser.jar">
- <java classpathref="project.classpath"
- classname="org.apache.commons.feedparser.test.TestProbeLocator"
- fork="true"
- failonerror="true">
- </java>
+
+ <java classpathref="project.classpath"
+ classname="org.apache.commons.feedparser.test.TestProbeLocator"
+ fork="true"
+ failonerror="true">
+ </java>
+
</target>
<target name="clean">
@@ -108,7 +112,7 @@
</target>
- <target name="junit" depends="jakarta-feedparser.jar" description="Run junit
tests.">
+ <target name="test" depends="jakarta-feedparser.jar" description="Run junit
tests.">
<taskdef name="junit"
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
@@ -122,6 +126,8 @@
<formatter type="plain" usefile="false"/>
<test name="org.apache.commons.feedparser.test.TestFeedFilter"/>
+ <test name="org.apache.commons.feedparser.test.TestFeedLocator"/>
+
<test name="org.apache.commons.feedparser.test.TestProbeLocator"/>
<test name="org.apache.commons.feedparser.test.TestAtom"/>
<test name="org.apache.commons.feedparser.test.TestFeedParserUTF8"/>
@@ -171,14 +177,28 @@
</target>-->
- <target name="test-feeds" description="Runs the testing class for autodiscovery"
+ <target name="test-feeds" description=""
depends="jakarta-feedparser.jar">
- <java classpathref="project.classpath"
- classname="org.apache.commons.feedparser.locate.FeedLocator"
- fork="true"
- failonerror="true">
- </java>
+ <!-- this test just performs raw local feed parsing -->
+
+ <junit printsummary="withOutAndErr"
+ fork="true"
+ filtertrace="true"
+ haltonfailure="true">
+
+ <classpath refid="project.classpath"/>
+
+ <formatter type="plain" usefile="false"/>
+
+ <test name="org.apache.commons.feedparser.test.TestFeedFilter"/>
+ <test name="org.apache.commons.feedparser.test.TestAtom"/>
+
+ <!-- FIXME: make sure this uses tests: -->
+ <test name="org.apache.commons.feedparser.test.TestFeedParserUTF8"/>
+
+ </junit>
+
</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]