Resolved review changes 32/236732/1
authorsanket <san.bansal@samsung.com>
Wed, 13 May 2020 17:35:56 +0000 (23:05 +0530)
committerSudipto <sudipto.bal@samsung.com>
Fri, 19 Jun 2020 17:07:06 +0000 (22:37 +0530)
1. Removed unused variables.
2. Added samsung license banner.

(cherry-picked from fcc7df22b7f94dfdcec71abdf37ccf3caf3853cd)

Change-Id: I0fc79defcee841ba42a6ee7de6fb3614787f9cf9
Signed-off-by: sanket <san.bansal@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
resource/unittests/OCUtilitiesTest.cpp

index bad28a7..1877051 100644 (file)
@@ -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<bits/stdc++.h>
 #include <algorithm>
 #include <gtest/gtest.h>
@@ -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());