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

Class: Testing_DocTest_Reporter_Default

Source Location: /Testing_DocTest-0.6.0/Testing/DocTest/Reporter/Default.php

Class Overview


DocTest Reporter default class.


Author(s):

Version:

  • Release: 0.6.0

Copyright:

  • 2008 David JEAN LOUIS

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
DocTest Reporter default class.


[ Top ]


Method Detail

__construct (Constructor)   [line 78]

Testing_DocTest_Reporter_Default __construct( )

Constructor.
  • Access: public

[ Top ]

__destruct (Destructor)   [line 97]

void __destruct( )

Destructor.

Will eventually close the opened logfile.

  • Access: public

[ Top ]

onBegin   [line 115]

void onBegin( $suites)

Called when a doctest session begins.
  • Access: public

Parameters:

array   $suites     an array of Testing_DocTest_TestSuite instances

[ Top ]

onEnd   [line 279]

void onEnd( $suites)

Called at the end of the DocTest session.
  • Access: public

Parameters:

array   $suites     an array of Testing_DocTest_TestSuite instances

[ Top ]

onTestCaseBegin   [line 150]

void onTestCaseBegin( Testing_DocTest_TestCase $case)

Called before the runner run a test case.
  • Access: public

Parameters:

object   $case     a test case instance

[ Top ]

onTestCaseEnd   [line 248]

void onTestCaseEnd( Testing_DocTest_TestCase $case)

Called when the runner finished a test case.
  • Access: public

Parameters:

object   $case     a test case instance

[ Top ]

onTestCaseError   [line 222]

void onTestCaseError( Testing_DocTest_TestCase $case)

Called when a test has errors.
  • Access: public

Parameters:

object   $case     a test case instance

[ Top ]

onTestCaseFail   [line 199]

void onTestCaseFail( Testing_DocTest_TestCase $case)

Called when a test failed.
  • Access: public

Parameters:

object   $case     a test case instance

[ Top ]

onTestCasePass   [line 165]

void onTestCasePass( Testing_DocTest_TestCase $case)

Called when a test passed.
  • Access: public

Parameters:

object   $case     a test case instance

[ Top ]

onTestCaseSkip   [line 182]

void onTestCaseSkip( Testing_DocTest_TestCase $case)

Called when a test was skipped by the runner.
  • Access: public

Parameters:

object   $case     a test case instance

[ Top ]

onTestSuiteBegin   [line 133]

void onTestSuiteBegin( Testing_DocTest_TestSuite $suite)

Called before the runner starts running a suite.
  • Access: public

Parameters:

object   $suite     an instance of Testing_DocTest_TestSuite

[ Top ]

onTestSuiteEnd   [line 263]

void onTestSuiteEnd( Testing_DocTest_TestSuite $suite)

Called when the runner finished running the suite.
  • Access: public

Parameters:

object   $suite     an instance of Testing_DocTest_TestSuite

[ Top ]


Documentation generated on Thu, 17 Jan 2013 10:30:05 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.