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

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

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfSelection (line 108)
TestOfSelection TestOfSelection ()
testEmpty (line 111)
void testEmpty ()
testFailToSetIllegalOption (line 176)
void testFailToSetIllegalOption ()
testFailToSetIllegalOptionsInMultiple (line 241)
void testFailToSetIllegalOptionsInMultiple ()
testMultipleDefaultWithNoSelections (line 202)
void testMultipleDefaultWithNoSelections ()
testMultipleDefaultWithSelections (line 213)
void testMultipleDefaultWithSelections ()
testNastyOptionValuesThatLookLikeFalse (line 190)
void testNastyOptionValuesThatLookLikeFalse ()
testSettingMappedOption (line 162)
void testSettingMappedOption ()
testSettingMultiple (line 224)
void testSettingMultiple ()
testSettingOption (line 149)
void testSettingOption ()
testSingle (line 115)
void testSingle ()
testSingleDefault (line 122)
void testSingleDefault ()
testSingleMappedDefault (line 129)
void testSingleMappedDefault ()
testStartsWithDefault (line 136)
void testStartsWithDefault ()

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