PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Tests_TornDown

Source Location: /PHPUnit2-2.0.3/Tests/TornDown.php

Class Overview

PHPUnit2_Framework_Assert
   |
   --PHPUnit2_Extensions_TestDecorator
      |
      --PHPUnit2_Extensions_TestSetup
         |
         --PHPUnit2_Tests_TornDown



Author(s):

Copyright:

  • Copyright &copy; 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


Inherited Variables

Inherited Methods

Class: PHPUnit2_Extensions_TestSetup

PHPUnit2_Extensions_TestSetup::run()
Runs the decorated test and collects the result in a TestResult.
PHPUnit2_Extensions_TestSetup::setUp()
Sets up the fixture. Override to set up additional fixture state.
PHPUnit2_Extensions_TestSetup::tearDown()
Tears down the fixture. Override to tear down the additional fixture state.

Class: PHPUnit2_Extensions_TestDecorator

PHPUnit2_Extensions_TestDecorator::basicRun()
Runs the test and collects the result in a TestResult.
PHPUnit2_Extensions_TestDecorator::countTestCases()
Counts the number of test cases that will be run by this test.
PHPUnit2_Extensions_TestDecorator::createResult()
Creates a default TestResult object.
PHPUnit2_Extensions_TestDecorator::getTest()
Returns the test to be run.
PHPUnit2_Extensions_TestDecorator::run()
Runs the decorated test and collects the result in a TestResult.
PHPUnit2_Extensions_TestDecorator::toString()
Returns a string representation of the test.
PHPUnit2_Extensions_TestDecorator::__construct()
Constructor.

Class: PHPUnit2_Framework_Assert

PHPUnit2_Framework_Assert::assertEquals()
Asserts that two variables are equal.
PHPUnit2_Framework_Assert::assertFalse()
Asserts that a condition is false.
PHPUnit2_Framework_Assert::assertNotNull()
Asserts that an object isn't null.
PHPUnit2_Framework_Assert::assertNotSame()
Asserts that two objects refer not to the same object.
PHPUnit2_Framework_Assert::assertNull()
Asserts that an object is null.
PHPUnit2_Framework_Assert::assertRegExp()
Asserts that a string matches a given regular expression.
PHPUnit2_Framework_Assert::assertSame()
Asserts that two objects refer to the same object.
PHPUnit2_Framework_Assert::assertTrue()
Asserts that a condition is true.
PHPUnit2_Framework_Assert::assertType()
Asserts that a variable is of a given type.
PHPUnit2_Framework_Assert::fail()
Fails a test with the given message.
PHPUnit2_Framework_Assert::format()
PHPUnit2_Framework_Assert::setLooselyTyped()
PHPUnit2_Framework_Assert::__construct()
Protect constructor since it is a static only class.

Class Details

[line 28]


[ Top ]


Method Detail

tearDown   [line 31]

void tearDown( )


Overrides PHPUnit2_Extensions_TestSetup::tearDown() (Tears down the fixture. Override to tear down the additional fixture state.)
[ Top ]


Documentation generated on Mon, 27 Sep 2004 04:10:37 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.