J. King
89bfc23d32
Standardize date normalization to immutables
...
Also move date formats to the ValueInfo class
Standardizing on immutables avoids any possible ambiguity in the API of the resultant value, as well as any ambiguity as to whether a DateTime output instance is the same instance or a clone (they had been clones)
2018-01-02 16:27:58 -05:00
J. King
65b08d1735
Tweak
2017-12-31 17:30:30 -05:00
J. King
77793f95cb
Controller fixes for PDO databases; fixes #72
2017-12-31 17:24:40 -05:00
J. King
029c23d0cf
Adapt API tests to allow for PDO mocks
2017-12-31 13:58:37 -05: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
bc9ffa0e17
Rewrite SQLite 3 type binding tests
2017-12-30 15:59:45 -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
095fe10aec
Reorganize PDO tests into namespaces
2017-12-22 11:41:54 -05:00
J. King
59fee52074
Reorganize tests into namespaces
2017-12-21 22:47:19 -05:00
J. King
0785f832de
CS fixes
2017-12-19 22:19:42 -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
J. King
ef75b5e9ab
SQLite driver tweaks
2017-12-19 12:11:49 -05:00
J. King
183718204d
Grouped slow tests; improves #113
2017-12-16 20:03:04 -05:00
J. King
dd7d6e44b9
Further fixes for test timezone assumptions
2017-12-16 19:37:30 -05:00
J. King
3f65625090
Ensure tests do not rely in UTC default timezone
...
Six tests failed if the default timezone was not UTC. These were all due to faulty expectations, however, not faulty output.
2017-12-16 18:30:45 -05:00
J. King
415f7fd385
Fix feed timeout test; improves #113
2017-12-16 17:21:23 -05:00
J. King
3adfe8742f
Reorganize test cases
2017-12-07 15:46:49 -05:00