Class TestOfUrl

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/url_test.php (line 98)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfUrl
Method Summary
Variables
Methods
Constructor TestOfUrl (line 99)
TestOfUrl TestOfUrl ()
assertPreserved (line 352)
void assertPreserved (mixed $string)
assertUrl (line 331)
void assertUrl (mixed $raw, mixed $parts, [mixed $params = false], [mixed $coords = false])
testAbsolutePathPageSplitting (line 237)
void testAbsolutePathPageSplitting ()
testAddParameters (line 157)
void testAddParameters ()
testAmbiguousHosts (line 298)
void testAmbiguousHosts ()
testAsString (line 319)
void testAsString ()
testBasicParsing (line 112)
void testBasicParsing ()
testBlitz (line 267)
void testBlitz ()
testClearingCordinates (line 205)
void testClearingCordinates ()
testClearingParameters (line 167)
void testClearingParameters ()
testDecodingParameters (line 183)
void testDecodingParameters ()
testDefaultUrl (line 103)
void testDefaultUrl ()
testEncodingParameters (line 175)
void testEncodingParameters ()
testPageSplitting (line 230)
void testPageSplitting ()
testParseBareParameter (line 126)
void testParseBareParameter ()
testParseCordinates (line 198)
void testParseCordinates ()
testParseEmptyParameter (line 132)
void testParseEmptyParameter ()
testParseMultipleParameters (line 144)
void testParseMultipleParameters ()
testParseParameterPair (line 138)
void testParseParameterPair ()
testParsingParameterCordinateMixture (line 212)
void testParsingParameterCordinateMixture ()
testParsingParameterMixture (line 150)
void testParsingParameterMixture ()
testParsingParameterWithBadCordinates (line 221)
void testParsingParameterWithBadCordinates ()
testPathNormalisation (line 244)
void testPathNormalisation ()
testRelativeUrls (line 119)
void testRelativeUrls ()
testRequestEncoding (line 257)
void testRequestEncoding ()
testSettingCordinates (line 190)
void testSettingCordinates ()
testUsernameAndPasswordAreUrlDecoded (line 250)
void testUsernameAndPasswordAreUrlDecoded ()

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