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


Public Member Functions | |
| ReferenceExpectation (&$value, $message= '%s') | |
| test (&$compare) | |
| testMessage ($compare) | |
| _getValue () | |
Data Fields | |
| $_value | |
Definition at line 449 of file expectation.php.
| _getValue | ( | ) |
Definition at line 490 of file expectation.php.
| ReferenceExpectation | ( | &$ | value, |
| $ | message = '%s' |
||
| ) |
Sets the reference value to compare against.
| mixed | $value | Test reference to match. |
| string | $message | Customised message on failure. public |
Definition at line 458 of file expectation.php.

| test | ( | &$ | compare | ) |
Tests the expectation. True if it exactly references the held value.
| mixed | $compare | Comparison reference. |
Definition at line 470 of file expectation.php.


| testMessage | ( | $ | compare | ) |
Returns a human readable test message.
| mixed | $compare | Comparison value. |
Reimplemented from SimpleExpectation.
Definition at line 481 of file expectation.php.

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