Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
c7824035
Commit
c7824035
authored
Aug 04, 2009
by
webchick
Browse files
#500334
by boombatower: Add neutral styling for debug assertions.
parent
42191f7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/simpletest/simpletest.css
View file @
c7824035
...
...
@@ -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
;
...
...
modules/simpletest/simpletest.pages.inc
View file @
c7824035
...
...
@@ -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
]
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment