| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* Mail utils for use during unit testing to allow retrieval
protected $_webtest = FALSE;
/**
- * Constructor
+ * Constructor.
*
* @param CiviSeleniumTestCase|CiviUnitTestCase $unit_test The currently running test
* @param bool $startImmediately
}
/**
- * Start writing emails to db instead of current option
+ * Start writing emails to db instead of current option.
*/
public function start() {
if ($this->_webtest) {
*/
/**
- * Check contents of mail log
+ * Check contents of mail log.
*
* @param array $strings
* Strings that should be included.
}
/**
- * Check that mail log is empty
+ * Check that mail log is empty.
* @param string $prefix
*/
public function assertMailLogEmpty($prefix = '') {
}
/**
- * Remove any sent messages from the log
+ * Remove any sent messages from the log.
*/
public function clearMessages() {
if ($this->_webtest) {
$this->_ut->assertNotEmpty($mail, 'Cannot parse mail');
return $mail[0];
}
+
}