Bug #39715
closedFAL Unit tests produce failures and errors on Windows
0%
Description
Testsuite: t3lib_extFileFunctionsTest¶
deleteFileInLocalStorage
! Error in test case deleteFileInLocalStorage
File: D:\webserver\xampp\htdocs\typo3_src\t3lib\file\Driver\LocalDriver.php
Line: 993
File /\/_unitTestedFile.txt is not valid (".." and "//" is not allowed in path).
renameFileInLocalStorage
! Error in test case renameFileInLocalStorage
File: D:\webserver\xampp\htdocs\typo3_src\t3lib\file\Driver\LocalDriver.php
Line: 993
File \/_unitTestedFileRenamed.txt is not valid (".." and "//" is not allowed in path).
Testsuite: t3lib_file_Driver_LocalDriverTest¶
getFileReturnsCorrectIdentifier
Failure in test case getFileReturnsCorrectIdentifier
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\file\Driver\LocalDriverTest.php
Line: 616
Failed asserting that two strings are equal.
'/\/someFileAtRootLevel'
filesCanBeCopiedToATemporaryPath
Failure in test case filesCanBeCopiedToATemporaryPath
File: D:\webserver\xampp\htdocs\typo3conf\ext\phpunit\PEAR\PHPUnit\Framework\Constraint.php
Line: 92
Failed asserting that 'D:\webserver\xampp\htdocs\typo3temp\fal2333.tmp.' contains "/typo3temp/".
permissionsAreCorrectlyRetrieved
Failure in test case permissionsAreCorrectlyRetrieved
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\file\Driver\LocalDriverTest.php
Line: 971
Failed asserting that two arrays are equal.
Array ( 'r' =>true 'w' =>false )
getFilePermissionsReturnsCorrectPermissionsForFilesNotOwnedByCurrentUser with data set "arbitrary group, readable/writable"
Failure in test case getFilePermissionsReturnsCorrectPermissionsForFilesNotOwnedByCurrentUser with data set "arbitrary group, readable/writable"
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\file\Driver\LocalDriverTest.php
Line: 1044
Failed asserting that two arrays are equal.
Array ( 'r' =>false 'w' =>false )
getFilePermissionsReturnsCorrectPermissionsForFilesNotOwnedByCurrentUser with data set "arbitrary group, readable/not writable"
Failure in test case getFilePermissionsReturnsCorrectPermissionsForFilesNotOwnedByCurrentUser with data set "arbitrary group, readable/not writable"
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\file\Driver\LocalDriverTest.php
Line: 1044
Failed asserting that two arrays are equal.
Array ( 'r' =>true 'w' =>true )
getFilePermissionsReturnsCorrectPermissionsForFilesNotOwnedByCurrentUser with data set "arbitrary group, not readable/not writable"
Failure in test case getFilePermissionsReturnsCorrectPermissionsForFilesNotOwnedByCurrentUser with data set "arbitrary group, not readable/not writable"
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\file\Driver\LocalDriverTest.php
Line: 1044
Failed asserting that two arrays are equal.
Array ( 'r' =>true 'w' =>true )
renamingFilesChangesFilenameOnDisk with data set "file in rootfolder"
! Error in test case renamingFilesChangesFilenameOnDisk with data set "file in rootfolder"
File: D:\webserver\xampp\htdocs\typo3_src\t3lib\file\Driver\LocalDriver.php
Line: 978
Renaming file vfs://base-50276b276d4cf/mount-50276b276d4c4/fileInRoot to vfs://base-50276b276d4cf/mount-50276b276d4c4//\/newFile failed.
renamingFoldersChangesFolderNameOnDisk with data set "folder in root folder"
! Error in test case renamingFoldersChangesFolderNameOnDisk with data set "folder in root folder"
File: D:\webserver\xampp\htdocs\typo3_src\t3lib\file\Driver\LocalDriver.php
Line: 1019
Renaming folder "vfs://base-50276b277c7fb/mount-50276b277c7f1/someFolder/" to "vfs://base-50276b277c7fb/mount-50276b277c7f1/\/newFolder/" failed."
renameFolderReturnsCorrectMappingInformationForAllFiles
! Error in test case renameFolderReturnsCorrectMappingInformationForAllFiles
File: D:\webserver\xampp\htdocs\typo3_src\t3lib\file\Driver\LocalDriver.php
Line: 1019
Renaming folder "vfs://base-50276b2783a7b/mount-50276b2783a70/sourceFolder/" to "vfs://base-50276b2783a7b/mount-50276b2783a70/\/newFolder/" failed."
renameFolderRevertsRenamingIfFilenameMapCannotBeCreated
Failure in test case renameFolderRevertsRenamingIfFilenameMapCannotBeCreated
File: D:\webserver\xampp\htdocs\typo3conf\ext\phpunit\PEAR\PHPUnit\Framework\Constraint.php
Line: 92
Failed asserting that 1320375116 is equal to expected exception code 1334160746.
moveFolderWithinStorageReturnsCorrectMappingInformationForAllFiles
Failure in test case moveFolderWithinStorageReturnsCorrectMappingInformationForAllFiles
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\file\Driver\LocalDriverTest.php
Line: 1468
Failed asserting that null matches expected '/targetFolder/sourceFolder/subFolder/file'.
Testsuite: t3lib_utility_PathTest¶
isCommonPrefixResolvedCorrectly with data set #0
Failure in test case isCommonPrefixResolvedCorrectly with data set #0
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 45
Failed asserting that two strings are equal.
'/var/www/myhost.com/t3lib/\'
isCommonPrefixResolvedCorrectly with data set #1
Failure in test case isCommonPrefixResolvedCorrectly with data set #1
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 45
Failed asserting that two strings are equal.
'/var/www/myhost.com/t3lib/\'
isCommonPrefixResolvedCorrectly with data set #2
Failure in test case isCommonPrefixResolvedCorrectly with data set #2
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 45
Failed asserting that null matches expected '/var/www/myhost.com/'.
isCommonPrefixResolvedCorrectly with data set #3
Failure in test case isCommonPrefixResolvedCorrectly with data set #3
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 45
Failed asserting that null matches expected '/var/www/myhost.com/'.
isCommonPrefixResolvedCorrectly with data set #4
Failure in test case isCommonPrefixResolvedCorrectly with data set #4
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 45
Failed asserting that null matches expected '/var/www/myhost.com/'.
isRelativePathResolvedCorrectly with data set #2
Failure in test case isRelativePathResolvedCorrectly with data set #2
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 102
Failed asserting that null matches expected '../t3lib/'.
isRelativePathResolvedCorrectly with data set #3
Failure in test case isRelativePathResolvedCorrectly with data set #3
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 102
Failed asserting that null matches expected 't3lib/'.
isRelativePathResolvedCorrectly with data set #4
Failure in test case isRelativePathResolvedCorrectly with data set #4
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 102
Failed asserting that null matches expected 'stddb/'.
isRelativePathResolvedCorrectly with data set #5
Failure in test case isRelativePathResolvedCorrectly with data set #5
File: D:\TYPO3\TYPO3 Core Git\tests\Unit\t3lib\utility\class.t3lib_utility_pathTest.php
Line: 102
Failed asserting that null matches expected '../../../t3lib/utility/'.