[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/tests/ -> conditionlib_test.php (summary)

Tests for deprecated conditional activities classes.

Copyright: 2014 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU Public License
File Size: 214 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_conditionlib_testcase:: (5 methods):
  setUp()
  test_constructor()
  test_section_constructor()
  test_is_available()
  test_section_is_available()


Class: core_conditionlib_testcase  - X-Ref

Tests for deprecated conditional activities classes.

setUp()   X-Ref
No description

test_constructor()   X-Ref
No description

test_section_constructor()   X-Ref
Same as above test but for course_sections instead of course_modules.


test_is_available()   X-Ref
Tests the is_available function for modules. This does not test all the
conditions and stuff, because it only needs to check that the system
connects through to the real availability API. Also tests
get_full_information function.


test_section_is_available()   X-Ref
Tests the is_available function for sections.




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