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

Public Member Functions

 IgnoreWhitespaceExpectation ($content, $message= '%s')
 test ($ip)
 normalise ($text)
 testMessage ($ip)

Data Fields

 $expect

Detailed Description

Definition at line 82 of file simpletestlib.php.


Member Function Documentation

IgnoreWhitespaceExpectation ( content,
message = '%s' 
)

Definition at line 85 of file simpletestlib.php.

Here is the call graph for this function:

normalise ( text)

Definition at line 94 of file simpletestlib.php.

Here is the caller graph for this function:

test ( compare)

Tests the expectation. True if correct.

Parameters:
mixed$compareComparison value.
Returns:
boolean True if correct. public

Reimplemented from SimpleExpectation.

Definition at line 90 of file simpletestlib.php.

Here is the call 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.

Definition at line 98 of file simpletestlib.php.


Field Documentation

$expect

Definition at line 83 of file simpletestlib.php.


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