[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

Unit tests for user/profile/lib.php.

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

Defines 1 class

core_user_profilelib_testcase:: (3 methods):
  test_get_custom_fields()
  test_default_constructor()
  test_profile_view()


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.


test_profile_view()   X-Ref
Test profile_view function




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