Fix unit test of notification service.
authorKIM JungYong <jyong2.kim@samsung.com>
Tue, 21 Feb 2017 12:28:52 +0000 (21:28 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 14 Mar 2017 08:25:50 +0000 (08:25 +0000)
commitc15b5abae13eb0a3bc1ecd22891cfb1e351672a5
treeb27910292ba7e00280ebc2644434293d67ac19b6
parent7f36e23503061abd34ce17cd98f103aa328dc1b4
Fix unit test of notification service.

Unit test of notification service sometimes failures due to time delay.
In this patch, network related procedure(including multicast discovery)
was removed on the c layer of notification service.

Patch #2
Resolve build error in previous unittest.

Patch #3
Apply changes about changed CA interface APIs.
Remove checking resource type on the Presence callback.

Change-Id: Ifa46c346fa6236266dc2a73a2f8d948c57d2f736
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17397
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/notification/SConscript
service/notification/src/provider/NSProviderListener.h
service/notification/unittest/NSConsumerTest.cpp
service/notification/unittest/NSConsumerTest2.cpp [new file with mode: 0644]
service/notification/unittest/NSProviderTest.cpp
service/notification/unittest/NSProviderTest2.cpp [new file with mode: 0644]
service/notification/unittest/SConscript