diff --git a/compiler_service/test/unittest/aotcompilerimpl_unit/aotcompilerimpl_unit.cpp b/compiler_service/test/unittest/aotcompilerimpl_unit/aotcompilerimpl_unit.cpp index 337268319452799399ebe709f807a4c133fa48a9..4e2ebd58540f3859422c7915b27596b98707cb33 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()