Commit graph

432 commits

Author SHA1 Message Date
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
30899510c1 MDL-19057 fixed bitwise ops - all credit goes to Eloy Lafuente 2010-09-13 08:47:22 +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
Petr Skoda
cc4ac9ffa9 MDL-19057 test_set_debug() now tests get_debug() too 2010-09-06 14:28:57 +00:00
Petr Skoda
654f9f175a MDL-19057 new test_set_debug() 2010-09-06 14:20:20 +00:00
Petr Skoda
d868e87934 MDL-19057 fixed more phpdocs 2010-09-06 14:11:38 +00:00
Petr Skoda
ded99d1ab2 MDL-19057 fixed phpdocs 2010-09-06 14:10:52 +00:00
Petr Skoda
bb3f9a0ad2 MDL-19057 new test_setup_is_unicodedb() 2010-09-06 14:10:09 +00:00
Petr Skoda
6903b52fb4 MDL-19057 new test_get_manager() 2010-09-06 14:07:41 +00:00
Petr Skoda
1a7fa6bb00 MDL-19057 enhanced test_get_columns() 2010-09-06 14:03:32 +00:00
Petr Skoda
5d1e1ad0ce MDL-19057 test_get_indexes() moved and fixed name 2010-09-06 13:43:21 +00:00
Petr Skoda
e0962d2074 MDL-19057 test_get_tables() improved 2010-09-06 13:42:01 +00:00
Petr Skoda
8ba0e4a066 MDL-19057 test_fix_sql_params() improvements 2010-09-06 13:34:05 +00:00
Petr Skoda
40d3df5cf6 MDL-19057 improved coding style 2010-09-06 13:17:05 +00:00
Petr Skoda
7395209ab9 MDL-19057 added type checking int otest_get_in_or_equal() 2010-09-06 13:12:25 +00:00
Petr Skoda
a1782c361c MDL-19057 moving test to match order in moodle_database 2010-09-06 13:06:35 +00:00
Petr Skoda
73040360d6 MDL-19057 new test_get_server_info() 2010-09-06 13:01:00 +00:00
Petr Skoda
324715c802 MDL-19057 new diagnose() method test 2010-09-06 12:55:58 +00:00
Petr Skoda
89e87570b6 MDL-19057 fixed docs 2010-09-06 12:50:17 +00:00
Petr Skoda
f358b06a1e MDL-19057 fixed get instance docs 2010-09-06 12:47:57 +00:00
Petr Skoda
f12768798b MDL-16853 improver set_field() unittests, hopefully this would detect any potential Oracle problems mentioned in tracker 2010-09-05 16:18:21 +00:00
Petr Skoda
2b3ccae5f9 MDL-14679 more get_field() unittests 2010-09-05 15:48:19 +00:00
Petr Skoda
d7f42e77e6 MDL-14679 improved get_filed tests 2010-09-05 15:36:06 +00:00
Petr Skoda
16114b9db8 MDL-24080 new $notlike parameter added to our new sql_like(), hopefully nobody started using the $escaped param yet; unittests included 2010-09-04 14:39:01 +00:00
Petr Skoda
2f8eea3415 MDL-24079 finally the sql_ilike() is deprecated 2010-09-04 14:23:50 +00:00
Petr Skoda
0e6e90516a MDL-24028 cast all bools in DML params to integers 1/0; credit goes to Eloy Lafuente 2010-09-03 15:44:11 +00:00
Petr Skoda
7d8f881a49 MDL-23997 using strings instead of integers in binding emulation - this should be compatible both with int and nvarchar sql types 2010-09-02 10:24:40 +00:00
Petr Skoda
bb980cce0b MDL-23997 even more unittests detecting failures in sqlsrv driver 2010-09-01 16:05:17 +00:00
Petr Skoda
057865c017 MDL-23997 more unittests detecting failures in sqlsrv driver 2010-09-01 15:54:16 +00:00
Eloy Lafuente
e016d12603 NOBUG mssql driver, fix some wrong uses recently introduced 2010-08-30 13:45:26 +00:00
Eloy Lafuente
41276c9ed8 MDL-23997 add some unconvertible contents to the tests, just to be sure 2010-08-30 12:24:42 +00:00
Eloy Lafuente
7a45a5f1ec MDL-23997 modified char comparison tests to ensure they are executed without metadata at all 2010-08-30 12:05:35 +00:00
Eloy Lafuente
c899cbeae9 MDL-23997 re-added text comparison tests for bound query now using sql_compare_text() properly. 2010-08-30 11:46:34 +00:00
Petr Skoda
2a72392d59 MDL-23997 new tests for bound query compatibility - reverting text comparison, we need param type hints for that 2010-08-30 10:51:50 +00:00