From dddc3b12ccf33d98c0f56148ed2ae68221e108bf Mon Sep 17 00:00:00 2001 From: "jihwan.seo" Date: Tue, 6 Sep 2016 17:17:53 +0900 Subject: [PATCH] Revert "Enable disabled Configure unit tests in OCPlatformTest." This reverts commit 3e1e7340107bbbd6cffe4e4159b5fd2c5e1e9fc0. Change-Id: I751a67d585bafeaf075e3718429836eb89c8a27e Signed-off-by: jihwan.seo Reviewed-on: https://gerrit.iotivity.org/gerrit/11425 Reviewed-by: byonggon chun Tested-by: jenkins-iotivity Reviewed-by: Phil Coval Reviewed-by: Jaewook Jung Reviewed-by: Jaehong Jo Reviewed-by: Uze Choi Tested-by: Uze Choi --- resource/unittests/OCPlatformTest.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/resource/unittests/OCPlatformTest.cpp b/resource/unittests/OCPlatformTest.cpp index f671cd3..0fea345 100644 --- a/resource/unittests/OCPlatformTest.cpp +++ b/resource/unittests/OCPlatformTest.cpp @@ -163,7 +163,10 @@ namespace OCPlatformTest return resourceHandle; } - TEST(ConfigureTest, ConfigureInvalidModeType) + //Configure + // Enable it when the stack throw an exception + // https://jira.iotivity.org/browse/IOT-428 + TEST(ConfigureTest, DISABLED_ConfigureInvalidModeType) { PlatformConfig cfg { OC::ServiceType::InProc, @@ -176,7 +179,9 @@ namespace OCPlatformTest EXPECT_ANY_THROW(OCPlatform::setDefaultDeviceEntityHandler(NULL)); } - TEST(ConfigureTest, ConfigureInvalidServiceType) + // Enable it when the stack throw an exception + // https://jira.iotivity.org/browse/IOT-428 + TEST(ConfigureTest, DISABLED_ConfigureInvalidServiceType) { PlatformConfig cfg { (OC::ServiceType)99, @@ -189,7 +194,9 @@ namespace OCPlatformTest EXPECT_ANY_THROW(OCPlatform::setDefaultDeviceEntityHandler(NULL)); } - TEST(ConfigureTest, ConfigureClientOutProc) + // Enable it when the stack throw an exception + // https://jira.iotivity.org/browse/IOT-428 + TEST(ConfigureTest, DISABLED_ConfigureClientOutProc) { PlatformConfig cfg { OC::ServiceType::OutOfProc, -- 2.7.4