Element index for package PHPUnit
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ n ]
[ p ]
[ r ]
[ s ]
[ t ]
[ w ]
[ _ ]
top
a
- addError
- in file TestListener.php, method PHPUnit_TestListener::addError()
An error occurred.
- addError
- in file TestResult.php, method PHPUnit_TestResult::addError()
Adds an error to the list of errors.
- addFailure
- in file TestResult.php, method PHPUnit_TestResult::addFailure()
Adds a failure to the list of failures.
- addFailure
- in file TestListener.php, method PHPUnit_TestListener::addFailure()
A failure occurred.
- addListener
- in file TestResult.php, method PHPUnit_TestResult::addListener()
Registers a TestListener.
- addPassedTest
- in file TestResult.php, method PHPUnit_TestResult::addPassedTest()
Adds a passed test to the list of passed tests.
- addTest
- in file TestSuite.php, method PHPUnit_TestSuite::addTest()
Adds a test to the suite.
- addTestSuite
- in file TestSuite.php, method PHPUnit_TestSuite::addTestSuite()
Adds the tests from the given class to the suite.
- assertContains
- in file Assert.php, method PHPUnit_Assert::assertContains()
Asserts that a haystack contains a needle.
- assertEquals
- in file Assert.php, method PHPUnit_Assert::assertEquals()
Asserts that two variables are equal.
- assertFalse
- in file Assert.php, method PHPUnit_Assert::assertFalse()
Asserts that a condition is false.
- assertNotContains
- in file Assert.php, method PHPUnit_Assert::assertNotContains()
Asserts that a haystack does not contain a needle.
- assertNotNull
- in file Assert.php, method PHPUnit_Assert::assertNotNull()
Asserts that a variable is not NULL.
- assertNotRegExp
- in file Assert.php, method PHPUnit_Assert::assertNotRegExp()
Asserts that a string does not match a given regular expression.
- assertNotSame
- in file Assert.php, method PHPUnit_Assert::assertNotSame()
Asserts that two variables do not reference the same object.
- assertNull
- in file Assert.php, method PHPUnit_Assert::assertNull()
Asserts that a variable is NULL.
- assertRegExp
- in file Assert.php, method PHPUnit_Assert::assertRegExp()
Asserts that a string matches a given regular expression.
- assertSame
- in file Assert.php, method PHPUnit_Assert::assertSame()
Asserts that two variables reference the same object.
- assertTrue
- in file Assert.php, method PHPUnit_Assert::assertTrue()
Asserts that a condition is true.
- assertType
- in file Assert.php, method PHPUnit_Assert::assertType()
Asserts that a variable is of a given type.
- Assert.php
- procedural page Assert.php
- about
- in file Gtk.php, method PHPUnit_GUI_Gtk::about()
Show a popup with information about the application.
- addSuites
- in file HTML.php, method PHPUnit_GUI_HTML::addSuites()
Add suites to the GUI
- addSuites
- in file Gtk.php, method PHPUnit_GUI_Gtk::addSuites()
Add a suite to the tests.
top
top
top
d
- $dumpArea
- in file Gtk.php, variable PHPUnit_GUI_Gtk::$dumpArea
The text area for reporting errors encountered when running tests.
top
top
top
top
top
top
top
top
top
p
- pass
- in file TestCase.php, method PHPUnit_TestCase::pass()
Passes a test.
- passedTests
- in file TestResult.php, method PHPUnit_TestResult::passedTests()
Returns an Enumeration for the passed tests.
- PHPUnit
- in file PHPUnit.php, class PHPUnit
PHPUnit runs a TestSuite and returns a TestResult object.
- PHPUnit.php
- procedural page PHPUnit.php
- PHPUnit_Assert
- in file Assert.php, class PHPUnit_Assert
A set of assert methods.
- PHPUnit_RepeatedTest
- in file RepeatedTest.php, method PHPUnit_RepeatedTest::PHPUnit_RepeatedTest()
Constructor.
- PHPUnit_RepeatedTest
- in file RepeatedTest.php, class PHPUnit_RepeatedTest
A Decorator that runs a test repeatedly.
- PHPUnit_Skeleton
- in file Skeleton.php, method PHPUnit_Skeleton::PHPUnit_Skeleton()
Constructor. Sets the class members and check that the class to test is accessible.
- PHPUnit_Skeleton
- in file Skeleton.php, class PHPUnit_Skeleton
Class for creating a PHPUnit_TestCase skeleton file.
- PHPUnit_TestCase
- in file TestCase.php, class PHPUnit_TestCase
A TestCase defines the fixture to run multiple tests.
- PHPUnit_TestCase
- in file TestCase.php, method PHPUnit_TestCase::PHPUnit_TestCase()
Constructs a test case with the given name.
- PHPUnit_TestDecorator
- in file TestDecorator.php, method PHPUnit_TestDecorator::PHPUnit_TestDecorator()
Constructor.
- PHPUnit_TestDecorator
- in file TestDecorator.php, class PHPUnit_TestDecorator
A Decorator for Tests.
- PHPUnit_TestFailure
- in file TestFailure.php, class PHPUnit_TestFailure
A TestFailure collects a failed test together with the caught exception.
- PHPUnit_TestFailure
- in file TestFailure.php, method PHPUnit_TestFailure::PHPUnit_TestFailure()
Constructs a TestFailure with the given test and exception.
- PHPUnit_TestListener
- in file TestListener.php, class PHPUnit_TestListener
A Listener for test progress.
- PHPUnit_TestResult
- in file TestResult.php, class PHPUnit_TestResult
A TestResult collects the results of executing a test case.
- PHPUnit_TestSuite
- in file TestSuite.php, method PHPUnit_TestSuite::PHPUnit_TestSuite()
Constructs a TestSuite.
- PHPUnit_TestSuite
- in file TestSuite.php, class PHPUnit_TestSuite
A TestSuite is a Composite of Tests. It runs a collection of test cases.
- $progress
- in file Gtk.php, variable PHPUnit_GUI_Gtk::$progress
The progress bar indicator. Shows the percentage of passed tests.
- PHPUnit_GUI_Gtk
- in file Gtk.php, class PHPUnit_GUI_Gtk
GTK GUI interface for PHPUnit.
- PHPUnit_GUI_Gtk
- in file Gtk.php, method PHPUnit_GUI_Gtk::PHPUnit_GUI_Gtk()
Constructor.
- PHPUnit_GUI_HTML
- in file HTML.php, method PHPUnit_GUI_HTML::PHPUnit_GUI_HTML()
the current implementation of PHPUnit is designed
- PHPUnit_GUI_HTML
- in file HTML.php, class PHPUnit_GUI_HTML
This class provides a HTML GUI.
- PHPUnit_GUI_SetupDecorator
- in file SetupDecorator.php, method PHPUnit_GUI_SetupDecorator::PHPUnit_GUI_SetupDecorator()
- PHPUnit_GUI_SetupDecorator
- in file SetupDecorator.php, class PHPUnit_GUI_SetupDecorator
This decorator actually just adds the functionality to read the test-suite classes from a given directory and instanciate them automatically, use it as given in the example below.
top
r
- RepeatedTest.php
- procedural page RepeatedTest.php
- removeListener
- in file TestResult.php, method PHPUnit_TestResult::removeListener()
Unregisters a TestListener.
- run
- in file TestResult.php, method PHPUnit_TestResult::run()
Runs a TestCase.
- run
- in file TestCase.php, method PHPUnit_TestCase::run()
Runs the test case and collects the results in a given TestResult object.
- run
- in file PHPUnit.php, method PHPUnit::run()
- run
- in file RepeatedTest.php, method PHPUnit_RepeatedTest::run()
Runs the decorated test and collects the result in a TestResult.
- run
- in file TestSuite.php, method PHPUnit_TestSuite::run()
Runs the tests and collects their result in a TestResult.
- run
- in file TestDecorator.php, method PHPUnit_TestDecorator::run()
Runs the decorated test and collects the result in a TestResult.
- runBare
- in file TestCase.php, method PHPUnit_TestCase::runBare()
Runs the bare test sequence.
- runCount
- in file TestResult.php, method PHPUnit_TestResult::runCount()
Gets the number of run tests.
- runTest
- in file TestSuite.php, method PHPUnit_TestSuite::runTest()
Runs a test.
- runTest
- in file TestCase.php, method PHPUnit_TestCase::runTest()
Override to run the test and assert its state.
- $reportArea
- in file Gtk.php, variable PHPUnit_GUI_Gtk::$reportArea
The text area for reporting messages from successful
- run
- in file Gtk.php, method PHPUnit_GUI_Gtk::run()
The main work of the application.
- runTest
- in file Gtk.php, method PHPUnit_GUI_Gtk::runTest()
Run the test suite.
top
s
- Skeleton.php
- procedural page Skeleton.php
- setConfigFile
- in file Skeleton.php, method PHPUnit_Skeleton::setConfigFile()
The class to test may require a special config file before it can be instantiated. This method lets you set that file.
- setLooselyTyped
- in file Assert.php, method PHPUnit_Assert::setLooselyTyped()
- setName
- in file TestCase.php, method PHPUnit_TestCase::setName()
Sets the name of a TestCase.
- setName
- in file TestSuite.php, method PHPUnit_TestSuite::setName()
Sets the name of the suite.
- setUp
- in file TestCase.php, method PHPUnit_TestCase::setUp()
Sets up the fixture, for example, open a network connection.
- shouldStop
- in file TestResult.php, method PHPUnit_TestResult::shouldStop()
Checks whether the test run should stop.
- startTest
- in file TestListener.php, method PHPUnit_TestListener::startTest()
A test started.
- startTest
- in file TestResult.php, method PHPUnit_TestResult::startTest()
Informs the result that a test will be started.
- stop
- in file TestResult.php, method PHPUnit_TestResult::stop()
Marks that the test run should stop.
- $showPassed
- in file Gtk.php, variable PHPUnit_GUI_Gtk::$showPassed
A checkbox for the user to indicate whether or not they would like to see results from all tests or just failures.
- $statusLine
- in file Gtk.php, variable PHPUnit_GUI_Gtk::$statusLine
The label for reporting user messages.
- $suiteField
- in file Gtk.php, variable PHPUnit_GUI_Gtk::$suiteField
The text entry that contains the name of the file that holds the test(s)/suite(s).
- SetupDecorator.php
- procedural page SetupDecorator.php
- show
- in file SetupDecorator.php, method PHPUnit_GUI_SetupDecorator::show()
just forwarding the action to the decorated class.
- show
- in file Gtk.php, method PHPUnit_GUI_Gtk::show()
Alias for main()
- show
- in file HTML.php, method PHPUnit_GUI_HTML::show()
this prints the HTML code straight out
top
t
- $testClass
- in file Skeleton.php, variable PHPUnit_Skeleton::$testClass
The test class that will be created.
- TestCase.php
- procedural page TestCase.php
- TestDecorator.php
- procedural page TestDecorator.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
- tearDown
- in file TestCase.php, method PHPUnit_TestCase::tearDown()
Tears down the fixture, for example, close a network connection.
- testAt
- in file TestSuite.php, method PHPUnit_TestSuite::testAt()
Returns the test at the given index.
- testCount
- in file TestSuite.php, method PHPUnit_TestSuite::testCount()
Returns the number of tests in this suite.
- tests
- in file TestSuite.php, method PHPUnit_TestSuite::tests()
Returns the tests as an enumeration.
- thrownException
- in file TestFailure.php, method PHPUnit_TestFailure::thrownException()
Gets the thrown exception.
- toHTML
- in file TestResult.php, method PHPUnit_TestResult::toHTML()
Returns a HTML representation of the test result.
- toString
- in file TestSuite.php, method PHPUnit_TestSuite::toString()
Returns a string representation of the test suite.
- toString
- in file TestFailure.php, method PHPUnit_TestFailure::toString()
Returns a short description of the failure.
- toString
- in file TestCase.php, method PHPUnit_TestCase::toString()
Returns a string representation of the test case.
- toString
- in file TestDecorator.php, method PHPUnit_TestDecorator::toString()
Returns a string representation of the test.
- toString
- in file TestResult.php, method PHPUnit_TestResult::toString()
Returns a text representation of the test result.
top
top
Documentation generated on Mon, 11 Mar 2019 14:22:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|