Class GP_UnitTestCase_Request

Description

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

PHPUnit_Framework_TestCase
   |
   --GP_UnitTestCase
      |
      --GP_UnitTestCase_Request
Direct descendents
Class Description
GP_Test_Requests
Variable Summary
mixed $body
Method Summary
void assertRedirect ()
void assertResponseContains ( $needle)
void assertResponseNotContains ( $needle)
void get ( $uri, [ $get_vars = array()])
void post ( $uri, [ $get_vars = array()])
Variables
mixed $body = null (line 4)

Inherited Variables

Inherited from GP_UnitTestCase

GP_UnitTestCase::$url
Methods
assertRedirect (line 43)
void assertRedirect ()
assertResponseContains (line 47)
void assertResponseContains ( $needle)
  • $needle
assertResponseNotContains (line 51)
void assertResponseNotContains ( $needle)
  • $needle
get (line 6)
void get ( $uri, [ $get_vars = array()])
  • $uri
  • $get_vars
post (line 10)
void post ( $uri, [ $get_vars = array()])
  • $uri
  • $get_vars

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