#include <gtest/gtest.h>
-#include <cstdio>
#include <parcel.hh>
+
+#include <cstdio>
#include <iostream>
#include <tuple>
#include "parcel_utils.hh"
namespace pp = pkgmgr_common::parcel;
+namespace pcb = pkgmgr_common::database;
class AbstractParcelableTest : public pp::AbstractParcelable {
public:
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);