AkismetApiTest AkismetApiTest(
$methodName
)
|
|
Parameters:
void testCheckComment_BadStatus(
)
|
|
void testCheckComment_NotSpam(
)
|
|
void testCheckComment_RecheckExistingComment(
)
|
|
void testCheckComment_Spam(
)
|
|
void testRequest_WithoutRequestSpecificDetails(
)
|
|
void testResponseHandledIndependentOfHttpVersion(
)
|
|
void testVerifyApiKey_Invalid(
)
|
|
void testVerifyApiKey_Valid(
)
|
|
void _setHttpRequestResponse(
&$platform,
$host,
$port,
$requestArray,
$response
)
|
|
Convenience method to digest an HTTP response and put it into the form that GalleryCoreApi::postToWebPage can digest when it's talking to our mock platform.
Parameters:
|
|
&$platform: |
|
|
|
$host: |
|
|
|
$port: |
|
|
|
$requestArray: |
|
|
|
$response: |
|
API Tags:
Information Tags:
| Todo: | This should get refactored up into UnitTestPlatform so that other tests can use it. |