Class TestOfHtmlLexer

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/parser_test.php (line 309)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfHtmlLexer
Variable Summary
 mixed $_handler
 mixed $_lexer
Method Summary
Variables
mixed $_handler (line 310)
mixed $_lexer (line 311)

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_label
SimpleTestCase::$_runner
Methods
Constructor TestOfHtmlLexer (line 313)
TestOfHtmlLexer TestOfHtmlLexer ()
setUp (line 317)
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.
tearDown (line 328)
void tearDown ()

Redefinition of:
SimpleTestCase::tearDown()
Clears the data set in the setUp() method call.
testComplexLink (line 451)
void testComplexLink ()
testEmptyLink (line 383)
void testEmptyLink ()
testEmptyLinkWithId (line 435)
void testEmptyLinkWithId ()
testEncodedLinkAddress (line 419)
void testEncodedLinkAddress ()
testFramesetTag (line 364)
void testFramesetTag ()
testFramesParsedWithoutError (line 481)
void testFramesParsedWithoutError ()
testInputTag (line 373)
void testInputTag ()
testLabelledLink (line 391)
void testLabelledLink ()
testLinkAddress (line 403)
void testLinkAddress ()
testSkipComments (line 349)
void testSkipComments ()
testSkipCss (line 337)
void testSkipCss ()
testSkipJavaScript (line 343)
void testSkipJavaScript ()
testSubmit (line 470)
void testSubmit ()
testTitleTag (line 355)
void testTitleTag ()
testUninteresting (line 332)
void testUninteresting ()

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