From 6d35edbd8c01d948ae06abbe4f2d76cc92adc2ff Mon Sep 17 00:00:00 2001 From: Bartlomiej Kunikowski Date: Mon, 17 Oct 2016 12:53:12 +0200 Subject: [PATCH] Fix smoke tests for hybrid packages Change-Id: I0d475b40ad6251184fcbef992e1cf5008c7fe2b6 --- src/unit_tests/smoke_test.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/unit_tests/smoke_test.cc b/src/unit_tests/smoke_test.cc index ec1ab9d..4dab080 100644 --- a/src/unit_tests/smoke_test.cc +++ b/src/unit_tests/smoke_test.cc @@ -750,7 +750,8 @@ TEST_F(SmokeTest, DeinstallationMode_Hybrid) { std::string appid2 = "smokehyb03.Native"; ASSERT_EQ(Install(path, PackageType::HYBRID), ci::AppInstaller::Result::OK); - ASSERT_EQ(Uninstall(pkgid, PackageType::WGT), ci::AppInstaller::Result::OK); + ASSERT_EQ(Uninstall(pkgid, PackageType::HYBRID), + ci::AppInstaller::Result::OK); CheckPackageNonExistance(pkgid, {appid1, appid2}); } @@ -795,10 +796,10 @@ TEST_F(SmokeTest, MountUpdateMode_Hybrid) { std::string pkgid = "smokehyb06"; std::string appid1 = "smokehyb06.web"; std::string appid2 = "smokehyb06.service"; - ASSERT_EQ(MountInstall(path_old, PackageType::WGT), + ASSERT_EQ(MountInstall(path_old, PackageType::HYBRID), ci::AppInstaller::Result::OK); AddDataFiles(pkgid); - ASSERT_EQ(MountInstall(path_new, PackageType::WGT), + ASSERT_EQ(MountInstall(path_new, PackageType::HYBRID), ci::AppInstaller::Result::OK); ScopedTzipInterface interface(pkgid); ValidatePackage(pkgid, {appid1, appid2}); -- 2.7.4