From: Hwankyu Jhun Date: Mon, 26 Aug 2019 07:53:03 +0000 (+0900) Subject: [UTC][component-manager][ACR-1439][Fix the testcase] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F212711%2F1;p=test%2Ftct%2Fnative%2Fapi.git [UTC][component-manager][ACR-1439][Fix the testcase] Elements of component_state_e are modified. Change-Id: I4fb47d5d91d276e90ab077a5feb74d90ac612d12 Signed-off-by: Hwankyu Jhun --- diff --git a/src/utc/component-manager/utc_component_context_get_component_state.c b/src/utc/component-manager/utc_component_context_get_component_state.c index 331a4a1fd..9f01b9d67 100644 --- a/src/utc/component-manager/utc_component_context_get_component_state.c +++ b/src/utc/component-manager/utc_component_context_get_component_state.c @@ -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; }