Class TestOfMockObjectsOutput

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/visual_test.php (line 211)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfMockObjectsOutput
Method Summary
Variables
Methods
Constructor TestOfMockObjectsOutput (line 212)
TestOfMockObjectsOutput TestOfMockObjectsOutput ()
testArrayMatching (line 293)
void testArrayMatching ()
testBigList (line 311)
void testBigList ()
testBooleanMatching (line 255)
void testBooleanMatching ()
testCallCounts (line 216)
void testCallCounts ()
testEmptyMatching (line 234)
void testEmptyMatching ()
testEmptyMatchingWithCustomExpectationMessage (line 283)
void testEmptyMatchingWithCustomExpectationMessage ()
testEmptyMatchingWithCustomMessage (line 241)
void testEmptyMatchingWithCustomMessage ()
testFloatMatching (line 269)
void testFloatMatching ()
testIntegerMatching (line 262)
void testIntegerMatching ()
testMinimumCallCounts (line 225)
void testMinimumCallCounts ()
testNullMatching (line 248)
void testNullMatching ()
testObjectMatching (line 300)
void testObjectMatching ()
testStringMatching (line 276)
void testStringMatching ()

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