? Success

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
29 Nov 2013

There are several tests which fail on windows due to cross platform issues (line endings and directory separators).
Here's the tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32842&start=0

In case of line endings, where appropriate, I've changed the test to use \n instead of PHP_EOL.
In case of directory separators, JPath::clean() will have already changed everything to DIRECTORY_SEPARATOR by the time the test runs so, I've changed the test to also use that instead of /.
In a case where we are just testing an xml string, I've changed the test itself to assertXmlStringEqualsXmlString so that line ending issues are not even considered at all.

There are still some tests failing in JViewLegacyTest but, in my opinion, these are actually problems with JViewLegacy and not the test. Basically, it should be calling JPath::clean() on directory strings but it isn't. So I will include those fixes in a different PR.

avatar okonomiyaki3000 okonomiyaki3000 - open - 29 Nov 2013
avatar okonomiyaki3000 okonomiyaki3000 - close - 29 Nov 2013
avatar okonomiyaki3000
okonomiyaki3000 - comment - 29 Nov 2013

Closing because should be to staging instead of master.

avatar okonomiyaki3000 okonomiyaki3000 - change - 29 Nov 2013
Status New Closed
Closed_Date 0000-00-00 00:00:00 2013-11-29 06:31:49
Labels Added: ?
avatar okonomiyaki3000 okonomiyaki3000 - close - 29 Nov 2013

Add a Comment

Login with GitHub to post a comment