Class TestOfEquality

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/expectation_test.php (line 5)

RunnableTest
   |
   --SimpleTestCase
      |
      --UnitTestCase
         |
         --TestOfEquality
Method Summary
 TestOfEquality TestOfEquality ()
 void testArray ()
 void testBoolean ()
 void testFloat ()
 void testHash ()
 void testInteger ()
 void testNestedHash ()
 void testStringMatch ()
Variables

Inherited Variables

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfEquality (line 6)
TestOfEquality TestOfEquality ()
testArray (line 71)
void testArray ()
testBoolean (line 9)
void testBoolean ()
testFloat (line 60)
void testFloat ()
testHash (line 89)
void testHash ()
testInteger (line 49)
void testInteger ()
testNestedHash (line 100)
void testNestedHash ()
testStringMatch (line 20)
void testStringMatch ()
testStringPosition (line 28)
void testStringPosition ()

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