protected function WebformAssertLegacyTrait::verbose in Webform 6.x
Same name and namespace in other branches
- 8.5 tests/src/Traits/WebformAssertLegacyTrait.php \Drupal\Tests\webform\Traits\WebformAssertLegacyTrait::verbose()
See also
\Drupal\simpletest\TestBase::verbose()
5 calls to WebformAssertLegacyTrait::verbose()
- WebformCompositeFormatTest::getMessageBody in tests/
src/ Functional/ Composite/ WebformCompositeFormatTest.php - Get webform email message body for a webform submission.
- WebformElementFormatTest::getMessageBody in tests/
src/ Functional/ Element/ WebformElementFormatTest.php - Get webform email message body for a webform submission.
- WebformElementManagedFileTestBase::setUp in tests/
src/ Functional/ Element/ WebformElementManagedFileTestBase.php - WebformExampleFunctionalTest::testGet in tests/
src/ Functional/ WebformExampleFunctionalTest.php - Test get.
- WebformSettingsAdminTest::testAdminSettings in tests/
src/ Functional/ Settings/ WebformSettingsAdminTest.php - Tests webform admin settings.
File
- tests/
src/ Traits/ WebformAssertLegacyTrait.php, line 70
Class
- WebformAssertLegacyTrait
- Provides convenience methods for assertions in browser tests.
Namespace
Drupal\Tests\webform\TraitsCode
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");
}
}