summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYana Chernysheva <ychernysheva@luxoft.com>2021-01-15 14:34:24 +0200
committerLitvinenkoIra <ilytvynenko@luxoft.com>2021-02-02 11:24:11 +0200
commit143393a63a1de9a7f72c3cc8febec59b25417a98 (patch)
tree7eb0ad58b29bd2368253211e82ff0113c2f85956
parentd4c70f9f8a1bc11b513879d255b75b9bc8652a13 (diff)
downloadsdl_core-143393a63a1de9a7f72c3cc8febec59b25417a98.tar.gz
Add missing sources to policy_tests suite
-rw-r--r--src/components/policy/policy_external/test/CMakeLists.txt2
-rw-r--r--src/components/policy/policy_external/test/sql_pt_ext_representation_storage_test.cc2
-rw-r--r--src/components/policy/policy_regular/test/CMakeLists.txt1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/components/policy/policy_external/test/CMakeLists.txt b/src/components/policy/policy_external/test/CMakeLists.txt
index 8f1b8b2539..7a28b2d3c2 100644
--- a/src/components/policy/policy_external/test/CMakeLists.txt
+++ b/src/components/policy/policy_external/test/CMakeLists.txt
@@ -52,6 +52,8 @@ file (GLOB POLICY_TEST_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/policy_manager_impl_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/sql_pt_ext_representation_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/sql_pt_representation_test.cc
+ ${CMAKE_CURRENT_SOURCE_DIR}/sql_pt_representation_storage_test.cc
+ ${CMAKE_CURRENT_SOURCE_DIR}/sql_pt_ext_representation_storage_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/update_status_manager_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/shared_library_test.cc)
diff --git a/src/components/policy/policy_external/test/sql_pt_ext_representation_storage_test.cc b/src/components/policy/policy_external/test/sql_pt_ext_representation_storage_test.cc
index 1ceb5ea1ef..09df17beb2 100644
--- a/src/components/policy/policy_external/test/sql_pt_ext_representation_storage_test.cc
+++ b/src/components/policy/policy_external/test/sql_pt_ext_representation_storage_test.cc
@@ -38,8 +38,6 @@
#include "policy/mock_policy_settings.h"
#include "sqlite_wrapper/sql_query.h"
#include "utils/file_system.h"
-#include "utils/make_shared.h"
-#include "utils/shared_ptr.h"
using namespace ::policy;
diff --git a/src/components/policy/policy_regular/test/CMakeLists.txt b/src/components/policy/policy_regular/test/CMakeLists.txt
index d2cd7be224..cdd6cc98da 100644
--- a/src/components/policy/policy_regular/test/CMakeLists.txt
+++ b/src/components/policy/policy_regular/test/CMakeLists.txt
@@ -49,6 +49,7 @@ file (GLOB POLICY_TEST_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/policy_manager_impl_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/access_remote_impl_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/sql_pt_representation_test.cc
+ ${CMAKE_CURRENT_SOURCE_DIR}/sql_pt_representation_storage_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/update_status_manager_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/vehicle_data_item_type_test.cc
${CMAKE_CURRENT_SOURCE_DIR}/shared_library_test.cc