Class GP_UnitTestCase_Route

Description

Located in /t/lib/testcase-route.php (line 3)

PHPUnit_Framework_TestCase
   |
   --GP_UnitTestCase
      |
      --GP_UnitTestCase_Route
Direct descendents
Class Description
GP_Test_Route_Translation_Set
Variable Summary
mixed $route
mixed $route_class
Method Summary
void assert404 ()
void assertRedirectURLContains ( $text)
void assertTemplateLoadedIs ( $template)
void assertThereIsAnArrayElementContaining ( $text,  $array, [ $message = null])
void filter_do_not_set_cookie ( $args)
void setUp ()
void tearDown ()
Variables
mixed $route (line 4)
mixed $route_class (line 5)

Redefined in descendants as:

Inherited Variables

Inherited from GP_UnitTestCase

GP_UnitTestCase::$url
Methods
assert404 (line 79)
void assert404 ()
assertErrorRedirect (line 65)
void assertErrorRedirect ()
assertInvalidRedirect (line 60)
void assertInvalidRedirect ()
assertNotAllowedRedirect (line 55)
void assertNotAllowedRedirect ()
assertRedirected (line 31)
void assertRedirected ()
assertRedirectURLContains (line 35)
void assertRedirectURLContains ( $text)
  • $text
assertTemplateLoadedIs (line 70)
void assertTemplateLoadedIs ( $template)
  • $template
assertTemplateOutputNotEmpty (line 75)
void assertTemplateOutputNotEmpty ()
assertThereIsAnArrayElementContaining (line 48)
void assertThereIsAnArrayElementContaining ( $text,  $array, [ $message = null])
  • $text
  • $array
  • $message
assertThereIsAnErrorContaining (line 40)
void assertThereIsAnErrorContaining ( $text)
  • $text
assertThereIsANoticeContaining (line 44)
void assertThereIsANoticeContaining ( $text)
  • $text
filter_do_not_set_cookie (line 21)
void filter_do_not_set_cookie ( $args)
  • $args
setUp (line 7)
void setUp ()

Redefinition of:
GP_UnitTestCase::setUp()

Redefined in descendants as:
tearDown (line 17)
void tearDown ()

Redefinition of:
GP_UnitTestCase::tearDown()

Inherited Methods

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:07 +0100 by phpDocumentor 1.4.3