public async Task EnsureSampleDataServiceReturnsGridDataAsync() { var dataService = new SampleDataService(); var actual = await dataService.GetGridDataAsync(); Assert.NotEmpty(actual); }
public async Task EnsureSampleDataServiceReturnsGridDataAsync() { var dataService = new SampleDataService(); var actual = await dataService.GetGridDataAsync(); Assert.AreNotEqual(0, actual.Count()); }
public async Task EnsureSampleDataServiceReturnsGridDataAsync() { var sampleDataService = new SampleDataService(); var data = await sampleDataService.GetGridDataAsync(); Assert.IsTrue(data.Any()); }
public async Task LoadDataAsync() { Source.Clear(); // Replace this with your actual data var data = await SampleDataService.GetGridDataAsync(); foreach (var item in data) { Source.Add(item); } }
public async Task LoadDataAsync() { Source.Clear(); // Get sample data from service var data = await SampleDataService.GetGridDataAsync(); foreach (var item in data) { Source.Add(item); } }
protected override async void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); Source.Clear(); // TODO WTS: Replace this with your actual data var data = await SampleDataService.GetGridDataAsync(); foreach (var item in data) { Source.Add(item); } }
public async void EnsureSampleDataServiceReturnsGridDataAsync() { var actual = await SampleDataService.GetGridDataAsync(); Assert.NotEmpty(actual); }
public async void EnsureSampleDataServiceReturnsGridDataAsync() { var actual = await SampleDataService.GetGridDataAsync(); Assert.AreNotEqual(0, actual.Count()); }