Fixing the testsuite shell and renaming class for BC

This commit is contained in:
Jose Lorenzo Rodriguez 2011-03-08 14:18:46 -04:30
parent 48b3593a25
commit ac3caf3154
2 changed files with 5 additions and 4 deletions

View file

@ -19,11 +19,12 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('Shell', 'Console');
App::uses('CakeTestSuiteDispatcher', 'TestSuite');
App::uses('CakeTestSuiteCommand', 'TestSuite');
App::uses('CakeTestLoader', 'TestSuite');
class TestSuiteShell extends Shell {
class TestsuiteShell extends Shell {
/**
* Dispatcher object for the run.

View file

@ -18,9 +18,9 @@
*/
App::uses('ShellDispatcher', 'Console');
App::uses('TestSuiteShell', 'Console/Command');
App::uses('TestsuiteShell', 'Console/Command');
class TestSuiteShellTest extends CakeTestCase {
class TestsuiteShellTest extends CakeTestCase {
/**
@ -33,7 +33,7 @@ class TestSuiteShellTest extends CakeTestCase {
$in = $this->getMock('ConsoleInput', array(), array(), '', false);
$this->Shell = $this->getMock(
'TestSuiteShell',
'TestsuiteShell',
array('in', 'out', 'hr', 'help', 'error', 'err', '_stop', 'initialize', 'run', 'clear'),
array($out, $out, $in)
);