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


Public Member Functions | |
| NoHttpHeaderExpectation ($unwanted, $message= '%s') | |
| test ($compare) | |
| testMessage ($compare) | |
Data Fields | |
| $_expected_header | |
| $_expected_value | |
Definition at line 264 of file web_tester.php.
| NoHttpHeaderExpectation | ( | $ | unwanted, |
| $ | message = '%s' |
||
| ) |
Sets the field and value to compare against.
| string | $unwanted | Case insenstive trimmed header name. |
| string | $message | Optiona message override. Can use s as a placeholder for the original message. |
Definition at line 274 of file web_tester.php.

| test | ( | $ | compare | ) |
Tests that the unwanted header is not found.
| mixed | $compare | Raw header block to search. |
Reimplemented from HttpHeaderExpectation.
Definition at line 284 of file web_tester.php.

| testMessage | ( | $ | compare | ) |
Returns a human readable test message.
| mixed | $compare | Raw header block to search. |
Reimplemented from HttpHeaderExpectation.
Definition at line 295 of file web_tester.php.

| $_expected_header |
Reimplemented from HttpHeaderExpectation.
Definition at line 265 of file web_tester.php.
| $_expected_value |
Reimplemented from HttpHeaderExpectation.
Definition at line 266 of file web_tester.php.