Show proper error message when image not found while testing ------------------------------------------------------------
Key: WICKET-646 URL: https://issues.apache.org/jira/browse/WICKET-646 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.0-beta1 Environment: using the following jars: 12. Jun 15:21 wicket-1.3.0-incubating-SNAPSHOT.jar 12. Jun 15:21 wicket-extensions-1.3.0-incubating-SNAPSHOT.jar 12. Jun 15:21 wicket-spring-1.3.0-incubating-SNAPSHOT.jar 12. Jun 15:21 wicket-spring-annot-1.3.0-incubating-SNAPSHOT.jar jUnit 4.1 Reporter: Sven Schliesing While testing I came across the following error: junit.framework.AssertionFailedError: expected:<WebTestPage> but was:<DummyHomePage> The real error in this is: gfx/offline.gif does not exist. If i change it to a file that exists everything goes fine. If I test it in my Tomcat I get a proper 404: Unable to find package resource [path = default/gfx/offline.gif, style = null, locale = en] see also: http://www.nabble.com/jUnit-testing-and-not-existing-images-tf3907536.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.