Class TestOfHtmlPage

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/page_test.php (line 283)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfHtmlPage
Method Summary
Variables
Methods
Constructor TestOfHtmlPage (line 284)
TestOfHtmlPage TestOfHtmlPage ()
testAddAbsoluteLink (line 303)
void testAddAbsoluteLink ()
testAddRelativeLink (line 334)
void testAddRelativeLink ()
testAddStrictRelativeLink (line 317)
void testAddStrictRelativeLink ()
testFindLinkWithNormalisation (line 370)
void testFindLinkWithNormalisation ()
testFramesetAbsence (line 393)
void testFramesetAbsence ()
testFramesInPage (line 410)
void testFramesInPage ()
testHasEmptyFrameset (line 402)
void testHasEmptyFrameset ()
testLinkIds (line 351)
void testLinkIds ()
testNamedFramesInPage (line 428)
void testNamedFramesInPage ()
testNoLinks (line 296)
void testNoLinks ()
testRawAccessor (line 288)
void testRawAccessor ()
testTitleSetting (line 385)
void testTitleSetting ()

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