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

Public Member Functions

 setUp ()
 tearDown ()
 test_calculate_peer_grade_null_grade ()
 test_calculate_peer_grade_worst_possible ()
 test_calculate_peer_grade_best_possible ()
 test_calculate_peer_grade_something ()

Protected Attributes

 $realDB
 $workshop
 $strategy

Detailed Description

Definition at line 52 of file testlib.php.


Member Function Documentation

setUp ( )

Setup testing environment

Definition at line 66 of file testlib.php.

tearDown ( )

Definition at line 107 of file testlib.php.

Definition at line 135 of file testlib.php.

Here is the call graph for this function:

Definition at line 115 of file testlib.php.

Here is the call graph for this function:

Definition at line 146 of file testlib.php.

Here is the call graph for this function:

Definition at line 124 of file testlib.php.

Here is the call graph for this function:


Field Documentation

$realDB [protected]

real database

Definition at line 55 of file testlib.php.

$strategy [protected]

instance of the strategy logic class being tested

Definition at line 61 of file testlib.php.

$workshop [protected]

workshop instance emulation

Definition at line 58 of file testlib.php.


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