summaryrefslogtreecommitdiff
path: root/test/bootstrap.php
AgeCommit message (Collapse)Author
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