static void cute_start_test(TestReporter *reporter,
        const char *name) {
    CuteMemo *memo = (CuteMemo *) reporter->memo;
    memo->error_count = reporter->failures + reporter->exceptions;
    memo->previous_error = 0;
    reporter_start_test(reporter, name);
    memo->printer("#starting %s\n", name);
}
Esempio n. 2
0
static void text_reporter_start_suite(TestReporter *reporter, const char *name,
		const int number_of_tests) {
	reporter_start_test(reporter, name);
	if (get_breadcrumb_depth((CgreenBreadcrumb *) reporter->breadcrumb) == 1) {
		printf("Running \"%s\" (%d tests)%s",
				get_current_from_breadcrumb(
						(CgreenBreadcrumb *) reporter->breadcrumb),
               number_of_tests,
               have_quiet_mode(reporter)?":":"...\n");
        fflush(stdout);
	}
}
Esempio n. 3
0
static void text_reporter_start_test(TestReporter *reporter, const char *name) {
    reporter_start_test(reporter, name);
}
Esempio n. 4
0
static void cdash_reporter_start_test(TestReporter *reporter, const char *name) {
    CDashMemo *memo = (CDashMemo *)reporter->memo;

    memo->teststarted = cdash_current_time(NULL);
    reporter_start_test(reporter, name);
}
Esempio n. 5
0
static void cdash_reporter_start_suite(TestReporter *reporter, const char *name, const int number_of_tests) {
    (void)number_of_tests;

    reporter_start_test(reporter, name);
}
static void cute_start_suite(TestReporter *reporter,
                             const char *name, const int number_of_tests) {
    CuteMemo *memo = (CuteMemo *)reporter->memo;
    reporter_start_test(reporter, name);
    memo->printer("#beginning %s %d\n", name, number_of_tests);
}