resource: Add test for ConstructResourceObject without coap scheme
authorRavi Nanjundappa <nravi.n@samsung.com>
Mon, 14 Sep 2015 13:42:31 +0000 (19:12 +0530)
committerJon A. Cruz <jonc@osg.samsung.com>
Fri, 18 Sep 2015 18:46:58 +0000 (18:46 +0000)
commit3ef15700fb17abf43518d82ffa96bfa88b544126
tree6dbb6c6042c2309e26eab633e5cd679562799f60
parent4cf398310404f01a2f5044edf78b7858d1e00133
resource: Add test for ConstructResourceObject without coap scheme

Added a test case for ConstructResourceTest to simulate the scenario
of Resource creation with no "coap" scheme in the the host value

Change-Id: Iaec6f6f0038a049b969d08685cc057e6bae80455
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2517
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/unittests/OCResourceTest.cpp