[ https://issues.apache.org/jira/browse/WICKET-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg updated WICKET-1938: ---------------------------------- Fix Version/s: 1.5-M1 > Use XMLUnit for framework tests > ------------------------------- > > Key: WICKET-1938 > URL: https://issues.apache.org/jira/browse/WICKET-1938 > Project: Wicket > Issue Type: Improvement > Reporter: Geoff Reedy > Fix For: 1.5-M1 > > > Currently the framework tests are comparing xml/html documents as strings. > This causes spurious test failures when executed on a 1.6 JDK. For example: > Running org.apache.wicket.ajax.AjaxRequestTargetTest > 2c2 > < <style type="text/css" id="org-apache-wicket-ajax-MockComponent1-0"> > --- > > <style id="org-apache-wicket-ajax-MockComponent1-0" type="text/css"> > 2c2 > < <link > href="resources/org.apache.wicket.ajax.MockComponent3/mockStyleSheet3.css" > rel="stylesheet" type="text/css"/> > --- > > <link rel="stylesheet" type="text/css" > > href="resources/org.apache.wicket.ajax.MockComponent3/mockStyleSheet3.css"/> > Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec <<< > FAILURE! > Obviously the snippets are semantically equivalent. XMLUnit would have > recognized this and not failed the test. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.