[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Unit tests for the date condition.
Copyright: | 2014 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 236 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
availability_date_condition_testcase:: (6 methods):
setUp()
test_in_tree()
test_constructor()
test_save()
test_is_available()
test_get_description()
Class: availability_date_condition_testcase - X-Ref
Unit tests for the date condition.setUp() X-Ref |
Load required classes. |
test_in_tree() X-Ref |
Tests constructing and using date condition as part of tree. |
test_constructor() X-Ref |
Tests the constructor including error conditions. Also tests the string conversion feature (intended for debugging only). |
test_save() X-Ref |
Tests the save() function. |
test_is_available() X-Ref |
Tests the is_available() and is_available_to_all() functions. |
test_get_description() X-Ref |
Tests the get_description and get_standalone_description functions. |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |