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


Public Member Functions | |
| NoTextExpectation ($substring, $message= '%s') | |
| test ($compare) | |
| testMessage ($compare) | |
Definition at line 384 of file web_tester.php.
| NoTextExpectation | ( | $ | substring, |
| $ | message = '%s' |
||
| ) |
Sets the reject pattern
| string | $substring | Text to search for. |
| string | $message | Customised message on failure. public |
Definition at line 392 of file web_tester.php.

| test | ( | $ | compare | ) |
Tests the expectation. False if the substring appears in the text.
| string | $compare | Comparison value. |
Reimplemented from TextExpectation.
Definition at line 403 of file web_tester.php.

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