diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2013-03-19 14:33:23 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-03-19 15:49:44 +0200 |
commit | 49e5f346922db3298101edc4dc6d1e36dfefb5ca (patch) | |
tree | 102f063ce6118172725549a9d50728dad57aa126 /unit/test-ippool.c | |
parent | 89a38ee5e83feeb186678a87df08296e9611b413 (diff) | |
download | connman-49e5f346922db3298101edc4dc6d1e36dfefb5ca.tar.gz connman-49e5f346922db3298101edc4dc6d1e36dfefb5ca.tar.bz2 connman-49e5f346922db3298101edc4dc6d1e36dfefb5ca.zip |
test-ippool: Update unit test printouts
Diffstat (limited to 'unit/test-ippool.c')
-rw-r--r-- | unit/test-ippool.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/unit/test-ippool.c b/unit/test-ippool.c index 2df85618..07456d5a 100644 --- a/unit/test-ippool.c +++ b/unit/test-ippool.c @@ -39,7 +39,7 @@ #define LOG(fmt, arg...) #endif -static void test_ippool_basic0(void) +static void test_case_1(void) { struct connman_ippool *pool; int i; @@ -59,7 +59,7 @@ static void test_ippool_basic0(void) __connman_ippool_cleanup(); } -static void test_ippool_basic1(void) +static void test_case_2(void) { struct connman_ippool *pool; const char *gateway; @@ -98,7 +98,7 @@ static void test_ippool_basic1(void) __connman_ippool_cleanup(); } -static void test_ippool_exhaust0(void) +static void test_case_3(void) { struct connman_ippool *pool; const char *gateway; @@ -171,7 +171,7 @@ static void collision_cb(struct connman_ippool *pool, void *user_data) *flag = 1; } -static void test_ippool_collision0(void) +static void test_case_4(void) { struct connman_ippool *pool; const char *gateway; @@ -249,10 +249,10 @@ int main(int argc, char *argv[]) { g_test_init(&argc, &argv, NULL); - g_test_add_func("/basic0", test_ippool_basic0); - g_test_add_func("/basic1", test_ippool_basic1); - g_test_add_func("/exhaust0", test_ippool_exhaust0); - g_test_add_func("/collision0", test_ippool_collision0); + g_test_add_func("/ippool/Test case 1", test_case_1); + g_test_add_func("/ippool/Test case 2", test_case_2); + g_test_add_func("/ippool/Test case 3", test_case_3); + g_test_add_func("/ippool/Test case 4", test_case_4); return g_test_run(); } |