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

Class: Testing_DocTest_Reporter_Default

Source Location: /Testing_DocTest-0.3.1/DocTest/Reporter/Default.php

Class Overview


DocTest Reporter default class.


Author(s):

Version:

  • Release: 0.3.1

Copyright:

  • 2008 David JEAN LOUIS

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
DocTest Reporter default class.


[ Top ]


Method Detail

__construct (Constructor)   [line 70]

Testing_DocTest_Reporter_Default __construct( )

Constructor.
  • Access: public

[ Top ]

__destruct (Destructor)   [line 89]

void __destruct( )

Destructor.

Will eventually close the opened logfile.

  • Access: public

[ Top ]

onBegin   [line 107]

void onBegin( array $suites)

Called when a doctest session begins.
  • Access: public

Parameters:

array   $suites   —  an array of Testing_DocTest_TestSuite instances

[ Top ]

onEnd   [line 264]

void onEnd( array $suites)

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

Parameters:

array   $suites   —  an array of Testing_DocTest_TestSuite instances

[ Top ]

onTestCaseBegin   [line 142]

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 233]

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 213]

void onTestCaseError( Testing_DocTest_TestCase $case)

Called when a test has errors.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestCaseFail   [line 191]

void onTestCaseFail( Testing_DocTest_TestCase $case)

Called when a test failed.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestCasePass   [line 157]

void onTestCasePass( Testing_DocTest_TestCase $case)

Called when a test passed.
  • Access: public

Parameters:

object   $case   —  a test case instance

[ Top ]

onTestCaseSkip   [line 174]

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 125]

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 248]

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, 10 Dec 2015 05:49:17 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.