Fix minor coding rule
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 2 Apr 2020 06:41:54 +0000 (15:41 +0900)
committer장상윤/Tizen Platform Lab(SR)/Engineer/삼성전자 <jeremy.jang@samsung.com>
Tue, 7 Apr 2020 02:33:37 +0000 (11:33 +0900)
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/unified/unified_installer_factory.cc
src/unit_tests/smoke_test.cc
src/unit_tests/smoke_utils.cc

index 66bfb7f47d41826f731c49c1dfdd1b82c5605d32..f29aca78d1b1872cad1e0c6628e1ac2b7dc006e8 100644 (file)
@@ -13,6 +13,7 @@
 #include <wgt/utils/wgt_app_query_interface.h>
 #include <wgt/wgt_installer.h>
 
+#include <map>
 #include <memory>
 #include <string>
 
index 07553d9b50ea09713e9dd3c378e664b73170d7ab..1685bb33b84c6df714cd5f93b2b68523a769342d 100644 (file)
@@ -298,7 +298,7 @@ TEST_F(RollbackSmokeTest, Install_Rollback) {
   ASSERT_TRUE(CheckPackageNonExistance(pkgid1, params));
   params.pkg_type = PackageType::WGT;
   ASSERT_TRUE(CheckPackageNonExistance(pkgid2, params));
-};
+}
 
 TEST_F(RollbackSmokeTest, Update_Rollback) {
   bf::path path1_old =
@@ -329,7 +329,7 @@ TEST_F(RollbackSmokeTest, Update_Rollback) {
       ValidateFileContentInPackage(pkgid1, "res/VERSION", "1", params));
   ASSERT_TRUE(
       ValidateFileContentInPackage(pkgid2, "res/wgt/VERSION", "1", params));
-};
+}
 
 TEST_F(RollbackSmokeTest, InstallAndUpdate_Rollback) {
   bf::path path1 =
@@ -357,7 +357,7 @@ TEST_F(RollbackSmokeTest, InstallAndUpdate_Rollback) {
   ASSERT_TRUE(ValidatePackage(pkgid2, {appid2, exec2}, params));
   ASSERT_TRUE(
       ValidateFileContentInPackage(pkgid2, "res/wgt/VERSION", "1", params));
-};
+}
 
 TEST_F(SmokeTest, Recovery_Install) {
   bf::path path1 =
@@ -400,7 +400,7 @@ TEST_F(SmokeTest, Recovery_Install) {
   params.pkg_type = PackageType::WGT;
   ASSERT_TRUE(CheckPackageNonExistance(pkgid2, params));
   ASSERT_FALSE(bf::exists(recovery_info->unpacked_dir()));
-};
+}
 
 TEST_F(SmokeTest, Recovery_Update) {
   bf::path path1_old =
@@ -452,7 +452,7 @@ TEST_F(SmokeTest, Recovery_Update) {
   ASSERT_TRUE(ValidatePackage(pkgid2, {appid2, exec2}, params));
   ASSERT_TRUE(
       ValidateFileContentInPackage(pkgid2, "res/wgt/VERSION", "1", params));
-};
+}
 
 }  // namespace smoke_test
 
index 4ef89ab4493b2e2644837ff318a1cef56034857a..3138da4d07c5bb47282e3136de785583c5d5c513 100644 (file)
@@ -148,4 +148,4 @@ UnifiedBackendInterface::CreateFailExpectedInstaller(
   return factory_->CreateFailExpectedInstaller(0, pkgmgr, fail_at);;
 }
 
-}  // smoke_test
+}  // namespace smoke_test