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

Element index for package Testing_DocTest

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ k ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ v ] [ _ ]

_

__construct
in file Registry.php, method Testing_DocTest_Registry::__construct()
    Constructor, can not be called outside this class.
__construct
in file Default.php, method Testing_DocTest_Reporter_Default::__construct()
    Constructor.
__construct
in file DocTest.php, method Testing_DocTest::__construct()
    Constructor.
__destruct
in file Default.php, method Testing_DocTest_Reporter_Default::__destruct()
    Destructor.
__get
in file TestCase.php, method Testing_DocTest_TestCase::__get()
    Overloaded getter.
__get
in file Registry.php, method Testing_DocTest_Registry::__get()
    Overloaded getter.
__get
in file TestSuite.php, method Testing_DocTest_TestSuite::__get()
    Overloaded getter.
__isset
in file Registry.php, method Testing_DocTest_Registry::__isset()
    Overloaded for isset() function.
__set
in file TestSuite.php, method Testing_DocTest_TestSuite::__set()
    Overloaded setter.
__set
in file Registry.php, method Testing_DocTest_Registry::__set()
    Overloaded setter.
__set
in file TestCase.php, method Testing_DocTest_TestCase::__set()
    Overloaded setter.
__toString
in file TestCase.php, method Testing_DocTest_TestCase::__toString()
    String representation of the test.
__toString
in file TestSuite.php, method Testing_DocTest_TestSuite::__toString()
    String representation of the suite.
__unset
in file Registry.php, method Testing_DocTest_Registry::__unset()
    Overloaded for unset() function.
top

a

accept
in file DocTest.php, method Testing_DocTest::accept()
    Method to allow DocTest to accept a custom finder, reporter, parser or runner instance.
addTestCase
in file TestSuite.php, method Testing_DocTest_TestSuite::addTestCase()
    Add a test case to the suite.
top

c

count
in file TestSuite.php, method Testing_DocTest_TestSuite::count()
    Part of Countable interface implementation.
current
in file TestSuite.php, method Testing_DocTest_TestSuite::current()
    Part of IteratorAggregate interface implementation.
top

d

Default.php
procedural page Default.php
Default.php
procedural page Default.php
Default.php
procedural page Default.php
Default.php
procedural page Default.php
DocTest.php
procedural page DocTest.php
top

e

Exception.php
procedural page Exception.php
top

f

find
in file FinderInterface.php, method Testing_DocTest_FinderInterface::find()
    Must return an array that have this structure:
find
in file Default.php, method Testing_DocTest_Finder_Default::find()
    Find all files matching the given files and/or directories and return an array of file pathes (pathes are absolute, using the realpath function).
FLAG_CASE_INSENSITIVE
in file DocTest.php, class constant Testing_DocTest::FLAG_CASE_INSENSITIVE
    Tell the runner to compare expected and actual results in case insensitive mode.
FLAG_ELLIPSIS
in file DocTest.php, class constant Testing_DocTest::FLAG_ELLIPSIS
    Allow to pass a wildcard pattern: [...] that will match any string in the actual result.
FLAG_NORMALIZE_WHITESPACE
in file DocTest.php, class constant Testing_DocTest::FLAG_NORMALIZE_WHITESPACE
    Tell the runner to ignore *all* whitespace differences when comparing expected and actual results.
FLAG_SKIP
in file DocTest.php, class constant Testing_DocTest::FLAG_SKIP
    Tell the parser to skip the test.
FinderInterface.php
procedural page FinderInterface.php
top

g

getIterator
in file TestSuite.php, method Testing_DocTest_TestSuite::getIterator()
    Part of IteratorAggregate interface implementation.
top

h

hasFlag
in file TestCase.php, method Testing_DocTest_TestCase::hasFlag()
    Return true if the test has the flag $flag set or not.
top

i

$iniSettings
in file TestCase.php, variable Testing_DocTest_TestCase::$iniSettings
    Array of ini settings to pass to the process of the testcase.
top

k

key
in file TestSuite.php, method Testing_DocTest_TestSuite::key()
    Part of IteratorAggregate interface implementation.
KW_DOCTEST_CLEAN
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_CLEAN
    Keyword for the clean part
KW_DOCTEST_EXPECTS
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_EXPECTS
    Keyword for the doctest expected result
KW_DOCTEST_EXPECTS_FILE
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_EXPECTS_FILE
    Keyword for the doctest expected file
KW_DOCTEST_FLAGS
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_FLAGS
    Keyword for the doctest flags
KW_DOCTEST_INI_SET
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_INI_SET
    Keyword for the ini settings
KW_DOCTEST_NAME
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_NAME
    Keyword for the name of the doctest
KW_DOCTEST_SKIP_IF
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_SKIP_IF
    Keyword for the skip condition
top

n

next
in file TestSuite.php, method Testing_DocTest_TestSuite::next()
    Part of IteratorAggregate interface implementation.
top

o

onBegin
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onBegin()
    Called when a doctest session begins.
onBegin
in file Default.php, method Testing_DocTest_Reporter_Default::onBegin()
    Called when a doctest session begins.
onEnd
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onEnd()
    Called at the end of the DocTest session.
onEnd
in file Default.php, method Testing_DocTest_Reporter_Default::onEnd()
    Called at the end of the DocTest session.
onTestCaseBegin
in file Default.php, method Testing_DocTest_Reporter_Default::onTestCaseBegin()
    Called before the runner run a test case.
onTestCaseBegin
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestCaseBegin()
    Called before the runner run a test case.
onTestCaseEnd
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestCaseEnd()
    Called when the runner finished a test case.
onTestCaseEnd
in file Default.php, method Testing_DocTest_Reporter_Default::onTestCaseEnd()
    Called when the runner finished a test case.
onTestCaseError
in file Default.php, method Testing_DocTest_Reporter_Default::onTestCaseError()
    Called when a test has errors.
onTestCaseError
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestCaseError()
    Called when a test has errors.
onTestCaseFail
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestCaseFail()
    Called when a test failed.
onTestCaseFail
in file Default.php, method Testing_DocTest_Reporter_Default::onTestCaseFail()
    Called when a test failed.
onTestCasePass
in file Default.php, method Testing_DocTest_Reporter_Default::onTestCasePass()
    Called when a test passed.
onTestCasePass
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestCasePass()
    Called when a test passed.
onTestCaseSkip
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestCaseSkip()
    Called when a test was skipped by the runner.
onTestCaseSkip
in file Default.php, method Testing_DocTest_Reporter_Default::onTestCaseSkip()
    Called when a test was skipped by the runner.
onTestSuiteBegin
in file Default.php, method Testing_DocTest_Reporter_Default::onTestSuiteBegin()
    Called before the runner starts running a suite.
onTestSuiteBegin
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestSuiteBegin()
    Called before the runner starts running a suite.
onTestSuiteEnd
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestSuiteEnd()
    Called when the runner finished running the suite.
onTestSuiteEnd
in file Default.php, method Testing_DocTest_Reporter_Default::onTestSuiteEnd()
    Called when the runner finished running the suite.
top

p

parse
in file Default.php, method Testing_DocTest_Parser_Default::parse()
    Parse the files passed and return an array of Testing_DocTest_TestSuite instances.
parse
in file ParserInterface.php, method Testing_DocTest_ParserInterface::parse()
    Parse the files passed and return an array as follows:
ParserInterface.php
procedural page ParserInterface.php
top

r

rewind
in file TestSuite.php, method Testing_DocTest_TestSuite::rewind()
    Part of IteratorAggregate interface implementation.
run
in file RunnerInterface.php, method Testing_DocTest_RunnerInterface::run()
    Run the test provided by comparing the expected result with the actual result returned by the test code.
run
in file DocTest.php, method Testing_DocTest::run()
    Run the tests contained in the given pathes.
run
in file Default.php, method Testing_DocTest_Runner_Default::run()
    Run the test provided by comparing the expected result with the actual result returned by the test code.
Registry.php
procedural page Registry.php
ReporterInterface.php
procedural page ReporterInterface.php
RunnerInterface.php
procedural page RunnerInterface.php
top

s

singleton
in file Registry.php, method Testing_DocTest_Registry::singleton()
    Singleton constructor.
STATE_CLEAN
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_CLEAN
    State after parsing clean line.
STATE_CODE
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_CODE
    State after parsing code line.
STATE_DOCTEST
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_DOCTEST
    State after parsing a doctest line.
STATE_ERROR
in file TestCase.php, class constant Testing_DocTest_TestCase::STATE_ERROR
    State of a test that had a php error.
STATE_EXPECTS
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_EXPECTS
    State after parsing expects line.
STATE_EXPECTS_FILE
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_EXPECTS_FILE
    State after parsing expects-file line.
STATE_FAILED
in file TestCase.php, class constant Testing_DocTest_TestCase::STATE_FAILED
    State of a test that failed.
STATE_FLAGS
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_FLAGS
    State after parsing flags.
STATE_INI_SET
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_INI_SET
    State after parsing a ini-set line.
STATE_NOT_RUN
in file TestCase.php, class constant Testing_DocTest_TestCase::STATE_NOT_RUN
    State of the test before it is run.
STATE_PASSED
in file TestCase.php, class constant Testing_DocTest_TestCase::STATE_PASSED
    State of a test that passed.
STATE_SKIPPED
in file TestCase.php, class constant Testing_DocTest_TestCase::STATE_SKIPPED
    State of a test that have been skipped.
STATE_SKIP_IF
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_SKIP_IF
    State after parsing a skip condition line.
SYNTAX_PREFIX
in file Default.php, class constant Testing_DocTest_Parser_Default::SYNTAX_PREFIX
    Doctest syntax prefix default is a standard php inline comment: '//'
top

t

Testing_DocTest
in file DocTest.php, class Testing_DocTest
    DocTest.
TestCase.php
procedural page TestCase.php
TestSuite.php
procedural page TestSuite.php
Testing_DocTest_Exception
in file Exception.php, class Testing_DocTest_Exception
    Exception raised by the Testing_DocTest package.
Testing_DocTest_FinderInterface
in file FinderInterface.php, class Testing_DocTest_FinderInterface
    DocTest Finder interface.
Testing_DocTest_Finder_Default
in file Default.php, class Testing_DocTest_Finder_Default
    DocTest Finder.
Testing_DocTest_ParserInterface
in file ParserInterface.php, class Testing_DocTest_ParserInterface
    DocTest Parser interface.
Testing_DocTest_Parser_Default
in file Default.php, class Testing_DocTest_Parser_Default
    DocTest Parser default class.
Testing_DocTest_Registry
in file Registry.php, class Testing_DocTest_Registry
    A simple Registry that will allow Doctest components to share options and instances in order to achieve loose coupling.
Testing_DocTest_ReporterInterface
in file ReporterInterface.php, class Testing_DocTest_ReporterInterface
    DocTest Reporter interface.
Testing_DocTest_Reporter_Default
in file Default.php, class Testing_DocTest_Reporter_Default
    DocTest Reporter default class.
Testing_DocTest_RunnerInterface
in file RunnerInterface.php, class Testing_DocTest_RunnerInterface
    DocTest Runner interface.
Testing_DocTest_Runner_Default
in file Default.php, class Testing_DocTest_Runner_Default
    DocTest Runner default class.
Testing_DocTest_TestCase
in file TestCase.php, class Testing_DocTest_TestCase
    This class represents a block that contains the doc test.
Testing_DocTest_TestSuite
in file TestSuite.php, class Testing_DocTest_TestSuite
    This class is a container for a "suite" of test cases.
top

v

valid
in file TestSuite.php, method Testing_DocTest_TestSuite::valid()
    Part of IteratorAggregate interface implementation.
top

Documentation generated on Thu, 10 Dec 2015 05:49:17 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.