Class TestOfHttpRedirects

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/user_agent_test.php (line 472)

RunnableTest
   |
   --SimpleTestCase
      |
      --UnitTestCase
         |
         --TestOfHttpRedirects
Method Summary
 TestOfHttpRedirects TestOfHttpRedirects ()
 void &createRedirect (mixed $content, mixed $redirect)
Variables

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfHttpRedirects (line 473)
TestOfHttpRedirects TestOfHttpRedirects ()
createRedirect (line 476)
void &createRedirect (mixed $content, mixed $redirect)
testDisabledRedirects (line 491)
void testDisabledRedirects ()
testDoubleRedirect (line 524)
void testDoubleRedirect ()
testRedirectChangesPostToGet (line 570)
void testRedirectChangesPostToGet ()
testSingleRedirect (line 505)
void testSingleRedirect ()
testSuccessAfterRedirect (line 547)
void testSuccessAfterRedirect ()

Inherited Methods

Inherited From UnitTestCase

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

Inherited From SimpleTestCase

 SimpleTestCase::SimpleTestCase()
 SimpleTestCase::assertExpectation()
 SimpleTestCase::assertFalse()
 SimpleTestCase::assertTrue()
 SimpleTestCase::dump()
 SimpleTestCase::error()
 SimpleTestCase::fail()
 SimpleTestCase::getAssertionLine()
 SimpleTestCase::invoke()
 SimpleTestCase::pass()
 SimpleTestCase::run()
 SimpleTestCase::sendMessage()
 SimpleTestCase::setUp()
 SimpleTestCase::signal()
 SimpleTestCase::swallowErrors()
 SimpleTestCase::tearDown()
 SimpleTestCase::_createRunner()
 SimpleTestCase::_isConstructor()
 SimpleTestCase::_isTest()

Inherited From RunnableTest

 RunnableTest::RunnableTest()
 RunnableTest::getLabel()
 RunnableTest::getSize()
 RunnableTest::run()

Documentation generated on Thu, 20 Jan 2005 17:11:27 +0000 by phpDocumentor 1.3.0RC3