From: sanket Date: Wed, 13 May 2020 17:35:56 +0000 (+0530) Subject: Resolved review changes X-Git-Tag: submit/tizen/20210628.055145~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d47add49f15a46791776f2010d96c8712d575965;p=platform%2Fupstream%2Fiotivity.git Resolved review changes 1. Removed unused variables. 2. Added samsung license banner. (cherry-picked from fcc7df22b7f94dfdcec71abdf37ccf3caf3853cd) Change-Id: I0fc79defcee841ba42a6ee7de6fb3614787f9cf9 Signed-off-by: sanket Signed-off-by: Sudipto --- diff --git a/resource/unittests/OCUtilitiesTest.cpp b/resource/unittests/OCUtilitiesTest.cpp index bad28a7bf..187705125 100644 --- a/resource/unittests/OCUtilitiesTest.cpp +++ b/resource/unittests/OCUtilitiesTest.cpp @@ -1,3 +1,23 @@ +//****************************************************************** +// +// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved. +// +//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= + #include #include #include @@ -12,7 +32,6 @@ namespace OCUtilitiesTest { using namespace OC::Utilities; TEST(ConstructUtilitiesTest, ConstructGetQueryParamsTest) { - QueryParamsKeyVal qp; EXPECT_TRUE(getQueryParams("").empty()); string q = "x=y&;u=v"; EXPECT_TRUE(!getQueryParams(q).empty());