示例#1
0
 public void GetReport(MainViewModelData.GetReportData data)
 {
     vm.ItemListLocation   = data.ItemListLocation;
     vm.PayPalFileLocation = data.AmazonReportLocation;
     vm.GetReport();
     Assert.AreEqual(data.OrderItemsCount, vm.OrderItems.Count, data.Title);
     Assert.AreEqual(data.ItemListCount, vm.ItemList.Count, data.Title);
 }
示例#2
0
 public void GetItemListFromFile(MainViewModelData.GetReportData data)
 {
     vm.ItemListLocation = data.ItemListLocation;
     vm.GetItemListFromFile();
     Assert.AreEqual(data.ItemListCount, vm.ItemList.Count, data.Title);
 }