PHP Class N98\Magento\Command\Developer\Module\UpdateCommandTest

Inheritance: extends N98\Magento\Command\TestCase
Afficher le fichier Open project: netz98/n98-magerun

Méthodes publiques

Méthode Description
testExecute ( )

Méthodes protégées

Méthode Description
_addDefaultOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
_addEventsOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
_addLayoutUpdatesOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
_addResourceModelOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder ) : string
_addRoutersOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
_addTranslateOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
_deleteOldModule ( $root ) : boolean | Filesystem
_getConfigXmlContents ( $moduleBaseFolder ) : string
_setVersionOptionTest ( $commandTester, $updateCommand, $moduleBaseFolder )
getInputStream ( $input )

Method Details

_addDefaultOptionTest() protected méthode

protected _addDefaultOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
$dialog
$commandTester
$updateCommand
$moduleBaseFolder

_addEventsOptionTest() protected méthode

protected _addEventsOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
$dialog
$commandTester
$updateCommand
$moduleBaseFolder

_addLayoutUpdatesOptionTest() protected méthode

protected _addLayoutUpdatesOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
$dialog
$commandTester
$updateCommand
$moduleBaseFolder

_addResourceModelOptionTest() protected méthode

protected _addResourceModelOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder ) : string
$dialog
$commandTester
$updateCommand
$moduleBaseFolder
Résultat string

_addRoutersOptionTest() protected méthode

protected _addRoutersOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
$dialog
$commandTester
$updateCommand
$moduleBaseFolder

_addTranslateOptionTest() protected méthode

protected _addTranslateOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder )
$dialog
$commandTester
$updateCommand
$moduleBaseFolder

_deleteOldModule() protected méthode

protected _deleteOldModule ( $root ) : boolean | Filesystem
$root
Résultat boolean | N98\Util\Filesystem

_getConfigXmlContents() protected méthode

protected _getConfigXmlContents ( $moduleBaseFolder ) : string
$moduleBaseFolder
Résultat string

_setVersionOptionTest() protected méthode

protected _setVersionOptionTest ( $commandTester, $updateCommand, $moduleBaseFolder )
$commandTester
$updateCommand
$moduleBaseFolder

getInputStream() protected méthode

protected getInputStream ( $input )

testExecute() public méthode

public testExecute ( )