J. King
e501fbdc87
Remove the DatabaseInformation class in tests and use traits instead
6 years ago
J. King
f0d30c2eee
Make munging of queries a generic feature
6 years ago
J. King
2bebdd44cf
Implementation of native PostgreSQL interface
Changes to the Database class were required to avoid outputting booleans
6 years ago
J. King
73729a6be8
Simplify database cleanup between tests
6 years ago
J. King
089f666de6
Fix PDO insert ID errors in PHP 7.1
6 years ago
J. King
cf896121b2
Style fixes
6 years ago
J. King
8dfedd30ef
Test PostgreSQL schema upgrade
This was in fact buggy due to the schema version check causing an error
6 years ago
J. King
8a49202036
Use common cleanup code for all database-related tests
6 years ago
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
6 years ago
J. King
7340d65c0e
Make data clearing in tests static
6 years ago
J. King
8c20411359
Align statement tests with other database driver tests
6 years ago
J. King
f22e53fdc9
Align result tests with driver tests
6 years ago
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.
6 years ago
J. King
976672de5b
Test cleanup
6 years ago
J. King
c4ca9149a1
Move Statement tests
6 years ago
J. King
7e11019e83
Consolidate statement tests
6 years ago
J. King
a3dbb08da9
Remove obsolete test code
6 years ago
J. King
30d6f6db37
Consolidate Db result test series into single file
6 years ago
J. King
2dd1b45d3e
Cover the Query class with database tests for now
6 years ago
J. King
d40243a84c
Clean up configuration setting in tests
6 years ago
J. King
a52b985826
Cover the Query class with database tests for now
6 years ago
J. King
f64f0c6a22
Whitespace cleanup
6 years ago
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.
7 years ago
J. King
bc9fcb975f
Change "rebind" to "retype" to better reflect what actually happens
7 years ago
J. King
bc9ffa0e17
Rewrite SQLite 3 type binding tests
7 years ago
J. King
a5318d1b12
Part 2
7 years ago
J. King
095fe10aec
Reorganize PDO tests into namespaces
7 years ago
J. King
59fee52074
Reorganize tests into namespaces
7 years ago
J. King
ef75b5e9ab
SQLite driver tweaks
7 years ago
J. King
3adfe8742f
Reorganize test cases
7 years ago