package GlotPress
inherited_from \GP_UnitTestCase

 Methods

clean_up_global_scope()

clean_up_global_scope() 
Inherited

setUp()

setUp() 
inherited_from \GP_UnitTestCase::setUp()

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_add()

test_add() 

test_check()

test_check() 

If a locale has no plural forms, we should check only against the plural original, since it probably contains the placeholders

test_check_no_plural_forms_locales() 

For the plural form, corresponding to the number 1 check only against the singular, not also against the plural

test_check_singular_plural_correspondence() 

test_remove()

test_remove() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'