package GlotPress
inherited_from \GP_UnitTestCase

 Methods

clean_up_global_scope()

clean_up_global_scope() 
Inherited

Returns the expected data for the parsed example-untranslated.json file.

data_example_originals() 

Returns the expected data for the parsed example-untranslated.json file.

data_example_translations() 

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

test_format_extension() 

test_format_name()

test_format_name() 

test_print_exported_file_can_be_decoded()

test_print_exported_file_can_be_decoded() 

test_print_exported_file_has_valid_format()

test_print_exported_file_has_valid_format() 

test_read_originals_from_file()

test_read_originals_from_file() 

test_read_originals_from_file_invalid_file()

test_read_originals_from_file_invalid_file() 

test_read_originals_from_file_missing_domain()

test_read_originals_from_file_missing_domain() 

test_read_originals_from_file_missing_locale_data()

test_read_originals_from_file_missing_locale_data() 

test_read_originals_from_file_non_existent_file()

test_read_originals_from_file_non_existent_file() 

test_read_translations_from_file()

test_read_translations_from_file() 

test_read_translations_from_file_missing_domain()

test_read_translations_from_file_missing_domain() 

test_read_translations_from_file_missing_locale_data()

test_read_translations_from_file_missing_locale_data() 

test_read_translations_from_file_non_existent_file()

test_read_translations_from_file_non_existent_file() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'
 

$format

$format : string

Default

'jed1x'
 

$locale

$locale : \GP_Locale

Default

 

$translation_set

$translation_set : \GP_Translation_Set

Default