From d47add49f15a46791776f2010d96c8712d575965 Mon Sep 17 00:00:00 2001 From: sanket Date: Wed, 13 May 2020 23:05:56 +0530 Subject: [PATCH] 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 --- resource/unittests/OCUtilitiesTest.cpp | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/resource/unittests/OCUtilitiesTest.cpp b/resource/unittests/OCUtilitiesTest.cpp index bad28a7..1877051 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()); -- 2.7.4