[DataAccess] Replace MySQLnd Mocks with Composite MySQLi Mocks.
Review Request #16 — Created Nov. 25, 2012 and submitted — Latest diff uploaded
Information | |
---|---|
pprkut | |
Lunr | |
master | |
Reviewers | |
lunr | |
This replaces the existing MySQLnd MySQL Connection Mocks with Composite Mocks of the MySQLi class. The MySQLnd Mocks rely on mysqlnd_uh, which is not yet available on PHP 5.4. Using the Composite Mocks we now have Lunr fully supported on 5.4 as well.
Unit Tests
Diff Revision 1 (Latest)
tests/mocks/libraries/dataaccess/class.mysqlifailedconnection.mock.php |
---|
tests/mocks/libraries/dataaccess/class.mysqlisuccessfulconnection.mock.php |
---|
tests/system/class.environment.test.php |
---|
tests/system/libraries/dataaccess/class.mysqlconnection.connect.test.php |
---|
tests/system/libraries/dataaccess/class.mysqlconnection.escape.test.php |
---|
tests/system/libraries/dataaccess/class.mysqlconnection.query.test.php |
---|
tests/system/libraries/dataaccess/class.mysqlqueryresult.base.test.php |
---|
tests/system/libraries/dataaccess/class.mysqlqueryresult.failed.test.php |
---|
tests/system/libraries/dataaccess/class.mysqlqueryresult.free.test.php |
---|
tests/system/libraries/dataaccess/class.mysqlqueryresult.success.test.php |
---|
tests/system/libraries/dataaccess/class.mysqlqueryresult.test.php |
---|