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

Public Member Functions

 setUp ()
 tearDown ()
 test_diagnose ()
 test_get_server_info ()
 test_get_in_or_equal ()
 test_fix_table_names ()
 test_fix_sql_params ()
 test_strtok ()
 test_tweak_param_names ()
 test_get_tables ()
 test_get_indexes ()
 test_get_columns ()
 test_get_manager ()
 test_setup_is_unicodedb ()
 test_set_debug ()
 test_execute ()
 test_get_recordset ()
 test_get_recordset_iterator_keys ()
 test_get_recordset_list ()
 test_get_recordset_select ()
 test_get_recordset_sql ()
 test_get_records ()
 test_get_records_list ()
 test_get_records_sql ()
 test_get_records_menu ()
 test_get_records_select_menu ()
 test_get_records_sql_menu ()
 test_get_record ()
 test_get_record_select ()
 test_get_record_sql ()
 test_get_field ()
 test_get_field_select ()
 test_get_field_sql ()
 test_get_fieldset_select ()
 test_get_fieldset_sql ()
 test_insert_record_raw ()
 test_insert_record ()
 test_import_record ()
 test_update_record_raw ()
 test_update_record ()
 test_set_field ()
 test_set_field_select ()
 test_count_records ()
 test_count_records_select ()
 test_count_records_sql ()
 test_record_exists ()
 test_record_exists_select ()
 test_record_exists_sql ()
 test_recordset_locks_delete ()
 test_recordset_locks_update ()
 test_delete_records ()
 test_delete_records_select ()
 test_delete_records_list ()
 test_sql_null_from_clause ()
 test_sql_bitand ()
 test_sql_bitnot ()
 test_sql_bitor ()
 test_sql_bitxor ()
 test_sql_modulo ()
 test_sql_ceil ()
 test_cast_char2int ()
 test_cast_char2real ()
 sql_compare_text ()
 test_unique_index_collation_trouble ()
 test_sql_binary_equal ()
 test_sql_like ()
 test_sql_ilike ()
 test_coalesce ()
 test_sql_concat ()
 test_concat_join ()
 test_sql_fullname ()
 sql_sql_order_by_text ()
 test_sql_substring ()
 test_sql_length ()
 test_sql_position ()
 test_sql_empty ()
 test_sql_isempty ()
 test_sql_isnotempty ()
 test_sql_regex ()
 test_get_records_sql_complicated ()
 test_onelevel_commit ()
 test_onelevel_rollback ()
 test_nested_transactions ()
 test_transactions_forbidden ()
 test_wrong_transactions ()
 test_concurent_transactions ()
 test_session_locks ()
 test_bound_param_types ()
 test_bound_param_reserved ()
 test_limits_and_offsets ()

Static Public Attributes

static $includecoverage = array('lib/dml')
static $excludecoverage = array('lib/dml/simpletest')

Protected Member Functions

 enable_debugging ()
 get_debugging ()

Protected Attributes

 $olddebug
 $olddisplay

Detailed Description

Definition at line 27 of file testdml.php.


Member Function Documentation

enable_debugging ( ) [protected]

Definition at line 86 of file testdml.php.

Here is the caller graph for this function:

get_debugging ( ) [protected]

Definition at line 97 of file testdml.php.

Here is the caller graph for this function:

setUp ( )

Definition at line 38 of file testdml.php.

Definition at line 3276 of file testdml.php.

Here is the call graph for this function:

Definition at line 3566 of file testdml.php.

Here is the call graph for this function:

tearDown ( )

Definition at line 48 of file testdml.php.

Definition at line 4322 of file testdml.php.

Definition at line 4259 of file testdml.php.

Here is the call graph for this function:

Definition at line 3180 of file testdml.php.

Here is the call graph for this function:

Definition at line 3233 of file testdml.php.

Here is the call graph for this function:

Definition at line 3456 of file testdml.php.

Here is the call graph for this function:

Definition at line 3551 of file testdml.php.

Here is the call graph for this function:

Definition at line 4150 of file testdml.php.

Here is the call graph for this function:

Definition at line 2744 of file testdml.php.

Here is the call graph for this function:

Definition at line 2780 of file testdml.php.

Here is the call graph for this function:

Definition at line 2802 of file testdml.php.

Here is the call graph for this function:

Definition at line 2962 of file testdml.php.

Here is the call graph for this function:

Must delete 0 rows without conditions. MDL-17645

Definition at line 3042 of file testdml.php.

Here is the call graph for this function:

Definition at line 3022 of file testdml.php.

Here is the call graph for this function:

Definition at line 110 of file testdml.php.

Here is the call graph for this function:

Definition at line 877 of file testdml.php.

Here is the call graph for this function:

Definition at line 354 of file testdml.php.

Here is the call graph for this function:

Definition at line 332 of file testdml.php.

Here is the call graph for this function:

Definition at line 717 of file testdml.php.

Here is the call graph for this function:

Definition at line 1661 of file testdml.php.

Here is the call graph for this function:

Definition at line 1711 of file testdml.php.

Here is the call graph for this function:

Definition at line 1728 of file testdml.php.

Here is the call graph for this function:

Definition at line 1745 of file testdml.php.

Here is the call graph for this function:

Definition at line 1771 of file testdml.php.

Here is the call graph for this function:

Definition at line 124 of file testdml.php.

Here is the call graph for this function:

Definition at line 681 of file testdml.php.

Here is the call graph for this function:

Definition at line 830 of file testdml.php.

Here is the call graph for this function:

Definition at line 1562 of file testdml.php.

Here is the call graph for this function:

Definition at line 1585 of file testdml.php.

Here is the call graph for this function:

Definition at line 1608 of file testdml.php.

Here is the call graph for this function:

Definition at line 1217 of file testdml.php.

Here is the call graph for this function:

Must return 0 rows without conditions. MDL-17645

Definition at line 1325 of file testdml.php.

Here is the call graph for this function:

Definition at line 1470 of file testdml.php.

Here is the call graph for this function:

Definition at line 1498 of file testdml.php.

Here is the call graph for this function:

Definition at line 1355 of file testdml.php.

Here is the call graph for this function:

Test some more complex SQL syntax which moodle uses and depends on to work useful to determine if new database libraries can be supported.

Definition at line 3798 of file testdml.php.

Here is the call graph for this function:

Definition at line 1530 of file testdml.php.

Here is the call graph for this function:

Definition at line 942 of file testdml.php.

Here is the call graph for this function:

Definition at line 1031 of file testdml.php.

Here is the call graph for this function:

Must return 0 rows without conditions. MDL-17645

Definition at line 1096 of file testdml.php.

Here is the call graph for this function:

Definition at line 1137 of file testdml.php.

Here is the call graph for this function:

Definition at line 1174 of file testdml.php.

Here is the call graph for this function:

Definition at line 116 of file testdml.php.

Here is the call graph for this function:

Definition at line 661 of file testdml.php.

Here is the call graph for this function:

Definition at line 2099 of file testdml.php.

Here is the call graph for this function:

Definition at line 1853 of file testdml.php.

Here is the call graph for this function:

Definition at line 1797 of file testdml.php.

Here is the call graph for this function:

Definition at line 4347 of file testdml.php.

Here is the call graph for this function:

Definition at line 3955 of file testdml.php.

Here is the call graph for this function:

Definition at line 3907 of file testdml.php.

Here is the call graph for this function:

Definition at line 3928 of file testdml.php.

Here is the call graph for this function:

Definition at line 2823 of file testdml.php.

Here is the call graph for this function:

Definition at line 2858 of file testdml.php.

Here is the call graph for this function:

Definition at line 2878 of file testdml.php.

Here is the call graph for this function:

Definition at line 2898 of file testdml.php.

Here is the call graph for this function:

Definition at line 2930 of file testdml.php.

Here is the call graph for this function:

Definition at line 4215 of file testdml.php.

Here is the call graph for this function:

Definition at line 842 of file testdml.php.

Here is the call graph for this function:

Definition at line 2500 of file testdml.php.

Here is the call graph for this function:

Definition at line 2600 of file testdml.php.

Here is the call graph for this function:

Definition at line 837 of file testdml.php.

Here is the call graph for this function:

Definition at line 3342 of file testdml.php.

Here is the call graph for this function:

Definition at line 3071 of file testdml.php.

Here is the call graph for this function:

Definition at line 3100 of file testdml.php.

Here is the call graph for this function:

Definition at line 3110 of file testdml.php.

Here is the call graph for this function:

Definition at line 3139 of file testdml.php.

Here is the call graph for this function:

Definition at line 3174 of file testdml.php.

Here is the call graph for this function:

Testing all sort of values

Testing fieldnames + values and also integer fieldnames

Definition at line 3498 of file testdml.php.

Here is the call graph for this function:

Definition at line 3641 of file testdml.php.

Here is the call graph for this function:

Definition at line 3559 of file testdml.php.

Here is the call graph for this function:

Definition at line 3429 of file testdml.php.

Here is the call graph for this function:

Definition at line 3676 of file testdml.php.

Here is the call graph for this function:

Definition at line 3717 of file testdml.php.

Here is the call graph for this function:

Definition at line 3625 of file testdml.php.

Here is the call graph for this function:

Definition at line 3367 of file testdml.php.

Here is the call graph for this function:

Definition at line 3168 of file testdml.php.

Here is the call graph for this function:

Definition at line 3065 of file testdml.php.

Here is the call graph for this function:

Definition at line 3633 of file testdml.php.

Here is the call graph for this function:

Definition at line 3758 of file testdml.php.

Here is the call graph for this function:

Definition at line 3592 of file testdml.php.

Here is the call graph for this function:

Definition at line 506 of file testdml.php.

Here is the call graph for this function:

Definition at line 4032 of file testdml.php.

Here is the call graph for this function:

Definition at line 528 of file testdml.php.

Here is the call graph for this function:

Definition at line 3302 of file testdml.php.

Here is the call graph for this function:

Definition at line 2306 of file testdml.php.

Here is the call graph for this function:

Definition at line 2265 of file testdml.php.

Here is the call graph for this function:

Definition at line 4059 of file testdml.php.

Here is the call graph for this function:


Field Documentation

$excludecoverage = array('lib/dml/simpletest') [static]

Definition at line 33 of file testdml.php.

$includecoverage = array('lib/dml') [static]

Definition at line 32 of file testdml.php.

$olddebug [protected]

Definition at line 35 of file testdml.php.

$olddisplay [protected]

Definition at line 36 of file testdml.php.


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