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

Index of all elements

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

a

$attr1
in file test1.php, variable Foo::$attr1
    Properties doc blocs do not accept doc tests.
$attr2
in file test1.php, variable Foo::$attr2
    Properties doc blocs do not accept doc tests.
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

b

Bar
in file test1.php, class Bar
    A class that does nothing.
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 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).
find
in file FinderInterface.php, method Testing_DocTest_FinderInterface::find()
    Must return an array that have this structure:
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.
Foo
in file test1.php, class Foo
    Foo class.
FOO
in file test1.php, constant FOO
    This is another file level 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_FILE
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_FILE
    Keyword for the name of the external doctest 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_SETUP
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_SETUP
    Keyword for the setup part
KW_DOCTEST_SKIP_IF
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_SKIP_IF
    Keyword for the skip condition
KW_DOCTEST_TMPL_CODE
in file Default.php, class constant Testing_DocTest_Parser_Default::KW_DOCTEST_TMPL_CODE
    Keyword for the tmpl code settings
top

m

multiply
in file test1.php, function multiply()
    A simple function that multiply two int or float and return a float number.
multiply2
in file test1.php, function multiply2()
    A simple function that multiply two int or float and return a float number.
top

n

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

o

onBegin
in file Default.php, method Testing_DocTest_Reporter_Default::onBegin()
    Called when a doctest session begins.
onBegin
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onBegin()
    Called when a doctest session begins.
onEnd
in file Default.php, method Testing_DocTest_Reporter_Default::onEnd()
    Called at the end of the DocTest session.
onEnd
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::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 Default.php, method Testing_DocTest_Reporter_Default::onTestCaseEnd()
    Called when the runner finished a test case.
onTestCaseEnd
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::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 Default.php, method Testing_DocTest_Reporter_Default::onTestCaseFail()
    Called when a test failed.
onTestCaseFail
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::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 Default.php, method Testing_DocTest_Reporter_Default::onTestCaseSkip()
    Called when a test was skipped by the runner.
onTestCaseSkip
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::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 Default.php, method Testing_DocTest_Reporter_Default::onTestSuiteEnd()
    Called when the runner finished running the suite.
onTestSuiteEnd
in file ReporterInterface.php, method Testing_DocTest_ReporterInterface::onTestSuiteEnd()
    Called when the runner finished running the suite.
OS_TYPE
in file test1.php, constant OS_TYPE
    This is a file level test.
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

setShellOptions
in file Default.php, method Testing_DocTest_Parser_Default::setShellOptions()
    set command line options
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_SETUP
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_SETUP
    State after parsing setup line.
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.
STATE_TMPL_CODE
in file Default.php, class constant Testing_DocTest_Parser_Default::STATE_TMPL_CODE
    State after parsing tmpl code.
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

testArray
in file test1.php, method Foo::testArray()
testArray
in file test1.php, function testArray()
    A simple function that return a simple or multidimensional array.
testBool
in file test1.php, method Foo::testBool()
testBug16372
in file test1.php, method Foo::testBug16372()
testBug16372pre
in file test1.php, method Foo::testBug16372pre()
testError
in file test1.php, method Foo::testError()
testException
in file test1.php, method Foo::testException()
testFlags
in file test1.php, function testFlags()
    This little function will explain the usage of flags in doc tests.
testFloat
in file test1.php, method Foo::testFloat()
Testing_DocTest
in file DocTest.php, class Testing_DocTest
    DocTest.
test1.php
procedural page test1.php
tmpl_code.doctest.php
procedural page tmpl_code.doctest.php
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.
testInt
in file test1.php, method Foo::testInt()
testNull
in file test1.php, method Foo::testNull()
    When an instruction does not return a value or return the value NULL, accepted syntaxes are: // expects: null
testObject
in file test1.php, method Foo::testObject()
testResource
in file test1.php, method Foo::testResource()
testString
in file test1.php, method Foo::testString()
testString
in file test1.php, function testString()
    A simple function that return a string.
TEXT_VAR
in file tmpl_code.doctest.php, constant TEXT_VAR
top

v

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

_

__construct
in file test1.php, method Foo::__construct()
    Constructor.
__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 TestSuite.php, method Testing_DocTest_TestSuite::__get()
    Overloaded getter.
__get
in file Registry.php, method Testing_DocTest_Registry::__get()
    Overloaded getter.
__isset
in file Registry.php, method Testing_DocTest_Registry::__isset()
    Overloaded for isset() function.
__set
in file TestCase.php, method Testing_DocTest_TestCase::__set()
    Overloaded setter.
__set
in file Registry.php, method Testing_DocTest_Registry::__set()
    Overloaded setter.
__set
in file TestSuite.php, method Testing_DocTest_TestSuite::__set()
    Overloaded setter.
__toString
in file test1.php, method Foo::__toString()
    toString method.
__toString
in file TestSuite.php, method Testing_DocTest_TestSuite::__toString()
    String representation of the suite.
__toString
in file TestCase.php, method Testing_DocTest_TestCase::__toString()
    String representation of the test.
__unset
in file Registry.php, method Testing_DocTest_Registry::__unset()
    Overloaded for unset() function.
top

Documentation generated on Mon, 11 Mar 2019 15:52:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.