!16063 回退文件权限的修改

Merge pull request !16063 from 凌忆寒/master
This commit is contained in:
openharmony_ci 2024-10-16 14:36:05 +00:00 committed by Gitee
commit e8aa58fc19
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 0 additions and 8 deletions

View File

@ -603,8 +603,6 @@ HWTEST_F(HgmMultiAppStrategyTest, SpecialBranch, Function | SmallTest | Level1)
multiAppStrategy->AnalyzePkgParam("com.app10:a"); // err pid
multiAppStrategy->AnalyzePkgParam("com.app10:0:0");
multiAppStrategy->AnalyzePkgParam("com.app10:0:a"); // err appType
auto [pkgName, pid, appType] = multiAppStrategy->AnalyzePkgParam("com.app10");
ASSERT_EQ(pkgName, "com.app10");
}
STEP("OnStrategyChange") {
multiAppStrategy->RegisterStrategyChangeCallback([] (const PolicyConfigData::StrategyConfig&) {});

View File

@ -52,7 +52,6 @@ HWTEST_F(HgmTouchManagerTest, QuickTouch, Function | SmallTest | Level1)
}
touchManager.ChangeState(TouchState::IDLE_STATE);
sleep(1); // wait for 1s for the async task to complete
ASSERT_EQ(touchManager.GetState(), TouchState::IDLE_STATE);
}
/**

View File

@ -188,17 +188,12 @@ HWTEST_F(RSFrameRateVoteTest, NotifyRefreshRateEvent001, Function | SmallTest |
.minRefreshRate = 60,
.maxRefreshRate = 60,
};
if (DelayedSingleton<RSFrameRateVote>::GetInstance() == nullptr) {
return;
}
DelayedSingleton<RSFrameRateVote>::GetInstance()->NotifyRefreshRateEvent(DEFAULT_PID, eventInfo1);
ASSERT_FALSE(DelayedSingleton<RSFrameRateVote>::GetInstance()->isVoted_);
EventInfo eventInfo2 = {
.eventName = "VOTER_VIDEO",
.eventStatus = false,
};
DelayedSingleton<RSFrameRateVote>::GetInstance()->NotifyRefreshRateEvent(DEFAULT_PID, eventInfo2);
ASSERT_FALSE(DelayedSingleton<RSFrameRateVote>::GetInstance()->isVoted_);
DelayedSingleton<RSFrameRateVote>::GetInstance()->NotifyRefreshRateEvent(DEFAULT_PID, eventInfo2);
}
} // namespace Rosen