stronk7
08f4df55cb
MDL-18577 drop enums support - added 2 more basic xmldb tests
2009-05-03 16:06:14 +00:00
stronk7
e849e86891
MDL-18577 drop enums support - step3: Fix XMLDB own tests + new tests for dropping enums
2009-05-01 23:53:14 +00:00
skodak
eee5d9bb85
MDL-14956 DDL exceptions
2008-06-22 16:51:55 +00:00
skodak
fd1d37290f
comment fix
2008-06-05 14:10:55 +00:00
skodak
eb2ce497bc
comment fix
2008-06-05 14:09:59 +00:00
skodak
a5d424df7c
MDL-14679 converted some get/set_field()
2008-06-02 21:39:23 +00:00
stronk7
69b80cc2eb
4th iteration committed: xmldb_field, xmldb_index and xmldb_key "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863
2008-05-22 00:09:59 +00:00
stronk7
5eaa41e8bc
3rd iteration committed: xmldb_table "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863
2008-05-21 17:55:23 +00:00
stronk7
a8cb94f66f
MDL-14863 - 1st iteration: lowercase XMLDB table, field, index, key and statement +
...
wrapper class to support old syntax (no changes in public API yet)
2008-05-20 23:24:40 +00:00
stronk7
c6ad174104
There was one "phantom" test + minor improvements for robustness.
2008-05-19 00:16:48 +00:00
skodak
f33e1ed4ae
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
2008-05-15 21:40:00 +00:00
nicolasconnault
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
stronk7
3e38ceb837
Added some new test to check double creation
...
and deletion of enums (check constrainsts). MDL-9356
2007-09-11 18:35:23 +00:00
stronk7
367b80f5ee
Added one new test to change precission of a numeric field
...
to a smaller one. It breaks Oracle in its current status.
Merged from MOODLE_18_STABLE
2007-09-04 22:13:30 +00:00
stronk7
b4c0ce9fcb
Wrong default specified (and detected!). Fixed.
2007-08-11 22:06:46 +00:00
stronk7
365a18e4b8
Reverting deleted addslashes(). They are needed for proper testing after all.
...
Merged from MOODLE_18_STABLE
2007-08-09 18:11:48 +00:00
stronk7
0e60e586cf
Merging latest test changes from MOODLE_18_STABLE
2007-08-09 18:03:26 +00:00
stronk7
bdb794843a
Testing comments and default clauses containing chars to be escaped.
...
Merged from MOODLE_18_STABLE
2007-03-15 19:16:27 +00:00
toyomoyo
007456de61
MDL-8425, fixing xhtml strict issues
2007-02-08 07:12:53 +00:00
stronk7
0b02aefb93
while working, it's better to compare with original data (un-slashed)
...
Merged from MOODLE_17_STABLE
2006-11-14 16:31:33 +00:00
skodak
810944af7f
we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left
2006-11-11 17:23:20 +00:00
stronk7
e0251aea34
Added two more tests:
...
- To check adding numerial fields not null + default = 0
- To test set_field() with TEXT data
Merged from MOODLE_17_STABLE
2006-10-21 17:25:44 +00:00
stronk7
b2b33a1fef
Added 4 more tests to check CLOB/BLOB handling across all DBs. MDL-7062
...
Merged from MOODLE_17_STABLE
2006-10-17 23:31:49 +00:00
stronk7
ba4aa5ec72
Added one more XMLDB test for find_sequence_name()
...
Merged from MOODLE_17_STABLE
2006-10-16 17:58:01 +00:00
stronk7
f8ca405052
re-enabling the rename_field() test
2006-10-02 17:42:31 +00:00
stronk7
3033991184
Set debug off on tests
2006-10-02 16:26:34 +00:00
stronk7
cba6b7049a
Enabling rename_field() test
2006-10-01 23:06:35 +00:00
stronk7
3832682229
Fixed two bugs in the tests...
2006-10-01 16:08:25 +00:00
stronk7
f086dd7da1
Drop one more table if present
2006-09-30 23:09:41 +00:00
stronk7
a59f3a34f3
Initial commit of rename_table(). Not ended!
2006-09-30 22:40:15 +00:00
stronk7
142d7fb842
Added one more test to check the EXPERIMENTAL rename_key() function
2006-09-30 19:45:51 +00:00
stronk7
1c86ef5b1c
Adding support for index renaming. Note that MySQL doesn't support this
...
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:23:00 +00:00
stronk7
aa8503fdd0
Added 3 more tests to check change_field_enum()
2006-09-30 17:06:59 +00:00
stronk7
3650ba6f58
Using the new table_exists() to initialize tests properly.
2006-09-30 15:51:41 +00:00
stronk7
cec4b7c621
Added to more tests to check float <---> char conversion
2006-09-29 23:10:31 +00:00
stronk7
b0cd86786b
Change one test a bit...
2006-09-29 17:29:08 +00:00
stronk7
72fa544947
Moving some tests up and down and introducing some more
...
tests about changing column types. Not working yet unded mssql
2006-09-28 23:16:29 +00:00
stronk7
531bf26489
Adding two more tests (create and drop foreign keys)
2006-09-28 22:11:06 +00:00
stronk7
a8b7de48fe
Adding some more tests about adding and dropping keys
2006-09-28 17:35:52 +00:00
stronk7
0c31ba2813
Adding test for create index and drop index.
2006-09-26 23:08:44 +00:00
stronk7
aa134ecf17
Now the tests are performed with real data (2 records). Added 4
...
more tests to check compatibility of set/drop defaults...
2006-09-25 18:20:08 +00:00
stronk7
c02a561f97
Minor change to test to exclusively test the change of nullability
2006-09-24 15:28:32 +00:00
stronk7
dcf9c14c2b
Typo
2006-09-24 00:13:22 +00:00
stronk7
3fb145e061
Change slighty the tests...
2006-09-24 00:11:53 +00:00
stronk7
27bb1be29d
Inserted two more test
2006-09-24 00:01:02 +00:00
stronk7
05002031d5
adding some more tests
2006-09-23 21:30:36 +00:00
skodak
eef868d17d
major whitespace cleanup - fixed trailng whitespace in new files and admin area
2006-09-20 21:00:45 +00:00
stronk7
12bda5832f
Two more tests added: add_field() and drop_field()
2006-09-12 22:21:51 +00:00
stronk7
a84634a1d4
improved display of errors...
2006-09-10 18:53:47 +00:00
stronk7
f4bb0ad8f7
Adding support for tests of DDL statements within the XMLDBEditor
2006-09-10 18:41:34 +00:00