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

Class: Framework_TestCaseTest

Source Location: /PHPUnit2-3.0.0alpha11/Tests/Framework/TestCaseTest.php

Class Overview

PHPUnit2_Framework_Assert
   |
   --PHPUnit2_Framework_TestCase
      |
      --Framework_TestCaseTest



Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


Inherited Variables

Inherited Methods

Class: PHPUnit2_Framework_TestCase

PHPUnit2_Framework_TestCase::at()
PHPUnit2_Framework_TestCase::atLeastOnce()
PHPUnit2_Framework_TestCase::count()
Counts the number of test cases executed by run(TestResult result).
PHPUnit2_Framework_TestCase::createResult()
Creates a default TestResult object.
PHPUnit2_Framework_TestCase::exactly()
PHPUnit2_Framework_TestCase::getMock()
Returns a mock object for the specified class.
PHPUnit2_Framework_TestCase::getName()
Gets the name of a TestCase.
PHPUnit2_Framework_TestCase::iniSet()
This method is a wrapper for the ini_set() function that automatically resets the modified php.ini setting to its original value after the test is run.
PHPUnit2_Framework_TestCase::never()
PHPUnit2_Framework_TestCase::once()
PHPUnit2_Framework_TestCase::onConsecutiveCalls()
PHPUnit2_Framework_TestCase::returnValue()
PHPUnit2_Framework_TestCase::run()
Runs the test case and collects the results in a TestResult object.
PHPUnit2_Framework_TestCase::runBare()
Runs the bare test sequence.
PHPUnit2_Framework_TestCase::runTest()
Override to run the test and assert its state.
PHPUnit2_Framework_TestCase::setName()
Sets the name of a TestCase.
PHPUnit2_Framework_TestCase::setUp()
Sets up the fixture, for example, open a network connection.
PHPUnit2_Framework_TestCase::tearDown()
Tears down the fixture, for example, close a network connection.
PHPUnit2_Framework_TestCase::toString()
Returns a string representation of the test case.
PHPUnit2_Framework_TestCase::__construct()
Constructs a test case with the given name.

Class: PHPUnit2_Framework_Assert

PHPUnit2_Framework_Assert::assertArrayHasKey()
Asserts that an array has a specified key.
PHPUnit2_Framework_Assert::__construct()
Protect constructor since it is a static only class.

Class Details

[line 75]


[ Top ]


Method Detail

testCaseToString   [line 77]

void testCaseToString( )


[ Top ]

testError   [line 85]

void testError( )


[ Top ]

testExceptionRunningAndTearDown   [line 90]

void testExceptionRunningAndTearDown( )


[ Top ]

testFailure   [line 105]

void testFailure( )


[ Top ]

testNoArgTestCasePasses   [line 116]

void testNoArgTestCasePasses( )


[ Top ]

testRunAndTearDownFails   [line 128]

void testRunAndTearDownFails( )


[ Top ]

testSetupFails   [line 136]

void testSetupFails( )


[ Top ]

testSuccess   [line 141]

void testSuccess( )


[ Top ]

testTearDownAfterError   [line 146]

void testTearDownAfterError( )


[ Top ]

testTearDownFails   [line 154]

void testTearDownFails( )


[ Top ]

testTearDownSetupFails   [line 159]

void testTearDownSetupFails( )


[ Top ]

testWasRun   [line 167]

void testWasRun( )


[ Top ]

verifyError   [line 175]

void verifyError( mixed PHPUnit2_Framework_TestCase$test)


[ Top ]

verifyFailure   [line 184]

void verifyFailure( mixed PHPUnit2_Framework_TestCase$test)


[ Top ]

verifySuccess   [line 193]

void verifySuccess( mixed PHPUnit2_Framework_TestCase$test)


[ Top ]


Documentation generated on Tue, 12 Sep 2006 09:37:56 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.