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

Element index for package PHPUnit

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ m ] [ n ] [ p ] [ r ] [ s ] [ t ] [ w ] [ _ ]

_

$_errors
in file TestResult.php, variable PHPUnit_TestResult::$_errors
$_failures
in file TestResult.php, variable PHPUnit_TestResult::$_failures
$_listeners
in file TestResult.php, variable PHPUnit_TestResult::$_listeners
$_passedTests
in file TestResult.php, variable PHPUnit_TestResult::$_passedTests
$_runTests
in file TestResult.php, variable PHPUnit_TestResult::$_runTests
$_test
in file TestDecorator.php, variable PHPUnit_TestDecorator::$_test
    The Test to be decorated.
top

a

about
in file Gtk.php, method PHPUnit_GUI_Gtk::about()
    Show a popup with information about the application.
addError
in file TestResult.php, method PHPUnit_TestResult::addError()
    Adds an error to the list of errors.
addError
in file TestListener.php, method PHPUnit_TestListener::addError()
    An error occurred.
addFailure
in file TestListener.php, method PHPUnit_TestListener::addFailure()
    A failure occurred.
addFailure
in file TestResult.php, method PHPUnit_TestResult::addFailure()
    Adds a failure to the list of failures.
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.
addSuites
in file Gtk.php, method PHPUnit_GUI_Gtk::addSuites()
    Add a suite to the tests.
addSuites
in file HTML.php, method PHPUnit_GUI_HTML::addSuites()
    Add suites to the GUI
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
top

b

basicRun
in file TestDecorator.php, method PHPUnit_TestDecorator::basicRun()
    Runs the test and collects the result in a TestResult.
top

c

$className
in file Skeleton.php, variable PHPUnit_Skeleton::$className
    The name of the class
$classPath
in file Skeleton.php, variable PHPUnit_Skeleton::$classPath
    Path to the class file to create a skeleton for.
$configFile
in file Skeleton.php, variable PHPUnit_Skeleton::$configFile
    Path to the configuration file needed by class to test.
countTestCases
in file TestDecorator.php, method PHPUnit_TestDecorator::countTestCases()
    Counts the number of test cases that will be run by this test.
countTestCases
in file TestSuite.php, method PHPUnit_TestSuite::countTestCases()
    Counts the number of test cases that will be run by this test.
countTestCases
in file TestCase.php, method PHPUnit_TestCase::countTestCases()
    Counts the number of test cases executed by run(TestResult result).
countTestCases
in file RepeatedTest.php, method PHPUnit_RepeatedTest::countTestCases()
    Counts the number of test cases that will be run by this test.
createResult
in file TestCase.php, method PHPUnit_TestCase::createResult()
    Creates a default TestResult object.
createTestClass
in file Skeleton.php, method PHPUnit_Skeleton::createTestClass()
    Create the code that will be the skeleton of the test case.
top

d

$dumpArea
in file Gtk.php, variable PHPUnit_GUI_Gtk::$dumpArea
    The text area for reporting errors encountered when running tests.
top

e

endTest
in file TestListener.php, method PHPUnit_TestListener::endTest()
    A test ended.
endTest
in file TestResult.php, method PHPUnit_TestResult::endTest()
    Informs the result that a test was completed.
errorCount
in file TestResult.php, method PHPUnit_TestResult::errorCount()
    Gets the number of detected errors.
errors
in file TestResult.php, method PHPUnit_TestResult::errors()
    Returns an Enumeration for the errors.
top

f

fail
in file TestCase.php, method PHPUnit_TestCase::fail()
    Fails a test with the given message.
fail
in file Assert.php, method PHPUnit_Assert::fail()
    Fails a test with the given message.
failedTest
in file TestFailure.php, method PHPUnit_TestFailure::failedTest()
    Gets the failed test.
failureCount
in file TestResult.php, method PHPUnit_TestResult::failureCount()
    Gets the number of detected failures.
failures
in file TestResult.php, method PHPUnit_TestResult::failures()
    Returns an Enumeration for the failures.
top

g

$gui
in file Gtk.php, variable PHPUnit_GUI_Gtk::$gui
    The main gtk window
getName
in file TestSuite.php, method PHPUnit_TestSuite::getName()
    Returns the name of the suite.
getName
in file TestCase.php, method PHPUnit_TestCase::getName()
    Gets the name of a TestCase.
getSuitesFromDir
in file SetupDecorator.php, method PHPUnit_GUI_SetupDecorator::getSuitesFromDir()
    Setup test suites that can be found in the given directory
getTest
in file TestDecorator.php, method PHPUnit_TestDecorator::getTest()
    Returns the test to be run.
Gtk.php
procedural page Gtk.php
top

h

HTML.php
procedural page HTML.php
top

i

$includeParents
in file Skeleton.php, variable PHPUnit_Skeleton::$includeParents
    Whether or not to include the methods of the parent class when testing.
$includePrivate
in file Skeleton.php, variable PHPUnit_Skeleton::$includePrivate
    Whether or not to test private methods.
top

l

loadTest
in file Gtk.php, method PHPUnit_GUI_Gtk::loadTest()
    Load the test suite.
top

m

main
in file Gtk.php, method PHPUnit_GUI_Gtk::main()
    Start the main gtk loop.
top

n

$numberOfErrors
in file Gtk.php, variable PHPUnit_GUI_Gtk::$numberOfErrors
    The label that shows the number of errors that were encountered.
$numberOfFailures
in file Gtk.php, variable PHPUnit_GUI_Gtk::$numberOfFailures
    The label that shows the number of failures that were encountered.
$numberOfRuns
in file Gtk.php, variable PHPUnit_GUI_Gtk::$numberOfRuns
    The label that shows the number of tests that were run.
top

p

$progress
in file Gtk.php, variable PHPUnit_GUI_Gtk::$progress
    The progress bar indicator. Shows the percentage of passed tests.
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_GUI_Gtk
in file Gtk.php, method PHPUnit_GUI_Gtk::PHPUnit_GUI_Gtk()
    Constructor.
PHPUnit_GUI_Gtk
in file Gtk.php, class PHPUnit_GUI_Gtk
    GTK GUI interface for PHPUnit.
PHPUnit_GUI_HTML
in file HTML.php, class PHPUnit_GUI_HTML
    HTML GUI.
PHPUnit_GUI_HTML
in file HTML.php, method PHPUnit_GUI_HTML::PHPUnit_GUI_HTML()
    the current implementation of PHPUnit is designed
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.
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, class PHPUnit_Skeleton
    Class for creating a PHPUnit_TestCase skeleton file.
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_TestCase
in file TestCase.php, method PHPUnit_TestCase::PHPUnit_TestCase()
    Constructs a test case with the given name.
PHPUnit_TestCase
in file TestCase.php, class PHPUnit_TestCase
    A TestCase defines the fixture to run multiple tests.
PHPUnit_TestDecorator
in file TestDecorator.php, class PHPUnit_TestDecorator
    A Decorator for Tests.
PHPUnit_TestDecorator
in file TestDecorator.php, method PHPUnit_TestDecorator::PHPUnit_TestDecorator()
    Constructor.
PHPUnit_TestFailure
in file TestFailure.php, method PHPUnit_TestFailure::PHPUnit_TestFailure()
    Constructs a TestFailure with the given test and exception.
PHPUnit_TestFailure
in file TestFailure.php, class PHPUnit_TestFailure
    A TestFailure collects a failed test together with the caught 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.
top

r

$reportArea
in file Gtk.php, variable PHPUnit_GUI_Gtk::$reportArea
    The text area for reporting messages from successful
RepeatedTest.php
procedural page RepeatedTest.php
removeListener
in file TestResult.php, method PHPUnit_TestResult::removeListener()
    Unregisters a TestListener.
run
in file TestSuite.php, method PHPUnit_TestSuite::run()
    Runs the tests and collects their result in a TestResult.
run
in file Gtk.php, method PHPUnit_GUI_Gtk::run()
    The main work of the application.
run
in file TestResult.php, method PHPUnit_TestResult::run()
    Runs a TestCase.
run
in file RepeatedTest.php, method PHPUnit_RepeatedTest::run()
    Runs the decorated test and collects the result in a TestResult.
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 TestDecorator.php, method PHPUnit_TestDecorator::run()
    Runs the decorated test and collects the result in a TestResult.
run
in file PHPUnit.php, method PHPUnit::run()
    Runs a test(suite).
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.
runTest
in file Gtk.php, method PHPUnit_GUI_Gtk::runTest()
    Run the test suite.
top

s

$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
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 TestSuite.php, method PHPUnit_TestSuite::setName()
    Sets the name of the suite.
setName
in file TestCase.php, method PHPUnit_TestCase::setName()
    Sets the name of a TestCase.
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.
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
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.
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

w

wasSuccessful
in file TestResult.php, method PHPUnit_TestResult::wasSuccessful()
    Returns whether the entire test was successful or not.
writeTestClass
in file Skeleton.php, method PHPUnit_Skeleton::writeTestClass()
    Write the test class to file.
top

Documentation generated on Thu, 10 Nov 2005 05:02:21 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.