Assertion that can display failure information.
Also includes various helper methods.
Located in /expectation.php (line 23)
Class | Description |
---|---|
![]() |
CssSelectorExpectation |
![]() |
Test for an HTML widget value match. |
![]() |
Test for a specific HTTP header within a header block. |
![]() |
Test for a text substring. |
![]() |
Tests exceptions either by type or the exact exception. This could be improved to accept a pattern expectation to test the error message, but that will have to come later. |
![]() |
A wildcard expectation always matches. |
![]() |
An expectation that never matches. |
![]() |
An expectation that passes on boolean true. |
![]() |
An expectation that passes on boolean false. |
![]() |
Test for equality. |
![]() |
Test for being within a range. |
![]() |
Test for reference. |
![]() |
Test for a pattern using Perl regex rules. |
![]() |
Tests either type or class name if it's an object. |
![]() |
Tests for existance of a method in an object |
![]() |
Parameter comparison assertion. |
![]() |
Confirms that the number of calls on a method is as expected. |
![]() |
Confirms that the number of calls on a method is as expected. |
![]() |
Confirms that the number of calls on a method is as expected. |
Test to see if a value is an expectation object.
A useful utility method.
Creates a dumper for displaying values and sets the test message.
Overlays the generated message onto the stored user message. An additional message can be interjected.
Tests the expectation. True if correct.
Returns a human readable test message.
Documentation generated on Sun, 04 May 2008 09:21:36 -0500 by phpDocumentor 1.3.0