Пример #1
0
 public void TestMediaJobCandidates()
 {
     var sut = new MediaJob();
      sut.GetCandidates();
      Assert.IsTrue( sut.Candidates.Count > 0 );
      Console.WriteLine( " {0} candidates found in {1}", sut.Candidates.Count, sut.DownloadFolder );
 }
Пример #2
0
 public void TestMediaJobLocal()
 {
     var sut = new MediaJob(@".\TestFolder\");
      Assert.IsTrue(sut.Candidates.Count > 0);
 }
Пример #3
0
 public void TestMediaJob()
 {
     var sut = new MediaJob();
      sut.DoJob();
      Assert.IsTrue( sut.Candidates.Count > 0 );
 }
Пример #4
0
 public void TestGetMagazineFolder()
 {
     var sut = new MediaJob();
      var folder = MediaJob.GetMagazineFolder();
      Assert.IsFalse(string.IsNullOrEmpty(folder));
 }