Adapter for sourceforge PHPUnit test case to allow legacy test cases to be used with SimpleTest.
Located in /libraries/pear/simpletest/extensions/phpunit_test_case.php (line 24)
SimpleTestCase | --TestCase
Class | Description |
---|---|
![]() |
Adapter for sourceforge PHPUnit test case to allow legacy test cases to be used with SimpleTest. |
Constructor. Sets the test name.
Sends pass if the test condition resolves true, a fail otherwise.
Will test straight equality if set to loose typing, or identity if not.
Will test straight equality if set to loose typing, or identity if not.
Tests a regex match.
Sends an error which we interpret as a fail with a different message for compatibility.
Accessor for name.
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:54 +0000 by phpDocumentor 1.3.0RC3