Class TestOfSaxGeneration

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

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfSaxGeneration
Variable Summary
 mixed $_lexer
 mixed $_listener
Method Summary
 TestOfSaxGeneration TestOfSaxGeneration ()
 void setUp ()
 void tearDown ()
 void testButton ()
 void testContent ()
 void testIgnore ()
 void testInput ()
 void testLinkEnd ()
 void testLinkStart ()
Variables
mixed $_lexer (line 507)
mixed $_listener (line 506)

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_label
SimpleTestCase::$_runner
Methods
Constructor TestOfSaxGeneration (line 509)
TestOfSaxGeneration TestOfSaxGeneration ()
setUp (line 513)
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 519)
void tearDown ()

Redefinition of:
SimpleTestCase::tearDown()
Clears the data set in the setUp() method call.
testButton (line 609)
void testButton ()
testContent (line 621)
void testContent ()
testIgnore (line 628)
void testIgnore ()
testInput (line 597)
void testInput ()
testLexerFailure (line 524)
void testLexerFailure ()
testLexerSuccess (line 529)
void testLexerSuccess ()
testLinkEnd (line 590)
void testLinkEnd ()
testLinkStart (line 550)
void testLinkStart ()
testLinkStartWithEncodedUrl (line 562)
void testLinkStartWithEncodedUrl ()
testLinkStartWithId (line 576)
void testLinkStartWithId ()
testSimpleLinkStart (line 534)
void testSimpleLinkStart ()
testSimpleTitleStart (line 542)
void testSimpleTitleStart ()

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