mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-23 15:00:12 +00:00
commit
a705e25832
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user