StyleEditPageTest and StyleNewPageTest fail on Windows
--------------------------------------------------------
Key: GEOS-3257
URL: http://jira.codehaus.org/browse/GEOS-3257
Project: GeoServer
Issue Type: Bug
Components: WMS
Reporter: Rini Angreani
Assignee: Andrea Aime
Priority: Critical
Running org.geoserver.wms.web.data.StyleEditPageTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.985 sec <<<
FAILURE!
Running org.geoserver.wms.web.data.StyleNewPageTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.61 sec <<<
FAILURE!
This happened to me and my colleague. We're both using Windows.
In StyleEditPageTest, it fails in testLoad():
tester.assertModelValue("theForm:sld:editor", style);
When debugged, the WicketTester value has "\r\n" as line separator, whereas the
style file value only has "\n" as separator.
According to Ben:
They should be comparing XML using XMLUnit. A string comparison is doomed to
fail on Windows because svn is
correctly configured to use native line endings.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel