|
Open Journal Systems
3.3.0
|
22 require_mock_env(
'env1');
24 import(
'lib.pkp.tests.PKPTestCase');
25 import(
'lib.pkp.classes.i18n.PKPLocale');
50 $expectedLocales = array(
52 'pt_BR' =>
'Portuguese (Brazil)',
53 'pt_PT' =>
'Portuguese (Portugal)',
static getLocaleStyleSheet($locale)
static setSupportedLocales($supportedLocales)
testGetLocaleStylesheet()
testGet3LetterIsoFromLocale()
testGet2LetterFrom3LetterIsoLanguage()
static get3LetterIsoFromLocale($locale)
static isLocaleComplete($locale)
Class that implements functionality common to all PKP unit test cases.
static setPrimaryLocale($primaryLocale)
Tests for the PKPLocale class.
testGet3LetterFrom2LetterIsoLanguage()
static getLocaleFrom3LetterIso($iso3Letter)
static get3LetterFrom2LetterIsoLanguage($iso2Letter)
static get2LetterFrom3LetterIsoLanguage($iso3Letter)
testGetLocaleFrom3LetterIso()