Skip to content

Commit c0fdc93

Browse files
committed
test: 增加单元测试
1 parent db9568f commit c0fdc93

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/UnitTest/Components/DialogTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,11 @@ await cut.InvokeAsync(() => dialog.ShowCloseDialog<MockValidateFormDialog>("Clos
573573
}));
574574
await cut.InvokeAsync(() => modal.Instance.CloseCallback());
575575
#endregion
576+
577+
#region Show Extensions Method
578+
await cut.InvokeAsync(() => dialog.Show<MockValidateFormDialog>("Test Title"));
579+
await cut.InvokeAsync(() => modal.Instance.CloseCallback());
580+
#endregion
576581
}
577582

578583
private class MockValidateFormDialog : ComponentBase

0 commit comments

Comments
 (0)