[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:339: error: self-closing element not allowed
[javadoc] * /catalog/index.html
[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:340: error: self-closing element not allowed
[javadoc] * /catalog/products.html
[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:341: error: self-closing element not allowed
[javadoc] * /catalog/offers/books.html
[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:342: error: self-closing element not allowed
[javadoc] * /catalog/offers/music.html
[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:343: error: self-closing element not allowed
[javadoc] * /customer/login.jsp
[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:344: error: self-closing element not allowed
[javadoc] * /WEB-INF/web.xml
[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:345: error: self-closing element not allowed
[javadoc] * /WEB-INF/classes/com.acme.OrderServlet.class,
[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:346: error: self-closing element not allowed
[javadoc] *
[javadoc] ^
[javadoc] /usr/src/RPM/BUILD/httpunit-1.7/src/com/meterware/servletunit/ServletUnitServletContext.java:347: error: self-closing element not allowed
[javadoc] * getResourcePaths("/") returns {"/welcome.html", "/catalog/", "/customer/", "/WEB-INF/"}
[javadoc] ^
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] Generating /usr/src/RPM/BUILD/httpunit-1.7/doc/api/help-doc.html...
[javadoc] 40 errors
[javadoc] 100 warnings
check_jars_dir:
prepare_local_classpath:
[echo] using local classpath
prepare_repository_classpath:
prepare:
check_for_optional_packages:
compile-for-java2:
compile:
testcompile:
[mkdir] Created dir: /usr/src/RPM/BUILD/httpunit-1.7/build/testclasses
[javac] Compiling 74 source files to /usr/src/RPM/BUILD/httpunit-1.7/build/testclasses
[javac] /usr/src/RPM/BUILD/httpunit-1.7/test/com/meterware/httpunit/ConditionalTestSuite.java:42: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] testSuite.addTest( (TestSuite) suiteMethod.invoke( null, ConditionalTestSuite.NO_PARAMETERS ) );
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 warning
[copy] Copying 1 file to /usr/src/RPM/BUILD/httpunit-1.7/build/testclasses
test:
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] .........................................
[java] ..................................F.......
[java] .........................................
[java] .........................................
[java] .............................F............
[java] ..............E..........E.E...E.E...E.........
[java] F.........................................
[java] .................F........................
[java] org.mozilla.javascript.EvaluatorException: syntax error (httpunit#5)
[java] at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:77)
[java] at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:64)
[java] at org.mozilla.javascript.Parser.addError(Parser.java:188)
[java] at org.mozilla.javascript.Parser.addError(Parser.java:166)
[java] at org.mozilla.javascript.Parser.reportError(Parser.java:256)
[java] at org.mozilla.javascript.Parser.reportError(Parser.java:243)
[java] at org.mozilla.javascript.Parser.reportError(Parser.java:236)
[java] at org.mozilla.javascript.Parser.primaryExpr(Parser.java:2876)
[java] at org.mozilla.javascript.Parser.memberExpr(Parser.java:2451)
[java] at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2349)
[java] at org.mozilla.javascript.Parser.mulExpr(Parser.java:2274)
[java] at org.mozilla.javascript.Parser.addExpr(Parser.java:2258)
[java] at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2239)
[java] at org.mozilla.javascript.Parser.relExpr(Parser.java:2214)
[java] at org.mozilla.javascript.Parser.eqExpr(Parser.java:2186)
[java] at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2175)
[java] at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2164)
[java] at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2153)
[java] at org.mozilla.javascript.Parser.andExpr(Parser.java:2142)
[java] at org.mozilla.javascript.Parser.orExpr(Parser.java:2131)
[java] at org.mozilla.javascript.Parser.condExpr(Parser.java:2095)
[java] at org.mozilla.javascript.Parser.assignExpr(Parser.java:2066)
[java] at org.mozilla.javascript.Parser.expr(Parser.java:2045)
[java] at org.mozilla.javascript.Parser.xmlInitializer(Parser.java:2385)
[java] at org.mozilla.javascript.Parser.unaryExpr(Parser.java:2344)
[java] at org.mozilla.javascript.Parser.mulExpr(Parser.java:2274)
[java] at org.mozilla.javascript.Parser.addExpr(Parser.java:2258)
[java] at org.mozilla.javascript.Parser.shiftExpr(Parser.java:2239)
[java] at org.mozilla.javascript.Parser.relExpr(Parser.java:2214)
[java] at org.mozilla.javascript.Parser.eqExpr(Parser.java:2186)
[java] at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:2175)
[java] at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:2164)
[java] at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:2153)
[java] at org.mozilla.javascript.Parser.andExpr(Parser.java:2142)
[java] at org.mozilla.javascript.Parser.orExpr(Parser.java:2131)
[java] at org.mozilla.javascript.Parser.condExpr(Parser.java:2095)
[java] at org.mozilla.javascript.Parser.assignExpr(Parser.java:2066)
[java] at org.mozilla.javascript.Parser.expr(Parser.java:2045)
[java] at org.mozilla.javascript.Parser.statementHelper(Parser.java:1072)
[java] at org.mozilla.javascript.Parser.statement(Parser.java:934)
[java] at org.mozilla.javascript.Parser.parse(Parser.java:573)
[java] at org.mozilla.javascript.Parser.parse(Parser.java:511)
[java] at org.mozilla.javascript.Context.compileImpl(Context.java:2488)
[java] at org.mozilla.javascript.Context.compileString(Context.java:1476)
[java] at org.mozilla.javascript.Context.compileString(Context.java:1465)
[java] at org.mozilla.javascript.Context.evaluateString(Context.java:1216)
[java] at com.meterware.httpunit.javascript.ScriptingEngineImpl.runScript(ScriptingEngineImpl.java:92)
[java] at com.meterware.httpunit.scripting.ScriptableDelegate.runScript(ScriptableDelegate.java:88)
[java] at com.meterware.httpunit.parsing.NekoDOMParser.runScript(NekoDOMParser.java:151)
[java] at com.meterware.httpunit.parsing.ScriptFilter.getTranslatedScript(ScriptFilter.java:150)
[java] at com.meterware.httpunit.parsing.ScriptFilter.endElement(ScriptFilter.java:131)
[java] at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170)
[java] at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072)
[java] at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206)
[java] at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330)
[java] at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126)
[java] at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093)
[java] at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920)
[java] at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499)
[java] at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
[java] at com.meterware.httpunit.parsing.NekoHTMLParser.parse(NekoHTMLParser.java:48)
[java] at com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:271)
[java] at com.meterware.httpunit.WebResponse.getReceivedPage(WebResponse.java:1301)
[java] at com.meterware.httpunit.WebResponse.getFrames(WebResponse.java:1285)
[java] at com.meterware.httpunit.WebResponse.getFrameRequests(WebResponse.java:1024)
[java] at com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder.java:179)
[java] at com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.java:315)
[java] at com.meterware.httpunit.WebClient.updateFrameContents(WebClient.java:526)
[java] at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:201)
[java] at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:183)
[java] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:158)
[java] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:125)
[java] at com.meterware.httpunit.WebClient.getResponse(WebClient.java:96)
[java] at com.meterware.httpunit.javascript.ScriptingTest.testJavaScriptFromSource(ScriptingTest.java:1093)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:498)
[java] at junit.framework.TestCase.runTest(TestCase.java:176)
[java] at junit.framework.TestCase.runBare(TestCase.java:141)
[java] at junit.framework.TestResult$1.protect(TestResult.java:122)
[java] at junit.framework.TestResult.runProtected(TestResult.java:142)
[java] at junit.framework.TestResult.run(TestResult.java:125)
[java] at junit.framework.TestCase.run(TestCase.java:129)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:252)
[java] at junit.framework.TestSuite.run(TestSuite.java:247)
[java] at junit.textui.TestRunner.doRun(TestRunner.java:116)
[java] at junit.textui.TestRunner.doRun(TestRunner.java:109)
[java] at junit.textui.TestRunner.run(TestRunner.java:77)
[java] at com.meterware.httpunit.HttpUnitSuite.main(HttpUnitSuite.java:49)
[java] .....................E....................
[java] F.........................................
[java] ............F.............................
[java] .........................................
[java] .........................................
[java] .......F..................................
[java] .....................................
[java] Time: 19.252
[java] There were 7 errors:
[java] 1) testRefererHeader(com.meterware.httpunit.WebClientTest)java.io.IOException: Invalid Http response
[java] at sun.reflect.GeneratedConstructorAccessor35.newInstance(Unknown Source)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[java] at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926)
[java] at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920)
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490)
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
[java] at com.meterware.httpunit.HttpWebResponse.getInputStream(HttpWebResponse.java:88)
[java] at com.meterware.httpunit.HttpWebResponse.(HttpWebResponse.java:61)
[java] at com.meterware.httpunit.HttpWebResponse.(HttpWebResponse.java:68)
[java] at com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:83)
[java] at com.meterware.httpunit.WebClient.createResponse(WebClient.java:647)
[java] at com.meterware.httpunit.WebWindow.getResource(WebWindow.java:220)
[java] at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:181)
[java] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:158)
[java] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:125)
[java] at com.meterware.httpunit.WebClient.getResponse(WebClient.java:96)
[java] at com.meterware.httpunit.WebClientTest.dotestRefererHeader(WebClientTest.java:554)
[java] at com.meterware.httpunit.WebClientTest.testRefererHeader(WebClientTest.java:571)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at com.meterware.httpunit.HttpUnitSuite.main(HttpUnitSuite.java:49)
[java] Caused by: java.io.IOException: Invalid Http response
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1588)
[java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
[java] at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnection.java:3035)
[java] at com.meterware.httpunit.HttpWebResponse.loadHeaders(HttpWebResponse.java:255)
[java] at com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:237)
[java] at com.meterware.httpunit.HttpWebResponse.(HttpWebResponse.java:57)
[java] ... 28 more
[java] 2) testAppletParameterAccess(com.meterware.httpunit.WebAppletTest)java.awt.HeadlessException:
[java] No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[java] at java.applet.Applet.(Applet.java:67)
[java] at com.meterware.httpunit.WebAppletTest$SimpleApplet.(WebAppletTest.java:216)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[java] at java.lang.Class.newInstance(Class.java:442)
[java] at com.meterware.httpunit.WebApplet.getApplet(WebApplet.java:165)
[java] at com.meterware.httpunit.WebAppletTest.testAppletParameterAccess(WebAppletTest.java:154)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at com.meterware.httpunit.HttpUnitSuite.main(HttpUnitSuite.java:49)
[java] 3) testAppletWithinADirectory(com.meterware.httpunit.WebAppletTest)java.awt.HeadlessException:
[java] No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[java] at java.applet.Applet.(Applet.java:67)
[java] at com.meterware.httpunit.WebAppletTest$SimpleApplet.(WebAppletTest.java:216)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[java] at java.lang.Class.newInstance(Class.java:442)
[java] at com.meterware.httpunit.WebApplet.getApplet(WebApplet.java:165)
[java] at com.meterware.httpunit.WebAppletTest.testAppletWithinADirectory(WebAppletTest.java:209)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at com.meterware.httpunit.HttpUnitSuite.main(HttpUnitSuite.java:49)
[java] 4) testAppletFindFromApplet(com.meterware.httpunit.WebAppletTest)java.awt.HeadlessException:
[java] No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[java] at java.applet.Applet.(Applet.java:67)
[java] at com.meterware.httpunit.WebAppletTest$SimpleApplet.(WebAppletTest.java:216)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[java] at java.lang.Class.newInstance(Class.java:442)
[java] at com.meterware.httpunit.WebApplet.getApplet(WebApplet.java:165)
[java] at com.meterware.httpunit.WebAppletTest.testAppletFindFromApplet(WebAppletTest.java:169)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at com.meterware.httpunit.HttpUnitSuite.main(HttpUnitSuite.java:49)
[java] 5) testShowDocument(com.meterware.httpunit.WebAppletTest)java.awt.HeadlessException:
[java] No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[java] at java.applet.Applet.(Applet.java:67)
[java] at com.meterware.httpunit.WebAppletTest$SimpleApplet.(WebAppletTest.java:216)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[java] at java.lang.Class.newInstance(Class.java:442)
[java] at com.meterware.httpunit.WebApplet.getApplet(WebApplet.java:165)
[java] at com.meterware.httpunit.WebAppletTest.testShowDocument(WebAppletTest.java:192)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at com.meterware.httpunit.HttpUnitSuite.main(HttpUnitSuite.java:49)
[java] 6) testAppletLoading(com.meterware.httpunit.WebAppletTest)java.awt.HeadlessException:
[java] No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[java] at java.applet.Applet.(Applet.java:67)
[java] at com.meterware.httpunit.WebAppletTest$SimpleApplet.(WebAppletTest.java:216)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[java] at java.lang.Class.newInstance(Class.java:442)
[java] at com.meterware.httpunit.WebApplet.getApplet(WebApplet.java:165)
[java] at com.meterware.httpunit.WebAppletTest.testAppletLoading(WebAppletTest.java:124)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at com.meterware.httpunit.HttpUnitSuite.main(HttpUnitSuite.java:49)
[java] 7) testJavaScriptFromSource(com.meterware.httpunit.javascript.ScriptingTest)com.meterware.httpunit.ScriptException: Script 'function someFunction() {
[java] alert('somefunction called')}
[java]
[java]