| package | GlotPress |
|---|---|
| inherited_from | \GP_UnitTestCase |
clean_up_global_scope()
data_example_originals()
data_example_translations()
setUp()
| inherited_from | \GP_UnitTestCase::setUp() |
|---|
setUp()
set_admin_user_as_current()
set_normal_user_as_current()
set_permalink_structure(string $structure = '')
Also updates the pre_option filter for permalink_structure.
| global | WP_Rewrite $wp_rewrite |
|---|
stringOptional. Permalink structure to set. Default empty.
test_format_extension()
test_format_name()
test_print_exported_file_can_be_decoded()
test_print_exported_file_has_valid_format()
test_read_originals_from_file()
test_read_originals_from_file_invalid_file()
test_read_originals_from_file_missing_domain()
test_read_originals_from_file_missing_locale_data()
test_read_originals_from_file_non_existent_file()
test_read_translations_from_file()
test_read_translations_from_file_missing_domain()
test_read_translations_from_file_missing_locale_data()
test_read_translations_from_file_non_existent_file()
$factory : \GP_UnitTest_Factory
$url : string
'http://example.org/'$format : string
'jed1x'$locale : \GP_Locale
$translation_set : \GP_Translation_Set