Mercurial > hg > isophonics-drupal-site
annotate core/modules/simpletest/templates/simpletest-result-summary.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Default theme implementation for simpletest result summaries. |
Chris@0 | 5 * |
Chris@0 | 6 * Available variables: |
Chris@0 | 7 * - label: An optional label to be rendered before the results. |
Chris@0 | 8 * - items: Pluralized summaries for each result type (number of passes, fails, |
Chris@0 | 9 * exceptions, and debug messages). |
Chris@0 | 10 * - pass: The number of passes. |
Chris@0 | 11 * - fail: The number of fails. |
Chris@0 | 12 * - exception: The number of exceptions. |
Chris@0 | 13 * - debug: The number of debug messages. |
Chris@0 | 14 * |
Chris@0 | 15 * @see template_preprocess_simpletest_result_summary() |
Chris@0 | 16 * |
Chris@0 | 17 * @ingroup themeable |
Chris@0 | 18 */ |
Chris@0 | 19 #} |
Chris@0 | 20 <div class="simpletest-{{ fail + exception == 0 ? 'pass' : 'fail' }}"> |
Chris@0 | 21 {{ label }} {{ items|join(', ') }} |
Chris@0 | 22 </div> |