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

Public Member Functions

 setUp ()
 tearDown ()
 test_calculate_peer_grade_null_grade ()
 test_calculate_peer_grade_one_numerical ()
 test_calculate_peer_grade_negative_weight ()
 test_calculate_peer_grade_one_numerical_weighted ()
 test_calculate_peer_grade_three_numericals_same_weight ()
 test_calculate_peer_grade_three_numericals_different_weights ()
 test_calculate_peer_grade_one_scale_max ()
 test_calculate_peer_grade_one_scale_min_with_scale_caching ()
 test_calculate_peer_grade_two_scales_weighted ()
 test_calculate_peer_grade_scale_exception ()

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 79 of file testlib.php.

Definition at line 107 of file testlib.php.

Here is the call graph for this function:

Definition at line 87 of file testlib.php.

Here is the call graph for this function:

Definition at line 97 of file testlib.php.

Here is the call graph for this function:

Definition at line 116 of file testlib.php.

Here is the call graph for this function:

Definition at line 160 of file testlib.php.

Here is the call graph for this function:

Definition at line 177 of file testlib.php.

Here is the call graph for this function:

Definition at line 218 of file testlib.php.

Here is the call graph for this function:

Definition at line 143 of file testlib.php.

Here is the call graph for this function:

Definition at line 126 of file testlib.php.

Here is the call graph for this function:

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