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
Utility method that resets permalinks and flushes rewrites.
set_permalink_structure(string $structure = ''
)
Inherited
Also updates the pre_option filter for permalink_structure
.
global |
WP_Rewrite $wp_rewrite |
Parameters
$structure
string
Optional. Permalink structure to set. Default empty.
test_gp_breadcrumb_should_display_default_list()
test_gp_breadcrumb_should_display_default_list()
test_gp_breadcrumb_should_flatten_the_given_array_of_crumbs()
test_gp_breadcrumb_should_flatten_the_given_array_of_crumbs()
test_gp_breadcrumb_should_join_all_crumbs()
test_gp_breadcrumb_should_join_all_crumbs()
test_gp_breadcrumb_should_return_empty_string_without_params()
test_gp_breadcrumb_should_return_empty_string_without_params()
test_gp_breadcrumb_should_run_empty_string_through_filter_without_params()
test_gp_breadcrumb_should_run_empty_string_through_filter_without_params()
test_gp_breadcrumb_should_use_the_before_argument()
test_gp_breadcrumb_should_use_the_before_argument()
test_gp_get_translation_row_classes()
test_gp_get_translation_row_classes()
Properties
$factory
$factory : \GP_UnitTest_Factory
$url
$url : string
Default
'http://example.org/'