Exactly. The summary junit reports says there are failure of the
TimeOfDay issue (see related mail thread). But the stack traces
printed during the tests are deliberate because we try not only to
test "good" situation, but error handling as well.

Juergen

On 10/29/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> I didn't have this test fail on me today. But I do have another, day
> light savings related bug.
>
> Martijn
>
>
> On 10/29/05, Rob Moore <[EMAIL PROTECTED]> wrote:
> > The tests are actually failing:
> >
> > test:test:
> > ...
> >      [junit] Running wicket.markup.html.basic.SimplePageTest
> >      [junit] ERROR - RequestCycle               - Unexpected runtime
> > exception [page = [Page class = wicket.markup.html.basic.SimplePage_4,
> > id = 0]]
> >      [junit] wicket.markup.MarkupException: Tag '<span>' (line 4, column
> > 3) has a  mismatched close tag at '</body>' (line 5, column 1)
> >      [junit] [markup =
> > file:/home/rkm/Development/eclipse/workspace/wicket/target/test-classes/wicket/markup/html/basic/SimplePage_4.html,
> > index = 4, current = [ Raw markup]]
> >      [junit]     at
> > wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:365)    [junit]
> >      at wicket.markup.MarkupParser.readAndParse(MarkupParser.java:236)
> >      [junit]     at
> > wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:219)
> >      [junit]     at
> > wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:300)
> >      [junit]     at
> > wicket.markup.MarkupCache.getMarkup(MarkupCache.java:183)
> >      [junit]     at
> > wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:100)
> >      [junit]     at
> > wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:83)
> >      [junit]     at
> > wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:710)
> >      [junit]     at wicket.Page.onRender(Page.java:778)
> >      [junit]     at wicket.Component.render(Component.java:1163)
> >      [junit]     at wicket.Page.doRender(Page.java:251)
> >      [junit]     at wicket.RequestCycle.respond(RequestCycle.java:948)
> >      [junit]     at wicket.RequestCycle.request(RequestCycle.java:411)
> >      [junit]     at
> > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:273)
> >      [junit]     at
> > wicket.WicketTestCase.executeTest(WicketTestCase.java:63)
> >      [junit]     at
> > wicket.markup.html.basic.SimplePageTest.testRenderHomePage_4(SimplePageTest.java:82)
> >      [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >      [junit]     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >      [junit]     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >      [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
> >      [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
> >      [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
> >      [junit]     at
> > junit.framework.TestResult$1.protect(TestResult.java:106)
> >      [junit]     at
> > junit.framework.TestResult.runProtected(TestResult.java:124)    [junit]
> >      at junit.framework.TestResult.run(TestResult.java:109)
> >      [junit]     at junit.framework.TestCase.run(TestCase.java:118)
> >      [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >      [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
> >      [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
> >      [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
> >      [junit] ERROR - RequestCycle               - Unexpected runtime
> > exception [page = [Page class = wicket.markup.html.basic.SimplePage_5,
> > id = 0]]
> >      [junit] wicket.markup.MarkupNotFoundException: Markup of type
> > 'html' for component 'wicket.markup.html.basic.SimplePage_5' not found.
> > Enable debug messagesfor wicket.util.resource.Resource to get a list of
> > all filenames tried:
> >      [junit] [Page class = wicket.markup.html.basic.SimplePage_5, id = 0]
> >      [junit]     at
> > wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:720)
> >      [junit]     at wicket.Page.onRender(Page.java:778)
> >      [junit]     at wicket.Component.render(Component.java:1163)
> >      [junit]     at wicket.Page.doRender(Page.java:251)
> >      [junit]     at wicket.RequestCycle.respond(RequestCycle.java:948)
> >      [junit]     at wicket.RequestCycle.request(RequestCycle.java:411)
> >      [junit]     at
> > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:273)
> >      [junit]     at
> > wicket.WicketTestCase.executeTest(WicketTestCase.java:63)
> >      [junit]     at
> > wicket.markup.html.basic.SimplePageTest.testRenderHomePage_5(SimplePageTest.java:107)
> >      [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >      [junit]     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >      [junit]     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >      [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
> >      [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
> >      [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
> >      [junit]     at
> > junit.framework.TestResult$1.protect(TestResult.java:106)
> >      [junit]     at
> > junit.framework.TestResult.runProtected(TestResult.java:124)    [junit]
> >      at junit.framework.TestResult.run(TestResult.java:109)
> >      [junit]     at junit.framework.TestCase.run(TestCase.java:118)
> >      [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >      [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
> >      [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
> >      [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
> >      [junit] Caused by: wicket.markup.MarkupNotFoundException: Markup
> > not found.Component class: wicket.markup.html.basic.SimplePage_5 Enable
> > debug messages for wicket.util.resource.Resource to get a list of all
> > filenames tried.
> >      [junit]     at
> > wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:111)
> >      [junit]     at
> > wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:83)
> >      [junit]     at
> > wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:710)
> >      [junit]     ... 22 more
> >      [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.31 sec
> >      [junit] Running wicket.markup.html.debug.WicketComponentTreeTest
> >      [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.613 sec
> >      [junit] Running wicket.markup.html.panel.PanelTest
> >      [junit] ERROR - RequestCycle               - Unexpected runtime
> > exception [page = [Page class = wicket.markup.html.panel.PanelPage_1, id
> > = 0]]
> >      [junit] wicket.markup.MarkupException: Tag <span wicket:id="test">
> > at 70 did not have a close tag
> >      [junit] [markup =
> > file:/home/rkm/Development/eclipse/workspace/wicket/target/test-classes/wicket/markup/html/panel/SimplePanel_1.html,
> > index = 2, current =[Raw markup]]
> >      [junit]     at
> > wicket.markup.MarkupParser.parseMarkup(MarkupParser.java:365)    [junit]
> >      at wicket.markup.MarkupParser.readAndParse(MarkupParser.java:236)
> >      [junit]     at
> > wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:219)
> >      [junit]     at
> > wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java:300)
> >      [junit]     at
> > wicket.markup.MarkupCache.getMarkup(MarkupCache.java:183)
> >      [junit]     at
> > wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:100)
> >      [junit]     at
> > wicket.markup.html.WebMarkupContainer.getHeaderPart(WebMarkupContainer.java:205)
> >      [junit]     at
> > wicket.markup.html.WebMarkupContainer.renderHead(WebMarkupContainer.java:91)
> >      [junit]     at wicket.markup.html.WebPage$1.component(WebPage.java:370)
> >      [junit]     at
> > wicket.MarkupContainer.visitChildren(MarkupContainer.java:632)
> >      [junit]     at
> > wicket.markup.html.WebPage.renderHeaderSections(WebPage.java:359)
> >      [junit]     at
> > wicket.markup.html.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:121)
> >      [junit]     at wicket.Component.renderComponent(Component.java:1888)
> >      [junit]     at
> > wicket.markup.html.WebMarkupContainer.onRender(WebMarkupContainer.java:77)
> >      [junit]     at wicket.Component.render(Component.java:1163)
> >      [junit]     at wicket.MarkupContainer.autoAdd(MarkupContainer.java:170)
> >      [junit]     at
> > wicket.markup.html.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:73)
> >      [junit]     at
> > wicket.MarkupContainer.renderNext(MarkupContainer.java:1146)    [junit]
> >      at wicket.MarkupContainer.renderAll(MarkupContainer.java:779)
> >      [junit]     at wicket.Page.onRender(Page.java:788)
> >      [junit]     at wicket.Component.render(Component.java:1163)
> >      [junit]     at wicket.Page.doRender(Page.java:251)
> >      [junit]     at wicket.RequestCycle.respond(RequestCycle.java:948)
> >      [junit]     at wicket.RequestCycle.request(RequestCycle.java:411)
> >      [junit]     at
> > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:273)
> >      [junit]     at
> > wicket.WicketTestCase.executeTest(WicketTestCase.java:63)
> >      [junit]     at
> > wicket.markup.html.panel.PanelTest.testRenderHomePage_1(PanelTest.java:57)
> >      [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >      [junit]     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >      [junit]     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >      [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
> >      [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
> >      [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
> >      [junit]     at
> > junit.framework.TestResult$1.protect(TestResult.java:106)
> >      [junit]     at
> > junit.framework.TestResult.runProtected(TestResult.java:124)    [junit]
> >      at junit.framework.TestResult.run(TestResult.java:109)
> >      [junit]     at junit.framework.TestCase.run(TestCase.java:118)
> >      [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >      [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
> >      [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
> >      [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
> >      [junit] ERROR - RequestCycle               - Unexpected runtime
> > exception [page = [Page class = wicket.markup.html.panel.PanelPage_2, id
> > = 0]]
> >      [junit] wicket.markup.MarkupException: Markup for a panel component
> > has to c ontain part '<wicket:panel>'
> >      [junit] [markup =
> > file:/home/rkm/Development/eclipse/workspace/wicket/target/test-classes/wicket/markup/html/panel/SimplePanel_2.html,
> > index = 4, current ='</span>' (line 2, column 28)]
> >      [junit]     at
> > wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:277)
> >      [junit]     at
> > wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:467)
> >      [junit]     at wicket.markup.html.panel.Panel.onRender(Panel.java:95)
> >      [junit]     at wicket.Component.render(Component.java:1163)
> >      [junit]     at
> > wicket.markup.html.BodyOnLoadContainer.resolve(BodyOnLoadContainer.java:106)
> >      [junit]     at
> > wicket.MarkupContainer.renderNext(MarkupContainer.java:1159)    [junit]
> >      at
> > wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:811)
> >      [junit]     at
> > wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:753)
> >      [junit]     at wicket.Component.renderComponent(Component.java:1888)
> >      [junit]     at
> > wicket.markup.html.WebMarkupContainer.onRender(WebMarkupContainer.java:77)
> >      [junit]     at wicket.Component.render(Component.java:1163)
> >      [junit]     at wicket.MarkupContainer.autoAdd(MarkupContainer.java:170)
> >      [junit]     at
> > wicket.markup.html.BodyOnLoadResolver.resolve(BodyOnLoadResolver.java:60)
> >      [junit]     at
> > wicket.MarkupContainer.renderNext(MarkupContainer.java:1146)    [junit]
> >      at wicket.MarkupContainer.renderAll(MarkupContainer.java:779)
> >      [junit]     at wicket.Page.onRender(Page.java:788)
> >      [junit]     at wicket.Component.render(Component.java:1163)
> >      [junit]     at wicket.Page.doRender(Page.java:251)
> >      [junit]     at wicket.RequestCycle.respond(RequestCycle.java:948)
> >      [junit]     at wicket.RequestCycle.request(RequestCycle.java:411)
> >      [junit]     at
> > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:273)
> >      [junit]     at
> > wicket.WicketTestCase.executeTest(WicketTestCase.java:63)
> >      [junit]     at
> > wicket.markup.html.panel.PanelTest.testRenderHomePage_2(PanelTest.java:82)
> >      [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >      [junit]     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >      [junit]     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >      [junit]     at java.lang.reflect.Method.invoke(Method.java:585)
> >      [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
> >      [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
> >      [junit]     at
> > junit.framework.TestResult$1.protect(TestResult.java:106)
> >      [junit]     at
> > junit.framework.TestResult.runProtected(TestResult.java:124)    [junit]
> >      at junit.framework.TestResult.run(TestResult.java:109)
> >      [junit]     at junit.framework.TestCase.run(TestCase.java:118)
> >      [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >      [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
> >      [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
> >      [junit]     at
> > org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
> > ...
> > BUILD FAILED
> > File...... /home/rkm/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
> > Element... fail
> > Line...... 181
> > Column.... 54
> > There were test failures.
> > Total time: 1 minutes 9 seconds
> > Finished at: Sat Oct 29 11:40:55 CDT 2005
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of 2005
> > Visit http://www.jboss.com/services/certification for more information
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to