PHPUnit2
[
class tree: PHPUnit2
] [
index: PHPUnit2
] [
all elements
]
Packages:
PHPUnit2
Classes:
AllTests
BankAccount
BankAccountTest
ClassWithNonPublicProperties
DoubleTestCase
Error
Extensions_AllTests
Extensions_ExceptionTestCaseTest
Extensions_ExtensionTest
Extensions_MockObjectTest
Extensions_OutputTestCaseTest
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
OutputTestCase
OverrideTestCase
PHPUnit2_Extensions_ExceptionTestCase
PHPUnit2_Extensions_MockObject_Builder_InvocationMocker
PHPUnit2_Extensions_MockObject_Invocation
PHPUnit2_Extensions_MockObject_InvocationMocker
PHPUnit2_Extensions_MockObject_Matcher
PHPUnit2_Extensions_MockObject_Matcher_AnyParameters
PHPUnit2_Extensions_MockObject_Matcher_InvokedAtIndex
PHPUnit2_Extensions_MockObject_Matcher_InvokedAtLeastOnce
PHPUnit2_Extensions_MockObject_Matcher_InvokedCount
PHPUnit2_Extensions_MockObject_Matcher_InvokedRecorder
PHPUnit2_Extensions_MockObject_Matcher_MethodName
PHPUnit2_Extensions_MockObject_Matcher_Parameters
PHPUnit2_Extensions_MockObject_Matcher_StatelessInvocation
PHPUnit2_Extensions_MockObject_Mock
PHPUnit2_Extensions_MockObject_Stub_ConsecutiveCalls
PHPUnit2_Extensions_MockObject_Stub_Return
PHPUnit2_Extensions_OutputTestCase
PHPUnit2_Extensions_PerformanceTestCase
PHPUnit2_Extensions_RepeatedTest
PHPUnit2_Extensions_TestDecorator
PHPUnit2_Extensions_TestSetup
PHPUnit2_Framework_Assert
PHPUnit2_Framework_AssertionFailedError
PHPUnit2_Framework_ComparisonFailure
PHPUnit2_Framework_ComparisonFailure_Array
PHPUnit2_Framework_ComparisonFailure_Object
PHPUnit2_Framework_ComparisonFailure_Scalar
PHPUnit2_Framework_ComparisonFailure_String
PHPUnit2_Framework_ComparisonFailure_Type
PHPUnit2_Framework_Constraint_And
PHPUnit2_Framework_Constraint_ArrayHasKey
PHPUnit2_Framework_Constraint_FileExists
PHPUnit2_Framework_Constraint_GreaterThan
PHPUnit2_Framework_Constraint_HasProperty
PHPUnit2_Framework_Constraint_IsAnything
PHPUnit2_Framework_Constraint_IsEqual
PHPUnit2_Framework_Constraint_IsIdentical
PHPUnit2_Framework_Constraint_IsInstanceOf
PHPUnit2_Framework_Constraint_IsType
PHPUnit2_Framework_Constraint_LessThan
PHPUnit2_Framework_Constraint_Not
PHPUnit2_Framework_Constraint_Or
PHPUnit2_Framework_Constraint_PCREMatch
PHPUnit2_Framework_Constraint_StringContains
PHPUnit2_Framework_Constraint_TraversableContains
PHPUnit2_Framework_Error
PHPUnit2_Framework_ExpectationFailedException
PHPUnit2_Framework_IncompleteTestError
PHPUnit2_Framework_SkippedTestError
PHPUnit2_Framework_TestCase
PHPUnit2_Framework_TestFailure
PHPUnit2_Framework_TestResult
PHPUnit2_Framework_TestSuite
PHPUnit2_Framework_TestSuiteIterator
PHPUnit2_Framework_Warning
PHPUnit2_Runner_BaseTestRunner
PHPUnit2_Runner_IncludePathTestCollector
PHPUnit2_Runner_StandardTestSuiteLoader
PHPUnit2_Runner_TestFilterIterator
PHPUnit2_Runner_Version
PHPUnit2_TextUI_ResultPrinter
PHPUnit2_TextUI_TestRunner
PHPUnit2_Util_Array
PHPUnit2_Util_Fileloader
PHPUnit2_Util_Filesystem
PHPUnit2_Util_Filter
PHPUnit2_Util_Getopt
PHPUnit2_Util_Log_Eclipse
PHPUnit2_Util_Log_GraphViz
PHPUnit2_Util_Log_PEAR
PHPUnit2_Util_Log_TAP
PHPUnit2_Util_Log_XML
PHPUnit2_Util_Printer
PHPUnit2_Util_Report
PHPUnit2_Util_Report_Coverage_Factory
PHPUnit2_Util_Report_Coverage_Node
PHPUnit2_Util_Report_Coverage_Node_Directory
PHPUnit2_Util_Report_Coverage_Node_File
PHPUnit2_Util_Report_Test_Factory
PHPUnit2_Util_Report_Test_Node
PHPUnit2_Util_Report_Test_Node_Test
PHPUnit2_Util_Report_Test_Node_TestSuite
PHPUnit2_Util_Skeleton
PHPUnit2_Util_Template
PHPUnit2_Util_Test
PHPUnit2_Util_TestDox_NamePrettifier
PHPUnit2_Util_TestDox_ResultPrinter
PHPUnit2_Util_TestDox_ResultPrinter_HTML
PHPUnit2_Util_TestDox_ResultPrinter_Text
PHPUnit2_Util_Timer
Runner_AllTests
Runner_BaseTestRunnerTest
SampleClass
SetupFailure
Sleep
Success
TearDownFailure
TestIterator
ThrowExceptionTestCase
ThrowNoExceptionTestCase
TornDown
TornDown2
TornDown3
TornDown4
TornDown5
TornDown6
Util_AllTests
Util_TestDox_AllTests
Util_TestDox_NamePrettifierTest
WasRun
Files:
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
AllTests.php
And.php
AnInterface.php
AnyParameters.php
Array.php
Array.php
ArrayHasKey.php
Assert.php
AssertionFailedError.php
AssertTest.php
BankAccount.php
BankAccountTest.php
BaseTestRunner.php
BaseTestRunnerTest.php
ClassWithNonPublicProperties.php
ComparisonFailure.php
ComparisonFailureTest.php
ConsecutiveCalls.php
Constraint.php
Directory.php
DoubleTestCase.php
Eclipse.php
Error.php
Error.php
ErrorHandler.php
ExceptionTestCase.php
ExceptionTestCaseTest.php
ExpectationFailedException.php
ExtensionTest.php
Factory.php
Factory.php
Failure.php
File.php
FileExists.php
Fileloader.php
Filesystem.php
Filter.php
Framework.php
Getopt.php
GraphViz.php
GreaterThan.php
HasProperty.php
HTML.php
Identity.php
IMoney.php
IncludePathTestCollector.php
IncompleteTest.php
IncompleteTestError.php
InheritedTestCase.php
Invocation.php
Invocation.php
InvocationMocker.php
InvocationMocker.php
Invokable.php
InvokedAtIndex.php
InvokedAtLeastOnce.php
InvokedCount.php
InvokedRecorder.php
IsAnything.php
IsEqual.php
IsIdentical.php
IsInstanceOf.php
IsType.php
LessThan.php
Match.php
Matcher.php
MatcherCollection.php
MethodName.php
MethodNameMatch.php
Mock.php
MockObject.php
MockObjectTest.php
MockRunner.php
Money.php
MoneyBag.php
MoneyTest.php
NamePrettifier.php
NamePrettifierTest.php
Namespace.php
NoArgTestCaseTest.php
Node.php
Node.php
NonStatic.php
Not.php
NoTestCaseClass.php
NoTestCases.php
NotPublicTestCase.php
NotVoidTestCase.php
Object.php
OneTestCase.php
Or.php
OutputTestCase.php
OutputTestCase.php
OutputTestCaseTest.php
OverrideTestCase.php
Parameters.php
ParametersMatch.php
PCREMatch.php
PEAR.php
PerformanceTestCase.php
PerformanceTestCaseTest.php
Printer.php
RepeatedTest.php
RepeatedTestTest.php
Report.php
ResultPrinter.php
ResultPrinter.php
Return.php
SampleClass.php
Scalar.php
SelfDescribing.php
SetupFailure.php
Skeleton.php
SkippedTest.php
SkippedTestError.php
Sleep.php
StandardTestSuiteLoader.php
StatelessInvocation.php
String.php
StringContains.php
Stub.php
Stub.php
Success.php
SuiteTest.php
TAP.php
TearDownFailure.php
Template.php
Test.php
Test.php
Test.php
TestCase.php
TestCaseTest.php
TestClass.php
TestCollector.php
TestDecorator.php
TestFailure.php
TestFilterIterator.php
TestImplementorTest.php
TestIterator.php
TestListener.php
TestListenerTest.php
TestMethod.php
TestResult.php
TestRunner.php
TestSetup.php
TestSuite.php
TestSuite.php
TestSuiteIterator.php
TestSuiteLoader.php
Text.php
ThrowExceptionTestCase.php
ThrowNoExceptionTestCase.php
Timer.php
TornDown.php
TornDown2.php
TornDown3.php
TornDown4.php
TornDown5.php
TornDown6.php
TraversableContains.php
Type.php
Verifiable.php
Version.php
Warning.php
WasRun.php
XML.php
Class: SetupFailure
Source Location: /PHPUnit2-3.0.0alpha11/Tests/_files/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::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 67]
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 69]
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:37:44 -0400 by
phpDocumentor 1.2.3
. PEAR Logo Copyright © PHP Group 2004.