PHP Класс Contao\CoreBundle\Test\Routing\FrontendLoaderTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
testContainerScope ( ) Tests that the dynamic routes have the correct scope.
testController ( ) Tests that the dynamic routes are mapped to the correct controller.
testGenerateFrontendWithLocale ( ) Tests generating generating the "contao_frontend" route with locale.
testGenerateFrontendWithMissingAlias ( )
testGenerateFrontendWithMissingLocale ( ) Tests generating the "contao_frontend" route with missing locale.
testGenerateFrontendWithoutLocale ( ) Tests generating generating the "contao_frontend" route without locale.
testGenerateIndexWithLocale ( ) Tests generating the "contao_index" route with locale.
testGenerateIndexWithMissingLocale ( ) Tests generating the "contao_index" route with missing locale.
testGenerateIndexWithoutLocale ( ) Tests generating the "contao_index" route without locale.
testInstantiation ( ) Tests the object instantiation.
testSupports ( ) Tests the supports() method.

Приватные методы

Метод Описание
getRouter ( RouteCollection $collection, string $urlSuffix = '.html' ) : Router Generates a router using the given RouteCollection.

Описание методов

testContainerScope() публичный Метод

Tests that the dynamic routes have the correct scope.
public testContainerScope ( )

testController() публичный Метод

Tests that the dynamic routes are mapped to the correct controller.
public testController ( )

testGenerateFrontendWithLocale() публичный Метод

Tests generating generating the "contao_frontend" route with locale.

testGenerateFrontendWithMissingAlias() публичный Метод

testGenerateFrontendWithMissingLocale() публичный Метод

Tests generating the "contao_frontend" route with missing locale.

testGenerateFrontendWithoutLocale() публичный Метод

Tests generating generating the "contao_frontend" route without locale.

testGenerateIndexWithLocale() публичный Метод

Tests generating the "contao_index" route with locale.

testGenerateIndexWithMissingLocale() публичный Метод

Tests generating the "contao_index" route with missing locale.

testGenerateIndexWithoutLocale() публичный Метод

Tests generating the "contao_index" route without locale.

testInstantiation() публичный Метод

Tests the object instantiation.
public testInstantiation ( )

testSupports() публичный Метод

Tests the supports() method.
public testSupports ( )