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


Public Member Functions | |
| NoPatternExpectation ($pattern, $message= '%s') | |
| test ($compare) | |
| testMessage ($compare) | |
Definition at line 678 of file expectation.php.
| NoPatternExpectation | ( | $ | pattern, |
| $ | message = '%s' |
||
| ) |
Sets the reject pattern
| string | $pattern | Pattern to search for. |
| string | $message | Customised message on failure. public |
Definition at line 686 of file expectation.php.

| test | ( | $ | compare | ) |
Tests the expectation. False if the Perl regex matches the comparison value.
| string | $compare | Comparison value. |
Reimplemented from PatternExpectation.
Definition at line 697 of file expectation.php.

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