From 858b006dc8a1b858f803e4efd32de296d8597790 Mon Sep 17 00:00:00 2001 From: zwjhit <2725096176@qq.com> Date: Thu, 23 Jun 2022 15:58:46 +0800 Subject: [PATCH] Fix a typo Signed-off-by: zwjhit <2725096176@qq.com> --- .../core/frame_aware_policy/include/para_config.h | 2 +- test/unittest/phone/rtg_interface_test.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frameworks/core/frame_aware_policy/include/para_config.h b/frameworks/core/frame_aware_policy/include/para_config.h index 52a410b..a3f8472 100644 --- a/frameworks/core/frame_aware_policy/include/para_config.h +++ b/frameworks/core/frame_aware_policy/include/para_config.h @@ -41,7 +41,7 @@ public: ParaConfig(ParaConfig&&) = delete; ParaConfig& operator=(const ParaConfig&&) = delete; - static bool IsXmlPrepared(const std::string& filePath); // input parameters need gaurantee + static bool IsXmlPrepared(const std::string& filePath); // input parameters need guarantee static std::map GetGeneralConfig(); static std::map> GetSubEventConfig(); static std::vector GetFpsList(); diff --git a/test/unittest/phone/rtg_interface_test.cpp b/test/unittest/phone/rtg_interface_test.cpp index de3dd01..71e917c 100644 --- a/test/unittest/phone/rtg_interface_test.cpp +++ b/test/unittest/phone/rtg_interface_test.cpp @@ -412,7 +412,7 @@ HWTEST_F(RtgInterfaceTest, RtgInterfaceListRtgGroupWithNullRes, TestSize.Level1) /** * @tc.name: RtgInterfaceSetAttr - * @tc.desc: Verify rtg attr set funtion. + * @tc.desc: Verify rtg attr set function. * @tc.type: FUNC */ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetAttr, TestSize.Level1) @@ -429,7 +429,7 @@ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetAttr, TestSize.Level1) /** * @tc.name: RtgInterfaceSetErrorAttr - * @tc.desc: Verify rtg attr set funtion with error attr param. + * @tc.desc: Verify rtg attr set function with error attr param. * @tc.type: FUNC */ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetErrorAttr, TestSize.Level1) @@ -446,7 +446,7 @@ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetErrorAttr, TestSize.Level1) /** * @tc.name: RtgInterfaceSetMaxVips - * @tc.desc: Verify rtg max vip num set funtion. + * @tc.desc: Verify rtg max vip num set function. * @tc.type: FUNC */ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetMaxVips, TestSize.Level1) @@ -458,7 +458,7 @@ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetMaxVips, TestSize.Level1) /** * @tc.name: RtgInterfaceSetErrorMaxVips - * @tc.desc: Verify rtg max vip num set funtion with 0 vip nums. + * @tc.desc: Verify rtg max vip num set function with 0 vip nums. * @tc.type: FUNC */ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetErrorMaxVips, TestSize.Level1) @@ -470,7 +470,7 @@ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetErrorMaxVips, TestSize.Level1) /** * @tc.name: RtgInterfaceSetLargeMaxVips - * @tc.desc: Verify rtg max vip num set funtion with too large vip nums. + * @tc.desc: Verify rtg max vip num set function with too large vip nums. * @tc.type: FUNC */ HWTEST_F(RtgInterfaceTest, RtgInterfaceSetLargeMaxVips, TestSize.Level1) -- Gitee