Add coverage exception macros 30/219330/3
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 4 Dec 2019 09:34:19 +0000 (18:34 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Wed, 4 Dec 2019 09:34:19 +0000 (18:34 +0900)
[Version] 0.1.16
[Issue Type] line coverage

Change-Id: I5c96ec129aff5aad1f64c0a4bdbc304fc47983cc

packaging/capi-media-radio.spec
src/radio.c

index 522a544f10bf199801703e4c69d71927acf39cab..6ee72c1c2145fe7cdceecad5eb4569bd4ab6a44a 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-radio
 Summary:    A Radio library in Tizen Native API
-Version:    0.1.15
+Version:    0.1.16
 Release:    1
 Group:      API/C API
 License:    Apache-2.0
index 2a0a2724c8bd46462a7fa439dfa17fb3021512ee..e3c280387dd74dd225794292f6d4046e3efdf341 100644 (file)
@@ -184,6 +184,7 @@ static int __msg_callback(int message, void *param, void *user_data)
                }
                __unset_callback(_RADIO_EVENT_TYPE_SEEK_FINISH, (radio_h)handle);
                break;
+       //LCOV_EXCL_START
        case MM_MESSAGE_STATE_INTERRUPTED:
                if (msg->union_type == MM_MSG_UNION_STATE) {
                        handle->state = __convert_radio_state(msg->state.current);
@@ -194,6 +195,7 @@ static int __msg_callback(int message, void *param, void *user_data)
        case MM_MESSAGE_ERROR:
                __convert_error_code(msg->code, (char *)__FUNCTION__);
                break;
+       //LCOV_EXCL_STOP
        case MM_MESSAGE_RADIO_SCAN_START:
                LOGI("Scan Started");
                break;