Class TestOfLiveRedirects

Description

Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.

Located in /libraries/pear/simpletest/test/acceptance_test.php (line 214)

RunnableTest
   |
   --SimpleTestCase
      |
      --WebTestCase
         |
         --TestOfLiveRedirects
Method Summary
Variables

Inherited Variables

Inherited from WebTestCase

WebTestCase::$_browser

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfLiveRedirects (line 215)
TestOfLiveRedirects TestOfLiveRedirects ()
setUp (line 218)
void setUp ()

Redefinition of:
SimpleTestCase::setUp()
Sets up unit test wide variables at the start of each test method. To be overridden in actual user test cases.
testNoRedirects (line 221)
void testNoRedirects ()
testRedirectKeepsExtraRequestDataOfItsOwn (line 235)
void testRedirectKeepsExtraRequestDataOfItsOwn ()
testRedirectLosesGetData (line 231)
void testRedirectLosesGetData ()
testRedirectLosesPostData (line 239)
void testRedirectLosesPostData ()
testRedirects (line 226)
void testRedirects ()
testRedirectWithBaseUrlChange (line 244)
void testRedirectWithBaseUrlChange ()
testRedirectWithDoubleBaseUrlChange (line 250)
void testRedirectWithDoubleBaseUrlChange ()

Inherited Methods

Inherited From WebTestCase

 WebTestCase::WebTestCase()
 WebTestCase::addHeader()
 WebTestCase::ageCookies()
 WebTestCase::assertAuthentication()
 WebTestCase::assertCookie()
 WebTestCase::assertField()
 WebTestCase::assertFieldById()
 WebTestCase::assertLink()
 WebTestCase::assertLinkById()
 WebTestCase::assertMime()
 WebTestCase::assertNoAuthentication()
 WebTestCase::assertNoCookie()
 WebTestCase::assertNoUnwantedPattern()
 WebTestCase::assertRealm()
 WebTestCase::assertResponse()
 WebTestCase::assertTitle()
 WebTestCase::assertWantedPattern()
 WebTestCase::authenticate()
 WebTestCase::back()
 WebTestCase::clearFrameFocus()
 WebTestCase::clickImage()
 WebTestCase::clickImageById()
 WebTestCase::clickImageByName()
 WebTestCase::clickLink()
 WebTestCase::clickLinkById()
 WebTestCase::clickSubmit()
 WebTestCase::clickSubmitById()
 WebTestCase::clickSubmitByName()
 WebTestCase::createBrowser()
 WebTestCase::forward()
 WebTestCase::get()
 WebTestCase::getBrowser()
 WebTestCase::getFrameFocus()
 WebTestCase::getTransportError()
 WebTestCase::head()
 WebTestCase::ignoreFrames()
 WebTestCase::invoke()
 WebTestCase::post()
 WebTestCase::restartSession()
 WebTestCase::retry()
 WebTestCase::setConnectionTimeout()
 WebTestCase::setCookie()
 WebTestCase::setField()
 WebTestCase::setFieldById()
 WebTestCase::setFrameFocus()
 WebTestCase::setFrameFocusByIndex()
 WebTestCase::setMaximumRedirects()
 WebTestCase::showHeaders()
 WebTestCase::showRequest()
 WebTestCase::showSource()
 WebTestCase::submitFormById()
 WebTestCase::useProxy()

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 Fri, 10 Dec 2004 18:24:53 +0000 by phpDocumentor 1.3.0RC3