27 Commits (a6c4fb2dcf6685f550c79f2aab8918c3dd5c4452)

Author SHA1 Message Date
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano ff7daf0bd4 Fix handling of paths on windows when cwd is root of drive, fixes #5554 8 years ago
Jordi Boggiano 4f0f8779cb Add filesystem tests for the static shortest path, refs #5174 8 years ago
Niels Keurentjes b71c67239d Made NTFS junction detection more reliable and added unit tests for the junction functions. 9 years ago
Rob Bast adf3b956d0 try to use unique test directories
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 years ago
Alexander Loutsenko fa5de786ff clean garbage dirs in tmp after composer tests #4694 9 years ago
gmsantosxl 84c9c30b63 Remove extra '/' when findShortestPath $from is a directory 9 years ago
Adrian Dragus 7834dacb88 Forgot to remove the actual calls 9 years ago
Adrian Dragus 96ff1c5014 Use PHPUnit pre-conditions
See https://phpunit.de/manual/current/en/incomplete-and-skipped-tests.html#incomplete-and-skipped-tests.requires.tables.api
9 years ago
hakre 03b634d114 Prevent fatal error on missing symlink() function in tests
The testsuite didn't run through for me because the php symlink() function
was missing.

It is only available on Windows Visa/Server 2008 or higher.

This commit fixes the issue by checking if the method exists, and if not,
marks the test as skipped because of a non-matching precondition.
9 years ago
hakre 343d0b5af2 added test removing directory with trailing slash that is symlinked
#3144
#3157
10 years ago
hakre ed507dec9f added test unlinking directory
#3157
10 years ago
Jordi Boggiano e2671b6510 Add test and fix patch for #2304, refs #2341 11 years ago
Martin Hasoň 3c0a620ad5 Fixed path analysis 11 years ago
Jordi Boggiano 38917c2047 Add parallel build to travis script 11 years ago
Martin Hasoň 81e41bac4b Fixed the Filesystem methods for a directory with a name that is a substring of a another directory 11 years ago
Martin Hasoň 97f67c09e4 Fix normalization of relative paths 11 years ago
Jordi Boggiano f744ec16f5 Fix normalization of relative paths going up a few dirs, fixes #1759 11 years ago
Martin Hasoň 0851ef1afb Fixed behaviour of Filesystem::findShortestPath[Code] for paths with up-level references 11 years ago
Jordi Boggiano 514a3cde77 CS fixes 12 years ago
Galymzhan 69f2230a4c add public method Filesystem#size 12 years ago
Benjamin Eberlei d26932cc7e Fallback to PHP early if proc_open not allowed. 12 years ago
Jordi Boggiano d71bed19fc Add more windows paths tests 12 years ago
Martin Hasoň 36d9513d7b Changed parameter name in Filesystem::findShortestPath 12 years ago
Martin Hasoň 1f8c9eeb6c Added parameter $inDirectory to method Filesystem::findShortestPath 12 years ago
Jordi Boggiano edf93f1fcc Fix test & behavior 12 years ago
Martin Hasoň f026e2a0eb Added tests for FileDownloader and ArchiveDownloader 13 years ago