J. King
0d6f8d2921
Avoid most deprecation warnings
The Feed class sets dynamic properties on Picofeed classes; this will
need to be completely rewritten. Version 1.2 of the Laminas XML class
also uses a deprecated function, but upgrading it to 1.3 will require
PHP 7.3.
1 year ago
J. King
2348786a92
Start on replacing Phake with Phony
3 years ago
J. King
bc53a2d24a
Style fixes
4 years ago
J. King
b5f118e8cb
Cleanup
4 years ago
J. King
bbace7a0ac
Use void and nullable return types where practical
4 years ago
J. King
b6dd8ab20d
Improvements to and proper tests for query builder
5 years ago
J. King
17a2fa96f8
Upgrade to PHPUnit 8
5 years ago
J. King
d0f780d4e6
Unit tests for IN() clause generator
5 years ago
J. King
29667464a1
Remove unnecessary namespace imports
5 years ago
J. King
bab4174a17
Move database driver helps out of test cases
5 years ago
J. King
e92bda5373
Various changes:
- Fix handling of binary data and long strings
- Simplify handling of socket connections
- Fix coverage
5 years ago
J. King
e501fbdc87
Remove the DatabaseInformation class in tests and use traits instead
5 years ago
J. King
81acba90dc
Use strict equality when comparing strings
5 years ago
J. King
f0d30c2eee
Make munging of queries a generic feature
5 years ago
J. King
913cf71620
Fix incorrect annotations
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
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.
6 years ago
J. King
bc9fcb975f
Change "rebind" to "retype" to better reflect what actually happens
6 years ago
J. King
31aea0a06a
PDO-SQLite type binding tests
Db namespace is now back to full coverage
6 years ago
J. King
39cad91b78
CS fixes
6 years ago
J. King
a5318d1b12
Part 2
6 years ago
J. King
4bada691e9
PDO tests and fixes; improves #72
7 years ago
J. King
ad6a09ffa1
Partially tested pdo_sqlite driver; improves #72
7 years ago