[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/tests/phpunit/testcases/tests_routes/ -> test_route_translation_set.php (summary)

(no description)

File Size: 176 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

GP_Test_Route_Translation_Set:: (25 methods):
  setUp()
  test_single_with_a_non_existent_set_gives_404()
  test_single_redirects_to_existing_set()
  test_new_get_forbidden_redirect_if_not_logged_in()
  test_new_get_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()
  test_new_get_admin_can_view_the_form()
  test_new_post_invalid_nonce_redirect_if_not_logged_in()
  test_new_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()
  test_new_post_invalid_redirect_if_empty_set()
  test_new_post_error_redirect_if_create_was_unsuccessful()
  test_new_post_should_add_notice_if_create_was_successful()
  test_edit_get_forbidden_redirect_if_not_logged_in()
  test_edit_get_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()
  test_edit_get_admin_can_view_the_form()
  test_edit_post_with_a_non_existent_set_gives_404()
  test_edit_post_invalid_nonce_redirect_if_not_logged_in()
  test_edit_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()
  test_edit_post_invalid_redirect_if_empty_set()
  test_edit_post_invalid_redirect_if_missing_name()
  test_edit_post_should_add_notice_if_update_was_successful()
  test_edit_post_error_redirect_if_create_was_unsuccessful()
  test_edit_post_the_set_name_should_be_updated()
  test_delete_post_with_a_non_existent_set_gives_404()
  test_delete_post_forbidden_redirect_if_not_logged_in()
  test_delete_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()


Class: GP_Test_Route_Translation_Set  - X-Ref

setUp()   X-Ref
No description

test_single_with_a_non_existent_set_gives_404()   X-Ref
No description

test_single_redirects_to_existing_set()   X-Ref
No description

test_new_get_forbidden_redirect_if_not_logged_in()   X-Ref
No description

test_new_get_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()   X-Ref
No description

test_new_get_admin_can_view_the_form()   X-Ref
No description

test_new_post_invalid_nonce_redirect_if_not_logged_in()   X-Ref
No description

test_new_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()   X-Ref
No description

test_new_post_invalid_redirect_if_empty_set()   X-Ref
No description

test_new_post_error_redirect_if_create_was_unsuccessful()   X-Ref
No description

test_new_post_should_add_notice_if_create_was_successful()   X-Ref
No description

test_edit_get_forbidden_redirect_if_not_logged_in()   X-Ref
No description

test_edit_get_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()   X-Ref
No description

test_edit_get_admin_can_view_the_form()   X-Ref
No description

test_edit_post_with_a_non_existent_set_gives_404()   X-Ref
No description

test_edit_post_invalid_nonce_redirect_if_not_logged_in()   X-Ref
No description

test_edit_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()   X-Ref
No description

test_edit_post_invalid_redirect_if_empty_set()   X-Ref
No description

test_edit_post_invalid_redirect_if_missing_name()   X-Ref
No description

test_edit_post_should_add_notice_if_update_was_successful()   X-Ref
No description

test_edit_post_error_redirect_if_create_was_unsuccessful()   X-Ref
No description

test_edit_post_the_set_name_should_be_updated()   X-Ref
No description

test_delete_post_with_a_non_existent_set_gives_404()   X-Ref
No description

test_delete_post_forbidden_redirect_if_not_logged_in()   X-Ref
No description

test_delete_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions()   X-Ref
No description



Generated: Fri Sep 25 01:01:51 2020 Cross-referenced by PHPXref 0.7.1