PHP 클래스 N98\Magento\Command\TestCase

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: netz98/n98-magerun 1 사용 예제들

공개 메소드들

메소드 설명
getApplication ( ) : Application | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
getDatabaseConnection ( ) : Varien_Db_Adapter_Pdo_Mysql
getTestMagentoRoot ( ) : string getter for the magento root directory of the test-suite
getTestMagentoRootFromEnvironment ( string $varname, string $basename ) : string | null

메소드 상세

getApplication() 공개 메소드

public getApplication ( ) : Application | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
리턴 N98\Magento\Application | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject

getDatabaseConnection() 공개 메소드

public getDatabaseConnection ( ) : Varien_Db_Adapter_Pdo_Mysql
리턴 Varien_Db_Adapter_Pdo_Mysql

getTestMagentoRoot() 공개 메소드

getter for the magento root directory of the test-suite
또한 보기: ApplicationTest::testExecute
public getTestMagentoRoot ( ) : string
리턴 string

getTestMagentoRootFromEnvironment() 공개 정적인 메소드

public static getTestMagentoRootFromEnvironment ( string $varname, string $basename ) : string | null
$varname string name of the environment variable containing the test-root
$basename string name of the stopfile containing the test-root
리턴 string | null