PHP Класс N98\Magento\Command\TestCase

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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