Commit Graph

37 Commits

Author SHA1 Message Date
stronk7 37d975e11f Fix tests (missing declaration) and add tests for sql_length() 2009-02-15 23:43:34 +00:00
skodak 117679db37 MDL-17859 implemented caching in get_tables() 2009-01-12 18:10:50 +00:00
stronk7 c362878ed7 MDL-17645 delete_records_list - Tidied a bit return values. Fix behaviour when no values are passed + new dml tests for all *_list() functions. 2008-12-15 21:41:09 +00:00
skodak 66e75f8d51 MDL-17491 experimental native oracle driver - still bugy and incomplete, this will require more core changes, grrrrrr 2008-12-05 00:10:27 +00:00
skodak 9d833e931c MDL-17522 improved dml tests, fixed use of reserved word "number" 2008-12-04 23:16:35 +00:00
skodak 3ff8bf266b MDL-17522 improved dml tests, fixed sql LIMIT support in native drivers 2008-12-04 11:52:53 +00:00
skodak e6df37346f MDL-17408 DML: new sql_modulo() method + test 2008-11-26 08:19:45 +00:00
skodak 082ae8215e MDL-15837 more dml unit tests 2008-11-22 19:32:16 +00:00
skodak 6ff835b79e MDL-15837 improved dml unit testing 2008-11-22 16:48:34 +00:00
skodak 758ba89a63 MDL-17347 reintroduced duplicate tests in get_records_sql() 2008-11-21 22:35:21 +00:00
skodak be415e95be MDL-17354 moved reset_sequence into dbmanager 2008-11-21 21:40:50 +00:00
skodak 22d77567a9 MDL-17317 DML: Exceptions used by all drivers now :-) expect some more commits/cleanup soon 2008-11-21 20:09:13 +00:00
skodak 6e22a695d8 MDL-17129 dml: fixed dml exception handling in unit tests 2008-11-05 00:05:18 +00:00
skodak 655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
skodak beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
skodak fb76304b3b MDL-17020 dml: native pgsql driver - implementation and unittests of transactions 2008-10-27 20:21:04 +00:00
skodak d246cdd2f9 MDL-17020 dml: native pgsql driver - support for bytea updating 2008-10-27 15:42:52 +00:00
skodak db7aea3818 MDL-17020 dml: native pgsql driver - support for bytea reading 2008-10-27 15:31:11 +00:00
skodak 80ffbad34b MDL-17020 dml: native pgsql driver - fixing/improving unittests; fixed column names in indexes 2008-10-27 12:33:09 +00:00
skodak 334ce0266d MDL-17020 dml: native pgsql driver - fixing/improving unittests 2008-10-27 12:10:24 +00:00
skodak 9eb86c4a0d MDL-17020 dml: native pgsql driver - fixing/improving unittests 2008-10-27 12:01:15 +00:00
nicolasconnault c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
nicolasconnault b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
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