Eloy Lafuente
bc4fd49d29
NOBUG: Adding 3 new tests that reveal 2 different problems with NAMED params
2010-03-22 14:41:57 +00:00
Eloy Lafuente
63b3d8abb4
MDL-21264 sql_isnotempty() fixed. Thanks Tim!
...
Added (and passed) a bunch of tests for that function.
2010-01-07 14:59:54 +00:00
Eloy Lafuente
ff8c7b2ac8
MDL-19057 DML tests - prevent CLOB/BLOB contents to be in error/pass output
2009-11-30 16:45:07 +00:00
Eloy Lafuente
7baf478491
MDL-20625 concurrent tests - added note about MySQL and MSSQL
2009-11-08 23:15:02 +00:00
Petr Skoda
c0829930c8
MDL-20625 new test for transaction cuncurrency - proposed by Eloy
2009-11-08 19:00:19 +00:00
Petr Skoda
3400bf6cc4
MDL-20625 fixed typos, credit goes to Martin Langhoff
2009-11-07 16:00:13 +00:00
Petr Skoda
d5a8d9aa71
MDL-20625 new delegated transaction support in DML
2009-11-07 08:52:56 +00:00
Eloy Lafuente
e3acc8af7a
MDL-20734 normalise_value() - moving from private to protected everywhere and abstracting
2009-11-04 13:19:11 +00:00
Eloy Lafuente
2f9c1693a0
MDL-20734 Changed tests behaviour so insert/update/set_field will be expected to cast
...
empty strings (in numeric columns) to 0
2009-11-03 19:53:11 +00:00
Eloy Lafuente
fdc45ac360
NOBUG: Added some tests with empty strings in insert_record/update_record/set_field
...
that reveal inconsistencies between DBs
2009-11-03 18:11:18 +00:00
Eloy Lafuente
7c47635220
Added missing PK causing problems in MySQL. Will test that later in
...
proper DDL tests...
2009-11-03 10:20:56 +00:00
Dan Poltawski
8ee8780ebf
lib/dml - 'complicated sql' unit test MDL-19645
...
I have just added one specific example SQL syntax which was breaking on
earlier versions of sqlite. We need to add more variations used throughout
moodle so different engines can be properly tested for compatibility.
2009-10-27 23:25:07 +00:00
stronk7
5d91786a35
MDL-19057 dml tests: Complete limitfrom/limitnum tests and delete some dupes
2009-10-16 14:16:18 +00:00
stronk7
628dff250f
MDL-19057 dml tests: Completed (and passed in all the big four!) the
...
insert_record() and update_record() tests. Including nulls, booleans, zeros, empties,
quotes and backslashes, some php operations, clobs and blobs. Also covering
get_record()/get_recordset() for all those cases.
2009-10-15 22:20:02 +00:00
stronk7
fbabe35a56
MDL-19057 dml tests: Completed (and passed in all the big four!) the
...
set_field_select() tests. Including nulls, booleans, zeros, empties,
quotes and backslashes, some php operations, clobs and blobs. Going
to mimic all them to insert/update_record tests.
2009-10-14 17:53:38 +00:00
stronk7
d578c19757
MDL-19057 No more exceptions in tests for oracle. If tests fail, MDL-20339 can be the culprit.
2009-09-24 13:51:41 +00:00
stronk7
cf874b2949
MDL-17491 dml tests4oracle empties/null/hack added.
2009-09-22 16:26:14 +00:00
stronk7
52a0162647
MDL-17491 oracle native driver: LOB handling near finished + some helper functions
2009-09-22 08:58:22 +00:00
stronk7
515cb65357
MDL-19057 added hack for oracle testing (random oci bug) and some missing close() statements.
2009-09-21 11:32:45 +00:00
stronk7
81f5be122b
s/DB tra/BD Tra/g
2009-09-09 16:35:17 +00:00
stronk7
167cbee855
couple tests for DBs not supporting transactions
2009-09-09 16:33:45 +00:00
stronk7
dd1611a5bd
Pair number of DML tests in all DB, no matter if regexp is supported or no
2009-09-09 13:21:08 +00:00
stronk7
38d0db9f31
Concatenating NULLs with anything returns NULL
2009-08-30 20:53:12 +00:00
stronk7
71a71d591b
Added more sql_concat tests. MySQL and PG broken :-( Fix coming soon.
2009-08-30 16:01:31 +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
d83bcdfcc7
Oops, I left some debugging info in my prev commit.
2009-06-23 08:24:50 +00:00
stronk7
16a2a41273
Fix one test failing depending of the debug/debugdisplay settings.
2009-06-23 00:24:52 +00:00
skodak
4992614541
MDL-19470 fixing DML license headers
2009-06-12 08:14:29 +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
tjhunt
edbc93a7e4
Remove failing unit tests. (We are going to remove enum support from the database layer anyway.)
2009-03-30 01:57:47 +00:00
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