diff --git a/frameworks/core/frame_aware_policy/include/para_config.h b/frameworks/core/frame_aware_policy/include/para_config.h index 52a410b6119d8d1497e82bebc8ce97d6c35fb8f0..a3f8472f350866c07af7c13dc35e22aa4593d611 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 de3dd01e594ea9af117c1289e427e4191ed08dd5..71e917c854ba8b2974adb25c36d8f83ebfcde825 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)