Fixing typos.

Removing useless constant.
Fixing constructor
This commit is contained in:
Mark Story 2010-01-09 21:30:46 -05:00
parent a8f289349e
commit 081509a09c
2 changed files with 3 additions and 7 deletions

View file

@ -237,7 +237,7 @@ class TestSuiteShell extends Shell {
$this->err(sprintf(__('%s is invalid. Should be case, group or all', true), $this->type));
return false;
}
$ext = $this->Manager->getExtensino($this->type);
$ext = $this->Manager->getExtension($this->type);
switch ($this->type) {
case 'all':

View file

@ -17,10 +17,6 @@
* @since CakePHP(tm) v 1.2.0.4433
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
*/
if (! defined('ST_FAILDETAIL_SEPARATOR')) {
define('ST_FAILDETAIL_SEPARATOR', "->");
}
if (version_compare(PHP_VERSION, '4.4.4', '<=') ||
PHP_SAPI == 'cgi') {
define('STDOUT', fopen('php://stdout', 'w'));
@ -37,9 +33,9 @@
*/
class CakeCliReporter extends TextReporter {
var $faildetail_separator = ST_FAILDETAIL_SEPARATOR;
var $faildetail_separator = '->';
function CLIReporter($faildetail_separator = NULL) {
function CakeCLIReporter($faildetail_separator = NULL) {
$this->SimpleReporter();
if (! is_null($faildetail_separator)) {
$this->setFailDetailSeparator($faildetail_separator);