[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Moodle environment test.

Copyright: 2013 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 196 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_environment_testcase:: (6 methods):
  test_environment()
  test_get_list_of_environment_versions()
  test_verify_plugin()
  test_restrict_php_version_greater_than_restricted_version()
  test_restrict_php_version_equal_to_restricted_version()
  test_restrict_php_version_less_than_restricted_version()


Class: core_environment_testcase  - X-Ref

Do standard environment.xml tests.

test_environment()   X-Ref
Test the environment.


test_get_list_of_environment_versions()   X-Ref
Test the get_list_of_environment_versions() function.


test_verify_plugin()   X-Ref
Test the environment_verify_plugin() function.


test_restrict_php_version_greater_than_restricted_version()   X-Ref
Test the restrict_php_version() function returns true if the current
PHP version is greater than the restricted version


test_restrict_php_version_equal_to_restricted_version()   X-Ref
Test the restrict_php_version() function returns true if the current
PHP version is equal to the restricted version


test_restrict_php_version_less_than_restricted_version()   X-Ref
Test the restrict_php_version() function returns false if the current
PHP version is less than the restricted version




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1