Put the unit test styles in the standard theme, rather than using the previous nasty hack that had been broken by the admin page changes.

This commit is contained in:
tjhunt 2006-09-13 16:16:39 +00:00
parent 80f7ef6fe9
commit 45f501a54b
3 changed files with 37 additions and 16 deletions

View file

@ -127,22 +127,6 @@ class ExHtmlReporter extends HtmlReporter {
}
}
/**
* Return extra CSS that is added to the results page.
*/
function _getCss() {
// Don't call the parent, do our own thing instead.
return
' span.notice { color: teal; }' .
' b.pass { color: green; }' .
' b.fail, b.exception { color: red; }' .
' .exception, .exception pre { background: #fdd; }' .
' .exception pre { padding: 8px; }' .
' .unittestsummary { padding: 8px; margin-top: 1em; color: white; }' .
' .unittestsummary.fail { background-color: red; } ' .
' .unittestsummary.pass { background-color: green; } ';
}
/**
* Output anything that should appear above all the test output.
*/