PHPUnit2
[
class tree: PHPUnit2
] [
index: PHPUnit2
] [
all elements
]
Packages:
PHPUnit2
Classes:
AllTests
AppendIterator
BankAccount
BankAccountTest
DoubleTestCase
Error
Extensions_AllTests
Extensions_ExceptionTestCaseTest
Extensions_ExtensionTest
Extensions_PerformanceTestCaseTest
Extensions_RepeatedTestTest
Failure
Framework_AllTests
Framework_AssertTest
Framework_ComparisonFailureTest
Framework_SuiteTest
Framework_TestCaseTest
Framework_TestImplementorTest
Framework_TestListenerTest
InheritedTestCase
MockRunner
Money
MoneyBag
MoneyTest
NoArgTestCaseTest
NonStatic
NoTestCaseClass
NoTestCases
NotPublicTestCase
NotVoidTestCase
OneTestCase
OverrideTestCase
PHPUnit2_Extensions_ExceptionTestCase
PHPUnit2_Extensions_PerformanceTestCase
PHPUnit2_Extensions_RepeatedTest
PHPUnit2_Extensions_TestDecorator
PHPUnit2_Extensions_TestSetup
PHPUnit2_Framework_Assert
PHPUnit2_Framework_AssertionFailedError
PHPUnit2_Framework_ComparisonFailure
PHPUnit2_Framework_Error
PHPUnit2_Framework_IncompleteTestError
PHPUnit2_Framework_TestCase
PHPUnit2_Framework_TestFailure
PHPUnit2_Framework_TestResult
PHPUnit2_Framework_TestSuite
PHPUnit2_Framework_Warning
PHPUnit2_Runner_BaseTestRunner
PHPUnit2_Runner_IncludePathTestCollector
PHPUnit2_Runner_StandardTestSuiteLoader
PHPUnit2_Runner_Version
PHPUnit2_TextUI_ResultPrinter
PHPUnit2_TextUI_TestRunner
PHPUnit2_Util_CodeCoverage_Renderer
PHPUnit2_Util_CodeCoverage_Renderer_HTML
PHPUnit2_Util_CodeCoverage_Renderer_Text
PHPUnit2_Util_Fileloader
PHPUnit2_Util_Filter
PHPUnit2_Util_Log_PEAR
PHPUnit2_Util_Log_XML
PHPUnit2_Util_Printer
PHPUnit2_Util_Skeleton
PHPUnit2_Util_TestDox_NamePrettifier
PHPUnit2_Util_TestDox_ResultPrinter
PHPUnit2_Util_TestDox_ResultPrinter_HTML
PHPUnit2_Util_TestDox_ResultPrinter_Text
Runner_AllTests
Runner_BaseTestRunnerTest
SetupFailure
Sleep
Success
TearDownFailure
TestIterator
ThrowExceptionTestCase
ThrowNoExceptionTestCase
TornDown
TornDown2
TornDown3
TornDown4
TornDown5
TornDown6
Util_TestDox_AllTests
Util_TestDox_NamePrettifierTest
WasRun
Files:
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
Assert.php
AssertionFailedError.php
AssertTest.php
BankAccount.php
BankAccountTest.php
BaseTestRunner.php
BaseTestRunnerTest.php
ComparisonFailure.php
ComparisonFailureTest.php
DoubleTestCase.php
Error.php
Error.php
ErrorHandler.php
ExceptionTestCase.php
ExceptionTestCaseTest.php
ExtensionTest.php
Failure.php
Fileloader.php
Filter.php
HTML.php
HTML.php
IMoney.php
IncludePathTestCollector.php
IncompleteTest.php
IncompleteTestError.php
InheritedTestCase.php
MockRunner.php
Money.php
MoneyBag.php
MoneyTest.php
NamePrettifier.php
NamePrettifierTest.php
NoArgTestCaseTest.php
NonStatic.php
NoTestCaseClass.php
NoTestCases.php
NotPublicTestCase.php
NotVoidTestCase.php
OneTestCase.php
OverrideTestCase.php
PEAR.php
PerformanceTestCase.php
PerformanceTestCaseTest.php
Printer.php
Renderer.php
RepeatedTest.php
RepeatedTestTest.php
ResultPrinter.php
ResultPrinter.php
SetupFailure.php
Skeleton.php
Sleep.php
StandardTestSuiteLoader.php
Success.php
SuiteTest.php
TearDownFailure.php
Test.php
TestCase.php
TestCaseTest.php
TestCollector.php
TestDecorator.php
TestFailure.php
TestImplementorTest.php
TestIterator.php
TestListener.php
TestListenerTest.php
TestResult.php
TestRunner.php
TestSetup.php
TestSuite.php
TestSuiteLoader.php
Text.php
Text.php
ThrowExceptionTestCase.php
ThrowNoExceptionTestCase.php
TornDown.php
TornDown2.php
TornDown3.php
TornDown4.php
TornDown5.php
TornDown6.php
Version.php
Warning.php
WasRun.php
XML.php
Class: SetupFailure
Source Location: /PHPUnit2-2.3.6/Tests/SetupFailure.php
Class Overview
PHPUnit2_Framework_Assert
| --
PHPUnit2_Framework_TestCase
| --
Success
| --SetupFailure
Author(s):
Sebastian Bergmann <
mailto:sb at sebastian-bergmann.de
>
Version:
Release: @package_version@
Copyright:
2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>
Methods
setUp
Inherited Variables
Inherited Methods
Class:
Success
Success::runTest()
Class:
PHPUnit2_Framework_TestCase
PHPUnit2_Framework_TestCase::countTestCases()
Counts the number of test cases executed by run(TestResult result).
PHPUnit2_Framework_TestCase::createResult()
Creates a default TestResult object.
PHPUnit2_Framework_TestCase::getName()
Gets the name of a TestCase.
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::assertContains()
Asserts that a haystack contains a needle.
PHPUnit2_Framework_Assert::assertEquals()
Asserts that two variables are equal.
PHPUnit2_Framework_Assert::assertFalse()
Asserts that a condition is false.
PHPUnit2_Framework_Assert::assertNotContains()
Asserts that a haystack does not contain a needle.
PHPUnit2_Framework_Assert::assertNotEquals()
Asserts that two variables are not equal.
PHPUnit2_Framework_Assert::assertNotNull()
Asserts that a variable is not NULL.
PHPUnit2_Framework_Assert::assertNotRegExp()
Asserts that a string does not match a given regular expression.
PHPUnit2_Framework_Assert::assertNotSame()
Asserts that two variables do not have the same type and value.
PHPUnit2_Framework_Assert::assertNotType()
Asserts that a variable is not of a given type.
PHPUnit2_Framework_Assert::assertNull()
Asserts that a variable is NULL.
PHPUnit2_Framework_Assert::assertRegExp()
Asserts that a string matches a given regular expression.
PHPUnit2_Framework_Assert::assertSame()
Asserts that two variables have the same type and value.
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 63]
Link:
http://pear.php.net/package/PHPUnit2
Since:
Class available since Release 2.0.0
Version:
Release: @package_version@
License:
BSD License
Copyright:
2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>
Author:
Sebastian Bergmann <
mailto:sb@sebastian-bergmann.de
>
[
Top
]
Method Detail
setUp
[line 64]
void setUp( )
Overrides
PHPUnit2_Framework_TestCase::setUp()
(Sets up the fixture, for example, open a network connection.)
[
Top
]
Documentation generated on Tue, 12 Sep 2006 09:35:24 -0400 by
phpDocumentor 1.2.3
. PEAR Logo Copyright © PHP Group 2004.