public void StorageReadData() { var storage = new ReportStorage(@"TestData\StorageData"); IsTrue(storage.Contains("DependencyScanner1")); IsTrue(storage.Contains("DependencyScanner 2")); IsTrue(storage.Contains("DependencyScanner3")); }
public void StorageReadData2() { var storage = new ReportStorage(@"TestData\StorageData"); IsTrue(storage.Contains("DependencyScanner1", out IEnumerable <StorageKey> result)); IsTrue(result.First(a => a.Date == DateTime.Parse("02/05/2018 15:41:59")).Path == @"TestData\StorageData\file1.1.html"); IsTrue(result.First(a => a.Date == DateTime.Parse("02/06/2018 15:41:59")).Path == @"TestData\StorageData\file1.html"); }