webrtc_data_channel: Change the application of macro for coverage mesurement exclusion 50/272450/2 accepted/tizen/unified/20220323.133749 submit/tizen/20220323.060857
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 17 Mar 2022 02:55:30 +0000 (11:55 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 17 Mar 2022 04:23:10 +0000 (13:23 +0900)
It is updated as per the following ITC update.
: https://review.tizen.org/gerrit/#/c/test/tct/native/api/+/269285/

[Version] 0.3.68
[Issue Type] Line coverage

Change-Id: I623da2cf1986c42170533b67d6cc1bc1e5a9eef9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-webrtc.spec
src/webrtc_data_channel.c

index 625332eeab407bef4a5260a604e8b2eba415b830..0776d2e73cbc3e91a80eae26256f8374937979c8 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-webrtc
 Summary:    A WebRTC library in Tizen Native API
-Version:    0.3.67
+Version:    0.3.68
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index c8e1f11f9f8264721e6de3c62fe90fc47001b3ea..d0f18531bd7326fc6eb1dd776724e1b35500cdbb 100644 (file)
@@ -17,7 +17,6 @@
 #include "webrtc.h"
 #include "webrtc_private.h"
 
-//LCOV_EXCL_START
 static void __data_channel_on_open_cb(GObject *data_channel, gpointer user_data)
 {
        webrtc_data_channel_s *channel = (webrtc_data_channel_s *)user_data;
@@ -69,6 +68,7 @@ static void __data_channel_on_message_data_cb(GObject *data_channel, GBytes *byt
        }
 }
 
+//LCOV_EXCL_START
 static void __data_channel_on_error_cb(GObject *data_channel, GError *error, gpointer user_data)
 {
        webrtc_data_channel_s *channel = (webrtc_data_channel_s *)user_data;
@@ -100,6 +100,7 @@ static void __data_channel_on_close_cb(GObject *data_channel, gpointer user_data
                LOG_DEBUG("<<< end of the callback");
        }
 }
+//LCOV_EXCL_STOP
 
 static void __invoke_data_channel_cb(webrtc_s *webrtc, webrtc_data_channel_s *channel)
 {
@@ -115,6 +116,7 @@ static void __invoke_data_channel_cb(webrtc_s *webrtc, webrtc_data_channel_s *ch
        }
 }
 
+//LCOV_EXCL_START
 static void __data_channel_on_buffered_amount_low_cb(GObject *data_channel, gpointer user_data)
 {
        webrtc_data_channel_s *channel = (webrtc_data_channel_s *)user_data;
@@ -131,6 +133,7 @@ static void __data_channel_on_buffered_amount_low_cb(GObject *data_channel, gpoi
                LOG_DEBUG("<<< end of the callback");
        }
 }
+//LCOV_EXCL_STOP
 
 void _webrtcbin_on_data_channel_cb(GstElement *webrtcbin, GObject *data_channel, gpointer user_data)
 {
@@ -169,7 +172,6 @@ void _webrtcbin_on_data_channel_cb(GstElement *webrtcbin, GObject *data_channel,
 
        __invoke_data_channel_cb(webrtc, channel);
 }
-//LCOV_EXCL_STOP
 
 int _create_data_channel(webrtc_s *webrtc, const char *label, bundle *options, webrtc_data_channel_s **channel)
 {