PHP Class Eccube\Tests\Service\PluginServiceTest

Inheritance: extends Eccube\Tests\Service\AbstractServiceTestCase
Afficher le fichier Open project: ec-cube/ec-cube

Protected Properties

Свойство Type Description
$app

Méthodes publiques

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

Private Methods

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

Method Details

deleteFile() public méthode

public deleteFile ( $path )

tearDown() public méthode

public tearDown ( )

testConfigYmlFormat() public méthode

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

testInstallPluginEmptyError() public méthode

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

testInstallPluginMinimum() public méthode

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

testInstallPluginWithBrokenManagerAfterInstall() public méthode

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

testInstallPluginWithConst() public méthode

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

testInstallPluginWithEvent() public méthode

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

testInstallPluginWithManager() public méthode

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

testPluginConfigCache() public méthode

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

testnstallPluginMalformedConfigError() public méthode

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

Property Details

$app protected_oe property

protected $app