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