? Success

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
11 Jul 2014

This fixes 6 test-failures on my windows machine.

  1. JArchiveBzip2Test: I'm wondering how this has ever worked. BZIP2 as a compression algorithm can only (de-)compress single files and the filename of the archive represents the filename of the uncompressed file. The way this was done up till now, it was not possible to successfully test that the file was decompressed...

  2. JArchiveTest: Again, this was unable to work properly the way it was done. It uncompressed the archive into a folder named $output.'/logo-something.png/', maybe succeeding, maybe not. While I remember, that is_file() returns true if a file OR FOLDER with that name exists, that apparently seems to be wrong. But in the end, this means that the file is decompressed into that subfolder and the subsequent check fails, resulting in the file not being removed after the test is done. unlink() does not work on folders, but only on files.

  3. JCacheStorageTest: The 60 seconds are simply the default value. If you have something else set in your configuration.php, this will fail.

  4. JViewLegacyTest: Simply fixing a few slashes...

avatar Hackwar Hackwar - open - 11 Jul 2014
avatar Hackwar
Hackwar - comment - 11 Jul 2014

Oh, regarding the JArchive tests: I guess that Travis simply does not support any of those compression formats and thus the tests have never been executed in there.

avatar Bakual Bakual - change - 11 Jul 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-07-11 14:14:42
Labels Added: ? ? ?
avatar Bakual Bakual - close - 11 Jul 2014
avatar Bakual Bakual - close - 11 Jul 2014
avatar Bakual
Bakual - comment - 11 Jul 2014

Merged since Travis passed.

avatar Hackwar Hackwar - head_ref_deleted - 10 Dec 2014

Add a Comment

Login with GitHub to post a comment