From fd1f60b37eee160217114f3cf2adeb91c8906279 Mon Sep 17 00:00:00 2001 From: Junghyun Yeon Date: Thu, 27 Aug 2020 10:03:00 +0900 Subject: [PATCH] Fix coding rule Change-Id: I56461902d982830f1bee89c1c3c009f2b8c0117f Signed-off-by: Junghyun Yeon --- src/common/security_registration.cc | 3 ++- test/smoke_tests/common/smoke_utils.h | 6 +++--- test/smoke_tests/libs/test_assessor.h | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/common/security_registration.cc b/src/common/security_registration.cc index 4c51911..3db6d97 100644 --- a/src/common/security_registration.cc +++ b/src/common/security_registration.cc @@ -536,7 +536,8 @@ bool UnregisterSecurityContextForManifest(const std::string& pkg_id, } bool UnregisterSecurityContextForPkgId(const std::string &pkg_id, - const std::string& pkg_type, uid_t uid, std::string* error_message, bool ignore_data_absence) { + const std::string& pkg_type, uid_t uid, + std::string* error_message, bool ignore_data_absence) { std::vector appids; ci::PkgQueryInterface pkg_query(pkg_id, uid); if (!pkg_query.AppidsForPkgId(&appids)) diff --git a/test/smoke_tests/common/smoke_utils.h b/test/smoke_tests/common/smoke_utils.h index 59efc2e..19efc71 100644 --- a/test/smoke_tests/common/smoke_utils.h +++ b/test/smoke_tests/common/smoke_utils.h @@ -2,8 +2,8 @@ // Use of this source code is governed by an apache-2.0 license that can be // found in the LICENSE file. -#ifndef SMOKE_TESTS_COMMON_SMOKE_UTILS_H_ -#define SMOKE_TESTS_COMMON_SMOKE_UTILS_H_ +#ifndef TEST_SMOKE_TESTS_COMMON_SMOKE_UTILS_H_ +#define TEST_SMOKE_TESTS_COMMON_SMOKE_UTILS_H_ #include #include @@ -402,4 +402,4 @@ class StepCrash : public common_installer::Step { } // namespace smoke_test -#endif // SMOKE_TESTS_COMMON_SMOKE_UTILS_H_ +#endif // TEST_SMOKE_TESTS_COMMON_SMOKE_UTILS_H_ diff --git a/test/smoke_tests/libs/test_assessor.h b/test/smoke_tests/libs/test_assessor.h index 805fed1..5bf9437 100644 --- a/test/smoke_tests/libs/test_assessor.h +++ b/test/smoke_tests/libs/test_assessor.h @@ -2,8 +2,8 @@ // Use of this source code is governed by an apache 2.0 license that can be // found in the LICENSE file. -#ifndef SMOKE_TESTS_LIBS_TEST_ASSESSOR_H_ -#define SMOKE_TESTS_LIBS_TEST_ASSESSOR_H_ +#ifndef TEST_SMOKE_TESTS_LIBS_TEST_ASSESSOR_H_ +#define TEST_SMOKE_TESTS_LIBS_TEST_ASSESSOR_H_ #include @@ -41,4 +41,4 @@ class TestAssessor : public common_installer::Singleton { } // namespace common_installer -#endif // SMOKE_TESTS_LIBS_TEST_ASSESSOR_H_ +#endif // TEST_SMOKE_TESTS_LIBS_TEST_ASSESSOR_H_ -- 2.7.4