Commit c7824035 authored by webchick's avatar webchick

#500334 by boombatower: Add neutral styling for debug assertions.

parent 42191f7e
......@@ -59,6 +59,14 @@ tr.simpletest-exception.even {
background: #f5e742;
}
tr.simpletest-debug.odd {
background: #eeeeee;
}
tr.simpletest-debug.even {
background: #ffffff;
}
div.simpletest-image {
display: inline;
cursor: pointer;
......
......@@ -254,7 +254,11 @@ function simpletest_result_form(&$form_state, $test_id) {
$row[] = $assertion->function;
$row[] = simpletest_result_status_image($assertion->status);
$rows[] = array('data' => $row, 'class' => 'simpletest-' . $assertion->status);
$class = 'simpletest-' . $assertion->status;
if ($assertion->message_group == 'Debug') {
$class = 'simpletest-debug';
}
$rows[] = array('data' => $row, 'class' => $class);
$group_summary['#' . $assertion->status]++;
$form['result']['summary']['#' . $assertion->status]++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment