You are here

public function PHPUnit_Util_Log_JUnit::getXML in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/Log/JUnit.php \PHPUnit_Util_Log_JUnit::getXML()

Returns the XML as a string.

@since Method available since Release 2.2.0

Return value

string

1 call to PHPUnit_Util_Log_JUnit::getXML()
PHPUnit_Util_Log_JUnit::flush in vendor/phpunit/phpunit/src/Util/Log/JUnit.php
Flush buffer and close output.

File

vendor/phpunit/phpunit/src/Util/Log/JUnit.php, line 427

Class

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

Code

public function getXML() {
  return $this->document
    ->saveXML();
}