summaryrefslogtreecommitdiff
path: root/test/test_init.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-01-06 08:07:56 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2014-01-06 08:07:56 +0100
commit0f900a2b4d7707dddeddadd62ac5a109aed93e7e (patch)
treec7b125951de8d4e6ee045449d03b3772e84f8bac /test/test_init.cc
parent06cd551da9405a220b170ffaf77d6554cbace69d (diff)
Fix round robin frame selector. Add l16 and jpeg profiles. Add timestamp to lrtp_enqueue_frame.
Diffstat (limited to 'test/test_init.cc')
-rw-r--r--test/test_init.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/test_init.cc b/test/test_init.cc
index 3281183..13ca874 100644
--- a/test/test_init.cc
+++ b/test/test_init.cc
@@ -50,12 +50,10 @@ public:
CPPUNIT_ASSERT(lrtp);
unsigned int csrc = 42;
- struct lrtp_profile_t *profile =
- lrtp_create_profile(lrtp, PROFILE_RAW, csrc,
- OPTION_RAW_PKG_SIZE, 100,
- OPTION_END);
-
- CPPUNIT_ASSERT(profile);
+ int x = lrtp_create_profile(lrtp, PROFILE_RAW, csrc,
+ OPTION_RAW_PKG_SIZE, 100,
+ OPTION_END);
+ CPPUNIT_ASSERT_EQUAL(0, x);
lrtp_destroy_profile(lrtp, csrc);