Commit 7d869a94 authored by François Grisez's avatar François Grisez

Add a unit test for the mkv player and recorder

parent e4a7f3da
......@@ -17,7 +17,8 @@ mediastreamer2_tester_SOURCES= \
mediastreamer2_audio_stream_tester.c \
mediastreamer2_framework_tester.c
if BUILD_VIDEO
mediastreamer2_tester_SOURCES+= mediastreamer2_video_stream_tester.c
mediastreamer2_tester_SOURCES+= mediastreamer2_video_stream_tester.c \
mediastreamer2_player_recorder_tester.c
endif
......
......@@ -123,6 +123,7 @@ void mediastreamer2_tester_init(void) {
add_test_suite(&video_stream_test_suite);
#endif
add_test_suite(&framework_test_suite);
add_test_suite(&player_recorder_test_suite);
}
void mediastreamer2_tester_uninit(void) {
......
......@@ -53,6 +53,7 @@ extern test_suite_t adaptive_test_suite;
extern test_suite_t audio_stream_test_suite;
extern test_suite_t video_stream_test_suite;
extern test_suite_t framework_test_suite;
extern test_suite_t player_recorder_test_suite;
#define CU_ASSERT_IN_RANGE(value, inf, sup) \
printf(#value ": %f <= ? %f <= ? %f\n", (double)inf, (double)value, (double)sup); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment