Class TestOfPageScraping

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

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfPageScraping
Method Summary
Variables
Methods
Constructor TestOfPageScraping (line 467)
TestOfPageScraping TestOfPageScraping ()
parse (line 471)
void &parse (mixed $response)
testEmptyFrameset (line 534)
void testEmptyFrameset ()
testEmptyPage (line 476)
void testEmptyPage ()
testFindFormByButtonTag (line 646)
void testFindFormByButtonTag ()
testFindFormById (line 659)
void testFindFormById ()
testFindFormByImage (line 634)
void testFindFormByImage ()
testFindFormByLabel (line 622)
void testFindFormByLabel ()
testFramesCollectedWithNestedFramesetTags (line 585)
void testFramesCollectedWithNestedFramesetTags ()
testFrameWithNoSource (line 574)
void testFrameWithNoSource ()
testLinksPage (line 492)
void testLinksPage ()
testNamedFrames (line 603)
void testNamedFrames ()
testNastyTitle (line 524)
void testNastyTitle ()
testReadingTextArea (line 700)
void testReadingTextArea ()
testReadingTextField (line 670)
void testReadingTextField ()
testSettingSelectionField (line 723)
void testSettingSelectionField ()
testSettingTextArea (line 711)
void testSettingTextArea ()
testSettingTextField (line 683)
void testSettingTextField ()
testSingleFrame (line 545)
void testSingleFrame ()
testSingleFrameInNestedFrameset (line 559)
void testSingleFrameInNestedFrameset ()
testTitle (line 516)
void testTitle ()
testUninterestingPage (line 483)
void testUninterestingPage ()

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