Adding OCException unit tests
authorErich Keane <erich.keane@intel.com>
Thu, 26 Mar 2015 22:43:30 +0000 (15:43 -0700)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Sun, 29 Mar 2015 18:01:20 +0000 (18:01 +0000)
commita628f76c2a5f03623c698b924185895d1d0d4919
treedf07db568db5f8dfbc047b2052731ce9abfaefac
parenta69f1161f1f32f70b5461d800361e96d87e220a2
Adding OCException unit tests

Adding a bunch of unit tests to validate the functionality of
OCException.

Also removed the unused 'reason' function that didn't use 'this'

Change-Id: I34bac1c06b2bc755a0af19e3ddcc1ac9ae3611fc
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/584
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/include/OCException.h
resource/unittests/OCExceptionTest.cpp [new file with mode: 0644]
resource/unittests/SConscript