J. King
29667464a1
Remove unnecessary namespace imports
2019-09-05 10:03:32 -04:00
J. King
bab4174a17
Move database driver helps out of test cases
2019-08-25 13:19:11 -04:00
J. King
e92bda5373
Various changes:
...
- Fix handling of binary data and long strings
- Simplify handling of socket connections
- Fix coverage
2019-01-15 08:58:11 -05:00
J. King
e501fbdc87
Remove the DatabaseInformation class in tests and use traits instead
2019-01-12 12:43:06 -05:00
J. King
81acba90dc
Use strict equality when comparing strings
2019-01-11 10:38:06 -05:00
J. King
f0d30c2eee
Make munging of queries a generic feature
2018-12-21 12:35:10 -05:00
J. King
913cf71620
Fix incorrect annotations
2018-12-07 20:36:20 -05:00
J. King
089f666de6
Fix PDO insert ID errors in PHP 7.1
2018-12-06 17:46:00 -05:00
J. King
cf896121b2
Style fixes
2018-12-05 17:28:11 -05:00
J. King
8dfedd30ef
Test PostgreSQL schema upgrade
...
This was in fact buggy due to the schema version check causing an error
2018-11-28 10:46:23 -05:00
J. King
8a49202036
Use common cleanup code for all database-related tests
2018-11-27 14:26:33 -05:00
J. King
dccd4caede
Convert one database function test series (articles) to a common harness
...
Also revert the dropping of tables in the schema files. This was for the
convenience of tests, but the risk of data loss is too great
2018-11-24 23:18:17 -05:00
J. King
7340d65c0e
Make data clearing in tests static
2018-11-23 10:01:17 -05:00
J. King
8c20411359
Align statement tests with other database driver tests
2018-11-22 23:18:20 -05:00
J. King
f22e53fdc9
Align result tests with driver tests
2018-11-22 19:55:54 -05:00
J. King
aa1b65b5d4
Take a different tack on shared database tests
...
Tests for different drivers will have their own files, but all derive
from a common prototype test series where applicable, similar to the
existing arrangement for database function tests. However, the prototype
will reside with other test cases rather than in the library path. The
database function test series will hopefully be moved as well in time.
2018-11-22 13:55:57 -05:00
J. King
976672de5b
Test cleanup
2018-11-16 21:32:27 -05:00
J. King
7e11019e83
Consolidate statement tests
2018-11-09 14:58:10 -05:00
J. King
a3dbb08da9
Remove obsolete test code
2018-11-08 16:29:46 -05:00
J. King
30d6f6db37
Consolidate Db result test series into single file
2018-11-08 14:50:58 -05:00
J. King
2dd1b45d3e
Cover the Query class with database tests for now
2018-11-06 12:51:34 -05:00
J. King
d40243a84c
Clean up configuration setting in tests
2018-11-04 09:16:34 -05:00
J. King
f64f0c6a22
Whitespace cleanup
2018-10-26 14:58:04 -04:00
J. King
ba0aeab7ec
Make SQL statement type conversion use ValueInfo normalizer
...
This sees the addition of a dateOutFormat parameter to ValueInfo::normalize(), as well as a general simplification of how parameter binding works.
Some value type-casting results are slightly different, but this simply makes SQL statement objects consistent with the rest of the system.
2017-12-30 18:50:56 -05:00
J. King
bc9fcb975f
Change "rebind" to "retype" to better reflect what actually happens
2017-12-30 17:04:21 -05:00
J. King
31aea0a06a
PDO-SQLite type binding tests
...
Db namespace is now back to full coverage
2017-12-30 16:16:59 -05:00
J. King
39cad91b78
CS fixes
2017-12-22 11:51:58 -05:00
J. King
a5318d1b12
Part 2
2017-12-22 11:45:24 -05:00
J. King
4bada691e9
PDO tests and fixes; improves #72
2017-12-19 19:08:08 -05:00
J. King
ad6a09ffa1
Partially tested pdo_sqlite driver; improves #72
2017-12-19 17:15:05 -05:00