comparison core/lib/Drupal/Core/Test/AssertMailTrait.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
43 * id, ... 43 * id, ...
44 * @param string $value 44 * @param string $value
45 * Value of the field to assert. 45 * Value of the field to assert.
46 * @param string $message 46 * @param string $message
47 * (optional) A message to display with the assertion. Do not translate 47 * (optional) A message to display with the assertion. Do not translate
48 * messages: use \Drupal\Component\Utility\SafeMarkup::format() to embed 48 * messages: use \Drupal\Component\Render\FormattableMarkup to embed
49 * variables in the message text, not t(). If left blank, a default message 49 * variables in the message text, not t(). If left blank, a default message
50 * will be displayed. 50 * will be displayed.
51 * @param string $group 51 * @param string $group
52 * (optional) The group this message is in, which is displayed in a column 52 * (optional) The group this message is in, which is displayed in a column
53 * in test output. Use 'Debug' to indicate this is debugging output. Do not 53 * in test output. Use 'Debug' to indicate this is debugging output. Do not
72 * String to search for. 72 * String to search for.
73 * @param int $email_depth 73 * @param int $email_depth
74 * Number of emails to search for string, starting with most recent. 74 * Number of emails to search for string, starting with most recent.
75 * @param string $message 75 * @param string $message
76 * (optional) A message to display with the assertion. Do not translate 76 * (optional) A message to display with the assertion. Do not translate
77 * messages: use \Drupal\Component\Utility\SafeMarkup::format() to embed 77 * messages: use \Drupal\Component\Render\FormattableMarkup to embed
78 * variables in the message text, not t(). If left blank, a default message 78 * variables in the message text, not t(). If left blank, a default message
79 * will be displayed. 79 * will be displayed.
80 * @param string $group 80 * @param string $group
81 * (optional) The group this message is in, which is displayed in a column 81 * (optional) The group this message is in, which is displayed in a column
82 * in test output. Use 'Debug' to indicate this is debugging output. Do not 82 * in test output. Use 'Debug' to indicate this is debugging output. Do not
115 * Name of field or message property to assert: subject, body, id, ... 115 * Name of field or message property to assert: subject, body, id, ...
116 * @param string $regex 116 * @param string $regex
117 * Pattern to search for. 117 * Pattern to search for.
118 * @param string $message 118 * @param string $message
119 * (optional) A message to display with the assertion. Do not translate 119 * (optional) A message to display with the assertion. Do not translate
120 * messages: use \Drupal\Component\Utility\SafeMarkup::format() to embed 120 * messages: use \Drupal\Component\Render\FormattableMarkup to embed
121 * variables in the message text, not t(). If left blank, a default message 121 * variables in the message text, not t(). If left blank, a default message
122 * will be displayed. 122 * will be displayed.
123 * @param string $group 123 * @param string $group
124 * (optional) The group this message is in, which is displayed in a column 124 * (optional) The group this message is in, which is displayed in a column
125 * in test output. Use 'Debug' to indicate this is debugging output. Do not 125 * in test output. Use 'Debug' to indicate this is debugging output. Do not