Merge branch 'upstream' into tizen
[platform/upstream/iotivity.git] / resource / unittests / OCExceptionTest.cpp
index 0c71f02..efe51dd 100644 (file)
@@ -67,7 +67,11 @@ namespace OC
                 OC_STACK_PRESENCE_STOPPED,
                 OC_STACK_PRESENCE_TIMEOUT,
                 OC_STACK_PRESENCE_DO_NOT_HANDLE,
-                OC_STACK_ERROR
+                OC_STACK_ERROR,
+                OC_STACK_PDM_IS_NOT_INITIALIZED,
+                OC_STACK_DUPLICATE_UUID,
+                OC_STACK_INCONSISTENT_DB,
+                OC_STACK_AUTHENTICATION_FAILURE
             };
 
             std::string resultMessages[]=
@@ -106,7 +110,11 @@ namespace OC
                 OC::Exception::PRESENCE_STOPPED,
                 OC::Exception::PRESENCE_TIMEOUT,
                 OC::Exception::PRESENCE_NOT_HANDLED,
-                OC::Exception::GENERAL_FAULT
+                OC::Exception::GENERAL_FAULT,
+                OC::Exception::PDM_DB_NOT_INITIALIZED,
+                OC::Exception::DUPLICATE_UUID,
+                OC::Exception::INCONSISTENT_DB,
+                OC::Exception::AUTHENTICATION_FAILURE
             };
             TEST(OCExceptionTest, ReasonCodeMatches)
             {