IOT-2539 Remove conversion-null warnings 35/22835/2
authorGeorge Nash <george.nash@intel.com>
Fri, 13 Oct 2017 20:40:28 +0000 (13:40 -0700)
committerNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Tue, 17 Oct 2017 05:11:16 +0000 (05:11 +0000)
commitcd347c9b9209fd87959a73b68e1bb6d1becac50e
tree816e6009187f3fd554c8221fec63f5e070bf9ebd
parenta8920349797ae93b007a79a12fbe87187706d6a1
IOT-2539 Remove conversion-null warnings

For some reason using EXPECT_EQ or ASSERT_EQ
converts boolean values to char* which results in
the conversion-null warnings.

Places where EXPECT_EQ or ASSERT_EQ were using a
boolean result for the value was replaced with
ASSERT_TRUE, ASSERT_FALSE, EXPECT_TRUE or
EXPECT_FALSE as needed.

Bug: https://jira.iotivity.org/browse/IOT-2539
Change-Id: I9604b6a7f64545e468430cfdb597eaf18e444580
Signed-off-by: George Nash <george.nash@intel.com>
resource/csdk/stack/test/cbortests.cpp
resource/provisioning/unittests/OCProvisioningTest.cpp