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

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

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfForm (line 352)
TestOfForm TestOfForm ()
testChecked (line 436)
void testChecked ()
testCheckedRadioButtons (line 475)
void testCheckedRadioButtons ()
testFormAttributes (line 355)
void testFormAttributes ()
testImageSubmitButton (line 397)
void testImageSubmitButton ()
testMultipleFieldsWithSameKey (line 485)
void testMultipleFieldsWithSameKey ()
testSingleCheckedRadioButton (line 454)
void testSingleCheckedRadioButton ()
testSingleSelectFieldSubmitted (line 418)
void testSingleSelectFieldSubmitted ()
testSingleUncheckedRadioButton (line 446)
void testSingleUncheckedRadioButton ()
testSubmitButton (line 388)
void testSubmitButton ()
testSubmitEmpty (line 384)
void testSubmitEmpty ()
testTextWidget (line 364)
void testTextWidget ()
testTextWidgetById (line 375)
void testTextWidgetById ()
testUnchecked (line 426)
void testUnchecked ()
testUncheckedRadioButtons (line 461)
void testUncheckedRadioButtons ()

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 Thu, 20 Jan 2005 17:11:07 +0000 by phpDocumentor 1.3.0RC3