import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
* @subpackage Framework
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: TestApplicationControllerFile.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: TestApplicationControllerFile.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -30,7 +30,7 @@ require_once 'Zend/Tool/Project/Context/Filesystem/File.php';
|
||||
*
|
||||
* A profile is a hierarchical set of resources that keep track of
|
||||
* items within a specific project.
|
||||
*
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Tool
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
@ -38,12 +38,12 @@ require_once 'Zend/Tool/Project/Context/Filesystem/File.php';
|
||||
*/
|
||||
class Zend_Tool_Project_Context_Zf_TestApplicationControllerFile extends Zend_Tool_Project_Context_Filesystem_File
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $_forControllerName = '';
|
||||
|
||||
|
||||
/**
|
||||
* getName()
|
||||
*
|
||||
@ -53,7 +53,7 @@ class Zend_Tool_Project_Context_Zf_TestApplicationControllerFile extends Zend_To
|
||||
{
|
||||
return 'TestApplicationControllerFile';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* init()
|
||||
*
|
||||
@ -66,7 +66,7 @@ class Zend_Tool_Project_Context_Zf_TestApplicationControllerFile extends Zend_To
|
||||
parent::init();
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getContents()
|
||||
*
|
||||
@ -76,9 +76,9 @@ class Zend_Tool_Project_Context_Zf_TestApplicationControllerFile extends Zend_To
|
||||
{
|
||||
|
||||
$filter = new Zend_Filter_Word_DashToCamelCase();
|
||||
|
||||
|
||||
$className = $filter->filter($this->_forControllerName) . 'ControllerTest';
|
||||
|
||||
|
||||
$codeGenFile = new Zend_CodeGenerator_Php_File(array(
|
||||
'requiredFiles' => array(
|
||||
'PHPUnit/Framework/TestCase.php'
|
||||
@ -103,5 +103,5 @@ class Zend_Tool_Project_Context_Zf_TestApplicationControllerFile extends Zend_To
|
||||
|
||||
return $codeGenFile->generate();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user