diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-30 10:54:44 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-30 10:54:44 +0200 |
commit | 44fb055cf47a3a54cce0d746af23955753284422 (patch) | |
tree | 63c91a02937b094fb122caa59399e7f1e95a8ae5 /test/test_init.cc | |
parent | 7fc1b8f300b2ce2e7f8bd573f02b8650213c2be9 (diff) |
Modify unit tests to match API change.
Diffstat (limited to 'test/test_init.cc')
-rw-r--r-- | test/test_init.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_init.cc b/test/test_init.cc index 13ca874..d00033c 100644 --- a/test/test_init.cc +++ b/test/test_init.cc @@ -45,7 +45,9 @@ public: void tearDown() {} void test_init() { - struct lrtp_t *lrtp = lrtp_init(KEY, SSRC); + lrtp_status_t status; + struct lrtp_t *lrtp = lrtp_init(&status, KEY, SSRC); + CPPUNIT_ASSERT_EQUAL(status, LRTP_OK); CPPUNIT_ASSERT(lrtp); |