protected function AssertLegacyTrait::verbose in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/AssertLegacyTrait.php \Drupal\KernelTests\AssertLegacyTrait::verbose()
See also
\Drupal\simpletest\TestBase::verbose()
18 calls to AssertLegacyTrait::verbose()
- CommentAdminViewTest::doTestFilters in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentAdminViewTest.php - Tests comment admin view display.
- CommentUserNameTest::testUsername in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentUserNameTest.php - Test the username formatter.
- ConfigCRUDTest::testDataTypes in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigCRUDTest.php - Tests data type handling.
- FilterAPITest::testCheckMarkupFilterSubset in core/
modules/ filter/ tests/ src/ Kernel/ FilterAPITest.php - Tests the ability to apply only a subset of filters.
- FilterKernelTest::testLineBreakFilter in core/
modules/ filter/ tests/ src/ Kernel/ FilterKernelTest.php - Tests the line break filter.
File
- core/
tests/ Drupal/ KernelTests/ AssertLegacyTrait.php, line 96
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");
}
}