[UTC][component-manager][ACR-1439][Fix the testcase] 11/212711/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 26 Aug 2019 07:53:03 +0000 (16:53 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 26 Aug 2019 07:53:03 +0000 (16:53 +0900)
Elements of component_state_e are modified.

Change-Id: I4fb47d5d91d276e90ab077a5feb74d90ac612d12
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/utc/component-manager/utc_component_context_get_component_state.c

index 331a4a1fdf8de2db0d59c8bf75ccb493edfa209c..9f01b9d67584c8a46d7594a08fe5330395926d6a 100644 (file)
@@ -82,8 +82,9 @@ int utc_component_context_get_component_state_p(void)
                return ret;
        }
 
-       if (state == COMPONENT_STATE_SERVICE) {
-               _E("state(%d) should not be `COMPONENT_STATE_SERVICE`", state);
+       if (state == COMPONENT_STATE_INITIALIZED) {
+               _E("state(%d) should not be `COMPONENT_STATE_INITIALIZED`",
+                               state);
                return -1;
        }