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

Class: PHPUnit2_Util_Log_XML

Source Location: /PHPUnit2-2.3.6/Util/Log/XML.php

Class Overview

PHPUnit2_Util_Printer
   |
   --PHPUnit2_Util_Log_XML

A TestListener that generates an XML-based logfile of the test execution.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 68]
A TestListener that generates an XML-based logfile of the test execution.


[ Top ]


Method Detail

addError   [line 173]

void addError( mixed PHPUnit2_Framework_Test$test, mixed Exception$e, PHPUnit2_Framework_Test $test, Exception $e)

An error occurred.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     
Exception   $e     

[ Top ]

addFailure   [line 190]

void addFailure( mixed PHPUnit2_Framework_Test$test, mixed PHPUnit2_Framework_AssertionFailedError$e, PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e)

A failure occurred.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     
PHPUnit2_Framework_AssertionFailedError   $e     

[ Top ]

addIncompleteTest   [line 207]

void addIncompleteTest( mixed PHPUnit2_Framework_Test$test, mixed Exception$e, PHPUnit2_Framework_Test $test, Exception $e)

Incomplete test.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     
Exception   $e     

[ Top ]

endTest   [line 310]

void endTest( mixed PHPUnit2_Framework_Test$test, PHPUnit2_Framework_Test $test)

A test ended.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     

[ Top ]

endTestSuite   [line 269]

void endTestSuite( mixed PHPUnit2_Framework_TestSuite$suite, PHPUnit2_Framework_TestSuite $suite)

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

Parameters:

PHPUnit2_Framework_TestSuite   $suite     

[ Top ]

getXML   [line 327]

string getXML( )

Returns the XML as a string.
  • Since: Method available since Release 2.2.0
  • Access: public

[ Top ]

setWriteDocument   [line 342]

string setWriteDocument( mixed $flag)

Enables or disables the writing of the document in __destruct().

This is a "hack" needed for the integration of PHPUnit with Phing.

  • Since: Method available since Release 2.2.0
  • Access: public

[ Top ]

startTest   [line 291]

void startTest( mixed PHPUnit2_Framework_Test$test, PHPUnit2_Framework_Test $test)

A test started.
  • Access: public

Parameters:

PHPUnit2_Framework_Test   $test     

[ Top ]

startTestSuite   [line 224]

void startTestSuite( mixed PHPUnit2_Framework_TestSuite$suite, PHPUnit2_Framework_TestSuite $suite)

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

Parameters:

PHPUnit2_Framework_TestSuite   $suite     

[ Top ]

__construct   [line 141]

void __construct( [mixed $out = NULL])

Constructor.
  • Access: public

Overrides PHPUnit2_Util_Printer::__construct() (Constructor.)

Parameters:

mixed   $out     

[ Top ]

__destruct   [line 158]

void __destruct( )

Destructor.
  • Access: public

Overrides PHPUnit2_Util_Printer::__destruct() (Destructor.)
[ Top ]


Documentation generated on Tue, 12 Sep 2006 09:35:46 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.