Class TestOfSelection

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/tag_test.php (line 149)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfSelection
Method Summary
Variables
Methods
Constructor TestOfSelection (line 150)
TestOfSelection TestOfSelection ()
testEmpty (line 154)
void testEmpty ()
testFailToSetIllegalOption (line 226)
void testFailToSetIllegalOption ()
testFailToSetIllegalOptionsInMultiple (line 296)
void testFailToSetIllegalOptionsInMultiple ()
testMultipleDefaultWithNoSelections (line 254)
void testMultipleDefaultWithNoSelections ()
testMultipleDefaultWithSelections (line 266)
void testMultipleDefaultWithSelections ()
testNastyOptionValuesThatLookLikeFalse (line 241)
void testNastyOptionValuesThatLookLikeFalse ()
testSettingMappedOption (line 211)
void testSettingMappedOption ()
testSettingMultiple (line 278)
void testSettingMultiple ()
testSettingOption (line 197)
void testSettingOption ()
testSingle (line 159)
void testSingle ()
testSingleDefault (line 167)
void testSingleDefault ()
testSingleMappedDefault (line 175)
void testSingleMappedDefault ()
testStartsWithDefault (line 183)
void testStartsWithDefault ()

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