simpletest-result-summary.html.twig 607 B

1234567891011121314151617181920
  1. {#
  2. /**
  3. * @file
  4. * Theme override for simpletest result summaries.
  5. *
  6. * Available variables:
  7. * - label: An optional label to be rendered before the results.
  8. * - items: Pluralized summaries for each result type (number of passes, fails,
  9. * exceptions, and debug messages).
  10. * - pass: The number of passes.
  11. * - fail: The number of fails.
  12. * - exception: The number of exceptions.
  13. * - debug: The number of debug messages.
  14. *
  15. * @see template_preprocess_simpletest_result_summary()
  16. */
  17. #}
  18. <div class="simpletest-{{ fail + exception == 0 ? 'pass' : 'fail' }}">
  19. {{ label }} {{ items|join(', ') }}
  20. </div>