Ejemplo n.º 1
0
 LIBUPTESTAPI
 void console_test_listener::stopped(test_suite const&, test_result const& result) {
     if (result.failed()) {
         printf("\n%s\n\n%s", section_separator, error_buffer_);
     }
         
     printf("\n%s\n", section_separator);
     printf("        Total Tests: %5d\n", result.test_count());
     printf("    Total Tests Run: %5d\n", result.tests_run());
     printf("Total Ignored Tests: %5d\n", result.tests_ignored());
     printf(" Total Failed Tests: %5d\n", result.tests_failed());
     printf(" Total Passed Tests: %5d\n", result.tests_passed());
 }