PHP Class Symfony\Bundle\FrameworkBundle\Tests\Translation\TranslatorTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: symfony/symfony

Protected Properties

Property Type Description
$tmpDir

Public Methods

Method Description
getTranslator ( $loader, $options = [], $loaderFomat = 'loader', $translatorClass = '\Symfony\Bundle\FrameworkBundle\Translation\Translator' )
testGetDefaultLocale ( )
testLoadResourcesWithoutCaching ( )
testTransWithCaching ( )
testTransWithCachingWithInvalidLocale ( )
testTransWithoutCaching ( )
testWarmup ( )

Protected Methods

Method Description
deleteTmpDir ( )
getCatalogue ( $locale, $messages, $resources = [] )
getContainer ( $loader )
getLoader ( )
setUp ( )
tearDown ( )

Private Methods

Method Description
createTranslator ( $loader, $options, $translatorClass = '\Symfony\Bundle\FrameworkBundle\Translation\Translator', $loaderFomat = 'loader' )

Method Details

deleteTmpDir() protected method

protected deleteTmpDir ( )

getCatalogue() protected method

protected getCatalogue ( $locale, $messages, $resources = [] )

getContainer() protected method

protected getContainer ( $loader )

getLoader() protected method

protected getLoader ( )

getTranslator() public method

public getTranslator ( $loader, $options = [], $loaderFomat = 'loader', $translatorClass = '\Symfony\Bundle\FrameworkBundle\Translation\Translator' )

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testGetDefaultLocale() public method

testLoadResourcesWithoutCaching() public method

testTransWithCaching() public method

testTransWithCachingWithInvalidLocale() public method

testTransWithoutCaching() public method

testWarmup() public method

public testWarmup ( )

Property Details

$tmpDir protected_oe property

protected $tmpDir