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


Public Member Functions | |
| EqualExpectation ($value, $message= '%s') | |
| test ($compare) | |
| testMessage ($compare) | |
| _getValue () | |
Data Fields | |
| $_value | |
Definition at line 224 of file expectation.php.
| _getValue | ( | ) |
Accessor for comparison value.
Definition at line 270 of file expectation.php.

| EqualExpectation | ( | $ | value, |
| $ | message = '%s' |
||
| ) |
Sets the value to compare against.
| mixed | $value | Test value to match. |
| string | $message | Customised message on failure. public |
Definition at line 233 of file expectation.php.


| test | ( | $ | compare | ) |
Tests the expectation. True if it matches the held value.
| mixed | $compare | Comparison value. |
Reimplemented from SimpleExpectation.
Reimplemented in NotIdenticalExpectation, IdenticalExpectation, and NotEqualExpectation.
Definition at line 245 of file expectation.php.

| testMessage | ( | $ | compare | ) |
Returns a human readable test message.
| mixed | $compare | Comparison value. |
Reimplemented from SimpleExpectation.
Reimplemented in NotIdenticalExpectation, IdenticalExpectation, and NotEqualExpectation.
Definition at line 256 of file expectation.php.

| $_value |
Definition at line 225 of file expectation.php.