summaryrefslogtreecommitdiff
path: root/test/bootstrap.php
AgeCommit message (Collapse)Author
2016-12-14Fix up test procedures for idiormSimon Holywell
2014-06-24Support named placeholders logging and testKunio Murasawa
2014-06-08update bindParams to bindParamSoufiane Ghzal
2014-05-29Fixed testing logic.Stefan Andres Charsley
2014-05-29Fixed testing.Stefan Andres Charsley
2014-04-26FIX: Added parameter array checkingStefan Andres Charsley
Remove some empty results from the array before checking.
2014-04-26FIX: Added parameter array checkingStefan Andres Charsley
Updated preg_match_all parameters.
2014-04-26FIX: Added parameter array checkingStefan Andres Charsley
Changed some debugging code.
2014-04-26FIX: Added parameter array checkingStefan Andres Charsley
Added some more debug code.
2014-04-26FIX: Added parameter array checkingStefan Andres Charsley
Added debug code to see why it's failing.
2014-04-26FIX: Added parameter array checkingStefan Andres Charsley
Fixed the regex not having backslashes escaped.
2014-04-26FIX: Added parameter array checkingStefan Andres Charsley
Updated regex to disregard placeholders within quotes.
2014-04-26FIX: Added parameter array checkingStefan Andres Charsley
Fixed regex issue that caused almost all tests to fail.
2014-04-26Added parameter array checkingStefan Andres Charsley
Testing: Checks the parameter array to ensure the correct number of values inside the parameter with sequential integer indexes. Production: Strips out any non-integer indexes from the parameter array inside the _log_query function.
2013-08-30Minor improvement to test/bootstrap.phpSimon Holywell
2013-08-30Repair mock results generatorSimon Holywell
2013-08-28Add MS SQL `TOP` style syntax supportSimon Holywell
2013-08-28Merge branch 'master' of https://github.com/JoelMarcey/idiorm into developSimon Holywell
2013-08-28Update bootstrap.php so the tests can run on both HHVM and ZendJoel Marcey
PDOStatement does not have a direct constructor (i.e., __construct). Newing up a PDOStatement or subclass (e.g., MockPDOStatement) does technically work in Zend, but HHVM throws. A correct way to have the code currently structured in bootstrap.php work correctly on both Zend and HHVM is provide a default constructor and execute method in MockPDOStatement. It would probably best long term to avoid newing up a PDOStatement and create the queries another way. But this works for now.
2013-04-16Add support for T-SQL style TOP clausesSebastien Bariteau
2013-01-23Remove duplicate code from test bootstrapSimon Holywell
2013-01-22Apparently not all files were included in previous commit.Tom Gregory
2013-01-17Begin moving query building tests into phpunitSimon Holywell
2013-01-15Add in some PHPUnit testsSimon Holywell