Fix coding rule of test_parcel.cc
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 15 Mar 2021 08:34:50 +0000 (17:34 +0900)
committer연정현/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <jungh.yeon@samsung.com>
Mon, 15 Mar 2021 22:56:22 +0000 (07:56 +0900)
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
test/unit_tests/test_parcel.cc

index d6be955..12cbbe6 100644 (file)
@@ -16,8 +16,9 @@
 
 #include <gtest/gtest.h>
 
-#include <cstdio>
 #include <parcel.hh>
+
+#include <cstdio>
 #include <iostream>
 #include <tuple>
 
@@ -36,6 +37,7 @@
 #include "parcel_utils.hh"
 
 namespace pp = pkgmgr_common::parcel;
+namespace pcb = pkgmgr_common::database;
 
 class AbstractParcelableTest : public pp::AbstractParcelable {
  public:
@@ -179,8 +181,8 @@ TEST_F(ParcelTest, QueryParcelable) {
   query.emplace_back("select * from package_info");
 
   pp::QueryParcelable origin_parcelable(0, query,
-      pkgmgr_common::database::AbstractDBHandler::DBType::DB_TYPE_FILE_PKGDB,
-      pkgmgr_common::database::AbstractDBHandler::OperationType::OPERATION_TYPE_READ);
+      pcb::AbstractDBHandler::DBType::DB_TYPE_FILE_PKGDB,
+      pcb::AbstractDBHandler::OperationType::OPERATION_TYPE_READ);
   pp::QueryParcelable new_parcelable;
   parcel.WriteParcelable(origin_parcelable);
   parcel.ReadParcelable(&new_parcelable);