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

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

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfSaxGeneration (line 474)
TestOfSaxGeneration TestOfSaxGeneration ()
setUp (line 477)
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 482)
void tearDown ()

Redefinition of:
SimpleTestCase::tearDown()
Clears the data set in the setUp() method call.
testContent (line 562)
void testContent ()
testIgnore (line 568)
void testIgnore ()
testInput (line 551)
void testInput ()
testLexerFailure (line 486)
void testLexerFailure ()
testLexerSuccess (line 490)
void testLexerSuccess ()
testLinkEnd (line 545)
void testLinkEnd ()
testLinkStart (line 508)
void testLinkStart ()
testLinkStartWithEncodedUrl (line 519)
void testLinkStartWithEncodedUrl ()
testLinkStartWithId (line 532)
void testLinkStartWithId ()
testSimpleLinkStart (line 494)
void testSimpleLinkStart ()
testSimpleTitleStart (line 501)
void testSimpleTitleStart ()

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 Fri, 3 Dec 2004 12:27:17 +0000 by phpDocumentor 1.3.0RC3