xbmc/xbmc — pull request #1384 by Montellese (2012-09-07 12:17:07+00:00)
Title: [test] make TestFile.Read platform agnostic

The first commit contains cosmetic changes to use std::endl instead of "\n" when interacting with std::cout.

The second commit turns TestFile.Read into a platform agnostic test. As you can see it gets pretty ugly because of the difference in newline representation (\n vs \r\n). IMO a better solution would be to use a testfile that does not have any newlines in it. That would make it a whole lot easier.