forge/core — pull request #137 by ivannov (2012-04-09 22:26:09+00:00)
Title: Fix the tests that fail on Windows

The whole test suite was run (and passed successfully) on Windows 7, Windows XP and Ubuntu.

Details:

1) The toString() method of the AbstractJavaSource class makes sure that the returned document uses the correct End-of-line (EOL) characters
2) The FacesScaffoldTest expects \r\n all over the generated XHTML files. So the templates used for the generation were adapted to use Windows EOLs only. The test was adapted as well to use \r\n consistently in building up the expected content.
3) Remove unused import in JavaClassTest.