protected function AssertLegacyTrait::verbose in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/KernelTests/AssertLegacyTrait.php \Drupal\KernelTests\AssertLegacyTrait::verbose()
See also
\Drupal\simpletest\TestBase::verbose()
1 call to AssertLegacyTrait::verbose()
- KernelTestBase::render in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Renders a render array.
File
- core/
tests/ Drupal/ KernelTests/ AssertLegacyTrait.php, line 121 - Contains \Drupal\KernelTests\AssertLegacyTrait.
Class
- AssertLegacyTrait
- Translates Simpletest assertion methods to PHPUnit.
Namespace
Drupal\KernelTestsCode
protected function verbose($message) {
if (in_array('--debug', $_SERVER['argv'], TRUE)) {
// Write directly to STDOUT to not produce unexpected test output.
// The STDOUT stream does not obey output buffering.
fwrite(STDOUT, $message . "\n");
}
}