Class TestOfBrowserCookies

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 260)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfBrowserCookies
Method Summary
Variables
Methods
Constructor TestOfBrowserCookies (line 261)
TestOfBrowserCookies TestOfBrowserCookies ()
testAgeingAndClearing (line 342)
void testAgeingAndClearing ()
testClearCookieBySettingExpiry (line 323)
void testClearCookieBySettingExpiry ()
testOverwriteCookieThatAlreadyExists (line 311)
void testOverwriteCookieThatAlreadyExists ()
testReadingIncomingAndSetCookies (line 362)
void testReadingIncomingAndSetCookies ()
testSendingExistingCookie (line 296)
void testSendingExistingCookie ()
_createCookieSite (line 275)
void &_createCookieSite (mixed $cookies)
_createPartialFetcher (line 289)
void &_createPartialFetcher (mixed &$request)
_createStandardResponse (line 264)
void &_createStandardResponse ()

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:14:32 +0000 by phpDocumentor 1.3.0RC3