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

Public Member Functions

 NotEqualExpectation ($value, $message= '%s')
 test ($compare)
 testMessage ($compare)

Detailed Description

Definition at line 280 of file expectation.php.


Member Function Documentation

NotEqualExpectation ( value,
message = '%s' 
)

Sets the value to compare against.

Parameters:
mixed$valueTest value to match.
string$messageCustomised message on failure. public

Definition at line 288 of file expectation.php.

Here is the call graph for this function:

test ( compare)

Tests the expectation. True if it differs from the held value.

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

Reimplemented from EqualExpectation.

Definition at line 299 of file expectation.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 EqualExpectation.

Definition at line 310 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