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

Class: PHPUnit2_Util_Log_Eclipse

Source Location: /PHPUnit2-3.0.0alpha11/Util/Log/Eclipse.php

Class Overview

PHPUnit2_Util_Printer
   |
   --PHPUnit2_Util_Log_Eclipse

A TestListener that passes a log of the test execution as a JSON string to Eclipse via a socket connection.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 70]
A TestListener that passes a log of the test execution as a JSON string to Eclipse via a socket connection.


[ Top ]


Method Detail

__construct (Constructor)   [line 102]

PHPUnit2_Util_Log_Eclipse __construct( [mixed $out = NULL])

Constructor.
  • Access: public

Overrides PHPUnit2_Util_Printer::__construct() (Constructor.)

Parameters:

mixed   $out   — 

[ Top ]

addError   [line 171]

void addError( PHPUnit2_Framework_Test $test, Exception $e)

An error occurred.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 
Exception   $e   — 

[ Top ]

addFailure   [line 192]

void addFailure( PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e)

A failure occurred.
  • Access: public

Parameters:


[ Top ]

addIncompleteTest   [line 217]

void addIncompleteTest( PHPUnit2_Framework_Test $test, Exception $e)

Incomplete test.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 
Exception   $e   — 

[ Top ]

addSkippedTest   [line 231]

void addSkippedTest( PHPUnit2_Framework_Test $test, Exception $e)

Skipped test.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 
Exception   $e   — 

[ Top ]

endTest   [line 285]

void endTest( PHPUnit2_Framework_Test $test)

A test ended.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 

[ Top ]

endTestSuite   [line 259]

void endTestSuite( PHPUnit2_Framework_TestSuite $suite)

A testsuite ended.
  • Since: Method available since Release 2.2.0
  • Access: public

Parameters:

PHPUnit2_Framework_TestSuite   $suite   — 

[ Top ]

startTest   [line 272]

void startTest( PHPUnit2_Framework_Test $test)

A test started.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test   — 

[ Top ]

startTestSuite   [line 245]

void startTestSuite( PHPUnit2_Framework_TestSuite $suite)

A testsuite started.
  • Since: Method available since Release 2.2.0
  • Access: public

Parameters:

PHPUnit2_Framework_TestSuite   $suite   — 

[ Top ]

write   [line 123]

void write( string $buffer)

  • Access: public

Overrides PHPUnit2_Util_Printer::write() (parent method not documented)

Parameters:

string   $buffer   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.