PHP Class Snc\RedisBundle\Tests\DependencyInjection\SncRedisExtensionTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: snc/SncRedisBundle

Public Methods

Method Description
parameterValues ( ) : array
testClientProfileOption ( ) Test valid parsing of the client profile option
testClientReplicationOption ( ) Test valid config of the replication option
testConfigurationMerging ( ) Test config merging
testDefaultClientTaggedServicesConfigLoad ( string $name, string $expected )
testDefaultParameterConfigLoad ( string $name, string $expected )
testEmptyConfigLoad ( )
testFullConfigLoad ( ) Test loading of full config
testInvalidMonologConfigLoad ( )
testInvalidXmlConfig ( )
testMinimalConfigLoad ( ) Test loading of minimal config
testMonologFormatterOption ( ) Test the monolog formatter option
testMultipleClientMaster ( ) Test multiple clients both containing "master" dsn aliases
testValidXmlConfig ( ) Test valid XML config

Private Methods

Method Description
getContainer ( )
getFullYamlConfig ( )
getInvalidMonologYamlConfig ( )
getMergeConfig1 ( )
getMergeConfig2 ( )
getMinimalYamlConfig ( )
getMonologFormatterOptionYamlConfig ( )
getMultipleReplicationYamlConfig ( )
getReplicationYamlConfig ( )
parseYaml ( $yaml )

Method Details

parameterValues() public static method

public static parameterValues ( ) : array
return array

testClientProfileOption() public method

Test valid parsing of the client profile option

testClientReplicationOption() public method

Test valid config of the replication option

testConfigurationMerging() public method

Test config merging

testDefaultClientTaggedServicesConfigLoad() public method

public testDefaultClientTaggedServicesConfigLoad ( string $name, string $expected )
$name string Name
$expected string Expected value

testDefaultParameterConfigLoad() public method

public testDefaultParameterConfigLoad ( string $name, string $expected )
$name string Name
$expected string Expected value

testEmptyConfigLoad() public method

public testEmptyConfigLoad ( )

testFullConfigLoad() public method

Test loading of full config
public testFullConfigLoad ( )

testInvalidMonologConfigLoad() public method

testInvalidXmlConfig() public method

testMinimalConfigLoad() public method

Test loading of minimal config

testMonologFormatterOption() public method

Test the monolog formatter option

testMultipleClientMaster() public method

Test multiple clients both containing "master" dsn aliases

testValidXmlConfig() public method

Test valid XML config
public testValidXmlConfig ( )