\PHPUnit_Util_Log_JUnit

A TestListener that generates a logfile of the test execution in XML markup.

The XML markup used is the same as the one that is used by the JUnit Ant task.

Synopsis

class PHPUnit_Util_Log_JUnit extends PHPUnit_Util_Printer implements PHPUnit_Framework_TestListener {
}

Hierarchy

Violations

Checkstyle

Line Column Severity Message
179 26 error Only one argument is allowed per line in a multi-line function call
212 32 error Only one argument is allowed per line in a multi-line function call
354 22 error Only one argument is allowed per line in a multi-line function call
358 27 error Only one argument is allowed per line in a multi-line function call
362 25 error Only one argument is allowed per line in a multi-line function call
366 23 error Only one argument is allowed per line in a multi-line function call
370 21 error Only one argument is allowed per line in a multi-line function call
427 39 error Only one argument is allowed per line in a multi-line function call
432 29 error Only one argument is allowed per line in a multi-line function call

Members

protected

  • $attachCurrentTestCase — boolean
  • $autoFlush — boolean
    If true, flush output after every write.
  • $currentTestCaseDOMElement
  • $documentDOMDocument
  • $logIncompleteSkipped — boolean
  • $out — resource
  • $outTarget — string
  • $printsHTML — boolean
  • $rootDOMElement
  • $testSuiteAssertions — array
  • $testSuiteErrors — array
  • $testSuiteFailures — array
  • $testSuiteLevel — integer
  • $testSuiteTests — array
  • $testSuiteTimes — array
  • $testSuites — array
  • $writeDocument — boolean

Methods

public

Inherited from PHPUnit_Util_Printer

public

History