Commit Graph

41 Commits

Author SHA1 Message Date
Petr Skoda e5dadefafc MDL-24322 grrr, fixing my previous commit, sorry Eloy 2010-09-21 10:40:48 +00:00
Petr Skoda 7c0808b6b8 MDL-24322 temporary working for broken prev/next handling in xmldb 2010-09-21 10:18:30 +00:00
Petr Skoda ac6f1a82f9 MDL-24321 switching to stdClass 2010-09-21 07:57:42 +00:00
Petr Skoda 209e00185b MDL-24276 abstract static methods not allowed since PHP 5.2, thanks Anthony Borrow for pointing this out 2010-09-18 22:43:51 +00:00
Petr Skoda 9d1ddd3743 fixed spelling errors 2010-09-17 20:20:24 +00:00
Petr Skoda 7e67b7b79e MDL-19057 more create_table tests for broken structure of table 2010-09-13 19:05:46 +00:00
Eloy Lafuente 67a2f1c1d7 MDL-22804 hyphens in index names - Now the big-four handle/quote them properly 2010-06-16 16:15:23 +00:00
Eloy Lafuente 2ab686ee71 MDL-21868 mssql generator - improve integer meta type detection + test 2010-03-21 19:36:50 +00:00
Eloy Lafuente d61b3d0269 MDL-21834 DDL tests - fix concurrent temp tables for mssql + 1 incorrect test 2010-03-17 01:34:29 +00:00
Eloy Lafuente fbff152d22 MDL-21834 DDL tests - reveal some problems using concurrent temp tables 2010-03-16 19:02:18 +00:00
Petr Skoda 117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
skodak 0629a32e51 MDL-20624 fixed problem with PREV/NEXT dev hack in unittests 2009-10-22 14:40:29 +00:00
stronk7 15a0ffc8f0 MDL-20349 find_sequence_name() is out. No need to use it anymore. 2009-10-11 21:52:40 +00:00
stronk7 17f8278c34 MDL-19057 fix default test, rename one reserved word ("number") and add a few more default tests 2009-09-24 21:55:44 +00:00
stronk7 8127db52db Added some DDL tests to check for proper empty defaults. 2009-09-22 17:57:08 +00:00
stronk7 bad9a043a4 Test drop_enum_from_field() and friends. Interim tests for the 1.9 => 2.0
upgrade. Will be out after branching for 2.1
2009-09-09 12:55:01 +00:00
stronk7 f94f10ca81 temp tables behaviour change: exception if exits on creation (like normal tables) 2009-09-09 09:41:37 +00:00
stronk7 4ff402d68e MDL-15181 temporary tables support. No more differences in table_exists() +
implemented temptables store for mysql.
2009-08-31 15:47:46 +00:00
stronk7 b1ca138716 SQL generators must not execute changes in DB. Just provide the needed SQL
in order to make database_manager to execute it. reset_sequence reimplemented.
2009-08-31 14:23:40 +00:00
stronk7 c6ea7fc24e Clean-up some conflicts introduced in my prev commit. 2009-08-30 23:18:24 +00:00
stronk7 f78c21037e MDL-19057 adding some pending bits 2009-08-30 23:04:35 +00:00
stronk7 f906838a4e Added some more tests to temp tables to show current implementation problems in mysql and mssql. Fix coming soon. 2009-08-29 01:17:57 +00:00
stronk7 eb8f775d97 Fix one wrong test. To get defaults applied, new column must be not null. 2009-08-28 01:14:32 +00:00
stronk7 e871fb87bb workarround MSSQL (RDBMS) bug with float types. Not important as far as
we don't use floats within Moodle, but XMLDB layer supports them.
2009-08-25 21:06:14 +00:00
stronk7 c5ec08d67e MDL-19057, MDL-19974 DDL tests - WIP: from 365 to 473 tests (add/drop field and change_field_type) 2009-07-30 22:12:42 +00:00
skodak e6c6531cce MDL-19689 fixed strictness constants, thanks Tim 2009-07-04 09:30:59 +00:00
skodak af12ea93ba MDL-19689 new $strictness parameter in $DB->get_record() and $DB->get_field() family of DML methods 2009-07-03 22:38:56 +00:00
stronk7 122e7ef56c MDL-19057 ddl tests - slowly advancing. Added some test to check for MDL-19695 behaviour 2009-07-02 16:13:30 +00:00
stronk7 86ffb13965 MDL-19057 ddl tests - complete a bit ddl table tests (and partially drop enum fields) 2009-06-28 22:12:20 +00:00
stronk7 db3a1eb8fd MDL-19579 code coverage - prepare ddl & moodlelib tests to support code coverage 2009-06-23 09:30:59 +00:00
skodak 94b6329544 MDL-14679 license header fixes 2009-06-12 08:44:49 +00:00
stronk7 f9ecb1716d MDL-18577 drop enums support - fixed dml/ddl tests to be runnable once enums are out. Some
are failing but will be fixed/completed soon by MDL-19057
2009-05-03 23:46:40 +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 0bd364c1d7 MDL-17020 dml: native pgsql driver - ddl unittest more robust - fixed typo, thanks ELoy! 2008-10-27 15:54:36 +00:00
skodak a65b0be43f MDL-17020 dml: native pgsql driver - ddl unittest more robust 2008-10-27 15:50:32 +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 eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00
skodak 3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00