|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| NotAExpectation ($type, $message= '%s') | |
| test ($compare) | |
| testMessage ($compare) | |
Data Fields | |
| $_type | |
Definition at line 810 of file expectation.php.
| NotAExpectation | ( | $ | type, |
| $ | message = '%s' |
||
| ) |
Sets the type to compare with.
| string | $type | Type or class name. |
| string | $message | Customised message on failure. public |
Definition at line 819 of file expectation.php.

| test | ( | $ | compare | ) |
Tests the expectation. False if the type or class matches the string value.
| string | $compare | Comparison value. |
Reimplemented from IsAExpectation.
Definition at line 830 of file expectation.php.
| testMessage | ( | $ | compare | ) |
Returns a human readable test message.
| mixed | $compare | Comparison value. |
Reimplemented from IsAExpectation.
Definition at line 841 of file expectation.php.

| $_type |
Reimplemented from IsAExpectation.
Definition at line 811 of file expectation.php.