522 Commits

Author SHA1 Message Date
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
Eloy Lafuente
78b3faa98c NOBUG mssql - nasty regression causing silent script abort without notice at all, grrr. 2010-08-30 10:45:54 +00:00
Petr Skoda
9ac5fdf82b MDL-23997 new tests for bound query compatibility 2010-08-30 08:28:18 +00:00
Petr Skoda
d533e6d7e3 MDL-23925 hopefully finalised unit tests for case and accent insensitive problems 2010-08-25 20:26:23 +00:00
Petr Skoda
915ee3f9df MDL-23925 completely reverting binary comparison hack, we have to instruct admins to setup case+accent sensitive collation as default instead 2010-08-25 11:18:37 +00:00
Petr Skoda
5a9c25e8fc MDL-23925 more unit tests that should help with diagnostics of collation issues; fixed utf-8 issues with first char of my nick 2010-08-25 10:14:47 +00:00
Petr Skoda
9a1e8c5e52 MDL-23925 reverting changes, we need to fix uniqueness and collation issues first 2010-08-25 09:35:18 +00:00
Petr Skoda
6055f89d30 MDL-23925, MDL-23888 new sql_ilike() and sql_binary_equal() - this should finally allow us to solve many collation issues consistently for all supported databases; please note this changes some behaviour for non-english languages when mysql used; expect more commits that actually make use of these new features 2010-08-24 21:50:53 +00:00
Petr Skoda
a4411e56aa MDL-15093 fixed recent LIKE escape regression 2010-08-23 08:06:02 +00:00
Petr Skoda
38ead57d34 MDL-14679 more phpdocs improvements - fixed param types 2010-08-22 19:32:37 +00:00
Petr Skoda
3d54726fd4 MDL-14679 more phpdocs improvements 2010-08-22 19:26:48 +00:00