Added unit tests for OCSetPlatformInfo()
authorMandeep Shetty <mandeep.shetty@intel.com>
Mon, 18 May 2015 18:37:04 +0000 (11:37 -0700)
committerErich Keane <erich.keane@intel.com>
Tue, 19 May 2015 21:49:11 +0000 (21:49 +0000)
commit9cfd314b9feec4f8074bd4bc745c1c552f7785a7
treef9cf5333bda9030b488dcb105475033386bd7140
parent421a1ca40b65e14f054c165aa1f0a0850e205042
Added unit tests for OCSetPlatformInfo()

Unit tests exercise code paths to check for mandatory fields and
length constraints on some fields.

Change-Id: Ic15e1717b8743a4168b7c3d9cd67edbc5621dc3a
Signed-off-by: Mandeep Shetty <mandeep.shetty@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1032
Reviewed-by: Joseph Morrow <joseph.l.morrow@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/test/stacktests.cpp