Moodle  2.2.1
http://www.collinsharper.com
XMLStructureExpectation Class Reference
Inheritance diagram for XMLStructureExpectation:
Collaboration diagram for XMLStructureExpectation:

Public Member Functions

 testMessage ($html)

Protected Member Functions

 load_xml ($html)

Detailed Description

Definition at line 192 of file simpletestlib.php.


Member Function Documentation

load_xml ( html) [protected]

Parse a string as XML and return a DOMDocument;

Parameters:
$html
Returns:
unknown_type

Definition at line 198 of file simpletestlib.php.

Here is the caller graph for this function:

testMessage ( compare)

Returns a human readable test message.

Parameters:
mixed$compareComparison value.
Returns:
string Description of success or failure. public

Reimplemented from SimpleExpectation.

Reimplemented in ContainsEmptyTag, and ContainsTagWithContents.

Definition at line 209 of file simpletestlib.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations