Implement certinfo unit tests
[platform/core/appfw/pkgmgr-info.git] / test / unit_tests / parcel_utils.hh
index ebd670f..4f6d289 100644 (file)
 
 application_x *GetTestApplication(std::string appid);
 
-bool IsEqualApplications(const std::vector<application_x *>& applicationsA,
-    const std::vector<application_x *>& applicationsB);
+bool IsEqualApplicationsStructure(const std::vector<application_x*>& applicationsA,
+    const std::vector<application_x*>& applicationsB);
+
+bool IsEqualApplicationsInfo(const std::vector<application_x*>& applicationsA,
+    const std::vector<application_x*>& applicationsB);
 
 package_x *GetTestPackage(std::string pkgid);
 
-bool IsEqualPackages(const std::vector<package_x *>&packagesA,
-    const std::vector<package_x *>&packagesB);
+bool IsEqualPackagesStructure(const std::vector<package_x*>&packagesA,
+    const std::vector<package_x*>&packagesB);
+
+bool IsEqualPackagesInfo(const std::vector<package_x*>&packagesA,
+    const std::vector<package_x*>&packagesB);
 
 pkgmgrinfo_filter_x *GetTestFilter();
 
@@ -39,7 +45,12 @@ pkgmgr_certinfo_x *GetTestCertInfo();
 bool IsEqualCertInfo(const pkgmgr_certinfo_x *certA,
     const pkgmgr_certinfo_x *certB);
 
+bool IsEqualCertInfoStructure(const pkgmgr_certinfo_x *certA,
+    const pkgmgr_certinfo_x *certB);
+
 dependency_x *GetTestDepInfo(std::string pkgid);
 
 bool IsEqualDepInfo(const std::vector<dependency_x *>& depA,
     const std::vector<dependency_x *>& depB);
+
+pkgmgr_certinfo_x *GetTestCertificate();