PHP Class Piwik\Plugins\LanguagesManager\Test\Integration\LanguagesManagerTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: piwik/piwik

Méthodes publiques

Méthode Description
getTestDataForLanguageFiles ( )
testGetLanguageNamesInEnglish ( ) test English short name for language
testGetLanguagesList ( ) test format of DataFile/Languages.php
testGetTranslationsForLanguages ( $language, $plugin ) test all languages
testGetTranslationsForLanguagesNot ( ) test language when it's not defined
testTranslationsUseNumberedPlaceholders ( ) check all english translations do not contain more than one
testWriterInvalidPlugin ( ) test language when it's not defined

Method Details

getTestDataForLanguageFiles() public méthode

testGetLanguageNamesInEnglish() public méthode

test English short name for language

testGetLanguagesList() public méthode

test format of DataFile/Languages.php

testGetTranslationsForLanguages() public méthode

test all languages
public testGetTranslationsForLanguages ( $language, $plugin )

testGetTranslationsForLanguagesNot() public méthode

test language when it's not defined

testTranslationsUseNumberedPlaceholders() public méthode

check all english translations do not contain more than one

testWriterInvalidPlugin() public méthode

test language when it's not defined