public async Task TestDefaultComponentCard() { var component = new ComponentDefault(); await TestComponentCard(component); //For coverage component.SetDefaults(); }
public async Task TestDoneOnSelect() { var done = new DoneOnSelect(); var component = new ComponentDefault() { Done = done }; await TestComponentCard(component); //For coverage component.SetDefaults(); done.SetDefaults(); Assert.NotNull(done.ToJson()); Assert.NotNull(done.ToString()); }
public async Task TestDoneMediaCard() { var done = new DoneMediaWatched(); var component = new ComponentDefault() { Done = done }; await TestComponentCard(component); //In practice, we'd want to make sure this pairs with a media card //For coverage component.SetDefaults(); done.SetDefaults(); Assert.NotNull(done.ToJson()); Assert.NotNull(done.ToString()); }
public async Task TestDoneDataCard() { var done = new DoneDataCommitted(); var component = new ComponentDefault() { Done = done }; await TestComponentCard(component); //In practice, we'd want to make sure this pairs with a text input or other form of data entry layout //For coverage component.SetDefaults(); done.SetDefaults(); Assert.NotNull(done.ToJson()); Assert.NotNull(done.ToString()); }