Method | Description | |
---|---|---|
assertIsWPError ( mixed $actual, string $message = '' ) | Asserts thing is WP_Error. | |
assertNotFalse ( $condition, string $message = '' ) : mixed | Backport assertNotFalse to PHPUnit 3.6.12 which only runs in PHP 5.2. | |
assertNotWPError ( mixed $actual, string $message = '' ) | Asserts thing is not WP_Error. | |
filter_output ( $output ) | Strip newlines and tabs when using expectedOutputString() as otherwise. | |
setUp ( ) | Setup test case. |
public assertIsWPError ( mixed $actual, string $message = '' ) | ||
$actual | mixed | |
$message | string |
public static assertNotFalse ( $condition, string $message = '' ) : mixed | ||
$condition | ||
$message | string | |
return | mixed |
public assertNotWPError ( mixed $actual, string $message = '' ) | ||
$actual | mixed | |
$message | string |
public filter_output ( $output ) |