Hello,
To avoid failures with TestFeedProvider test methods, I had to add
Locale.get/setDefault calls:
public void testFeedProviderRss()
throws Exception
{
Locale locale = Locale.getDefault();
Locale.setDefault(Locale.ENGLISH);
setupSite("site/feed.xml");
HttpUtils.Request request = new
HttpUtils.Request("http://localhost:8181/rss");
HttpUtils.Page page = request.retrieve();
String result = page.getContent();
Locale.setDefault(locale);
String eol = System.getProperty("line.separator");
assertEquals(result, "<?xml version=\"1.0\"
encoding=\"UTF-8\"?>"+eol+
"<rss version=\"2.0\">"+eol+
[...]
All the "\n" are replaced by system line separator.
Regards
Pierre
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users