[Scene-Manager] Fix for the request/response mismatch for execute scene API 11/19711/7
authorJay Sharma <jay.sharma@samsung.com>
Wed, 10 May 2017 03:13:56 +0000 (08:43 +0530)
committerUze Choi <uzchoi@samsung.com>
Thu, 11 May 2017 01:34:13 +0000 (01:34 +0000)
commitf141e7d2fa6fdaf29258391bf5a16768e4c50bf2
tree78c8fdbe89b807452a8599fb7b10628b107fbd10
parent89c263e581edbe4b04fc7e7134716a26809e736f
[Scene-Manager] Fix for the request/response mismatch for execute scene API

    - Added mutex lock in reponse handler of execute scene API.
    - Unit test case fix.

Bug : https://jira.iotivity.org/browse/IOT-2100
Change-Id: I89a737c3f6f09f7b2c648708366d193cac1f278f
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19711
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/scene-manager/src/SceneCollectionResource.cpp
service/scene-manager/src/SceneCollectionResource.h
service/scene-manager/unittests/SceneTest.cpp