From: hyuna0213.jo Date: Sun, 8 May 2016 22:18:10 +0000 (+0900) Subject: Updated unit test case for CASetNetworkMonitorCallbacks X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ba29a3944b923711568dc195e81ea7d01ab8bce;p=contrib%2Fiotivity.git Updated unit test case for CASetNetworkMonitorCallbacks if LE_ADAPTER is not defined, this will fail. so this test case needs to be updated. Change-Id: I48896db9eb8dd70533578954f1f2fb951c08a027 Signed-off-by: hyuna0213.jo Reviewed-on: https://gerrit.iotivity.org/gerrit/8073 Reviewed-by: David Antler Tested-by: jenkins-iotivity Reviewed-by: Jon A. Cruz --- diff --git a/resource/csdk/connectivity/test/ca_api_unittest.cpp b/resource/csdk/connectivity/test/ca_api_unittest.cpp index 9715aa0..d413bb1 100644 --- a/resource/csdk/connectivity/test/ca_api_unittest.cpp +++ b/resource/csdk/connectivity/test/ca_api_unittest.cpp @@ -459,13 +459,8 @@ TEST_F(CATests, RegisterDTLSCredentialsHandlerTest) // check return value TEST_F(CATests, RegisterNetworkMonitorHandler) { -#ifdef LE_ADAPTER EXPECT_EQ(CA_STATUS_OK, CARegisterNetworkMonitorHandler(adapter_handler, connection_handler)); -#else - EXPECT_EQ(CA_NOT_SUPPORTED, CARegisterNetworkMonitorHandler(adapter_handler, - connection_handler)); -#endif } // CASetAutoConnectionDeviceInfo TC