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


Public Member Functions | |
| __construct ($tag, $attribute, $value, $message= '%s') | |
| test ($html) | |
| customMessage ($html) | |
Protected Attributes | |
| $tag | |
| $attribute | |
| $value | |
An Expectation that looks to see whether some HMTL contains a tag with a certain attribute.
Definition at line 227 of file simpletestlib.php.
| __construct | ( | $ | tag, |
| $ | attribute, | ||
| $ | value, | ||
| $ | message = '%s' |
||
| ) |
Definition at line 232 of file simpletestlib.php.
| customMessage | ( | $ | html | ) |
Definition at line 254 of file simpletestlib.php.
| test | ( | $ | compare | ) |
Tests the expectation. True if correct.
| mixed | $compare | Comparison value. |
Reimplemented from SimpleExpectation.
Definition at line 239 of file simpletestlib.php.

$attribute [protected] |
Definition at line 229 of file simpletestlib.php.
$tag [protected] |
Definition at line 228 of file simpletestlib.php.
$value [protected] |
Definition at line 230 of file simpletestlib.php.