[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/user/tests/ -> profilelib_test.php (summary)

Unit tests for user/profile/lib.php.

Copyright: 2014 The Open University
File Size: 97 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_user_profilelib_testcase:: (2 methods):
  test_get_custom_fields()
  test_default_constructor()


Class: core_user_profilelib_testcase  - X-Ref

Unit tests for user/profile/lib.php.

test_get_custom_fields()   X-Ref
Tests profile_get_custom_fields function and checks it is consistent
with profile_user_record.


test_default_constructor()   X-Ref
Make sure that all profile fields can be initialised without arguments.




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