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

Public Member Functions

 test ($compare)
 testMessage ($compare)

Detailed Description

Definition at line 164 of file expectation.php.


Member Function Documentation

test ( compare)

Tests the expectation.

Parameters:
mixed$compareShould be true.
Returns:
boolean True on match. public

Reimplemented from SimpleExpectation.

Definition at line 172 of file expectation.php.

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 183 of file expectation.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