package GlotPress
inherited_from \GP_UnitTestCase

 Methods

_assertWarning()

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

Parameters

$assert

$warning

$original

$translation

$locale

assertContainsOutput()

assertContainsOutput($singular, $plural, $translations, $output_expected, $locale = null

Parameters

$singular

$plural

$translations

$output_expected

$locale

assertHasWarnings()

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

Parameters

$warning

$original

$translation

$locale

assertHasWarningsAndContainsOutput()

assertHasWarningsAndContainsOutput($warning, $original, $translation, $output_expected, $locale = null

Parameters

$warning

$original

$translation

$output_expected

$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_chained_warnings()

test_chained_warnings() 

test_length()

test_length() 

test_length_exclude()

test_length_exclude() 

test_mismatching_urls()

test_mismatching_urls() 

test_missing_uppercase_beginning()

test_missing_uppercase_beginning() 

test_named_placeholders()

test_named_placeholders() 

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

test_unexpected_start_end_space()

test_unexpected_start_end_space() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'