abstract class AbstractDoctrineCacheExtensionTest extends TestCase (View source)

Methods

ContainerBuilder
createContainer(array $bundles = array('YamlBundle'), string $vendor = null)

No description

from TestCase
ContainerBuilder
createServiceContainer(array $bundles = array('YamlBundle'), string $vendor = null)

No description

from TestCase
setUp()

No description

loadFromFile(ContainerBuilder $container, $file)

No description

testParameters()

No description

testBasicCache()

No description

testBasicConfigurableCache()

No description

testBasicNamespaceCache()

No description

testAliasesCache()

No description

testServiceParameters()

No description

testCustomCacheProviders()

No description

testAcl()

No description

assertCacheProvider(ContainerBuilder $container, $name, $class, array $expectedCalls = array())

No description

assertCacheResource(ContainerBuilder $container, $name, $class, array $expectedCalls = array())

No description

ContainerBuilder
compileContainer(string $file, ContainerBuilder $container = null)

No description

Details

protected ContainerBuilder createContainer(array $bundles = array('YamlBundle'), string $vendor = null)

Parameters

array $bundles
string $vendor

Return Value

ContainerBuilder

protected ContainerBuilder createServiceContainer(array $bundles = array('YamlBundle'), string $vendor = null)

Parameters

array $bundles
string $vendor

Return Value

ContainerBuilder

protected setUp()

abstract protected loadFromFile(ContainerBuilder $container, $file)

Parameters

ContainerBuilder $container
$file

testParameters()

testBasicCache()

testBasicConfigurableCache()

testBasicConfigurableDefaultCache()

testBasicNamespaceCache()

testAliasesCache()

testServiceParameters()

testCustomCacheProviders()

testUnrecognizedCacheDriverException()

testAcl()

assertCacheProvider(ContainerBuilder $container, $name, $class, array $expectedCalls = array())

Parameters

ContainerBuilder $container
$name
$class
array $expectedCalls

assertCacheResource(ContainerBuilder $container, $name, $class, array $expectedCalls = array())

Parameters

ContainerBuilder $container
$name
$class
array $expectedCalls

protected ContainerBuilder compileContainer(string $file, ContainerBuilder $container = null)

Parameters

string $file
ContainerBuilder $container

Return Value

ContainerBuilder