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

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

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfServerStubReturns (line 182)
TestOfServerStubReturns TestOfServerStubReturns ()
testAllWildcardReturn (line 209)
void testAllWildcardReturn ()
testCallCount (line 215)
void testCallCount ()
testComplicatedReturnSequence (line 252)
void testComplicatedReturnSequence ()
testDefaultReturn (line 185)
void testDefaultReturn ()
testMethodInterference (line 285)
void testMethodInterference ()
testMultipleMethods (line 223)
void testMultipleMethods ()
testMultipleMethodSequences (line 266)
void testMultipleMethodSequences ()
testParameteredReturn (line 191)
void testParameteredReturn ()
testReferenceReturned (line 197)
void testReferenceReturned ()
testReturnReferenceSequence (line 244)
void testReturnReferenceSequence ()
testReturnSequence (line 234)
void testReturnSequence ()
testSequenceFallback (line 277)
void testSequenceFallback ()
testWildcardReturn (line 203)
void testWildcardReturn ()

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