PlatformTest PlatformTest(
$methodName
)
|
|
Parameters:
void ignore_error_handler(
$errno,
$errstr
)
|
|
Parameters:
Make sure executing a bogus path fails.
XXX: This is a pretty weak test. It's hard to improve it without actually shipping a known-good script though.
void testExecWithSpaceInG2DataPath(
)
|
|
Verify bugfix: quotes around redirect file for stderr output, in case path has a space
void testFileGetAndPutContents(
)
|
|
Try opening a socket to the current web server.
void testFsockopenBadHost(
)
|
|
Try opening a socket to a bogus web server.
void testGetDirectorySeparator(
)
|
|
void testGetLineEnding(
)
|
|
void testIsLegalPathComponent(
)
|
|
void testIsLegalPathComponentForAllowedExtension(
)
|
|
void testIsLegalPathComponentForBlacklistedExtension(
)
|
|
void testIsLegalPathComponentWithDotForDirectory(
)
|
|
void testIsRestrictedByOpenBaseDir(
)
|
|
void testIsRestrictedByOpenBaseDirForMatchAllOpenBaseDir(
)
|
|
void testIsUploadedFile(
)
|
|
void testLegalizePathComponent(
)
|
|
void testLegalizePathComponent3(
)
|
|
void testLegalizePathComponentForDirectory(
)
|
|
void testLegalizePathComponentUnknownExtension(
)
|
|
void testLegalizePathComponentWithBlacklistedExtension(
)
|
|
void testMailUsesUnixLineEndings(
)
|
|
void testMoveUploadedFile(
)
|
|
void testOpenAndReadTillEof(
)
|
|
void testOpenMissingFile(
)
|
|
void testOpenWriteAndClose(
)
|
|
Verify that we can write a few bytes to a file.
void testPathComponentDotInFileBaseToUnderscore(
)
|
|
void testPathComponentDotPhpExtensionToUnderscore(
)
|
|
void testPathComponentDotRecognizedExtensionConserved(
)
|
|
void testPathComponentDotUnderscoreToUnderscoreUnderscore(
)
|
|
void testPathComponentDotUnrecognizedExtensionToUnderscore(
)
|
|
void testPathComponentIllegalCharactersToUnderscores(
)
|
|
void testPathComponentLegalCharactersConserved(
)
|
|
Make sure files are written with correct permissions by exec, copy, symlink, atomicWrite; test chmod.
void testRecursiveChmod1(
)
|
|
void testRecursiveChmod2(
)
|
|
void testRecursiveChmod3(
)
|
|
void testRecursiveRmdir(
)
|
|
void _permissionTest(
$expectedPermissions,
$testNumber,
$tests
)
|
|
Parameters:
|
$expectedPermissions: |
|
|
$testNumber: |
|
|
$tests: |
|