1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 17:12:41 +00:00
Commit graph

39 commits

Author SHA1 Message Date
J. King
2348786a92 Start on replacing Phake with Phony 2021-02-27 15:24:02 -05:00
J. King
3ac010d5b6 Fix tests in absence of database extensions 2020-10-30 12:16:03 -04:00
J. King
bc53a2d24a Style fixes 2020-03-01 15:16:50 -05:00
J. King
b5f118e8cb Cleanup 2020-01-20 13:52:48 -05:00
J. King
bbace7a0ac Use void and nullable return types where practical 2020-01-20 13:34:03 -05:00
J. King
de424e42f6 Merge branch 'master' into phpunit-8 2019-11-14 11:51:38 -05:00
J. King
b6dd8ab20d Improvements to and proper tests for query builder 2019-10-18 13:11:03 -04:00
J. King
17a2fa96f8 Upgrade to PHPUnit 8 2019-10-16 14:42:43 -04:00
J. King
d0f780d4e6 Unit tests for IN() clause generator 2019-09-11 15:25:26 -04:00
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
e501fbdc87 Remove the DatabaseInformation class in tests and use traits instead 2019-01-12 12:43:06 -05:00
J. King
f0d30c2eee Make munging of queries a generic feature 2018-12-21 12:35:10 -05:00
J. King
2bebdd44cf Implementation of native PostgreSQL interface
Changes to the Database class were required to avoid outputting booleans
2018-12-13 19:47:51 -05:00
J. King
73729a6be8 Simplify database cleanup between tests 2018-12-10 13:17:04 -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
c4ca9149a1 Move Statement tests 2018-11-09 15:01:46 -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
bc9ffa0e17 Rewrite SQLite 3 type binding tests 2017-12-30 15:59:45 -05:00
J. King
a5318d1b12 Part 2 2017-12-22 11:45:24 -05:00
J. King
095fe10aec Reorganize PDO tests into namespaces 2017-12-22 11:41:54 -05:00
J. King
ef75b5e9ab SQLite driver tweaks 2017-12-19 12:11:49 -05:00
J. King
3adfe8742f Reorganize test cases 2017-12-07 15:46:49 -05:00