group locales
package GlotPress
inherited_from \GP_UnitTestCase

 Methods

clean_up_global_scope()

clean_up_global_scope() 
Inherited

data_provider_locales()

data_provider_locales() 

setUp()

setUp() 
Inherited

set_admin_user_as_current()

set_admin_user_as_current() 
Inherited

set_normal_user_as_current()

set_normal_user_as_current() 
Inherited

test_class_exists()

test_class_exists() 

Tests syntax of ISO codes for language and country for a locale.

test_locale_iso_codes(\GP_locale $locale) 
dataProvider data_provider_locales

Parameters

$locale

\GP_locale

The locale to test.

Tests plural form of a locale.

test_locale_plural(\GP_locale $locale) 
dataProvider data_provider_locales

Parameters

$locale

\GP_locale

The locale to test.

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'

 Constants

 

SKIP_LOCALES

SKIP_LOCALES = array('ak', 'am', 'as', 'bho', 'bn', 'fuc', 'ful', 'gu', 'hi', 'hy', 'kn', 'mg', 'nso', 'pcm', 'pt-ao', 'si', 'wa', 'zul', 'orm', 'tr', 'tuk', 'bm', 'jv', 'ka', 'mya', 'nqo', 'sah', 'yor', 'br', 'ceb', 'tl', 'cy', 'he', 'id', 'uz', 'tir', 'tzm', 'fr', 'fr-be', 'fr-ca', 'fr-ch')