public void SearchFolderTest() { photos = application.SearchFolder("Album2"); Assert.IsTrue(photos.Count() == 3); Assert.AreEqual(photos.ElementAt(2).File.FilePath, @"Album2\Tulips.jpg"); //Assert.AreEqual(photos.ElementAt(2).Date, new DateTime()); }
public void SetUp() { this.application = new PhotoFrameApplication(); this.photos = application.SearchFolder("Album1"); }
public IEnumerable <Photo> ExecuteSearchFolder(string folderPath) { return(application.SearchFolder(folderPath)); }