You are here

public function PluralizationRulesTest::testLangcodes in Plug 7

@dataProvider successLangcodes

File

lib/Symfony/translation/Tests/PluralizationRulesTest.php, line 47

Class

PluralizationRulesTest
Test should cover all languages mentioned on http://translate.sourceforge.net/wiki/l10n/pluralforms and Plural forms mentioned on http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms.

Namespace

Symfony\Component\Translation\Tests

Code

public function testLangcodes($nplural, $langCodes) {
  $matrix = $this
    ->generateTestData($nplural, $langCodes);
  $this
    ->validateMatrix($nplural, $matrix);
}