PHP Class N98\Magento\Command\TestCase

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: netz98/n98-magerun Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

getApplication() public méthode

public getApplication ( ) : Application | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
Résultat N98\Magento\Application | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject

getDatabaseConnection() public méthode

public getDatabaseConnection ( ) : Varien_Db_Adapter_Pdo_Mysql
Résultat Varien_Db_Adapter_Pdo_Mysql

getTestMagentoRoot() public méthode

getter for the magento root directory of the test-suite
See also: ApplicationTest::testExecute
public getTestMagentoRoot ( ) : string
Résultat string

getTestMagentoRootFromEnvironment() public static méthode

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
Résultat string | null