Exemple #1
0
        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());
        }
Exemple #2
0
 public void SetUp()
 {
     this.application = new PhotoFrameApplication();
     this.photos      = application.SearchFolder("Album1");
 }
Exemple #3
0
 public IEnumerable <Photo> ExecuteSearchFolder(string folderPath)
 {
     return(application.SearchFolder(folderPath));
 }