package GlotPress
inherited_from \GP_UnitTestCase

 Methods

clean_up_global_scope()

clean_up_global_scope() 
Inherited

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

test_map_glossary_entries_to_translation_originals_with_ampersand_in_glossary() 

Expects matching a term with an hyphen [color-scheme].

test_map_glossary_entries_to_translation_originals_with_hyphens_in_glossary() 

Expects matching a term with space and hyphen mixed [GlotPress WP-Team].

test_map_glossary_entries_to_translation_originals_with_spaces_and_hyphens_in_glossary() 

Expects matching a term with a space between words [color scheme].

test_map_glossary_entries_to_translation_originals_with_spaces_in_glossary() 

Expects matching the 3 words term [admin color scheme] instead of the 2 words term [color scheme] or single word term [admin].

test_map_glossary_entries_to_translation_originals_with_word_count_priority() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'