UtilitiesTest UtilitiesTest(
$methodName
)
|
|
Parameters:
void testConvertPathToUrl(
)
|
|
void testCreateAlbumTree(
)
|
|
void testFixCookieVars(
)
|
|
void testGetAllRequestVariables(
)
|
|
void testGetFileExtension(
)
|
|
void testGetFileNameComponents(
)
|
|
void testGetFileNameComponents2(
)
|
|
void testGetFileNameComponents3(
)
|
|
void testGetFormVariables(
)
|
|
void testGetFormVariables2(
)
|
|
void testGetFormVariables3(
)
|
|
Test the error condition where we have a value in _POST and we put the same value back via
putRequestVariable -- make sure that the new value overwrites the old
void testGetFormVariables4(
)
|
|
void testGetFormVariablesNoPrefix(
)
|
|
void testGetFormVariablesNoPrefix2(
)
|
|
void testGetPhpIniBool(
)
|
|
void testGetPseudoFileName(
)
|
|
void testGetRemoteHostAddress1(
)
|
|
void testGetRemoteHostAddress2(
)
|
|
void testGetRemoteHostAddress3(
)
|
|
void testGetRemoteHostAddress4(
)
|
|
void testGetRemoteHostAddress5(
)
|
|
void testGetRequestVariables(
)
|
|
void testGuaranteeDirExists(
)
|
|
void testGuaranteeDirExistsLoop(
)
|
|
void testGuaranteeDirExistsLoop2(
)
|
|
void testGuaranteeDirExistsLoop3(
)
|
|
void testHasRequestVariable(
)
|
|
void testHasRequestVariable2(
)
|
|
void testHtmlSafeWithDecode(
)
|
|
void testIdentifySearchEngineCrawlerFromRequest(
)
|
|
void testIsCompatibleWithApi(
)
|
|
void testIsSafeHttpHeader(
)
|
|
void testIsTrustedProxy(
)
|
|
void testIsValidEmailString(
)
|
|
The readManifest() code doesn't use GalleryPlatform and is hard to test. So this test is
useful for when we're refactoring this code. Delete /tmp/manifest.txt and run the test once and it'll capture the current manifest. Subsequent runs will compare it against that golden version, so you can refactor the manifest code till you're happy. But don't leave this test uncommented as otherwise it will break on the next manifest update.
void testMalformedRemoteHostAddress(
)
|
|
void testMalformedRemoteHostAddress2(
)
|
|
void testMaliciousBrowserInput1(
)
|
|
void testMaliciousRemoteHostAddress(
)
|
|
void testProcessingPaths(
)
|
|
void testRegisterCookieAttr(
)
|
|
void testRemoveFormVariables(
)
|
|
void testRemoveRequestVariable(
)
|
|
void testRemoveRequestVariable2(
)
|
|
void testRoundToString(
)
|
|
void testSanitizeInputValue1(
)
|
|
void testSanitizeInputValue2(
)
|
|
void testSanitizeRoundTrip(
)
|
|
void testScaleDimensionsToFit(
)
|
|
void testSetLocationResponseHeader(
)
|
|
void testSetLocationResponseHeaderNoReplace(
)
|
|
void testSetLocationResponseHeaderNoReplace3xx(
)
|
|
void testSetLocationResponseHeaderWithReplace(
)
|
|
void testSetResponseHeader(
)
|
|
void testSetResponseHeaderNoReplace(
)
|
|
void testSetResponseHeaderWithReplace(
)
|
|
void testShrinkDimensionsToFit(
)
|
|
void testUnicodeEntitiesToUtf8(
)
|
|
void testUnicodeValueToUtf8Value(
)
|
|
void testUnsanitizeInputValues(
)
|
|
void testUtf8Substring(
)
|
|
Information Tags:
Todo: | Remove this test on next core API bump |
void testUtf8ToUnicodeEntities(
)
|
|