TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
LocallangXmlParserTest Class Reference
Inheritance diagram for LocallangXmlParserTest:
UnitTestCase BaseTestCase

Public Member Functions

 canParseLlxmlInEnglish ()
 
 canParseLlxmlInMd5Code ()
 
 canParseLlxmlInFrenchAndReturnsNullLabelsIfNoTranslationIsFound ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Static Protected Member Functions

static getFixtureFilePath ($filename)
 

Protected Attributes

 $parser
 
 $locallangXMLOverride
 
 $l10nPriority
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for class .

Definition at line 21 of file LocallangXmlParserTest.php.

Member Function Documentation

canParseLlxmlInEnglish ( )
Test:

Definition at line 75 of file LocallangXmlParserTest.php.

canParseLlxmlInFrenchAndReturnsNullLabelsIfNoTranslationIsFound ( )
Test:

Definition at line 109 of file LocallangXmlParserTest.php.

canParseLlxmlInMd5Code ( )
Test:

Definition at line 92 of file LocallangXmlParserTest.php.

static getFixtureFilePath (   $filename)
staticprotected

Definition at line 38 of file LocallangXmlParserTest.php.

setUp ( )
protected

Prepares the environment before running a test.

Definition at line 47 of file LocallangXmlParserTest.php.

References $GLOBALS, and GeneralUtility\makeInstance().

tearDown ( )
protected

Cleans up the environment after running a test.

Definition at line 63 of file LocallangXmlParserTest.php.

References $GLOBALS, LocallangXmlParserTest\$l10nPriority, LocallangXmlParserTest\$locallangXMLOverride, and GeneralUtility\makeInstance().

Member Data Documentation

$l10nPriority
protected

Definition at line 36 of file LocallangXmlParserTest.php.

Referenced by LocallangXmlParserTest\tearDown().

$locallangXMLOverride
protected

Definition at line 31 of file LocallangXmlParserTest.php.

Referenced by LocallangXmlParserTest\tearDown().

$parser
protected

Definition at line 26 of file LocallangXmlParserTest.php.