Details
- State: Failed
- For: Project: htmlparser-test
- Working Directory: /srv/gump/public/workspace/htmlparser
- Output: /srv/gump/public/workspace/tmp/build_htmlparser_htmlparser-test.txt
- Exit Code: 1
- Start Time: Sun, 11 May 2008 18:36:59 (PDT)
- End Time: Sun, 11 May 2008 18:37:23 (PDT)
- Elapsed Time: 24 secs
Parameters
| Prefix |
Name |
Value |
| -D |
java.awt.headless |
true |
| -X |
bootclasspath/p |
:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar |
|
org.apache.tools.ant.Main |
|
| -D |
gump.merge |
/srv/gump/public/gump/work/merge.xml |
| -D |
build.sysclasspath |
only |
| -D |
junit.jar.location |
/srv/gump/packages/junit3.8.1/junit.jar |
| -D |
version |
11052008 |
| -D |
testutil.jar.location |
/srv/gump/public/workspace/ant/build/lib/ant-testutil.jar |
|
test |
|
Environment Overrides
| Name |
Value |
| CLASSPATH |
:/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar
/srv/gump/public/workspace/htmlparser/src
/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar
/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar
/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar
/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar
/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar
/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar
/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar
/srv/gump/public/workspace/ant/dist/lib/ant.jar
/srv/gump/packages/junit3.8.1/junit.jar
/srv/gump/public/workspace/xml-commons/java/build/resolver.jar
/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar
/srv/gump/public/workspace/htmlparser/lib/htmlparser.jar
/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar
/srv/gump/public/workspace/ant/build/lib/ant-testutil.jar |
Command Line
/usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.awt.headless=true
-Xbootclasspath/p:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml
-Dbuild.sysclasspath=only
-Djunit.jar.location=/srv/gump/packages/junit3.8.1/junit.jar -Dversion=11052008
-Dtestutil.jar.location=/srv/gump/public/workspace/ant/build/lib/ant-testutil.jar
test Output
Buildfile: /srv/gump/public/workspace/htmlparser/build.xml
compilelexer:
jarlexer:
compileparser:
jarparser:
[jar] Building jar: /srv/gump/public/workspace/htmlparser/lib/htmlparser.jar
jar:
test:
[javac] Compiling 76 source files to /srv/gump/public/workspace/htmlparser/src
[java] ...........F..............................
[java] .........E.E.E..............................
[java] .........................................
[java] ..............F...........................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................
[java] Time: 18.292
[java] There were 3 errors:
[java] 1) testThreaded(org.htmlparser.tests.lexerTests.StreamTests)java.io.FileNotFoundException: http://htmlparser.sourceforge.net/javadoc_1_3/index-all.html
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
[java] at org.htmlparser.tests.lexerTests.StreamTests.testThreaded(StreamTests.java:182)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.htmlparser.tests.ParserTestCase.main(ParserTestCase.java:560)
[java] 2) testMarkReset(org.htmlparser.tests.lexerTests.StreamTests)java.io.FileNotFoundException: http://htmlparser.sourceforge.net/javadoc_1_3/overview-summary.html
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
[java] at org.htmlparser.tests.lexerTests.StreamTests.testMarkReset(StreamTests.java:289)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.htmlparser.tests.ParserTestCase.main(ParserTestCase.java:560)
[java] 3) testMarkResetThreaded(org.htmlparser.tests.lexerTests.StreamTests)java.io.FileNotFoundException: http://htmlparser.sourceforge.net/javadoc_1_3/overview-summary.html
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
[java] at org.htmlparser.tests.lexerTests.StreamTests.testMarkResetThreaded(StreamTests.java:364)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.htmlparser.tests.ParserTestCase.main(ParserTestCase.java:560)
[java] There were 2 failures:
[java] 1) testNullUrl(org.htmlparser.tests.ParserTest)junit.framework.AssertionFailedError: Should have thrown an exception!
[java] at org.htmlparser.tests.ParserTest.testNullUrl(ParserTest.java:577)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.htmlparser.tests.ParserTestCase.main(ParserTestCase.java:560)
[java] 2) testFidelity(org.htmlparser.tests.lexerTests.LexerTests)junit.framework.AssertionFailedError: text length differed after encountering node <![CDATA[
[java] jQuery(document).ready(function(){
[java] if(jQuery.browser.msie || jQuery.browser.mozilla ){
[java] jQuery('div.firstwave li ul').append(">
[java] at org.htmlparser.tests.lexerTests.LexerTests.testFidelity(LexerTests.java:290)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at org.htmlparser.tests.ParserTestCase.main(ParserTestCase.java:560)
[java]
[java] FAILURES!!!
[java] Tests run: 681, Failures: 2, Errors: 3
[java]
BUILD FAILED
/srv/gump/public/workspace/htmlparser/build.xml:425: Java returned: 1
Total time: 23 seconds
Last Updated: Sun, 11 May 2008 16:00:10 ().