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

RunnableTest
   |
   --SimpleTestCase
      |
      --UnitTestCase
         |
         --TestOfHistory
Method Summary
Variables

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfHistory (line 19)
TestOfHistory TestOfHistory ()
testCannotMoveInEmptyHistory (line 28)
void testCannotMoveInEmptyHistory ()
testCurrentTargetAccessors (line 33)
void testCurrentTargetAccessors ()
testEmptyHistoryHasFalseContents (line 22)
void testEmptyHistoryHasFalseContents ()
testGoingBackwards (line 48)
void testGoingBackwards ()
testGoingBackwardsAndForwards (line 73)
void testGoingBackwardsAndForwards ()
testGoingBackwardsOffBeginning (line 57)
void testGoingBackwardsOffBeginning ()
testGoingForwardsOffEnd (line 65)
void testGoingForwardsOffEnd ()
testNewEntryDropsFutureEntries (line 93)
void testNewEntryDropsFutureEntries ()
testNewEntryReplacesNextOne (line 83)
void testNewEntryReplacesNextOne ()
testSecondEntryAccessors (line 40)
void testSecondEntryAccessors ()

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, 24 Dec 2004 13:01:38 +0000 by phpDocumentor 1.3.0RC3