Class TestOfWidget

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

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfWidget
Method Summary
Variables
Methods
Constructor TestOfWidget (line 48)
TestOfWidget TestOfWidget ()
testButton (line 113)
void testButton ()
testFailToSetHiddenValue (line 72)
void testFailToSetHiddenValue ()
testImageSubmit (line 97)
void testImageSubmit ()
testImageSubmitTitlePreferredOverAltForLabel (line 107)
void testImageSubmitTitlePreferredOverAltForLabel ()
testPopulatedSubmit (line 88)
void testPopulatedSubmit ()
testSettingTextValue (line 64)
void testSettingTextValue ()
testSubmitDefaults (line 78)
void testSubmitDefaults ()
testTextDefault (line 58)
void testTextDefault ()
testTextEmptyDefault (line 52)
void testTextEmptyDefault ()

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