Class TestOfBrowserNavigation

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/browser_test.php (line 200)

RunnableTest
   |
   --SimpleTestCase
      |
      --UnitTestCase
         |
         --TestOfBrowserNavigation
Method Summary
Variables

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfBrowserNavigation (line 201)
TestOfBrowserNavigation TestOfBrowserNavigation ()
createBrowser (line 204)
void &createBrowser (mixed &$agent, mixed &$page)
testClickIndexedLink (line 247)
void testClickIndexedLink ()
testClickingMissingLinkFails (line 235)
void testClickingMissingLinkFails ()
testClickingMissingLinkIdFails (line 285)
void testClickingMissingLinkIdFails ()
testClickLinkRequestsPage (line 211)
void testClickLinkRequestsPage ()
testClinkLinkById (line 265)
void testClinkLinkById ()
testDefaultSubmitFormByLabel (line 324)
void testDefaultSubmitFormByLabel ()
testSubmitFormByFormId (line 460)
void testSubmitFormByFormId ()
testSubmitFormById (line 372)
void testSubmitFormById ()
testSubmitFormByImageId (line 438)
void testSubmitFormByImageId ()
testSubmitFormByImageLabel (line 394)
void testSubmitFormByImageLabel ()
testSubmitFormByImageName (line 416)
void testSubmitFormByImageName ()
testSubmitFormByLabel (line 296)
void testSubmitFormByLabel ()
testSubmitFormByName (line 352)
void testSubmitFormByName ()

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