public function 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 drupal/core/vendor/phpunit/phpunit/PHPUnit/Util/Log/JUnit.php
Flush buffer and close output.

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Util/Log/JUnit.php, line 461

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();
}