Class TestOfServerStubReturns

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/simple_mock_test.php (line 203)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfServerStubReturns
Method Summary
Variables
Methods
Constructor TestOfServerStubReturns (line 204)
TestOfServerStubReturns TestOfServerStubReturns ()
testAllWildcardReturn (line 236)
void testAllWildcardReturn ()
testCallCount (line 243)
void testCallCount ()
testComplicatedReturnSequence (line 284)
void testComplicatedReturnSequence ()
testDefaultReturn (line 208)
void testDefaultReturn ()
testMethodInterference (line 320)
void testMethodInterference ()
testMultipleMethods (line 252)
void testMultipleMethods ()
testMultipleMethodSequences (line 299)
void testMultipleMethodSequences ()
testParameteredReturn (line 215)
void testParameteredReturn ()
testReferenceReturned (line 222)
void testReferenceReturned ()
testReturnReferenceSequence (line 275)
void testReturnReferenceSequence ()
testReturnSequence (line 264)
void testReturnSequence ()
testSequenceFallback (line 311)
void testSequenceFallback ()
testWildcardReturn (line 229)
void testWildcardReturn ()

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