From ef02dbd8e92e773a1906334d93ee473ad672a892 Mon Sep 17 00:00:00 2001 From: yangliping Date: Tue, 26 Aug 2025 10:20:23 +0800 Subject: [PATCH] fix warning Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/ICUOJF?from=project-issue Signed-off-by: yangliping --- .../aotcompilerimpl_unit.cpp | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/compiler_service/test/unittest/aotcompilerimpl_unit/aotcompilerimpl_unit.cpp b/compiler_service/test/unittest/aotcompilerimpl_unit/aotcompilerimpl_unit.cpp index 3372683194..4e2ebd5854 100644 --- a/compiler_service/test/unittest/aotcompilerimpl_unit/aotcompilerimpl_unit.cpp +++ b/compiler_service/test/unittest/aotcompilerimpl_unit/aotcompilerimpl_unit.cpp @@ -263,30 +263,6 @@ HWTEST_F(AotCompilerImplTest, AotCompilerImplTest_006, TestSize.Level0) EXPECT_EQ(ret, ERR_OK); } -/** -* @tc.name: AotCompilerImplTest_007 -* @tc.desc: AotCompilerImpl::HandlePowerDisconnected() -* @tc.type: Func -*/ -HWTEST_F(AotCompilerImplTest, AotCompilerImplTest_007, TestSize.Level0) -{ - AotCompilerImpl &aotImpl = AotCompilerImplMock::GetInstance(); - aotImpl.HandlePowerDisconnected(); - EXPECT_TRUE(aotImpl.IsAllowAotCompiler()); -} - -/** -* @tc.name: AotCompilerImplTest_008 -* @tc.desc: AotCompilerImpl::HandleScreenOn() -* @tc.type: Func -*/ -HWTEST_F(AotCompilerImplTest, AotCompilerImplTest_008, TestSize.Level0) -{ - AotCompilerImpl &aotImpl = AotCompilerImplMock::GetInstance(); - aotImpl.HandleScreenOn(); - EXPECT_TRUE(aotImpl.IsAllowAotCompiler()); -} - /** * @tc.name: AotCompilerImplTest_009 * @tc.desc: AotCompilerImpl::HandleThermalLevelChanged() -- Gitee