Constructs a \Drupal\simpletest\Form\SimpletestResultsForm object.
\Drupal\Core\Database\Connection $database: The database connection service.
public function __construct(Connection $database) {
$this->database = $database;
// Initialize image mapping property.
$this->statusImageMap = array(
'pass' => theme('image', array(
'uri' => 'core/misc/watchdog-ok.png',
'width' => 18,
'height' => 18,
'alt' => t('Pass'),
)),
'fail' => theme('image', array(
'uri' => 'core/misc/watchdog-error.png',
'width' => 18,
'height' => 18,
'alt' => t('Fail'),
)),
'exception' => theme('image', array(
'uri' => 'core/misc/watchdog-warning.png',
'width' => 18,
'height' => 18,
'alt' => t('Exception'),
)),
'debug' => theme('image', array(
'uri' => 'core/misc/watchdog-warning.png',
'width' => 18,
'height' => 18,
'alt' => t('Debug'),
)),
);
}