Class TestOfHttpResponse

Description

Standard unit test class for day to day testing of PHP code XP style. Adds some useful standard assertions.

Located in /libraries/pear/simpletest/test/http_test.php (line 387)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfHttpResponse
Method Summary
Variables
Methods
Constructor TestOfHttpResponse (line 388)
TestOfHttpResponse TestOfHttpResponse ()
testBadRequest (line 391)
void testBadRequest ()
testBadSocketDuringResponse (line 401)
void testBadSocketDuringResponse ()
testIncompleteHeader (line 413)
void testIncompleteHeader ()
testParseOfCookies (line 445)
void testParseOfCookies ()
testParseOfResponseHeaders (line 424)
void testParseOfResponseHeaders ()
testRedirect (line 465)
void testRedirect ()
testRedirectWithPort (line 479)
void testRedirectWithPort ()

Inherited Methods

Inherited From UnitTestCase

 UnitTestCase::UnitTestCase()
 UnitTestCase::assertCopy()
 UnitTestCase::assertEqual()
 UnitTestCase::assertError()
 UnitTestCase::assertErrorPattern()
 UnitTestCase::assertIdentical()
 UnitTestCase::assertIsA()
 UnitTestCase::assertNoErrors()
 UnitTestCase::assertNotA()
 UnitTestCase::assertNotEqual()
 UnitTestCase::assertNotIdentical()
 UnitTestCase::assertNotNull()
 UnitTestCase::assertNoUnwantedPattern()
 UnitTestCase::assertNull()
 UnitTestCase::assertReference()
 UnitTestCase::assertWantedPattern()

Inherited From SimpleTestCase

 SimpleTestCase::SimpleTestCase()
 SimpleTestCase::after()
 SimpleTestCase::assertExpectation()
 SimpleTestCase::assertFalse()
 SimpleTestCase::assertTrue()
 SimpleTestCase::before()
 SimpleTestCase::dump()
 SimpleTestCase::error()
 SimpleTestCase::fail()
 SimpleTestCase::getAssertionLine()
 SimpleTestCase::getLabel()
 SimpleTestCase::getSize()
 SimpleTestCase::pass()
 SimpleTestCase::run()
 SimpleTestCase::sendMessage()
 SimpleTestCase::setUp()
 SimpleTestCase::signal()
 SimpleTestCase::swallowErrors()
 SimpleTestCase::tearDown()
 SimpleTestCase::_createRunner()

Documentation generated on Fri, 11 Feb 2005 18:13:23 +0000 by phpDocumentor 1.3.0RC3