Moodle  2.2.1
http://www.collinsharper.com
moodlelib_test Class Reference
Inheritance diagram for moodlelib_test:
Collaboration diagram for moodlelib_test:

Public Member Functions

 test_cleanremoteaddr ()
 test_address_in_subnet ()
 test_check_browser_version ()
 test_get_browser_version_classes ()
 test_get_device_type ()
 test_fix_utf8 ()
 test_optional_param ()
 test_optional_param_array ()
 test_required_param ()
 test_required_param_array ()
 test_clean_param ()
 test_clean_param_array ()
 test_clean_param_raw ()
 test_clean_param_trim ()
 test_clean_param_clean ()
 test_clean_param_alpha ()
 test_clean_param_alphanum ()
 test_clean_param_alphaext ()
 test_clean_param_sequence ()
 test_clean_param_component ()
 test_clean_param_plugin ()
 test_clean_param_area ()
 test_clean_param_text ()
 test_clean_param_url ()
 test_clean_param_localurl ()
 test_clean_param_file ()
 test_clean_param_username ()
 test_clean_param_stringid ()
 test_clean_param_timezone ()
 test_validate_param ()
 test_shorten_text ()
 test_usergetdate ()
 test_normalize_component ()
 test_mark_user_preferences_changed ()
 test_check_user_preferences_loaded ()
 test_set_user_preference ()
 test_get_extra_user_fields ()
 test_get_extra_user_fields_sql ()
 test_userdate ()
 test_make_timestamp ()

Data Fields

 $user_agents

Static Public Attributes

static $includecoverage = array('lib/moodlelib.php')

Protected Member Functions

 get_fake_preference_test_userid ()

Detailed Description

Definition at line 44 of file testmoodlelib.php.


Member Function Documentation

Definition at line 1054 of file testmoodlelib.php.

Here is the caller graph for this function:

1: xxx.xxx.xxx.xxx/nn or xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/nnn (number of bits in net mask)

2: xxx.xxx.xxx.xxx-yyy or xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx::xxxx-yyyy (a range of IP addresses in the last group)

3: xxx.xxx or xxx.xxx. or xxx:xxx:xxxx or xxx:xxx:xxxx. (incomplete address, a bit non-technical ;-)

multiple subnets

other incorrect input

Definition at line 107 of file testmoodlelib.php.

Here is the call graph for this function:

Modifies $_SERVER['HTTP_USER_AGENT'] manually to check if check_browser_version works as expected.

Definition at line 200 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 1079 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 608 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 685 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 695 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 690 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 746 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 641 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 679 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 705 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 802 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 792 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 730 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 670 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 700 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 846 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 761 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 862 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 675 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 782 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 814 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 88 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 308 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 264 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 299 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 1231 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 1270 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 1431 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 1066 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 1019 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 329 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 392 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 472 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 534 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 1127 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 927 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 1306 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 958 of file testmoodlelib.php.

Here is the call graph for this function:

Definition at line 888 of file testmoodlelib.php.

Here is the call graph for this function:


Field Documentation

$includecoverage = array('lib/moodlelib.php') [static]

Definition at line 46 of file testmoodlelib.php.

$user_agents

Definition at line 48 of file testmoodlelib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations