[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Tests core_user class.

Copyright: 2013 Rajesh Taneja <rajesh@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 437 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_user_testcase:: (13 methods):
  setUp()
  test_get_user()
  test_get_user_by_username()
  test_require_active_user()
  test_get_property_definition()
  test_validate()
  test_clean_data()
  test_clean_field()
  test_get_property_type()
  test_get_property_null()
  test_get_property_choices()
  test_get_property_default()
  test_get_noreply_user()


Class: core_user_testcase  - X-Ref

Test core_user class.

setUp()   X-Ref
Setup test data.


test_get_user()   X-Ref
No description

test_get_user_by_username()   X-Ref
Test get_user_by_username method.


test_require_active_user()   X-Ref
Test require_active_user


test_get_property_definition()   X-Ref
Test get_property_definition() method.


test_validate()   X-Ref
Test validate() method.


test_clean_data()   X-Ref
Test clean_data() method.


test_clean_field()   X-Ref
Test clean_field() method.


test_get_property_type()   X-Ref
Test get_property_type() method.


test_get_property_null()   X-Ref
Test get_property_null() method.


test_get_property_choices()   X-Ref
Test get_property_choices() method.


test_get_property_default()   X-Ref
Test get_property_default().


test_get_noreply_user()   X-Ref
Ensure that the noreply user is not cached.




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