Commit Graph

14 Commits

Author SHA1 Message Date
skodak 94898738ff MDL-15671, MDL-15717 DB->import_record() support - code based on patch by Andrei Bautu; added new param to raw insert; unit tests included 2008-08-25 21:00:47 +00:00
tjhunt 1d861fce06 MDL-16141 Need an sql_position method to do POSITION(needle IN haystack) on crappy databases; and
MDL-16140 Table "testtable" already exists messages when re-running dml unit tests after a crash - make it self-healing.
2008-08-20 06:51:46 +00:00
nicolasconnault 3ee3b8c593 MDL-15837 Fix errors in unit tests 2008-08-18 15:07:31 +00:00
nicolasconnault c824e1e16d MDL-15924 Added CLOB and BLOB tests 2008-08-07 12:59:44 +00:00
stronk7 b0cb2290f0 Added some functional tests to check the recordset keys. MDL-15798 2008-07-28 23:08:57 +00:00
nicolasconnault 767172e4d5 MDL-14958 Enum and default tests 2008-07-18 08:46:53 +00:00
skodak 16a5642c69 MDL-14679 var_export now used instead of addsingleslashes in installer; refactored the database setting initialisation 2008-06-22 22:53:40 +00:00
skodak eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00
nicolasconnault 50a12c87ce MDL-14905 Finished all basic tests. It should now be easy to extend these tests with more boundary conditions 2008-06-20 09:40:03 +00:00
nicolasconnault 0088bd3167 MDL-14905 Added more unit tests, plus stubs for all methods to be tested. Also fixed a bug in moodle_database:get_recordset_list(), which was using " AND " between values instead of " OR " 2008-06-18 14:53:01 +00:00
nicolasconnault b579f0dbde MDL-14905 Removed table creation and data insertion from setUp() method, and put simple versions of these in each test method needing them. 2008-06-18 11:12:19 +00:00
nicolasconnault 7f9f11b5d4 MDL-14905 Added subclass of moodle_database for testing, plus some unit tests. 2008-06-16 15:41:23 +00:00
skodak 6807d2b3c6 MDL-14905 towards functional DB tests 2008-06-15 11:53:05 +00:00
skodak 3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00