Element index for package PHPUnit2
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ k ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ v ]
[ w ]
[ x ]
[ _ ]
_
- __call
- in file IncludePathTestCollector.php, method AppendIterator::__call()
- __construct
- in file TestCase.php, method PHPUnit2_Framework_TestCase::__construct()
Constructs a test case with the given name.
- __construct
- in file Skeleton.php, method PHPUnit2_Util_Skeleton::__construct()
Constructor.
- __construct
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::__construct()
Constructor.
- __construct
- in file TestDecorator.php, method PHPUnit2_Extensions_TestDecorator::__construct()
Constructor.
- __construct
- in file TestFailure.php, method PHPUnit2_Framework_TestFailure::__construct()
Constructs a TestFailure with the given test and exception.
- __construct
- in file Warning.php, method PHPUnit2_Framework_Warning::__construct()
- __construct
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::__construct()
Constructs a new TestSuite:
- __construct
- in file Assert.php, method PHPUnit2_Framework_Assert::__construct()
Protect constructor since it is a static only class.
- __construct
- in file XML.php, method PHPUnit2_Util_Log_XML::__construct()
Constructor.
- __construct
- in file RepeatedTest.php, method PHPUnit2_Extensions_RepeatedTest::__construct()
Constructor.
- __construct
- in file IncludePathTestCollector.php, method AppendIterator::__construct()
- __construct
- in file Error.php, method PHPUnit2_Framework_Error::__construct()
Constructor.
- __construct
- in file ComparisonFailure.php, method PHPUnit2_Framework_ComparisonFailure::__construct()
Constructs a comparison failure.
- __construct
- in file Money.php, method Money::__construct()
- __construct
- in file PEAR.php, method PHPUnit2_Util_Log_PEAR::__construct()
- __construct
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::__construct()
Constructor.
- __construct
- in file Printer.php, method PHPUnit2_Util_Printer::__construct()
Constructor.
- __destruct
- in file XML.php, method PHPUnit2_Util_Log_XML::__destruct()
Destructor.
- __destruct
- in file Printer.php, method PHPUnit2_Util_Printer::__destruct()
Destructor.
- __destruct
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::__destruct()
Destructor.
top
a
- add
- in file IMoney.php, method IMoney::add()
- add
- in file MoneyBag.php, method MoneyBag::add()
- add
- in file Money.php, method Money::add()
- addError
- in file PEAR.php, method PHPUnit2_Util_Log_PEAR::addError()
An error occurred.
- addError
- in file TestResult.php, method PHPUnit2_Framework_TestResult::addError()
Adds an error to the list of errors.
- addError
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::addError()
An error occurred.
- addError
- in file XML.php, method PHPUnit2_Util_Log_XML::addError()
An error occurred.
- addError
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::addError()
An error occurred.
- addError
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::addError()
An error occurred.
- addError
- in file TestListener.php, method PHPUnit2_Framework_TestListener::addError()
An error occurred.
- addFailure
- in file PEAR.php, method PHPUnit2_Util_Log_PEAR::addFailure()
A failure occurred.
- addFailure
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::addFailure()
A failure occurred.
- addFailure
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::addFailure()
A failure occurred.
- addFailure
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::addFailure()
A failure occurred.
- addFailure
- in file TestListener.php, method PHPUnit2_Framework_TestListener::addFailure()
A failure occurred.
- addFailure
- in file TestResult.php, method PHPUnit2_Framework_TestResult::addFailure()
Adds a failure to the list of failures.
- addFailure
- in file XML.php, method PHPUnit2_Util_Log_XML::addFailure()
A failure occurred.
- addFileToFilter
- in file Filter.php, method PHPUnit2_Util_Filter::addFileToFilter()
Adds a new file to be filtered.
- addIncompleteTest
- in file XML.php, method PHPUnit2_Util_Log_XML::addIncompleteTest()
Incomplete test.
- addIncompleteTest
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::addIncompleteTest()
Incomplete test.
- addIncompleteTest
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::addIncompleteTest()
Incomplete test.
- addIncompleteTest
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::addIncompleteTest()
Incomplete test.
- addIncompleteTest
- in file TestListener.php, method PHPUnit2_Framework_TestListener::addIncompleteTest()
Incomplete test.
- addIncompleteTest
- in file PEAR.php, method PHPUnit2_Util_Log_PEAR::addIncompleteTest()
Incomplete test.
- addListener
- in file TestResult.php, method PHPUnit2_Framework_TestResult::addListener()
Registers a TestListener.
- addMoney
- in file Money.php, method Money::addMoney()
- addMoney
- in file MoneyBag.php, method MoneyBag::addMoney()
- addMoney
- in file IMoney.php, method IMoney::addMoney()
- addMoneyBag
- in file MoneyBag.php, method MoneyBag::addMoneyBag()
- addMoneyBag
- in file IMoney.php, method IMoney::addMoneyBag()
- addMoneyBag
- in file Money.php, method Money::addMoneyBag()
- addTest
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::addTest()
Adds a test to the suite.
- addTestFile
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::addTestFile()
Wraps both addTest()
and addTestSuite
as well as the separate import statements for the user's convenience.
- addTestFiles
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::addTestFiles()
Wrapper for addTestFile() that adds multiple test files.
- addTestSuite
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::addTestSuite()
Adds the tests from the given class to the suite.
- allCompletlyImplemented
- in file TestResult.php, method PHPUnit2_Framework_TestResult::allCompletlyImplemented()
Returns TRUE if no incomplete test occured.
- amount
- in file Money.php, method Money::amount()
- append
- in file IncludePathTestCollector.php, method AppendIterator::append()
- appendBag
- in file MoneyBag.php, method MoneyBag::appendBag()
- AppendIterator
- in file IncludePathTestCollector.php, class AppendIterator
PHP Version 5
- appendMoney
- in file MoneyBag.php, method MoneyBag::appendMoney()
- appendTo
- in file IMoney.php, method IMoney::appendTo()
- appendTo
- in file Money.php, method Money::appendTo()
- appendTo
- in file MoneyBag.php, method MoneyBag::appendTo()
- assertContains
- in file Assert.php, method PHPUnit2_Framework_Assert::assertContains()
Asserts that a haystack contains a needle.
- assertEquals
- in file Assert.php, method PHPUnit2_Framework_Assert::assertEquals()
Asserts that two variables are equal.
- assertFalse
- in file Assert.php, method PHPUnit2_Framework_Assert::assertFalse()
Asserts that a condition is false.
- assertNotContains
- in file Assert.php, method PHPUnit2_Framework_Assert::assertNotContains()
Asserts that a haystack does not contain a needle.
- assertNotEquals
- in file Assert.php, method PHPUnit2_Framework_Assert::assertNotEquals()
Asserts that two variables are not equal.
- assertNotNull
- in file Assert.php, method PHPUnit2_Framework_Assert::assertNotNull()
Asserts that a variable is not NULL.
- assertNotRegExp
- in file Assert.php, method PHPUnit2_Framework_Assert::assertNotRegExp()
Asserts that a string does not match a given regular expression.
- assertNotSame
- in file Assert.php, method PHPUnit2_Framework_Assert::assertNotSame()
Asserts that two variables do not have the same type and value.
- assertNotType
- in file Assert.php, method PHPUnit2_Framework_Assert::assertNotType()
Asserts that a variable is not of a given type.
- assertNull
- in file Assert.php, method PHPUnit2_Framework_Assert::assertNull()
Asserts that a variable is NULL.
- assertRegExp
- in file Assert.php, method PHPUnit2_Framework_Assert::assertRegExp()
Asserts that a string matches a given regular expression.
- assertSame
- in file Assert.php, method PHPUnit2_Framework_Assert::assertSame()
Asserts that two variables have the same type and value.
- assertTrue
- in file Assert.php, method PHPUnit2_Framework_Assert::assertTrue()
Asserts that a condition is true.
- assertType
- in file Assert.php, method PHPUnit2_Framework_Assert::assertType()
Asserts that a variable is of a given type.
- Assert.php
- procedural page Assert.php
- AssertionFailedError.php
- procedural page AssertionFailedError.php
top
top
c
- $className
- in file Skeleton.php, variable PHPUnit2_Util_Skeleton::$className
- $classSourceFile
- in file Skeleton.php, variable PHPUnit2_Util_Skeleton::$classSourceFile
- $codeCoverageInformation
- in file Renderer.php, variable PHPUnit2_Util_CodeCoverage_Renderer::$codeCoverageInformation
- $codeCoverageInformation
- in file TestResult.php, variable PHPUnit2_Framework_TestResult::$codeCoverageInformation
Code Coverage information provided by Xdebug.
- $collectCodeCoverageInformation
- in file TestResult.php, variable PHPUnit2_Framework_TestResult::$collectCodeCoverageInformation
- checkAndLoad
- in file Fileloader.php, method PHPUnit2_Util_Fileloader::checkAndLoad()
Checks if a PHP sourcefile is readable and contains no syntax errors.
- clearStatus
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::clearStatus()
Clears the status message.
- codeLine
- in file HTML.php, class constant PHPUnit2_Util_CodeCoverage_Renderer_HTML::codeLine
- collectCodeCoverageInformation
- in file TestResult.php, method PHPUnit2_Framework_TestResult::collectCodeCoverageInformation()
Enables or disables the collection of Code Coverage information.
- collectTests
- in file TestCollector.php, method PHPUnit2_Runner_TestCollector::collectTests()
- collectTests
- in file IncludePathTestCollector.php, method PHPUnit2_Runner_IncludePathTestCollector::collectTests()
- countTestCases
- in file TestDecorator.php, method PHPUnit2_Extensions_TestDecorator::countTestCases()
Counts the number of test cases that will be run by this test.
- countTestCases
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::countTestCases()
Counts the number of test cases that will be run by this test.
- countTestCases
- in file Test.php, method PHPUnit2_Framework_Test::countTestCases()
Counts the number of test cases that will be run by this test.
- countTestCases
- in file RepeatedTest.php, method PHPUnit2_Extensions_RepeatedTest::countTestCases()
Counts the number of test cases that will be run by this test.
- countTestCases
- in file TestCase.php, method PHPUnit2_Framework_TestCase::countTestCases()
Counts the number of test cases executed by run(TestResult result).
- create
- in file MoneyBag.php, method MoneyBag::create()
- createResult
- in file TestCase.php, method PHPUnit2_Framework_TestCase::createResult()
Creates a default TestResult object.
- createResult
- in file TestDecorator.php, method PHPUnit2_Extensions_TestDecorator::createResult()
Creates a default TestResult object.
- createResult
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::createResult()
Creates a default TestResult object.
- createTest
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::createTest()
- createTestResult
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::createTestResult()
- currency
- in file Money.php, method Money::currency()
- current
- in file IncludePathTestCollector.php, method AppendIterator::current()
- ComparisonFailure.php
- procedural page ComparisonFailure.php
top
top
e
- $errors
- in file TestResult.php, variable PHPUnit2_Framework_TestResult::$errors
- endClass
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::endClass()
Handler for 'end class' event.
- endClass
- in file HTML.php, method PHPUnit2_Util_TestDox_ResultPrinter_HTML::endClass()
Handler for 'end class' event.
- endClass
- in file Text.php, method PHPUnit2_Util_TestDox_ResultPrinter_Text::endClass()
Handler for 'end class' event.
- endRun
- in file HTML.php, method PHPUnit2_Util_TestDox_ResultPrinter_HTML::endRun()
Handler for 'end run' event.
- endRun
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::endRun()
Handler for 'end run' event.
- endSourceFile
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::endSourceFile()
- endSourceFile
- in file Text.php, method PHPUnit2_Util_CodeCoverage_Renderer_Text::endSourceFile()
- endSourceFile
- in file HTML.php, method PHPUnit2_Util_CodeCoverage_Renderer_HTML::endSourceFile()
- endTest
- in file XML.php, method PHPUnit2_Util_Log_XML::endTest()
A test ended.
- endTest
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::endTest()
A test ended.
- endTest
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::endTest()
A test ended.
- endTest
- in file TestListener.php, method PHPUnit2_Framework_TestListener::endTest()
A test ended.
- endTest
- in file TestResult.php, method PHPUnit2_Framework_TestResult::endTest()
Informs the result that a test was completed.
- endTest
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::endTest()
A test ended.
- endTest
- in file PEAR.php, method PHPUnit2_Util_Log_PEAR::endTest()
A test ended.
- endTestSuite
- in file PEAR.php, method PHPUnit2_Util_Log_PEAR::endTestSuite()
A test suite ended.
- endTestSuite
- in file TestResult.php, method PHPUnit2_Framework_TestResult::endTestSuite()
Informs the result that a testsuite was completed.
- endTestSuite
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::endTestSuite()
A testsuite ended.
- endTestSuite
- in file XML.php, method PHPUnit2_Util_Log_XML::endTestSuite()
A testsuite ended.
- endTestSuite
- in file TestListener.php, method PHPUnit2_Framework_TestListener::endTestSuite()
A test suite ended.
- endTestSuite
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::endTestSuite()
A testsuite ended.
- endTestSuite
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::endTestSuite()
A testsuite ended.
- equals
- in file MoneyBag.php, method MoneyBag::equals()
- equals
- in file Money.php, method Money::equals()
- errorCount
- in file TestResult.php, method PHPUnit2_Framework_TestResult::errorCount()
Gets the number of detected errors.
- errors
- in file TestResult.php, method PHPUnit2_Framework_TestResult::errors()
Returns an Enumeration for the errors.
- exceptionMessage
- in file TestFailure.php, method PHPUnit2_Framework_TestFailure::exceptionMessage()
Returns the exception's message.
- EXCEPTION_EXIT
- in file TestRunner.php, class constant PHPUnit2_TextUI_TestRunner::EXCEPTION_EXIT
- ExceptionTestCase.php
- procedural page ExceptionTestCase.php
- Error.php
- procedural page Error.php
- ErrorHandler.php
- procedural page ErrorHandler.php
top
f
- $failedTest
- in file TestFailure.php, variable PHPUnit2_Framework_TestFailure::$failedTest
- $failures
- in file TestResult.php, variable PHPUnit2_Framework_TestResult::$failures
- $filteredFiles
- in file Filter.php, variable PHPUnit2_Util_Filter::$filteredFiles
Source files that are to be filtered.
- factory
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::factory()
Abstract Factory.
- factory
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::factory()
Abstract Factory.
- fail
- in file Assert.php, method PHPUnit2_Framework_Assert::fail()
Fails a test with the given message.
- failedTest
- in file TestFailure.php, method PHPUnit2_Framework_TestFailure::failedTest()
Gets the failed test.
- failureCount
- in file TestResult.php, method PHPUnit2_Framework_TestResult::failureCount()
Gets the number of detected failures.
- failures
- in file TestResult.php, method PHPUnit2_Framework_TestResult::failures()
Returns an Enumeration for the failures.
- FAILURE_EXIT
- in file TestRunner.php, class constant PHPUnit2_TextUI_TestRunner::FAILURE_EXIT
- footer
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::footer()
- footer
- in file HTML.php, method PHPUnit2_Util_CodeCoverage_Renderer_HTML::footer()
- format
- in file Assert.php, method PHPUnit2_Framework_Assert::format()
- Fileloader.php
- procedural page Fileloader.php
- Filter.php
- procedural page Filter.php
top
g
- generate
- in file Skeleton.php, method PHPUnit2_Util_Skeleton::generate()
Generates the test class' source.
- getBalance
- in file BankAccount.php, method BankAccount::getBalance()
Returns the bank account's balance.
- getCanonicalFilename
- in file Filter.php, method PHPUnit2_Util_Filter::getCanonicalFilename()
Canonicalizes a source file name.
- getCodeCoverageInformation
- in file TestResult.php, method PHPUnit2_Framework_TestResult::getCodeCoverageInformation()
Returns Code Coverage data per test case.
- getExpectedException
- in file ExceptionTestCase.php, method PHPUnit2_Extensions_ExceptionTestCase::getExpectedException()
- getFilteredCodeCoverage
- in file Filter.php, method PHPUnit2_Util_Filter::getFilteredCodeCoverage()
Filters source lines from PHPUnit classes.
- getFilteredStacktrace
- in file Filter.php, method PHPUnit2_Util_Filter::getFilteredStacktrace()
Filters stack frames from PHPUnit classes.
- getInnerIterator
- in file IncludePathTestCollector.php, method AppendIterator::getInnerIterator()
- getLoader
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::getLoader()
Returns the loader to be used.
- getLoader
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::getLoader()
Returns the loader to be used.
- getMaxRunningTime
- in file PerformanceTestCase.php, method PHPUnit2_Extensions_PerformanceTestCase::getMaxRunningTime()
- getName
- in file TestCase.php, method PHPUnit2_Framework_TestCase::getName()
Gets the name of a TestCase.
- getName
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::getName()
Returns the name of the suite.
- getSummary
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::getSummary()
Returns summarized Code Coverage data.
- getTest
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::getTest()
Returns the Test corresponding to the given suite.
- getTest
- in file TestDecorator.php, method PHPUnit2_Extensions_TestDecorator::getTest()
Returns the test to be run.
- getVersionString
- in file Version.php, method PHPUnit2_Runner_Version::getVersionString()
- getXML
- in file XML.php, method PHPUnit2_Util_Log_XML::getXML()
Returns the XML as a string.
top
top
top
top
top
top
top
top
p
- $prefix
- in file NamePrettifier.php, variable PHPUnit2_Util_TestDox_NamePrettifier::$prefix
- $prettifier
- in file ResultPrinter.php, variable PHPUnit2_Util_TestDox_ResultPrinter::$prettifier
- pageFooter
- in file HTML.php, class constant PHPUnit2_Util_CodeCoverage_Renderer_HTML::pageFooter
- pageHeader
- in file HTML.php, class constant PHPUnit2_Util_CodeCoverage_Renderer_HTML::pageHeader
- pause
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::pause()
- PerformanceTestCase.php
- procedural page PerformanceTestCase.php
- PEAR.php
- procedural page PEAR.php
- Printer.php
- procedural page Printer.php
- PHPUnit2_Extensions_ExceptionTestCase
- in file ExceptionTestCase.php, class PHPUnit2_Extensions_ExceptionTestCase
A TestCase that expects a specified Exception to be thrown.
- PHPUnit2_Extensions_PerformanceTestCase
- in file PerformanceTestCase.php, class PHPUnit2_Extensions_PerformanceTestCase
A TestCase that expects a TestCase to be executed meeting a given time limit.
- PHPUnit2_Extensions_RepeatedTest
- in file RepeatedTest.php, class PHPUnit2_Extensions_RepeatedTest
A Decorator that runs a test repeatedly.
- PHPUnit2_Extensions_TestDecorator
- in file TestDecorator.php, class PHPUnit2_Extensions_TestDecorator
A Decorator for Tests.
- PHPUnit2_Extensions_TestSetup
- in file TestSetup.php, class PHPUnit2_Extensions_TestSetup
A Decorator to set up and tear down additional fixture state.
- PHPUnit2_Framework_Assert
- in file Assert.php, class PHPUnit2_Framework_Assert
A set of assert methods.
- PHPUnit2_Framework_AssertionFailedError
- in file AssertionFailedError.php, class PHPUnit2_Framework_AssertionFailedError
Thrown when an assertion failed.
- PHPUnit2_Framework_ComparisonFailure
- in file ComparisonFailure.php, class PHPUnit2_Framework_ComparisonFailure
Thrown when an assertion for string equality failed.
- PHPUnit2_Framework_Error
- in file Error.php, class PHPUnit2_Framework_Error
Wrapper for PHP errors.
- PHPUnit2_Framework_IncompleteTest
- in file IncompleteTest.php, class PHPUnit2_Framework_IncompleteTest
A marker interface for marking any exception/error as result of an unit test as incomplete implementation or currently not implemented.
- PHPUnit2_Framework_IncompleteTestError
- in file IncompleteTestError.php, class PHPUnit2_Framework_IncompleteTestError
Extension to PHPUnit2_Framework_AssertionFailedError to mark the special case of an incomplete test.
- PHPUnit2_Framework_Test
- in file Test.php, class PHPUnit2_Framework_Test
A Test can be run and collect its results.
- PHPUnit2_Framework_TestCase
- in file TestCase.php, class PHPUnit2_Framework_TestCase
A TestCase defines the fixture to run multiple tests.
- PHPUnit2_Framework_TestFailure
- in file TestFailure.php, class PHPUnit2_Framework_TestFailure
A TestFailure collects a failed test together with the caught exception.
- PHPUnit2_Framework_TestListener
- in file TestListener.php, class PHPUnit2_Framework_TestListener
A Listener for test progress.
- PHPUnit2_Framework_TestResult
- in file TestResult.php, class PHPUnit2_Framework_TestResult
A TestResult collects the results of executing a test case.
- PHPUnit2_Framework_TestSuite
- in file TestSuite.php, class PHPUnit2_Framework_TestSuite
A TestSuite is a composite of Tests. It runs a collection of test cases.
- PHPUnit2_Framework_Warning
- in file Warning.php, class PHPUnit2_Framework_Warning
A warning.
- PHPUnit2_MAIN_METHOD
- in file TestRunner.php, constant PHPUnit2_MAIN_METHOD
- PHPUnit2_Runner_BaseTestRunner
- in file BaseTestRunner.php, class PHPUnit2_Runner_BaseTestRunner
Base class for all test runners.
- PHPUnit2_Runner_IncludePathTestCollector
- in file IncludePathTestCollector.php, class PHPUnit2_Runner_IncludePathTestCollector
An implementation of a TestCollector that consults the include path set in the php.ini.
- PHPUnit2_Runner_StandardTestSuiteLoader
- in file StandardTestSuiteLoader.php, class PHPUnit2_Runner_StandardTestSuiteLoader
The standard test suite loader.
- PHPUnit2_Runner_TestCollector
- in file TestCollector.php, class PHPUnit2_Runner_TestCollector
Collects Test class names to be presented by the TestSelector.
- PHPUnit2_Runner_TestSuiteLoader
- in file TestSuiteLoader.php, class PHPUnit2_Runner_TestSuiteLoader
An interface to define how a test suite should be loaded.
- PHPUnit2_Runner_Version
- in file Version.php, class PHPUnit2_Runner_Version
This class defines the current version of PHPUnit.
- PHPUnit2_TextUI_ResultPrinter
- in file ResultPrinter.php, class PHPUnit2_TextUI_ResultPrinter
Prints the result of a TextUI TestRunner run.
- PHPUnit2_TextUI_TestRunner
- in file TestRunner.php, class PHPUnit2_TextUI_TestRunner
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.
- PHPUnit2_Util_CodeCoverage_Renderer
- in file Renderer.php, class PHPUnit2_Util_CodeCoverage_Renderer
Abstract base class for Code Coverage renderers.
- PHPUnit2_Util_CodeCoverage_Renderer_HTML
- in file HTML.php, class PHPUnit2_Util_CodeCoverage_Renderer_HTML
Renders Code Coverage information in HTML format.
- PHPUnit2_Util_CodeCoverage_Renderer_Text
- in file Text.php, class PHPUnit2_Util_CodeCoverage_Renderer_Text
Renders Code Coverage information in text format.
- PHPUnit2_Util_ErrorHandler
- in file ErrorHandler.php, function PHPUnit2_Util_ErrorHandler()
- PHPUnit2_Util_Fileloader
- in file Fileloader.php, class PHPUnit2_Util_Fileloader
- PHPUnit2_Util_Filter
- in file Filter.php, class PHPUnit2_Util_Filter
Utility class for code filtering.
- PHPUnit2_Util_Log_PEAR
- in file PEAR.php, class PHPUnit2_Util_Log_PEAR
A TestListener that logs to a PEAR_Log sink.
- PHPUnit2_Util_Log_XML
- in file XML.php, class PHPUnit2_Util_Log_XML
A TestListener that generates an XML-based logfile of the test execution.
- PHPUnit2_Util_Printer
- in file Printer.php, class PHPUnit2_Util_Printer
Utility class that can print to STDOUT or write to a file.
- PHPUnit2_Util_Skeleton
- in file Skeleton.php, class PHPUnit2_Util_Skeleton
Class for creating a PHPUnit2_Framework_TestCase skeleton file.
- PHPUnit2_Util_TestDox_NamePrettifier
- in file NamePrettifier.php, class PHPUnit2_Util_TestDox_NamePrettifier
Prettifies class and method names for use in TestDox documentation.
- PHPUnit2_Util_TestDox_ResultPrinter
- in file ResultPrinter.php, class PHPUnit2_Util_TestDox_ResultPrinter
Base class for printers of TestDox documentation.
- PHPUnit2_Util_TestDox_ResultPrinter_HTML
- in file HTML.php, class PHPUnit2_Util_TestDox_ResultPrinter_HTML
Prints TestDox documentation in HTML format.
- PHPUnit2_Util_TestDox_ResultPrinter_Text
- in file Text.php, class PHPUnit2_Util_TestDox_ResultPrinter_Text
Prints TestDox documentation in text format.
- prettifyTestClass
- in file NamePrettifier.php, method PHPUnit2_Util_TestDox_NamePrettifier::prettifyTestClass()
Prettifies the name of a test class.
- prettifyTestMethod
- in file NamePrettifier.php, method PHPUnit2_Util_TestDox_NamePrettifier::prettifyTestMethod()
Prettifies the name of a test method.
- printDefect
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printDefect()
- printDefectHeader
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printDefectHeader()
- printDefects
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printDefects()
- printDefectTrace
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printDefectTrace()
- printErrors
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printErrors()
- printFailures
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printFailures()
- printFooter
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printFooter()
- printHeader
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printHeader()
- printIncompletes
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printIncompletes()
- printResult
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printResult()
- printWaitPrompt
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::printWaitPrompt()
top
r
- $runTests
- in file TestResult.php, variable PHPUnit2_Framework_TestResult::$runTests
- RepeatedTest.php
- procedural page RepeatedTest.php
- ResultPrinter.php
- procedural page ResultPrinter.php
- Renderer.php
- procedural page Renderer.php
- ResultPrinter.php
- procedural page ResultPrinter.php
- reload
- in file TestSuiteLoader.php, method PHPUnit2_Runner_TestSuiteLoader::reload()
- reload
- in file StandardTestSuiteLoader.php, method PHPUnit2_Runner_StandardTestSuiteLoader::reload()
- removeFileFromFilter
- in file Filter.php, method PHPUnit2_Util_Filter::removeFileFromFilter()
Removes a file from the filter.
- removeListener
- in file TestResult.php, method PHPUnit2_Framework_TestResult::removeListener()
Unregisters a TestListener.
- render
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::render()
Visualizes the result array of PHPUnit2_Framework_TestResult::getCodeCoverageInformation().
- renderSourceFile
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::renderSourceFile()
- renderSourceFile
- in file HTML.php, method PHPUnit2_Util_CodeCoverage_Renderer_HTML::renderSourceFile()
- renderSourceFile
- in file Text.php, method PHPUnit2_Util_CodeCoverage_Renderer_Text::renderSourceFile()
- renderToFile
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::renderToFile()
Visualizes the result array of PHPUnit2_Framework_TestResult::getCodeCoverageInformation() and writes it to a file.
- rewind
- in file IncludePathTestCollector.php, method AppendIterator::rewind()
- run
- in file Test.php, method PHPUnit2_Framework_Test::run()
Runs a test and collects its result in a TestResult instance.
- run
- in file TestResult.php, method PHPUnit2_Framework_TestResult::run()
Runs a TestCase.
- run
- in file TestCase.php, method PHPUnit2_Framework_TestCase::run()
Runs the test case and collects the results in a TestResult object.
- run
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::run()
Runs the tests and collects their result in a TestResult.
- run
- in file TestSetup.php, method PHPUnit2_Extensions_TestSetup::run()
Runs the decorated test and collects the result in a TestResult.
- run
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::run()
- run
- in file RepeatedTest.php, method PHPUnit2_Extensions_RepeatedTest::run()
Runs the decorated test and collects the result in a TestResult.
- run
- in file TestDecorator.php, method PHPUnit2_Extensions_TestDecorator::run()
Runs the decorated test and collects the result in a TestResult.
- runAndWait
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::runAndWait()
Runs a single test and waits until the user types RETURN.
- runBare
- in file TestCase.php, method PHPUnit2_Framework_TestCase::runBare()
Runs the bare test sequence.
- runCount
- in file TestResult.php, method PHPUnit2_Framework_TestResult::runCount()
Gets the number of run tests.
- runFailed
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::runFailed()
Override to define how to handle a failed loading of a test suite.
- runFailed
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::runFailed()
Override to define how to handle a failed loading of a test suite.
- runTest
- in file PerformanceTestCase.php, method PHPUnit2_Extensions_PerformanceTestCase::runTest()
- runTest
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::runTest()
Runs a test.
- runTest
- in file TestCase.php, method PHPUnit2_Framework_TestCase::runTest()
Override to run the test and assert its state.
- runTest
- in file ExceptionTestCase.php, method PHPUnit2_Extensions_ExceptionTestCase::runTest()
- runTest
- in file Warning.php, method PHPUnit2_Framework_Warning::runTest()
top
s
- $suffix
- in file NamePrettifier.php, variable PHPUnit2_Util_TestDox_NamePrettifier::$suffix
- StandardTestSuiteLoader.php
- procedural page StandardTestSuiteLoader.php
- Skeleton.php
- procedural page Skeleton.php
- setBalance
- in file BankAccount.php, method BankAccount::setBalance()
Sets the bank account's balance.
- setExpectedException
- in file ExceptionTestCase.php, method PHPUnit2_Extensions_ExceptionTestCase::setExpectedException()
- setLooselyTyped
- in file Assert.php, method PHPUnit2_Framework_Assert::setLooselyTyped()
- setMaxRunningTime
- in file PerformanceTestCase.php, method PHPUnit2_Extensions_PerformanceTestCase::setMaxRunningTime()
- setName
- in file TestCase.php, method PHPUnit2_Framework_TestCase::setName()
Sets the name of a TestCase.
- setName
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::setName()
Sets the name of the suite.
- setPrefix
- in file NamePrettifier.php, method PHPUnit2_Util_TestDox_NamePrettifier::setPrefix()
Sets the prefix of test names.
- setPrinter
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::setPrinter()
- setSuffix
- in file NamePrettifier.php, method PHPUnit2_Util_TestDox_NamePrettifier::setSuffix()
Sets the suffix of test names.
- setTemplates
- in file Skeleton.php, method PHPUnit2_Util_Skeleton::setTemplates()
Sets the templates for class header, class footer, and method.
- setUp
- in file TestCase.php, method PHPUnit2_Framework_TestCase::setUp()
Sets up the fixture, for example, open a network connection.
- setUp
- in file BankAccountTest.php, method BankAccountTest::setUp()
Sets up the test fixture.
- setUp
- in file MoneyTest.php, method MoneyTest::setUp()
- setUp
- in file TestSetup.php, method PHPUnit2_Extensions_TestSetup::setUp()
Sets up the fixture. Override to set up additional fixture state.
- setWriteDocument
- in file XML.php, method PHPUnit2_Util_Log_XML::setWriteDocument()
Enables or disables the writing of the document in __destruct().
- shouldStop
- in file TestResult.php, method PHPUnit2_Framework_TestResult::shouldStop()
Checks whether the test run should stop.
- showError
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::showError()
- showHelp
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::showHelp()
- sourceFileFooter
- in file HTML.php, class constant PHPUnit2_Util_CodeCoverage_Renderer_HTML::sourceFileFooter
- sourceFileHeader
- in file HTML.php, class constant PHPUnit2_Util_CodeCoverage_Renderer_HTML::sourceFileHeader
- start
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::start()
- startClass
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::startClass()
Handler for 'start class' event.
- startClass
- in file HTML.php, method PHPUnit2_Util_TestDox_ResultPrinter_HTML::startClass()
Handler for 'start class' event.
- startClass
- in file Text.php, method PHPUnit2_Util_TestDox_ResultPrinter_Text::startClass()
Handler for 'start class' event.
- startRun
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::startRun()
Handler for 'start run' event.
- startRun
- in file HTML.php, method PHPUnit2_Util_TestDox_ResultPrinter_HTML::startRun()
Handler for 'start run' event.
- startSourceFile
- in file Renderer.php, method PHPUnit2_Util_CodeCoverage_Renderer::startSourceFile()
- startSourceFile
- in file HTML.php, method PHPUnit2_Util_CodeCoverage_Renderer_HTML::startSourceFile()
- startSourceFile
- in file Text.php, method PHPUnit2_Util_CodeCoverage_Renderer_Text::startSourceFile()
- startTest
- in file TestListener.php, method PHPUnit2_Framework_TestListener::startTest()
A test started.
- startTest
- in file TestResult.php, method PHPUnit2_Framework_TestResult::startTest()
Informs the result that a test will be started.
- startTest
- in file PEAR.php, method PHPUnit2_Util_Log_PEAR::startTest()
A test started.
- startTest
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::startTest()
A test started.
- startTest
- in file XML.php, method PHPUnit2_Util_Log_XML::startTest()
A test started.
- startTest
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::startTest()
A test started.
- startTest
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::startTest()
A test started.
- startTestSuite
- in file XML.php, method PHPUnit2_Util_Log_XML::startTestSuite()
A testsuite started.
- startTestSuite
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::startTestSuite()
A testsuite started.
- startTestSuite
- in file TestResult.php, method PHPUnit2_Framework_TestResult::startTestSuite()
Informs the result that a testsuite will be started.
- startTestSuite
- in file PEAR.php, method PHPUnit2_Util_Log_PEAR::startTestSuite()
A test suite started.
- startTestSuite
- in file ResultPrinter.php, method PHPUnit2_TextUI_ResultPrinter::startTestSuite()
A testsuite started.
- startTestSuite
- in file TestListener.php, method PHPUnit2_Framework_TestListener::startTestSuite()
A test suite started.
- startTestSuite
- in file ResultPrinter.php, method PHPUnit2_Util_TestDox_ResultPrinter::startTestSuite()
A testsuite started.
- STATUS_ERROR
- in file BaseTestRunner.php, class constant PHPUnit2_Runner_BaseTestRunner::STATUS_ERROR
- STATUS_FAILURE
- in file BaseTestRunner.php, class constant PHPUnit2_Runner_BaseTestRunner::STATUS_FAILURE
- STATUS_INCOMPLETE
- in file BaseTestRunner.php, class constant PHPUnit2_Runner_BaseTestRunner::STATUS_INCOMPLETE
- stop
- in file TestResult.php, method PHPUnit2_Framework_TestResult::stop()
Marks that the test run should stop.
- subtract
- in file IMoney.php, method IMoney::subtract()
- subtract
- in file MoneyBag.php, method MoneyBag::subtract()
- subtract
- in file Money.php, method Money::subtract()
- SUCCESS_EXIT
- in file TestRunner.php, class constant PHPUnit2_TextUI_TestRunner::SUCCESS_EXIT
- SUITE_METHODNAME
- in file BaseTestRunner.php, class constant PHPUnit2_Runner_BaseTestRunner::SUITE_METHODNAME
top
t
- $templateClassFooter
- in file Skeleton.php, variable PHPUnit2_Util_Skeleton::$templateClassFooter
- $templateClassHeader
- in file Skeleton.php, variable PHPUnit2_Util_Skeleton::$templateClassHeader
- $templateMethod
- in file Skeleton.php, variable PHPUnit2_Util_Skeleton::$templateMethod
- $test
- in file TestDecorator.php, variable PHPUnit2_Extensions_TestDecorator::$test
The Test to be decorated.
- $testClass
- in file ResultPrinter.php, variable PHPUnit2_Util_TestDox_ResultPrinter::$testClass
- $testFailed
- in file ResultPrinter.php, variable PHPUnit2_Util_TestDox_ResultPrinter::$testFailed
- $tests
- in file ResultPrinter.php, variable PHPUnit2_Util_TestDox_ResultPrinter::$tests
- $thrownException
- in file TestFailure.php, variable PHPUnit2_Framework_TestFailure::$thrownException
- TestDecorator.php
- procedural page TestDecorator.php
- TestSetup.php
- procedural page TestSetup.php
- Test.php
- procedural page Test.php
- TestCase.php
- procedural page TestCase.php
- TestFailure.php
- procedural page TestFailure.php
- TestListener.php
- procedural page TestListener.php
- TestResult.php
- procedural page TestResult.php
- TestSuite.php
- procedural page TestSuite.php
- TestCollector.php
- procedural page TestCollector.php
- TestSuiteLoader.php
- procedural page TestSuiteLoader.php
- TestRunner.php
- procedural page TestRunner.php
- Text.php
- procedural page Text.php
- Text.php
- procedural page Text.php
- tearDown
- in file TestCase.php, method PHPUnit2_Framework_TestCase::tearDown()
Tears down the fixture, for example, close a network connection.
- tearDown
- in file TestSetup.php, method PHPUnit2_Extensions_TestSetup::tearDown()
Tears down the fixture. Override to tear down the additional fixture state.
- testAt
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::testAt()
Returns the test at the given index.
- testBagMultiply
- in file MoneyTest.php, method MoneyTest::testBagMultiply()
- testBagNegate
- in file MoneyTest.php, method MoneyTest::testBagNegate()
- testBagNotEquals
- in file MoneyTest.php, method MoneyTest::testBagNotEquals()
- testBagSimpleAdd
- in file MoneyTest.php, method MoneyTest::testBagSimpleAdd()
- testBagSubtract
- in file MoneyTest.php, method MoneyTest::testBagSubtract()
- testBagSumAdd
- in file MoneyTest.php, method MoneyTest::testBagSumAdd()
- testBalanceCannotBecomeNegative
- in file BankAccountTest.php, method BankAccountTest::testBalanceCannotBecomeNegative()
Asserts that the balance cannot become negative.
- testBalanceCannotBecomeNegative2
- in file BankAccountTest.php, method BankAccountTest::testBalanceCannotBecomeNegative2()
Asserts that the balance cannot become negative.
- testBalanceCannotBecomeNegative3
- in file BankAccountTest.php, method BankAccountTest::testBalanceCannotBecomeNegative3()
Asserts that the balance cannot become negative.
- testBalanceIsInitiallyZero
- in file BankAccountTest.php, method BankAccountTest::testBalanceIsInitiallyZero()
Asserts that the balance is initially zero.
- testClassFooter
- in file Skeleton.php, method PHPUnit2_Util_Skeleton::testClassFooter()
- testClassHeader
- in file Skeleton.php, method PHPUnit2_Util_Skeleton::testClassHeader()
- testCount
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::testCount()
Returns the number of tests in this suite.
- testEnded
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::testEnded()
A test ended.
- testEnded
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::testEnded()
A test ended.
- testFailed
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::testFailed()
A test failed.
- testFailed
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::testFailed()
A test failed.
- testIsZero
- in file MoneyTest.php, method MoneyTest::testIsZero()
- testMethod
- in file Skeleton.php, method PHPUnit2_Util_Skeleton::testMethod()
- testMixedSimpleAdd
- in file MoneyTest.php, method MoneyTest::testMixedSimpleAdd()
- testMoneyBagEquals
- in file MoneyTest.php, method MoneyTest::testMoneyBagEquals()
- testMoneyBagHash
- in file MoneyTest.php, method MoneyTest::testMoneyBagHash()
- testMoneyEquals
- in file MoneyTest.php, method MoneyTest::testMoneyEquals()
- testMoneyHash
- in file MoneyTest.php, method MoneyTest::testMoneyHash()
- testNormalize2
- in file MoneyTest.php, method MoneyTest::testNormalize2()
- testNormalize3
- in file MoneyTest.php, method MoneyTest::testNormalize3()
- testNormalize4
- in file MoneyTest.php, method MoneyTest::testNormalize4()
- testPrint
- in file MoneyTest.php, method MoneyTest::testPrint()
- tests
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::tests()
Returns the tests as an enumeration.
- testSimpleAdd
- in file MoneyTest.php, method MoneyTest::testSimpleAdd()
- testSimpleBagAdd
- in file MoneyTest.php, method MoneyTest::testSimpleBagAdd()
- testSimpleMultiply
- in file MoneyTest.php, method MoneyTest::testSimpleMultiply()
- testSimpleNegate
- in file MoneyTest.php, method MoneyTest::testSimpleNegate()
- testSimpleSubtract
- in file MoneyTest.php, method MoneyTest::testSimpleSubtract()
- testSimplify
- in file MoneyTest.php, method MoneyTest::testSimplify()
- testStarted
- in file BaseTestRunner.php, method PHPUnit2_Runner_BaseTestRunner::testStarted()
A test started.
- testStarted
- in file TestRunner.php, method PHPUnit2_TextUI_TestRunner::testStarted()
A test started.
- thrownException
- in file TestFailure.php, method PHPUnit2_Framework_TestFailure::thrownException()
Gets the thrown exception.
- toString
- in file Money.php, method Money::toString()
- toString
- in file ComparisonFailure.php, method PHPUnit2_Framework_ComparisonFailure::toString()
Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual.
- toString
- in file TestSuite.php, method PHPUnit2_Framework_TestSuite::toString()
Returns a string representation of the test suite.
- toString
- in file TestFailure.php, method PHPUnit2_Framework_TestFailure::toString()
Returns a short description of the failure.
- toString
- in file TestCase.php, method PHPUnit2_Framework_TestCase::toString()
Returns a string representation of the test case.
- toString
- in file MoneyBag.php, method MoneyBag::toString()
- toString
- in file AssertionFailedError.php, method PHPUnit2_Framework_AssertionFailedError::toString()
Wrapper for getMessage() which is declared as final.
- toString
- in file TestDecorator.php, method PHPUnit2_Extensions_TestDecorator::toString()
Returns a string representation of the test.
top
top
top
top
Documentation generated on Mon, 11 Mar 2019 14:12:36 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|