Class TestOfHeaderExpectations

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/web_tester_test.php (line 49)

SimpleTestCase
   |
   --UnitTestCase
      |
      --TestOfHeaderExpectations
Method Summary
Variables
Methods
Constructor TestOfHeaderExpectations (line 50)
TestOfHeaderExpectations TestOfHeaderExpectations ()
testCaseInsensitivePatternMatching (line 96)
void testCaseInsensitivePatternMatching ()
testExpectingOnlyTheHeaderName (line 54)
void testExpectingOnlyTheHeaderName ()
testHeaderValueAsWell (line 63)
void testHeaderValueAsWell ()
testMultilineSearch (line 74)
void testMultilineSearch ()
testMultilineSearchWithPadding (line 80)
void testMultilineSearchWithPadding ()
testMultilineUnwantedSearch (line 114)
void testMultilineUnwantedSearch ()
testPatternMatching (line 86)
void testPatternMatching ()
testUnwantedHeader (line 105)
void testUnwantedHeader ()

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