Commit e12c8a3b authored by Minji Park's avatar Minji Park Committed by Uze Choi

modify resource type name used in server builder unittests

- modify resource type name used in server builder unittests into lower cases.

Change-Id: I812b1e67b649f133c861643748f4084c16bad9ec
Signed-off-by: default avatarMinji Park <minjii.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3761Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
parent d476f9b6
......@@ -36,7 +36,7 @@ typedef OCStackResult (*registerResource)(OCResourceHandle&, string&, const stri
typedef OCStackResult (*NotifyAllObservers)(OCResourceHandle);
constexpr char RESOURCE_URI[]{ "a/test" };
constexpr char RESOURCE_TYPE[]{ "resourceType" };
constexpr char RESOURCE_TYPE[]{ "resourcetype" };
constexpr char KEY[]{ "key" };
constexpr int value{ 100 };
......
......@@ -52,7 +52,7 @@ protected:
mocks.OnCallFunc(OC::OCPlatform::unregisterResource).Return(OC_STACK_OK);
server = RCSResourceObject::Builder("a/test", "resourceType", "").build();
server = RCSResourceObject::Builder("a/test", "resourcetype", "").build();
server->setAutoNotifyPolicy(RCSResourceObject::AutoNotifyPolicy::NEVER);
server->setAttribute(EXISTING, ORIGIN_VALUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment