‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest:

Public Member Functions

 implodeTypoScriptLabelArrayWorks ()
 
 translateForEmptyStringKeyReturnsNull ()
 
 translateForEmptyStringKeyWithArgumentsReturnsNull ()
 
 translateTestWithBackendUserLanguage (string $key, string $languageKey, string $expected, array $arguments=null)
 
 translateTestWithExplicitLanguageParameters (string $key, string $languageKey, string $expected, array $arguments=null)
 
 loadTypoScriptLabels ()
 
 clearLabelWithTypoScript ()
 
 translateThrowsExceptionWithEmptyExtensionNameIfKeyIsNotPrefixedWithLLL ()
 
 translateWillReturnLabelsFromTsEvenIfNoXlfFileExists ()
 

Static Public Member Functions

static translateDataProvider ()
 

Protected Attributes

array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/label_test']
 

Detailed Description

Definition at line 30 of file LocalizationUtilityTest.php.

Member Function Documentation

◆ clearLabelWithTypoScript()

◆ implodeTypoScriptLabelArrayWorks()

TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::implodeTypoScriptLabelArrayWorks ( )

Definition at line 35 of file LocalizationUtilityTest.php.

◆ loadTypoScriptLabels()

TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::loadTypoScriptLabels ( )

◆ translateDataProvider()

static TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateDataProvider ( )
static

Definition at line 74 of file LocalizationUtilityTest.php.

◆ translateForEmptyStringKeyReturnsNull()

TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateForEmptyStringKeyReturnsNull ( )

◆ translateForEmptyStringKeyWithArgumentsReturnsNull()

TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateForEmptyStringKeyWithArgumentsReturnsNull ( )

◆ translateTestWithBackendUserLanguage()

TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithBackendUserLanguage ( string  $key,
string  $languageKey,
string  $expected,
array  $arguments = null 
)

◆ translateTestWithExplicitLanguageParameters()

TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateTestWithExplicitLanguageParameters ( string  $key,
string  $languageKey,
string  $expected,
array  $arguments = null 
)

◆ translateThrowsExceptionWithEmptyExtensionNameIfKeyIsNotPrefixedWithLLL()

TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateThrowsExceptionWithEmptyExtensionNameIfKeyIsNotPrefixedWithLLL ( )

◆ translateWillReturnLabelsFromTsEvenIfNoXlfFileExists()

TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::translateWillReturnLabelsFromTsEvenIfNoXlfFileExists ( )

Member Data Documentation

◆ $testExtensionsToLoad

array TYPO3\CMS\Extbase\Tests\Functional\Utility\LocalizationUtilityTest::$testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/label_test']
protected

Definition at line 32 of file LocalizationUtilityTest.php.