Class GP_Test_Route_Translation_Set

Description

Located in /t/tests_routes/test_route_translation_set.php (line 4)

PHPUnit_Framework_TestCase
   |
   --GP_UnitTestCase
      |
      --GP_UnitTestCase_Route
         |
         --GP_Test_Route_Translation_Set
Variable Summary
mixed $route_class
Method Summary
Variables
mixed $route_class = 'GP_Route_Translation_Set' (line 5)

Redefinition of:
GP_UnitTestCase_Route::$route_class

Inherited Variables

Inherited from GP_UnitTestCase_Route

GP_UnitTestCase_Route::$route

Inherited from GP_UnitTestCase

GP_UnitTestCase::$url
Methods
setUp (line 7)
void setUp ()

Redefinition of:
GP_UnitTestCase_Route::setUp()
test_edit_get_admin_can_view_the_form (line 84)
void test_edit_get_admin_can_view_the_form ()
test_edit_get_forbidden_redirect_if_logged_in_but_without_sufficient_permissions (line 78)
void test_edit_get_forbidden_redirect_if_logged_in_but_without_sufficient_permissions ()
test_edit_get_forbidden_redirect_if_not_logged_in (line 73)
void test_edit_get_forbidden_redirect_if_not_logged_in ()
test_edit_post_error_redirect_if_create_was_unsuccessful (line 127)
void test_edit_post_error_redirect_if_create_was_unsuccessful ()
test_edit_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions (line 100)
void test_edit_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions ()
test_edit_post_forbidden_redirect_if_not_logged_in (line 95)
void test_edit_post_forbidden_redirect_if_not_logged_in ()
test_edit_post_invalid_redirect_if_empty_set (line 106)
void test_edit_post_invalid_redirect_if_empty_set ()
test_edit_post_invalid_redirect_if_missing_name (line 112)
void test_edit_post_invalid_redirect_if_missing_name ()
test_edit_post_should_add_notice_if_update_was_successful (line 120)
void test_edit_post_should_add_notice_if_update_was_successful ()
test_edit_post_the_set_name_should_be_updated (line 135)
void test_edit_post_the_set_name_should_be_updated ()
test_edit_post_with_a_non_existent_set_gives_404 (line 91)
void test_edit_post_with_a_non_existent_set_gives_404 ()
test_new_get_admin_can_view_the_form (line 33)
void test_new_get_admin_can_view_the_form ()
test_new_get_forbidden_redirect_if_logged_in_but_without_sufficient_permissions (line 27)
void test_new_get_forbidden_redirect_if_logged_in_but_without_sufficient_permissions ()
test_new_get_forbidden_redirect_if_not_logged_in (line 22)
void test_new_get_forbidden_redirect_if_not_logged_in ()
test_new_post_error_redirect_if_create_was_unsuccessful (line 57)
void test_new_post_error_redirect_if_create_was_unsuccessful ()
test_new_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions (line 45)
void test_new_post_forbidden_redirect_if_logged_in_but_without_sufficient_permissions ()
test_new_post_forbidden_redirect_if_not_logged_in (line 40)
void test_new_post_forbidden_redirect_if_not_logged_in ()
test_new_post_invalid_redirect_if_empty_set (line 51)
void test_new_post_invalid_redirect_if_empty_set ()
test_new_post_should_add_notice_if_create_was_successful (line 66)
void test_new_post_should_add_notice_if_create_was_successful ()
test_single_redirects_to_existing_set (line 16)
void test_single_redirects_to_existing_set ()
test_single_with_a_non_existent_set_gives_404 (line 12)
void test_single_with_a_non_existent_set_gives_404 ()

Inherited Methods

Inherited From GP_UnitTestCase_Route

GP_UnitTestCase_Route::assert404()
GP_UnitTestCase_Route::assertErrorRedirect()
GP_UnitTestCase_Route::assertInvalidRedirect()
GP_UnitTestCase_Route::assertNotAllowedRedirect()
GP_UnitTestCase_Route::assertRedirected()
GP_UnitTestCase_Route::assertRedirectURLContains()
GP_UnitTestCase_Route::assertTemplateLoadedIs()
GP_UnitTestCase_Route::assertTemplateOutputNotEmpty()
GP_UnitTestCase_Route::assertThereIsAnArrayElementContaining()
GP_UnitTestCase_Route::assertThereIsAnErrorContaining()
GP_UnitTestCase_Route::assertThereIsANoticeContaining()
GP_UnitTestCase_Route::filter_do_not_set_cookie()
GP_UnitTestCase_Route::setUp()
GP_UnitTestCase_Route::tearDown()

Inherited From GP_UnitTestCase

GP_UnitTestCase::assertDiscardWhitespace()
GP_UnitTestCase::assertEqualFields()
GP_UnitTestCase::assertWPError()
GP_UnitTestCase::clean_up_global_scope()
GP_UnitTestCase::setUp()
GP_UnitTestCase::set_admin_user_as_current()
GP_UnitTestCase::set_normal_user_as_current()
GP_UnitTestCase::start_transaction()
GP_UnitTestCase::tearDown()
GP_UnitTestCase::temp_filename()

Documentation generated on Fri, 18 May 2012 01:46:08 +0100 by phpDocumentor 1.4.3