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

Public Member Functions

 setUp ()
 tearDown ()
 test_qubaid_list_one_join ()
 test_qubaid_list_several_join ()
 test_qubaid_join ()
 test_qubaid_join_no_where_join ()
 test_qubaid_list_one_in ()
 test_qubaid_list_several_in ()
 test_qubaid_join_in ()
 test_qubaid_join_no_where_in ()

Protected Member Functions

 check_typical_question_attempts_query (qubaid_condition $qubaids, $expectedsql, $expectedparams)
 check_typical_in_query (qubaid_condition $qubaids, $expectedsql, $expectedparams)

Detailed Description

Unit tests for some of the code in ../datalib.php.

Definition at line 38 of file testdatalib.php.


Member Function Documentation

check_typical_in_query ( qubaid_condition qubaids,
expectedsql,
expectedparams 
) [protected]

Definition at line 62 of file testdatalib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

check_typical_question_attempts_query ( qubaid_condition qubaids,
expectedsql,
expectedparams 
) [protected]

Definition at line 50 of file testdatalib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setUp ( )

Definition at line 40 of file testdatalib.php.

Here is the call graph for this function:

tearDown ( )

Reimplemented from UnitTestCaseUsingDatabase.

Definition at line 45 of file testdatalib.php.

Here is the call graph for this function:

Definition at line 90 of file testdatalib.php.

Here is the call graph for this function:

Definition at line 129 of file testdatalib.php.

Here is the call graph for this function:

Definition at line 140 of file testdatalib.php.

Here is the call graph for this function:

Definition at line 100 of file testdatalib.php.

Here is the call graph for this function:

Definition at line 110 of file testdatalib.php.

Here is the call graph for this function:

Definition at line 72 of file testdatalib.php.

Here is the call graph for this function:

Definition at line 119 of file testdatalib.php.

Here is the call graph for this function:

Definition at line 81 of file testdatalib.php.

Here is the call graph for this function:


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