Eloy Lafuente (stronk7)
86f456d8f0
MDL-27325 Adding some extreme, but 32bits safe, float tests
2011-05-06 16:07:17 +02:00
Eloy Lafuente (stronk7)
0c4c6d468a
MDL-27325 Now also testing update_record and set_field
2011-05-06 16:07:17 +02:00
Tim Hunt
6531aff715
MDL-27325 New DB unit tests to demonstrate the problem.
2011-05-06 16:07:17 +02:00
Petr Skoda
c49bec382c
MDL-27148 fix unit tests to accept arbitrary named params format from get_in_or_equal
2011-04-14 15:12:33 +02:00
Eloy Lafuente (stronk7)
c7ce62f9c8
MDL-26542 get_in_or_equal - adding $onemptyitems + tests
2011-03-30 18:22:53 +02:00
Eloy Lafuente (stronk7)
7a5852c857
Merge branch 'w12_MDL-26844_20_limittests' of git://github.com/skodak/moodle
2011-03-21 15:35:17 +01:00
Petr Skoda
3d24c50144
MDL-26844 fix use of invalid integers in dml tests
2011-03-16 16:08:55 +01:00
Petr Skoda
200b4556d7
MDL-26842 make sure query parameter names are not reserved words in oracle driver
2011-03-16 15:20:32 +01:00
Aparup Banerjee
7fedc2c25e
lib MDL-26458 adding unit tests to test cursors.
...
-added test with limits and order by with table aliases to test_get_records_sql()
-added test_recordset_locks_delete() and test_recordset_locks_update()
- added out of range limits test to test_get_records_sql()
2011-03-05 01:18:36 +08:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7)
d911c72bf9
MDL-26333 dml - fix test (AS not in tables/views)
2011-02-09 18:21:37 +01:00
Eloy Lafuente (stronk7)
9ac8ff207c
dml-sqlsrv MDL-26025 whitespace fix
2011-02-07 22:33:26 +01:00
Sam Hemelryk
046ff94ec8
dml-sqlsrv MDL-26025 Fixed up typo in simpletests and added a couple more tests
2011-02-07 11:23:30 +08:00
Sam Hemelryk
7e1bd89d32
sqlsrv MDL-26025 Fixed up numerous issues with the limit_to_top_n function
2011-02-07 10:33:49 +08:00
Eloy Lafuente (stronk7)
e8615eaf0e
MDL-25749 dml - added integer-exclusive concat tests
2010-12-22 18:48:45 +01:00
Eloy Lafuente
39cf0e8e74
MDL-24863 unit tests - tidy up a bit some tests
2010-11-18 14:02:02 +00:00
Petr Skoda
9ecf4f44e4
fixing regression in the last commit
2010-11-18 06:26:27 +00:00
Aparup Banerjee
011bfd2a54
database MDL-24863
...
- added restricting text conditions to where_clause , it throws a dml_exception when detected.
- also added to where_clause throwing dml_exception for field that doesn't exist in table.
- added unit tests for text condition restricting.
- added 2 unit tests for set_field_select() testing 'auto-casting params to int problem' fix
2010-11-18 06:00:51 +00:00
Eloy Lafuente
a018adf038
MDL-25276 dml - completed sql_cast_char2int/real tests to reveal some problems
2010-11-18 01:10:41 +00:00
Eloy Lafuente
3a55ee2f5e
MDL-25268 dml - improved limitnum/limitfrom regexp in ms drivers + tests
2010-11-17 10:39:56 +00:00
Eloy Lafuente
5d31799af8
MDL-24397 dml - added some tests for limits with subqueries
2010-10-28 10:53:55 +00:00
Petr Skoda
422b75a712
mysql comparison weirdness finally detected
2010-10-04 08:21:53 +00:00
Petr Skoda
e5d1410b23
enhanced int comparison test
2010-10-04 08:12:28 +00:00
Petr Skoda
4e6e2a51f6
adding a test that should detect problems with string x int comparison
2010-10-04 08:00:45 +00:00
Petr Skoda
ac6f1a82f9
MDL-24321 switching to stdClass
2010-09-21 07:57:42 +00:00
Petr Skoda
4e9996127a
new test for diagnosing of Postgresql 9.0 problems with BLOBS
2010-09-20 21:59:34 +00:00
Petr Skoda
27323c97ab
MDL-19057 more tests for unlikely id reuse
2010-09-16 07:38:36 +00:00
Petr Skoda
4a8b5434e5
MDL-19057 fixed incorrect use of conditions
2010-09-14 19:17:56 +00:00
Petr Skoda
ebb8d35846
MDL-19057 fixed param test
2010-09-14 18:45:58 +00:00
Petr Skoda
ebdf7f7e4d
MDL-19057 refactored code used for detection of debug output
2010-09-13 18:55:41 +00:00
Petr Skoda
969cb35fdf
MDL-19057 import_record() tests completed
2010-09-13 18:32:47 +00:00
Petr Skoda
258a66dcce
MDL-19057 fixed incorrect array_shift
2010-09-13 09:16:38 +00:00
Petr Skoda
e586aa397e
MDL-19057 improved bit operation tests - now testing placeholders too
2010-09-13 09:05:46 +00:00
Petr Skoda
c72b9900ed
MDL-19057 improved bitand tests
2010-09-13 08:53:17 +00:00
Petr Skoda
a189ac81ae
MDL-19057 improved delete_records() test
2010-09-13 08:35:24 +00:00
Petr Skoda
4a79777cdd
MDL-19057 add comment to test tables so that ppl know they can be safely dropped
2010-09-07 08:58:05 +00:00
Petr Skoda
463776cacc
MDL-19057 simplified test table management
2010-09-07 08:48:09 +00:00
Petr Skoda
98cf713bd4
MDL-19057 better use similar table names for each DML test - this helps with cleanup of leftovers
2010-09-07 08:37:39 +00:00
Petr Skoda
8170809d52
MDL-19057 fixed debug regression, going to refactor this into new methods soon
2010-09-07 07:56:27 +00:00
Petr Skoda
5ab41c2758
MDL-19057 improved test_update_record_raw()
2010-09-06 19:55:49 +00:00
Petr Skoda
8ca7b3dfb1
MDL-19057 more insert and import record improvements
2010-09-06 19:45:03 +00:00
Petr Skoda
3b63379634
MDL-19057 one more insert_record_raw test
2010-09-06 19:37:30 +00:00
Petr Skoda
4d7b046739
MDL-19057 improved insert_record testing
2010-09-06 19:34:33 +00:00
Petr Skoda
7374c35c3a
MDL-19057 improved test_insert_record_raw()
2010-09-06 19:07:19 +00:00
Petr Skoda
66556e7ac0
MDL-19057 minor coding style cleanup
2010-09-06 17:40:12 +00:00
Petr Skoda
76f8ddc053
MDL-19057 minor coding style improvements
2010-09-06 17:28:02 +00:00
Petr Skoda
8efd88650e
MDL-19057 improved recordset testing
2010-09-06 17:12:38 +00:00
Petr Skoda
dec3252935
MDL-19057 minor recordset improvements
2010-09-06 17:06:20 +00:00
Petr Skoda
4fd074986b
MDL-19057 improved test_fix_table_names()
2010-09-06 16:45:26 +00:00
Petr Skoda
6c5721ffa1
MDL-19057 real life tests in test_execute() + renamed test
2010-09-06 15:20:44 +00:00