PHP Class Snc\RedisBundle\Tests\DependencyInjection\SncRedisExtensionTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: snc/SncRedisBundle

Méthodes publiques

Méthode 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

Méthode Description
getContainer ( )
getFullYamlConfig ( )
getInvalidMonologYamlConfig ( )
getMergeConfig1 ( )
getMergeConfig2 ( )
getMinimalYamlConfig ( )
getMonologFormatterOptionYamlConfig ( )
getMultipleReplicationYamlConfig ( )
getReplicationYamlConfig ( )
parseYaml ( $yaml )

Method Details

parameterValues() public static méthode

public static parameterValues ( ) : array
Résultat array

testClientProfileOption() public méthode

Test valid parsing of the client profile option

testClientReplicationOption() public méthode

Test valid config of the replication option

testConfigurationMerging() public méthode

Test config merging

testDefaultClientTaggedServicesConfigLoad() public méthode

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

testDefaultParameterConfigLoad() public méthode

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

testEmptyConfigLoad() public méthode

public testEmptyConfigLoad ( )

testFullConfigLoad() public méthode

Test loading of full config
public testFullConfigLoad ( )

testInvalidMonologConfigLoad() public méthode

testInvalidXmlConfig() public méthode

testMinimalConfigLoad() public méthode

Test loading of minimal config

testMonologFormatterOption() public méthode

Test the monolog formatter option

testMultipleClientMaster() public méthode

Test multiple clients both containing "master" dsn aliases

testValidXmlConfig() public méthode

Test valid XML config
public testValidXmlConfig ( )