[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Test for various bits of datalib.php.

Copyright: 2012 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 656 lines (29 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_datalib_testcase:: (16 methods):
  normalise_sql()
  assert_same_sql()
  test_users_search_sql()
  test_users_order_by_sql_simple()
  test_users_order_by_sql_table_prefix()
  test_users_order_by_sql_search_no_extra_fields()
  test_users_order_by_sql_search_with_extra_fields_and_prefix()
  test_get_admin()
  test_get_admins()
  test_get_course()
  test_increment_revision_number()
  test_get_coursemodule_from_id()
  test_get_coursemodule_from_instance()
  test_get_coursemodules_in_course()
  test_get_all_instances_in_courses()
  test_get_all_instances_in_course()


Class: core_datalib_testcase  - X-Ref

Test for various bits of datalib.php.

normalise_sql($sort)   X-Ref
No description

assert_same_sql($expected, $actual)   X-Ref
No description

test_users_search_sql()   X-Ref
Do a test of the user search SQL with database users.


test_users_order_by_sql_simple()   X-Ref
No description

test_users_order_by_sql_table_prefix()   X-Ref
No description

test_users_order_by_sql_search_no_extra_fields()   X-Ref
No description

test_users_order_by_sql_search_with_extra_fields_and_prefix()   X-Ref
No description

test_get_admin()   X-Ref
No description

test_get_admins()   X-Ref
No description

test_get_course()   X-Ref
No description

test_increment_revision_number()   X-Ref
No description

test_get_coursemodule_from_id()   X-Ref
No description

test_get_coursemodule_from_instance()   X-Ref
No description

test_get_coursemodules_in_course()   X-Ref
No description

test_get_all_instances_in_courses()   X-Ref
No description

test_get_all_instances_in_course()   X-Ref
No description



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