You are here

function theme_simpletest_result_summary in SimpleTest 6.2

Same name and namespace in other branches
  1. 7.2 simpletest.pages.inc \theme_simpletest_result_summary()
  2. 7 simpletest.pages.inc \theme_simpletest_result_summary()

Returns HTML for the summary status of a simpletest result.

1 theme call to theme_simpletest_result_summary()
simpletest_result_form in ./simpletest.pages.inc
Test results form for $test_id.

File

./simpletest.pages.inc, line 389
Page callbacks for simpletest module.

Code

function theme_simpletest_result_summary($form) {
  return '<div class="simpletest-' . ($form['#ok'] ? 'pass' : 'fail') . '">' . _simpletest_format_summary_line($form) . '</div>';
}