PHP Class Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest

Inheritance: extends Symfony\Bundle\FrameworkBundle\Tests\TestCase
Datei anzeigen Open project: symfony/symfony

Public Methods

Method Description
testAnnotations ( )
testAssetHelperWhenAssetsAndTemplatesAreDisabled ( )
testAssetHelperWhenAssetsAreEnabled ( )
testAssetHelperWhenTemplatesAreEnabledAndNoAssetsConfiguration ( )
testAssets ( )
testAssetsDefaultVersionStrategyAsService ( )
testAssetsHelperIsRemovedWhenPhpTemplatingEngineIsEnabledAndAssetsAreDisabled ( )
testCacheDefaultRedisProvider ( )
testCacheDefaultRedisProviderWithEnvVar ( )
testCachePoolServices ( )
testCsrfProtectionForFormsEnablesCsrfProtectionAutomatically ( )
testCsrfProtectionNeedsSessionToBeEnabled ( )
testDataUriNormalizerRegistered ( )
testDateTimeNormalizerRegistered ( )
testDeprecatedSerializerCacheOption ( )
testDisabledProfiler ( )
testEmptyRequestFormats ( )
testEnabledProfiler ( )
testEsi ( )
testFileLinkFormat ( )
testFormCsrfProtection ( )
testFormsCanBeEnabledWithoutCsrfProtection ( )
testHttpMethodOverride ( )
testJsonSerializableNormalizerRegistered ( )
testNullSessionHandler ( )
testObjectNormalizerRegistered ( )
testPropertyAccessWithDefaultValue ( )
testPropertyAccessWithOverriddenValues ( )
testPropertyInfoDisabled ( )
testPropertyInfoEnabled ( )
testProxies ( )
testRegisterSerializerExtractor ( )
testRequest ( )
testRouter ( )
testRouterRequiresResourceOption ( )
testSerializerCacheActivated ( )
testSerializerCacheDisabled ( )
testSerializerDisabled ( )
testSerializerEnabled ( )
testSerializerServiceIsNotRegisteredWhenDisabled ( )
testSerializerServiceIsRegisteredWhenEnabled ( )
testSession ( )
testStopwatchEnabledWithDebugModeDisabled ( )
testStopwatchEnabledWithDebugModeEnabled ( )
testTemplating ( )
testTemplatingCanBeDisabled ( )
testTemplatingRequiresAtLeastOneEngine ( )
testTranslator ( )
testTranslatorMultipleFallbacks ( )
testValidation ( )
testValidationAnnotations ( )
testValidationNoStaticMethod ( )
testValidationPaths ( )
testValidationService ( )
testWorkflowCannotHaveBothArgumentsAndService ( )
testWorkflowCannotHaveBothTypeAndService ( )
testWorkflows ( )

Protected Methods

Method Description
createContainer ( array $data = [] )
createContainerFromClosure ( $closure, $data = [] )
createContainerFromFile ( $file, $data = [], $resetCompilerPasses = true )
loadFromFile ( ContainerBuilder $container, $file )

Private Methods

Method Description
assertCachePoolServiceDefinitionIsCreated ( ContainerBuilder $container, $id, $adapter, $defaultLifetime )
assertPathPackage ( ContainerBuilder $container, ChildDefinition $package, $basePath, $version, $format )
assertUrlPackage ( ContainerBuilder $container, ChildDefinition $package, $baseUrls, $version, $format )
assertVersionStrategy ( ContainerBuilder $container, Reference $reference, $version, $format )

Method Details

createContainer() protected method

protected createContainer ( array $data = [] )
$data array

createContainerFromClosure() protected method

protected createContainerFromClosure ( $closure, $data = [] )

createContainerFromFile() protected method

protected createContainerFromFile ( $file, $data = [], $resetCompilerPasses = true )

loadFromFile() abstract protected method

abstract protected loadFromFile ( ContainerBuilder $container, $file )
$container Symfony\Component\DependencyInjection\ContainerBuilder

testAnnotations() public method

public testAnnotations ( )

testAssetHelperWhenAssetsAndTemplatesAreDisabled() public method

testAssetHelperWhenAssetsAreEnabled() public method

testAssetHelperWhenTemplatesAreEnabledAndNoAssetsConfiguration() public method

testAssets() public method

public testAssets ( )

testAssetsDefaultVersionStrategyAsService() public method

testAssetsHelperIsRemovedWhenPhpTemplatingEngineIsEnabledAndAssetsAreDisabled() public method

testCacheDefaultRedisProvider() public method

testCacheDefaultRedisProviderWithEnvVar() public method

testCachePoolServices() public method

testCsrfProtectionForFormsEnablesCsrfProtectionAutomatically() public method

testCsrfProtectionNeedsSessionToBeEnabled() public method

testDataUriNormalizerRegistered() public method

testDateTimeNormalizerRegistered() public method

testDeprecatedSerializerCacheOption() public method

testDisabledProfiler() public method

testEmptyRequestFormats() public method

testEnabledProfiler() public method

public testEnabledProfiler ( )

testEsi() public method

public testEsi ( )

testFileLinkFormat() public method

public testFileLinkFormat ( )

testFormCsrfProtection() public method

testFormsCanBeEnabledWithoutCsrfProtection() public method

testHttpMethodOverride() public method

testJsonSerializableNormalizerRegistered() public method

testNullSessionHandler() public method

testObjectNormalizerRegistered() public method

testPropertyAccessWithDefaultValue() public method

testPropertyAccessWithOverriddenValues() public method

testPropertyInfoDisabled() public method

testPropertyInfoEnabled() public method

testProxies() public method

public testProxies ( )

testRegisterSerializerExtractor() public method

testRequest() public method

public testRequest ( )

testRouter() public method

public testRouter ( )

testRouterRequiresResourceOption() public method

testSerializerCacheActivated() public method

testSerializerCacheDisabled() public method

testSerializerDisabled() public method

testSerializerEnabled() public method

testSerializerServiceIsNotRegisteredWhenDisabled() public method

testSerializerServiceIsRegisteredWhenEnabled() public method

testSession() public method

public testSession ( )

testStopwatchEnabledWithDebugModeDisabled() public method

testStopwatchEnabledWithDebugModeEnabled() public method

testTemplating() public method

public testTemplating ( )

testTemplatingCanBeDisabled() public method

testTemplatingRequiresAtLeastOneEngine() public method

testTranslator() public method

public testTranslator ( )

testTranslatorMultipleFallbacks() public method

testValidation() public method

public testValidation ( )

testValidationAnnotations() public method

testValidationNoStaticMethod() public method

testValidationPaths() public method

public testValidationPaths ( )

testValidationService() public method

testWorkflowCannotHaveBothArgumentsAndService() public method

testWorkflowCannotHaveBothTypeAndService() public method

testWorkflows() public method

public testWorkflows ( )