Add initial source codes for gtest
[platform/core/connectivity/stc-manager.git] / src / monitor / stc-emulator.c
index 80bc170..6ccbe4f 100755 (executable)
@@ -29,17 +29,17 @@ static gboolean __stc_emulator_check_env(void)
 
        ret = system_info_get_platform_string("tizen.org/system/model_name", &model);
        if (ret != SYSTEM_INFO_ERROR_NONE) {
-               STC_LOGE("Failed to get system information(%d)", ret);
-               return FALSE;
+               STC_LOGE("Failed to get system information(%d)", ret); //LCOV_EXCL_LINE
+               return FALSE; //LCOV_EXCL_LINE
        }
 
        if (model && strncmp(model, "Emulator", strlen("Emulator")) == 0) {
-               g_free(model);
-               return TRUE;
+               g_free(model); //LCOV_EXCL_LINE
+               return TRUE; //LCOV_EXCL_LINE
        }
 
-       g_free(model);
-       return FALSE;
+       g_free(model); //LCOV_EXCL_LINE
+       return FALSE; //LCOV_EXCL_LINE
 }
 
 gboolean stc_emulator_is_emulated(void)