J. King
4a2efd9987
Correct the state of PostgreSQL serial sequence during tests
6 years ago
J. King
dd4f22e04e
Avoid use of reserved SQL word "user"
6 years ago
J. King
0f7baf4b51
Base MySQL schema
Note the columns "key" and "read" must be quoted in addition to "user".
6 years ago
J. King
10b228224d
Correct PostgreSQL data format and other tweaks
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
d0db784b22
PostgreSQL schema tweak
6 years ago
J. King
93af381436
Test setting of schema name
6 years ago
J. King
1414f8979c
Fix savepoint handling and locking in PostgreSQL driver
6 years ago
J. King
8a49202036
Use common cleanup code for all database-related tests
6 years ago
J. King
925560d4ba
Cleanup
6 years ago
J. King
a75fad53ca
Adapt the rest of the test series
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
36c5984c47
Add drop statements to database schemata to simplify testing
6 years ago
J. King
7340d65c0e
Make data clearing in tests static
6 years ago
J. King
39110858b7
Move database function test series as first step in re-organization
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
8103d37bc7
Dev dependency update
6 years ago
J. King
736a8c9d0c
Improved timeout handling for both SQlite and PostgreSQL
6 years ago
J. King
4e444fd86c
Generic database interface creation in tests
6 years ago
J. King
c0c4810662
Nominally complete PostgreSQL driver
Connection error handling as well as uprade error handling still need
to be implemented.
6 years ago
J. King
84b4cb7465
Enable PostgreSQL statement testing
Tests involving binary data are skipped for now
6 years ago
J. King
d52af6db5a
PostgreSQL fixes
Errors were not correctly throwing exceptions
For the sake of SQLite compatibility booleans should be bound as
integers in PDO
6 years ago
J. King
e2b6cb8360
Remove PicoFeed-related FIXMEs
PicoFeed will never be fixed, so they are not helpful
6 years ago
J. King
b5733b070c
Clean up statement tests
PostgreSQL tests are suppressed for now, but most pass.
6 years ago
J. King
e30d82fbaa
Correct signature
6 years ago
J. King
976672de5b
Test cleanup
6 years ago
J. King
edfae438fa
Refine pg connection strings
6 years ago
J. King
796315c00c
Basic stub of PDO-base PostgreSQL driver
6 years ago
J. King
c63d24e125
Version bump
6 years ago
J. King
471dad0645
Fix PDO driver initialization
6 years ago
J. King
c4ca9149a1
Move Statement tests
6 years ago
J. King
7e11019e83
Consolidate statement tests
6 years ago
J. King
ea6b4c951e
Skip Result tests when necessary
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
ffea7e804a
Sync Composer locks
6 years ago
J. King
467cc66cc8
Update changelog
6 years ago
J. King
3b3b810f10
Replicate some unspecified NCNv1 behaviour, and document the rest
See #139 for list
Closes #139
Closes #140
Closes #141
6 years ago
J. King
1dcbb56077
Changelog and documentation updates
6 years ago
J. King
63ae6fb703
Merge remote-tracking branch 'remotes/origin/user-rewrite'
6 years ago
J. King
3a4100576a
Merge remote-tracking branch 'remotes/origin/cli-overhaul'
6 years ago
J. King
39134f5f7e
Rest of CLI tests
6 years ago
J. King
4869559fb3
Test NCNv1 user query
6 years ago
J. King
2dd1b45d3e
Cover the Query class with database tests for now
6 years ago
J. King
efac62f0e4
Add missing return type hints where possible
6 years ago
J. King
9e6f0460c2
Ensure the Lang class always exists when throwing exceptions
6 years ago
J. King
ba8e208d79
Partial CLI tests
6 years ago
J. King
1a8acdf03f
Fix early exceptions
6 years ago