Class DomTestCase

Description

DomTestCase

Extend Web test case with DOM related assertions, CSS selectors in particular

Located in /extensions/dom_tester.php (line 96)

SimpleTestCase
   |
   --WebTestCase
      |
      --DomTestCase
Variable Summary
 mixed $dom
Method Summary
 void assertElementsBySelector ( $selector,  $elements, [ $message = '%s'])
 void getElementsBySelector ( $selector)
 void loadDom ()
Variables
mixed $dom (line 97)
  • access: public

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$reporter
Methods
assertElementsBySelector (line 111)
void assertElementsBySelector ( $selector,  $elements, [ $message = '%s'])
  • $selector
  • $elements
  • $message
getElementsBySelector (line 105)
void getElementsBySelector ( $selector)
  • $selector
loadDom (line 99)
void loadDom ()

Inherited Methods

Inherited From WebTestCase

 WebTestCase::__construct()
 WebTestCase::addHeader()
 WebTestCase::after()
 WebTestCase::ageCookies()
 WebTestCase::assertAuthentication()
 WebTestCase::assertClickable()
 WebTestCase::assertCookie()
 WebTestCase::assertEqual()
 WebTestCase::assertFalse()
 WebTestCase::assertField()
 WebTestCase::assertFieldById()
 WebTestCase::assertFieldByName()
 WebTestCase::assertFieldValue()
 WebTestCase::assertHeader()
 WebTestCase::assertImage()
 WebTestCase::assertLink()
 WebTestCase::assertLinkById()
 WebTestCase::assertMime()
 WebTestCase::assertNoAuthentication()
 WebTestCase::assertNoCookie()
 WebTestCase::assertNoHeader()
 WebTestCase::assertNoLink()
 WebTestCase::assertNoLinkById()
 WebTestCase::assertNoPattern()
 WebTestCase::assertNotEqual()
 WebTestCase::assertNoText()
 WebTestCase::assertPattern()
 WebTestCase::assertRealm()
 WebTestCase::assertResponse()
 WebTestCase::assertSubmit()
 WebTestCase::assertText()
 WebTestCase::assertTitle()
 WebTestCase::assertTrue()
 WebTestCase::authenticate()
 WebTestCase::back()
 WebTestCase::before()
 WebTestCase::clearFrameFocus()
 WebTestCase::click()
 WebTestCase::clickImage()
 WebTestCase::clickImageById()
 WebTestCase::clickImageByName()
 WebTestCase::clickLink()
 WebTestCase::clickLinkById()
 WebTestCase::clickSubmit()
 WebTestCase::clickSubmitById()
 WebTestCase::clickSubmitByName()
 WebTestCase::createBrowser()
 WebTestCase::delete()
 WebTestCase::failOnError()
 WebTestCase::forward()
 WebTestCase::get()
 WebTestCase::getAssertionLine()
 WebTestCase::getBrowser()
 WebTestCase::getCookie()
 WebTestCase::getFrameFocus()
 WebTestCase::getTransportError()
 WebTestCase::getUrl()
 WebTestCase::head()
 WebTestCase::ignoreCookies()
 WebTestCase::ignoreErrors()
 WebTestCase::ignoreFrames()
 WebTestCase::post()
 WebTestCase::put()
 WebTestCase::restart()
 WebTestCase::retry()
 WebTestCase::setBrowser()
 WebTestCase::setConnectionTimeout()
 WebTestCase::setCookie()
 WebTestCase::setField()
 WebTestCase::setFieldById()
 WebTestCase::setFieldByName()
 WebTestCase::setFrameFocus()
 WebTestCase::setFrameFocusByIndex()
 WebTestCase::setMaximumRedirects()
 WebTestCase::setParser()
 WebTestCase::showHeaders()
 WebTestCase::showRequest()
 WebTestCase::showSource()
 WebTestCase::showText()
 WebTestCase::submitFormById()
 WebTestCase::unsetBrowser()
 WebTestCase::useProxy()

Inherited From SimpleTestCase

 SimpleTestCase::__construct()
 SimpleTestCase::after()
 SimpleTestCase::assert()
 SimpleTestCase::before()
 SimpleTestCase::createInvoker()
 SimpleTestCase::dump()
 SimpleTestCase::error()
 SimpleTestCase::exception()
 SimpleTestCase::fail()
 SimpleTestCase::getAssertionLine()
 SimpleTestCase::getLabel()
 SimpleTestCase::getSize()
 SimpleTestCase::getTests()
 SimpleTestCase::isTest()
 SimpleTestCase::pass()
 SimpleTestCase::run()
 SimpleTestCase::setUp()
 SimpleTestCase::shouldSkip()
 SimpleTestCase::signal()
 SimpleTestCase::skip()
 SimpleTestCase::skipIf()
 SimpleTestCase::skipUnless()
 SimpleTestCase::tearDown()
 SimpleTestCase::tell()

Documentation generated on Sun, 31 Oct 2010 16:31:13 -0500 by phpDocumentor 1.4.3