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

Public Member Functions

 setUp ()
 tearDown ()
 test_aggregate_submission_grades_process_notgraded ()
 test_aggregate_submission_grades_process_single ()
 test_aggregate_submission_grades_process_null_doesnt_influence ()
 test_aggregate_submission_grades_process_weighted_single ()
 test_aggregate_submission_grades_process_mean ()
 test_aggregate_submission_grades_process_mean_changed ()
 test_aggregate_submission_grades_process_mean_nochange ()
 test_aggregate_submission_grades_process_rounding ()
 test_aggregate_submission_grades_process_weighted_mean ()
 test_aggregate_grading_grades_process_nograding ()
 test_aggregate_grading_grades_process_single_grade_new ()
 test_aggregate_grading_grades_process_single_grade_update ()
 test_aggregate_grading_grades_process_single_grade_uptodate ()
 test_aggregate_grading_grades_process_single_grade_overridden ()
 test_aggregate_grading_grades_process_multiple_grades_new ()
 test_aggregate_grading_grades_process_multiple_grades_update ()
 test_aggregate_grading_grades_process_multiple_grades_overriden ()
 test_aggregate_grading_grades_process_multiple_grades_one_missing ()
 test_aggregate_grading_grades_process_multiple_grades_missing_overridden ()
 test_percent_to_value ()
 test_percent_to_value_negative ()
 test_percent_to_value_over_hundred ()
 test_lcm ()
 test_lcm_array ()
 test_prepare_example_assessment ()
 test_prepare_example_reference_assessment ()

Protected Attributes

 $workshop

Detailed Description

Test cases for the internal workshop api

Definition at line 59 of file testlocallib.php.


Member Function Documentation

setUp ( )

setup testing environment

Definition at line 65 of file testlocallib.php.

tearDown ( )

Definition at line 73 of file testlocallib.php.

Definition at line 319 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 261 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 306 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 293 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 280 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 200 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 211 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 250 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 228 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 239 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 127 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 142 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 157 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 79 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 102 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 171 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 90 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 185 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 115 of file testlocallib.php.

Here is the call graph for this function:

test_lcm ( )

Definition at line 362 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 371 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 332 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 342 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 352 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 380 of file testlocallib.php.

Here is the call graph for this function:

Definition at line 405 of file testlocallib.php.

Here is the call graph for this function:


Field Documentation

$workshop [protected]

workshop instance emulation

Definition at line 62 of file testlocallib.php.


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