protected static function PHPUnit_TextUI_TestRunner::write

@since Method available since Release 3.1.0

Parameters

string $buffer:

3 calls to PHPUnit_TextUI_TestRunner::write()
PHPUnit_TextUI_TestRunner::printVersionString in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php
PHPUnit_TextUI_TestRunner::runFailed in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php
Override to define how to handle a failed loading of a test suite.
PHPUnit_TextUI_TestRunner::showError in drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php, line 453

Class

PHPUnit_TextUI_TestRunner
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.

Code

protected static function write($buffer) {
  if (PHP_SAPI != 'cli') {
    $buffer = htmlspecialchars($buffer);
  }
  print $buffer;
}