diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-06-07 15:42:22 +0200 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-06-07 15:42:57 +0200 |
commit | c9f4b0eff07ec044f31e5ae956738697c8565537 (patch) | |
tree | ccd5491ae3c65bef0ffb92cb0ea171c7730eb43b /unit/test-connman.h | |
parent | fb05be513ce9d3d146717199b3464e2199b05f94 (diff) | |
download | connman-c9f4b0eff07ec044f31e5ae956738697c8565537.tar.gz connman-c9f4b0eff07ec044f31e5ae956738697c8565537.tar.bz2 connman-c9f4b0eff07ec044f31e5ae956738697c8565537.zip |
unit: Add manager create/destroy tests
Also add util function for creating the test fixture data structure.
Diffstat (limited to 'unit/test-connman.h')
-rw-r--r-- | unit/test-connman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unit/test-connman.h b/unit/test-connman.h index 894025f8..17037f97 100644 --- a/unit/test-connman.h +++ b/unit/test-connman.h @@ -55,6 +55,9 @@ void util_test_add(const char *test_name, GSourceFunc test_func, void util_setup(struct test_fix *fix, gconstpointer data); void util_teardown(struct test_fix *fix, gconstpointer data); +void util_session_create(struct test_fix *fix, unsigned int max_sessions); +void util_session_destroy(gpointer fix); + typedef void (* notify_cb) (struct test_session *session); enum connman_session_roaming_policy { |