<?php /** @package SQLSolution_Test */
/**
* Tests the SQL Solution's mysql driver
*
* USAGE: From the "Test" directory, execute the following command:
* phpunit Driver_MySQLTest
*
* @package SQLSolution_Test
* @author Daniel Convissor <hide@address.com>
* @copyright The Analysis and Solutions Company, 2001-2011
* @license http://www.analysisandsolutions.com/software/license.htm Simple Public License
* @link http://www.analysisandsolutions.com/software/sql/sql.htm
*/
class SQLSolution_Test_Driver_MySQLTest extends SQLSolution_Test_Driver_Bundle {
public static function suite() {
if (!extension_loaded('mysql')) {
die("Skip: this extension is not loaded.\n");
}
$GLOBALS['SQLSOLUTION_TEST_USER_CLASS'] = 'SQLSolution_MySQLUser';
parent::checkSkipDbms(__CLASS__, 'SQLDbName');
return parent::suite();
}
}