Class TestOfForm

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/form_test.php (line 6)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfForm
Method Summary
Variables
Methods
Constructor TestOfForm (line 7)
TestOfForm TestOfForm ()
testButtonTag (line 128)
void testButtonTag ()
testChecked (line 167)
void testChecked ()
testCheckedRadioButtons (line 218)
void testCheckedRadioButtons ()
testDefaultFrameTargetOnForm (line 47)
void testDefaultFrameTargetOnForm ()
testEmptyAction (line 23)
void testEmptyAction ()
testFormAttributes (line 11)
void testFormAttributes ()
testImageSubmitButton (line 104)
void testImageSubmitButton ()
testMissingAction (line 31)
void testMissingAction ()
testMultipleFieldsWithSameKey (line 231)
void testMultipleFieldsWithSameKey ()
testRootAction (line 39)
void testRootAction ()
testSingleCheckedRadioButton (line 191)
void testSingleCheckedRadioButton ()
testSingleSelectFieldSubmitted (line 143)
void testSingleSelectFieldSubmitted ()
testSingleUncheckedRadioButton (line 180)
void testSingleUncheckedRadioButton ()
testSubmitButton (line 90)
void testSubmitButton ()
testSubmitEmpty (line 83)
void testSubmitEmpty ()
testTextWidget (line 57)
void testTextWidget ()
testTextWidgetById (line 71)
void testTextWidgetById ()
testUnchecked (line 154)
void testUnchecked ()
testUncheckedRadioButtons (line 201)
void testUncheckedRadioButtons ()

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