protected function _runTestCase()
{
$commandArgs = array('case' => $this->params['case'], 'core' => $this->params['core'], 'baser' => $this->params['baser'], 'app' => $this->params['app'], 'plugin' => $this->params['plugin'], 'codeCoverage' => $this->params['codeCoverage'], 'showPasses' => !empty($this->params['show_passes']), 'baseUrl' => $this->_baseUrl, 'baseDir' => $this->_baseDir);
$options = array('--filter', $this->params['filter'], '--output', $this->params['output'], '--fixture', $this->params['fixture']);
restore_error_handler();
try {
self::time();
// CUSTOMIZE MODIFY 2014/07/02 ryuring
// >>>
/*$command = new CakeTestSuiteCommand('CakeTestLoader', $commandArgs);
$command->run($options);*/
// ---
$command = new BaserTestSuiteCommand('BaserTestLoader', $commandArgs);
$result = $command->run($options);
// <<<
} catch (MissingConnectionException $exception) {
ob_end_clean();
$baseDir = $this->_baseDir;
include CAKE . 'TestSuite' . DS . 'templates' . DS . 'missing_connection.php';
exit;
}
}