PHP Class ShopwareCli\Tests\PluginCreateTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: shopwarelabs/sw-cli-tools

Protected Properties

Property Type Description
$fileProvider array Each fileProvider basically provides three infos: * name (array key + "$FileProvider") * config flag that will trigger this file provider * array of files (key = source template, value = target file)
$legacyFileProvider array

Public Methods

Method Description
testFileProvider ( ) Foreach file provider: Create a plugin which needs this file provider and check, if all required / pre-defined files actually exists.
testLegacyFileProvider ( ) Test each file provider with legacy files.

Private Methods

Method Description
getConfigObject ( ) : Configuration
providerTest ( Configuration $config, array $provider, array $fileProviders, Shopware\PluginCreator\Services\WorkingDirectoryProvider\OutputDirectoryProviderInterface $outputDirectoryProvider )

Method Details

testFileProvider() public method

Foreach file provider: Create a plugin which needs this file provider and check, if all required / pre-defined files actually exists.
public testFileProvider ( )

testLegacyFileProvider() public method

Test each file provider with legacy files.

Property Details

$fileProvider protected property

Each fileProvider basically provides three infos: * name (array key + "$FileProvider") * config flag that will trigger this file provider * array of files (key = source template, value = target file)
protected array $fileProvider
return array

$legacyFileProvider protected property

protected array $legacyFileProvider
return array