!8516 alter failed tdd

Merge pull request !8516 from 许静怡/0830
This commit is contained in:
openharmony_ci 2024-08-30 08:06:35 +00:00 committed by Gitee
commit a705e25832
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 0 deletions

View File

@ -1860,6 +1860,7 @@ HWTEST_F(SceneSessionManagerTest6, RequestSceneSessionDestruction, Function | Sm
*/
HWTEST_F(SceneSessionManagerTest6, NotifySessionAINavigationBarChange, Function | SmallTest | Level3)
{
ASSERT_NE(nullptr, ssm_);
int32_t persistentId = 1;
SessionInfo info;
sptr<SceneSession::SpecificSessionCallback> specificCallback = nullptr;

View File

@ -1296,6 +1296,8 @@ HWTEST_F(WindowManagerTest, NotifyDisplayInfoChange01, Function | SmallTest | Le
*/
HWTEST_F(WindowManagerTest, NotifyWMSDisconnected01, Function | SmallTest | Level2)
{
WMError ret = WindowManager::GetInstance().ShiftAppWindowFocus(0, 1);
ASSERT_NE(WMError::WM_OK, ret);
WindowManager::GetInstance().pImpl_->NotifyWMSDisconnected(1, 2);
}
@ -1332,6 +1334,8 @@ HWTEST_F(WindowManagerTest, NotifyUnfocused01, Function | SmallTest | Level2)
*/
HWTEST_F(WindowManagerTest, NotifyAccessibilityWindowInfo01, Function | SmallTest | Level2)
{
WMError ret = WindowManager::GetInstance().ShiftAppWindowFocus(0, 1);
ASSERT_NE(WMError::WM_OK, ret);
sptr<AccessibilityWindowInfo> info = new (std::nothrow) AccessibilityWindowInfo();
ASSERT_NE(info, nullptr);