Revert "Enable disabled Configure unit tests in OCPlatformTest."
authorjihwan.seo <jihwan.seo@samsung.com>
Tue, 6 Sep 2016 08:17:53 +0000 (17:17 +0900)
committerUze Choi <uzchoi@samsung.com>
Wed, 7 Sep 2016 08:02:15 +0000 (08:02 +0000)
This reverts commit 3e1e7340107bbbd6cffe4e4159b5fd2c5e1e9fc0.

Change-Id: I751a67d585bafeaf075e3718429836eb89c8a27e
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11425
Reviewed-by: byonggon chun <bg.chun@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
resource/unittests/OCPlatformTest.cpp

index f671cd3..0fea345 100644 (file)
@@ -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,