Class TestOfParametersExpectation

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

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfParametersExpectation
Method Summary
Variables
Methods
Constructor TestOfParametersExpectation (line 19)
TestOfParametersExpectation TestOfParametersExpectation ()
testAnyMatch (line 35)
void testAnyMatch ()
testEmptyMatch (line 23)
void testEmptyMatch ()
testIdentityOnly (line 67)
void testIdentityOnly ()
testLongList (line 73)
void testLongList ()
testMissingParameter (line 41)
void testMissingParameter ()
testNullParameter (line 46)
void testNullParameter ()
testOtherExpectations (line 59)
void testOtherExpectations ()
testSingleMatch (line 29)
void testSingleMatch ()
testWildcardExpectations (line 52)
void testWildcardExpectations ()

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