PHP Class Eccube\Tests\Service\PluginServiceTest

Inheritance: extends Eccube\Tests\Service\AbstractServiceTestCase
Show file Open project: ec-cube/ec-cube

Protected Properties

Property Type Description
$app

Public Methods

Method Description
deleteFile ( $path )
tearDown ( )
testConfigYmlFormat ( ) config.ymlのフォーマット確認
testInstallPluginEmptyError ( ) 必須ファイルがないプラグインがインストール出来ないこと
testInstallPluginMinimum ( ) 必要最小限のファイルのプラグインのインストールとアンインストールを検証
testInstallPluginWithBrokenManagerAfterInstall ( ) インストーラが例外を上げた場合ロールバックできるか
testInstallPluginWithConst ( ) const定義を含むpluginのインストール
testInstallPluginWithEvent ( ) イベント定義を含むプラグインのインストールとアンインストールを検証
testInstallPluginWithManager ( ) インストーラを含むプラグインが正しくインストールできるか
testPluginConfigCache ( ) プラグイン設定ファイルキャッシュの検証
testnstallPluginMalformedConfigError ( ) config.ymlに異常な項目がある場合

Private Methods

Method Description
createTempDir ( ) テスト用のダミープラグインを配置する

Method Details

deleteFile() public method

public deleteFile ( $path )

tearDown() public method

public tearDown ( )

testConfigYmlFormat() public method

config.ymlのフォーマット確認
public testConfigYmlFormat ( )

testInstallPluginEmptyError() public method

必須ファイルがないプラグインがインストール出来ないこと

testInstallPluginMinimum() public method

必要最小限のファイルのプラグインのインストールとアンインストールを検証

testInstallPluginWithBrokenManagerAfterInstall() public method

インストーラが例外を上げた場合ロールバックできるか

testInstallPluginWithConst() public method

const定義を含むpluginのインストール

testInstallPluginWithEvent() public method

イベント定義を含むプラグインのインストールとアンインストールを検証

testInstallPluginWithManager() public method

インストーラを含むプラグインが正しくインストールできるか

testPluginConfigCache() public method

プラグイン設定ファイルキャッシュの検証

testnstallPluginMalformedConfigError() public method

config.ymlに異常な項目がある場合

Property Details

$app protected property

protected $app