function AssertLegacyTrait::verbose

Same name in other branches
  1. 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.

... See full list

File

core/tests/Drupal/KernelTests/AssertLegacyTrait.php, line 96

Class

AssertLegacyTrait
Translates Simpletest assertion methods to PHPUnit.

Namespace

Drupal\KernelTests

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.