package GlotPress
inherited_from \GP_UnitTestCase

 Methods

_assertWarning()

_assertWarning($assert, $warning, $original, $translation, $locale = null

Parameters

$assert

$warning

$original

$translation

$locale

assertHasWarnings()

assertHasWarnings($warning, $original, $translation, $locale = null

Parameters

$warning

$original

$translation

$locale

assertNoWarnings()

assertNoWarnings($warning, $original, $translation, $locale = null

Parameters

$warning

$original

$translation

$locale

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

test_add_all() 

test_length()

test_length() 

test_length_exclude()

test_length_exclude() 

test_placeholders()

test_placeholders() 

test_placeholders_using_check()

test_placeholders_using_check() 

test_should_begin_end_on_newline()

test_should_begin_end_on_newline() 

test_tags()

test_tags() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'