public void ItShouldReadTheGlobalInformation() { Assert.That(ControlFile.GetRetryWaitInSeconds(), Is.EqualTo(77)); Assert.That(ControlFile.GetMaximumNumberOfConcurrentDownloads(), Is.EqualTo(10)); Assert.That(ControlFile.GetSourceRoot(), Is.EqualTo(".\\profile\\iPodder\\downloads")); Assert.That(ControlFile.GetDestinationRoot(), Is.EqualTo("W:\\Podcasts")); Assert.That(ControlFile.GetPlaylistFileName(), Is.EqualTo("podcasts.wpl")); Assert.That(ControlFile.GetFreeSpaceToLeaveOnDestination(), Is.EqualTo(2000)); Assert.That(ControlFile.GetFreeSpaceToLeaveOnDownload(), Is.EqualTo(3000)); Assert.That(ControlFile.GetPlaylistFormat(), Is.EqualTo(PlaylistFormat.WPL)); }
protected override void When() { PlaylistGenerator.GeneratePlaylist(ControlFile, ControlFile.GetSourceRoot(), true, null); }