TDD UPDATE modal_system_ui_extendion

Signed-off-by: 闫瀚林0424 <yanhanlin6@huawei.com>
Change-Id: I55fd8dd74d1c194c520521be1056f7891faa61d4
This commit is contained in:
闫瀚林0424 2024-05-04 11:21:53 +08:00
parent 119dd20d2b
commit c016c7078a

View File

@ -68,6 +68,18 @@ HWTEST_F(ModalSystemUiExtensionTest, ModalSystemUiExtensionConnection01, Functio
}
delete connection;
}
/**
* @tc.name: ToString
* @tc.desc: ToString
* @tc.type: FUNC
*/
HWTEST_F(ModalSystemUiExtensionTest, ToString, Function | SmallTest | Level2)
{
AAFwk::WantParams wantParams_;
std::string ret = ModalSystemUiExtension::ToString(wantParams_);
ASSERT_EQ("{}", ret);
}
}
} // Rosen
} // OHOS