PHP Class Elgg\I18n\TranslatorTest

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

Public Properties

Property Type Description
$key
$translator Translator

Public Methods

Method Description
setUp ( )
testCanTranslate ( )
testCheckLanguageKeyExists ( )
testDoesNotProcessArgsOnKey ( )
testFallsBackToEnglish ( )
testIssuesNoticeOnMissingKey ( )
testSetLanguageFromGetParameter ( )
testUsesSprintfArguments ( )

Method Details

setUp() public method

public setUp ( )

testCanTranslate() public method

public testCanTranslate ( )

testCheckLanguageKeyExists() public method

testDoesNotProcessArgsOnKey() public method

testFallsBackToEnglish() public method

testIssuesNoticeOnMissingKey() public method

testSetLanguageFromGetParameter() public method

testUsesSprintfArguments() public method

Property Details

$key public_oe property

public $key

$translator public_oe property

public Translator,Elgg\I18n $translator
return Translator