[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/mod/workshop/tests/ -> locallib_test.php (summary)

Unit tests for workshop api class defined in mod/workshop/locallib.php

Copyright: 2009 David Mudrak <[email protected]>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 625 lines (29 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 mod/workshop/tests/fixtures/testable.php

Defines 1 class

mod_workshop_internal_api_testcase:: (32 methods):
  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()
  test_user_restrictions()
  test_reset_phase()
  test_reset_userdata_assessments()
  test_reset_userdata_submissions()


Class: mod_workshop_internal_api_testcase  - X-Ref

Test cases for the internal workshop api

setUp()   X-Ref
No description

tearDown()   X-Ref
No description

test_aggregate_submission_grades_process_notgraded()   X-Ref
No description

test_aggregate_submission_grades_process_single()   X-Ref
No description

test_aggregate_submission_grades_process_null_doesnt_influence()   X-Ref
No description

test_aggregate_submission_grades_process_weighted_single()   X-Ref
No description

test_aggregate_submission_grades_process_mean()   X-Ref
No description

test_aggregate_submission_grades_process_mean_changed()   X-Ref
No description

test_aggregate_submission_grades_process_mean_nochange()   X-Ref
No description

test_aggregate_submission_grades_process_rounding()   X-Ref
No description

test_aggregate_submission_grades_process_weighted_mean()   X-Ref
No description

test_aggregate_grading_grades_process_nograding()   X-Ref
No description

test_aggregate_grading_grades_process_single_grade_new()   X-Ref
No description

test_aggregate_grading_grades_process_single_grade_update()   X-Ref
No description

test_aggregate_grading_grades_process_single_grade_uptodate()   X-Ref
No description

test_aggregate_grading_grades_process_single_grade_overridden()   X-Ref
No description

test_aggregate_grading_grades_process_multiple_grades_new()   X-Ref
No description

test_aggregate_grading_grades_process_multiple_grades_update()   X-Ref
No description

test_aggregate_grading_grades_process_multiple_grades_overriden()   X-Ref
No description

test_aggregate_grading_grades_process_multiple_grades_one_missing()   X-Ref
No description

test_aggregate_grading_grades_process_multiple_grades_missing_overridden()   X-Ref
No description

test_percent_to_value()   X-Ref
No description

test_percent_to_value_negative()   X-Ref
No description

test_percent_to_value_over_hundred()   X-Ref
No description

test_lcm()   X-Ref
No description

test_lcm_array()   X-Ref
No description

test_prepare_example_assessment()   X-Ref
No description

test_prepare_example_reference_assessment()   X-Ref
No description

test_user_restrictions()   X-Ref
Tests user restrictions, as they affect lists of users returned by
core API functions.

This includes the groupingid option (when group mode is in use), and
standard activity restrictions using the availability API.

test_reset_phase()   X-Ref
Test the workshop reset feature.


test_reset_userdata_assessments()   X-Ref
Test deleting assessments related data on workshop reset.


test_reset_userdata_submissions()   X-Ref
Test deleting submissions related data on workshop reset.




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1