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

Class: Testing_DocTest_OutputterInterface

Source Location: /Testing_DocTest-0.3.0/DocTest/OutputterInterface.php

Class Overview


DocTest Outputter interface.


Author(s):

Version:

  • Release: 0.3.0

Copyright:

  • 2008 David JEAN LOUIS

Methods


Inherited Variables

Inherited Methods


Class Details

[line 38]
DocTest Outputter interface.

All outputters must implement this interface.



[ Top ]


Method Detail

begin   [line 62]

void begin( array $files)

Begin of the DocTest session.

The array parameter is as follows:

  1.  array(
  2.      '/path/to/file1.php' => array($testCase1$testCase2),
  3.      '/path/to/file2.php' => array($testCase3$testCase4),
  4.      [...]
  5.      '/path/to/fileN.php' => array($testCaseN),
  6.  )

Note that the test cases provided in the array have not been run yet.

  • Access: public

Parameters:

array   $files   —  a multidimensional array of file=>testcase array

[ Top ]

beginFile   [line 101]

void beginFile( string $file, array $testCaseArray)

Begin of file parsing.

Note that the test cases provided in the array have not been run yet.

  • Access: public

Parameters:

string   $file   —  path to the file that will be processed
array   $testCaseArray   —  an array of test case instances

[ Top ]

beginTestCase   [line 130]

void beginTestCase( Testing_DocTest_TestCase $testCase)

Begin of test case parsing.

Note that the test case provided have not been run yet.

  • Access: public

Parameters:

object   $testCase   —  a test case instance

[ Top ]

end   [line 85]

void end( array $files)

End of the DocTest session.

The array parameter is as follows:

  1.  array(
  2.      '/path/to/file1.php' => array($testCase1$testCase2),
  3.      '/path/to/file2.php' => array($testCase3$testCase4),
  4.      [...]
  5.      '/path/to/fileN.php' => array($testCaseN),
  6.  )

  • Access: public

Parameters:

array   $files   —  a multidimensional array of file=>testcase array

[ Top ]

endFile   [line 115]

void endFile( string $file, array $testCaseArray)

End of file parsing.
  • Access: public

Parameters:

string   $file   —  path to the file that will be processed
array   $testCaseArray   —  an array of test case instances

[ Top ]

endTestCase   [line 143]

void endTestCase( Testing_DocTest_TestCase $testCase)

End of test case parsing.
  • Access: public

Parameters:

object   $testCase   —  a test case instance

[ Top ]


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