Hi,
  Not sure what's behind it/the significance, but while "mvn test"
runs clean, the same code with "ant test" fails with:

   [junit] Running wicket.markup.HtmlProblemFinderTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.16 sec
   [junit] Testsuite: wicket.markup.HtmlProblemFinderTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.16 sec

   [junit] Testcase: testProblemFinder took 0.1 sec
   [junit]     Caused an ERROR
   [junit] There is no application attached to current thread main
   [junit] wicket.WicketRuntimeException: There is no application
attached to current thread main
   [junit]     at wicket.Application.get(Application.java:158)
   [junit]     at wicket.markup.MarkupParser.<init>(MarkupParser.java:91)
   [junit]     at
wicket.markup.HtmlProblemFinderTest$1.<init>(HtmlProblemFinderTest.java:36)
   [junit]     at
wicket.markup.HtmlProblemFinderTest.testProblemFinder(HtmlProblemFinderTest.java:34)
   [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)

/Gwyn


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to