Removing collisions that prevent TestTask from being loaded.

This commit is contained in:
mark_story 2010-12-05 22:53:29 -05:00
parent d202ea643d
commit 0ec1e65013

View file

@ -25,12 +25,12 @@ App::import('Shell', 'Shell', false);
require_once CAKE . 'console' . DS . 'shell_dispatcher.php';
/**
* TestShell class
* ShellTestShell class
*
* @package cake
* @subpackage cake.tests.cases.console.libs
*/
class TestShell extends Shell {
class ShellTestShell extends Shell {
/**
* name property
@ -38,7 +38,7 @@ class TestShell extends Shell {
* @var name
* @access public
*/
public $name = 'TestShell';
public $name = 'ShellTestShell';
/**
* stopped property
@ -133,7 +133,7 @@ class ShellTest extends CakeTestCase {
$output = $this->getMock('ConsoleOutput', array(), array(), '', false);
$error = $this->getMock('ConsoleOutput', array(), array(), '', false);
$in = $this->getMock('ConsoleInput', array(), array(), '', false);
$this->Shell = new TestShell($output, $error, $in);
$this->Shell = new ShellTestShell($output, $error, $in);
}
/**
@ -142,7 +142,7 @@ class ShellTest extends CakeTestCase {
* @return void
*/
public function testConstruct() {
$this->assertEqual($this->Shell->name, 'TestShell');
$this->assertEqual($this->Shell->name, 'ShellTestShell');
$this->assertType('ConsoleInput', $this->Shell->stdin);
$this->assertType('ConsoleOutput', $this->Shell->stdout);
$this->assertType('ConsoleOutput', $this->Shell->stderr);