Remove SmokeTest.DeinstallationMode_Rollback test 71/58671/1
authorTomasz Iwanek <t.iwanek@samsung.com>
Tue, 2 Feb 2016 15:48:25 +0000 (16:48 +0100)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 2 Feb 2016 15:51:04 +0000 (16:51 +0100)
According to force deinstallation requirement, there
is no need for rollback of deinstallation. Deinstallation
should never fail and remove as much of package installation
as possible.

Change-Id: Ia818e1174b2ff6518fb55a9320217403d31a94fa

src/unit_tests/smoke_test.cc
src/unit_tests/test_samples/smoke/DeinstallationMode_Rollback.wgt [deleted file]

index 6cabbdf..5373085 100644 (file)
@@ -453,16 +453,6 @@ TEST_F(SmokeTest, UpdateMode_Rollback) {
   ASSERT_TRUE(ValidateFileContentInPackage(pkgid, "res/wgt/VERSION", "1\n"));
 }
 
-TEST_F(SmokeTest, DeinstallationMode_Rollback) {
-  bf::path path = kSmokePackagesDirectory / "DeinstallationMode_Rollback.wgt";
-  std::string pkgid = "smokeapp08";
-  std::string appid = "smokeapp08.DeinstallationModeRollback";
-  ASSERT_EQ(Install(path), ci::AppInstaller::Result::OK);
-  ASSERT_EQ(Uninstall(pkgid, RequestResult::FAIL),
-                      ci::AppInstaller::Result::ERROR);
-  ValidatePackage(pkgid, appid);
-}
-
 }  // namespace common_installer
 
 int main(int argc,  char** argv) {
diff --git a/src/unit_tests/test_samples/smoke/DeinstallationMode_Rollback.wgt b/src/unit_tests/test_samples/smoke/DeinstallationMode_Rollback.wgt
deleted file mode 100644 (file)
index ea83495..0000000
Binary files a/src/unit_tests/test_samples/smoke/DeinstallationMode_Rollback.wgt and /dev/null differ