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


Public Member Functions | |
| TimeModifiedExpectation ($otherfields) | |
| test ($thing) | |
| testMessage ($thing) | |
Expectation that checks an object for given values (normal equality test) plus a 'timemodified' field that is current (last second or two).
Definition at line 61 of file testcompletionlib.php.
| test | ( | $ | compare | ) |
Tests the expectation. True if correct.
| mixed | $compare | Comparison value. |
Reimplemented from SimpleExpectation.
Definition at line 71 of file testcompletionlib.php.
| testMessage | ( | $ | compare | ) |
Returns a human readable test message.
| mixed | $compare | Comparison value. |
Reimplemented from SimpleExpectation.
Definition at line 86 of file testcompletionlib.php.
| TimeModifiedExpectation | ( | $ | otherfields | ) |
| array | $otherfields | Array key=>value of required object fields |
Definition at line 67 of file testcompletionlib.php.