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

Inheritance: extends N98\Magento\Command\TestCase
Datei anzeigen Open project: netz98/n98-magerun

Public Methods

Method Description
testExecute ( )

Protected Methods

Method 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 method

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

_addEventsOptionTest() protected method

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

_addLayoutUpdatesOptionTest() protected method

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

_addResourceModelOptionTest() protected method

protected _addResourceModelOptionTest ( $dialog, $commandTester, $updateCommand, $moduleBaseFolder ) : string
$dialog
$commandTester
$updateCommand
$moduleBaseFolder
return string

_addRoutersOptionTest() protected method

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

_addTranslateOptionTest() protected method

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

_deleteOldModule() protected method

protected _deleteOldModule ( $root ) : boolean | Filesystem
$root
return boolean | N98\Util\Filesystem

_getConfigXmlContents() protected method

protected _getConfigXmlContents ( $moduleBaseFolder ) : string
$moduleBaseFolder
return string

_setVersionOptionTest() protected method

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

getInputStream() protected method

protected getInputStream ( $input )

testExecute() public method

public testExecute ( )