Redirection constraints
package | Zend_Test |
---|---|
inherited_from | \Zend_Test_PHPUnit_Constraint_Redirect34 |
__construct() : void
evaluate(string $other, $assertType = null
) : boolean
string
String to examine
boolean
fail(mixed $other, string $description, boolean $not = false
) : void
see | for implementation details |
---|
mixed
string
Additional message to display
boolean
\PHPUnit_Framework_ExpectationFailedException |
---|
setNegate(boolean $flag = true
) : void
boolean
toString() : string
string
_match(\Zend_Controller_Response_HttpTestCase $response, string $match) : boolean
\Zend_Controller_Response_HttpTestCase
string
Content to match
boolean
_notMatch(\Zend_Controller_Response_HttpTestCase $response, string $match) : boolean
\Zend_Controller_Response_HttpTestCase
string
boolean
_notRegex(\Zend_Controller_Response_HttpTestCase $response, string $pattern) : boolean
\Zend_Controller_Response_HttpTestCase
string
boolean
_regex(\Zend_Controller_Response_HttpTestCase $response, string $pattern) : boolean
\Zend_Controller_Response_HttpTestCase
string
boolean
$_actual
null
$_assertType : string
null
$_assertTypes : array
array(self::ASSERT_REDIRECT, self::ASSERT_REDIRECT_TO, self::ASSERT_REDIRECT_REGEX)
$_match : string
null
$_negate : boolean
false
ASSERT_REDIRECT = 'assertRedirect'
ASSERT_REDIRECT_REGEX = 'assertRedirectRegex'
ASSERT_REDIRECT_TO = 'assertRedirectTo'