[IOT-1939] Fix for failure of test cases in C++ Notification Service due to time...
authorPoovizhi <poovizhi.a@samsung.com>
Mon, 27 Mar 2017 13:49:01 +0000 (19:19 +0530)
committerUze Choi <uzchoi@samsung.com>
Fri, 7 Apr 2017 06:58:39 +0000 (06:58 +0000)
commit9ea703b4b61b040fd4f64e1d3ce22e004d7a8440
treed02cfea7e05e9a84cf9e957502c050cb12813d41
parent2ad35698ca42de7497f02bbc3959371065503f0f
[IOT-1939] Fix for failure of test cases in  C++ Notification Service due to time delay

Unit test of notification service sometimes fails due to time delay.
In this patch, network related procedure was separated in C++ layer of notification service.
The changes are based on the C layer changes from the patch "https://gerrit.iotivity.org/gerrit/#/c/17397"

Change-Id: Ib0c859f9052be2049135226cc6abd9f314875b09
Signed-off-by: Poovizhi <poovizhi.a@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18197
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification/cpp-wrapper/SConscript
service/notification/cpp-wrapper/unittest/NSConsumerServiceTest.cpp
service/notification/cpp-wrapper/unittest/NSConsumerServiceTest2.cpp [new file with mode: 0644]
service/notification/cpp-wrapper/unittest/NSProviderServiceTest.cpp
service/notification/cpp-wrapper/unittest/NSProviderServiceTest2.cpp [new file with mode: 0644]
service/notification/cpp-wrapper/unittest/SConscript