From 11a29f6219ab9c72c0863e47ba386d7b3e1162d5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 28 Dec 2015 16:05:42 -0800 Subject: Reformat sources. --- api_test/harness.h | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) (limited to 'api_test/harness.h') diff --git a/api_test/harness.h b/api_test/harness.h index 55a6232..53b9889 100644 --- a/api_test/harness.h +++ b/api_test/harness.h @@ -6,37 +6,30 @@ extern "C" { #endif typedef struct { - int test_num; - int num_passed; - int num_failed; - int num_skipped; + int test_num; + int num_passed; + int num_failed; + int num_skipped; } test_batch_runner; -test_batch_runner* -test_batch_runner_new(); +test_batch_runner *test_batch_runner_new(); -void -SKIP(test_batch_runner *runner, int num_tests); +void SKIP(test_batch_runner *runner, int num_tests); -void -OK(test_batch_runner *runner, int cond, const char *msg, ...); +void OK(test_batch_runner *runner, int cond, const char *msg, ...); -void -INT_EQ(test_batch_runner *runner, int got, int expected, const char *msg, ...); +void INT_EQ(test_batch_runner *runner, int got, int expected, const char *msg, + ...); -void -STR_EQ(test_batch_runner *runner, const char *got, const char *expected, - const char *msg, ...); +void STR_EQ(test_batch_runner *runner, const char *got, const char *expected, + const char *msg, ...); -int -test_ok(test_batch_runner *runner); +int test_ok(test_batch_runner *runner); -void -test_print_summary(test_batch_runner *runner); +void test_print_summary(test_batch_runner *runner); #ifdef __cplusplus } #endif #endif - -- cgit v1.2.3