Class TestOfHistory

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/browser_test.php (line 22)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfHistory
Method Summary
Variables
Methods
Constructor TestOfHistory (line 23)
TestOfHistory TestOfHistory ()
testCannotMoveInEmptyHistory (line 34)
void testCannotMoveInEmptyHistory ()
testCurrentTargetAccessors (line 40)
void testCurrentTargetAccessors ()
testEmptyHistoryHasFalseContents (line 27)
void testEmptyHistoryHasFalseContents ()
testGoingBackwards (line 57)
void testGoingBackwards ()
testGoingBackwardsAndForwards (line 85)
void testGoingBackwardsAndForwards ()
testGoingBackwardsOffBeginning (line 67)
void testGoingBackwardsOffBeginning ()
testGoingForwardsOffEnd (line 76)
void testGoingForwardsOffEnd ()
testNewEntryDropsFutureEntries (line 107)
void testNewEntryDropsFutureEntries ()
testNewEntryReplacesNextOne (line 96)
void testNewEntryReplacesNextOne ()
testSecondEntryAccessors (line 48)
void testSecondEntryAccessors ()

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