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

Element index for package Testing_DocTest

[ a ] [ b ] [ d ] [ e ] [ f ] [ h ] [ i ] [ k ] [ o ] [ p ] [ r ] [ s ] [ t ] [ _ ]

_

__construct
in file Default.php, method Testing_DocTest_Outputter_Default::__construct()
    Constructor.
__construct
in file Registry.php, method Testing_DocTest_Registry::__construct()
    Constructor, can not be called outside this class.
__construct
in file DocTest.php, method Testing_DocTest::__construct()
    Constructor.
__destruct
in file Default.php, method Testing_DocTest_Outputter_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.
__isset
in file Registry.php, method Testing_DocTest_Registry::__isset()
    Overloaded for isset() function.
__set
in file Registry.php, method Testing_DocTest_Registry::__set()
    Overloaded setter.
__set
in file TestCase.php, method Testing_DocTest_TestCase::__set()
    Overloaded setter.
__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, outputter, parser or runner instance.
top

b

begin
in file OutputterInterface.php, method Testing_DocTest_OutputterInterface::begin()
    Begin of the DocTest session.
begin
in file Default.php, method Testing_DocTest_Outputter_Default::begin()
    Begin of the DocTest session.
beginFile
in file OutputterInterface.php, method Testing_DocTest_OutputterInterface::beginFile()
    Begin of file parsing.
beginFile
in file Default.php, method Testing_DocTest_Outputter_Default::beginFile()
    Begin of file parsing.
beginTestCase
in file OutputterInterface.php, method Testing_DocTest_OutputterInterface::beginTestCase()
    Begin of test case parsing.
beginTestCase
in file Default.php, method Testing_DocTest_Outputter_Default::beginTestCase()
    Begin of test case parsing.
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

end
in file OutputterInterface.php, method Testing_DocTest_OutputterInterface::end()
    End of the DocTest session.
end
in file Default.php, method Testing_DocTest_Outputter_Default::end()
    End of the DocTest session.
endFile
in file Default.php, method Testing_DocTest_Outputter_Default::endFile()
    End of file parsing.
endFile
in file OutputterInterface.php, method Testing_DocTest_OutputterInterface::endFile()
    End of file parsing.
endTestCase
in file Default.php, method Testing_DocTest_Outputter_Default::endTestCase()
    End of test case parsing.
endTestCase
in file OutputterInterface.php, method Testing_DocTest_OutputterInterface::endTestCase()
    End of test case parsing.
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

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

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

o

OutputterInterface.php
procedural page OutputterInterface.php
top

p

parse
in file Default.php, method Testing_DocTest_Parser_Default::parse()
    Parse the files passed and return an array of type:
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

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 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.
run
in file DocTest.php, method Testing_DocTest::run()
    Run the tests contained in the given pathes.
Registry.php
procedural page Registry.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
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_OutputterInterface
in file OutputterInterface.php, class Testing_DocTest_OutputterInterface
    DocTest Outputter interface.
Testing_DocTest_Outputter_Default
in file Default.php, class Testing_DocTest_Outputter_Default
    DocTest Outputter default class.
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_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.
top

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