Example #1
0
        public void cutoff_should_have_movie()
        {
            EnsureProfileCutoff(1, Quality.HDTV720p);
            var movie = EnsureMovie(680, "Pulp Fiction", true);

            EnsureMovieFile(movie, Quality.SDTV);

            var result = WantedCutoffUnmet.GetPaged(0, 15, "physicalRelease", "desc");

            result.Records.First().Title.Should().Be("Pulp Fiction");
        }
Example #2
0
        public void cutoff_should_have_unmonitored_items()
        {
            EnsureProfileCutoff(1, Quality.HDTV720p);
            var series = EnsureSeries(266189, "The Blacklist", false);

            EnsureEpisodeFile(series, 1, 1, Quality.SDTV);

            var result = WantedCutoffUnmet.GetPaged(0, 15, "airDateUtc", "desc", "monitored", "false");

            result.Records.Should().NotBeEmpty();
        }
Example #3
0
        public void cutoff_should_not_have_unmonitored_items()
        {
            EnsureProfileCutoff(1, Quality.HDTV720p);
            var movie = EnsureMovie(680, "Pulp Fiction", false);

            EnsureMovieFile(movie, Quality.SDTV);

            var result = WantedCutoffUnmet.GetPaged(0, 15, "physicalRelease", "desc");

            result.Records.Should().BeEmpty();
        }
Example #4
0
        public void cutoff_should_not_have_unmonitored_items()
        {
            EnsureProfileCutoff(1, "Lossless");
            var artist = EnsureArtist("8ac6cc32-8ddf-43b1-9ac4-4b04f9053176", "Alien Ant Farm", false);

            EnsureTrackFile(artist, 1, 1, 1, Quality.MP3_192);

            var result = WantedCutoffUnmet.GetPaged(0, 15, "releaseDate", "desc");

            result.Records.Should().BeEmpty();
        }
Example #5
0
        public void cutoff_should_not_have_unmonitored_items()
        {
            EnsureProfileCutoff(1, Quality.AZW3);
            var author = EnsureAuthor("14586394", "43765115", "Andrew Hunter Murray", false);

            EnsureBookFile(author, 1, 1, Quality.MOBI);

            var result = WantedCutoffUnmet.GetPaged(0, 15, "releaseDate", "desc");

            result.Records.Should().BeEmpty();
        }
Example #6
0
        public void cutoff_should_have_series()
        {
            EnsureProfileCutoff(1, Quality.HDTV720p);
            var series = EnsureSeries(266189, "The Blacklist", true);

            EnsureEpisodeFile(series, 1, 1, Quality.SDTV);

            var result = WantedCutoffUnmet.GetPaged(0, 15, "airDateUtc", "desc");

            result.Records.First().Series.Should().NotBeNull();
            result.Records.First().Series.Title.Should().Be("The Blacklist");
        }
Example #7
0
        public void cutoff_should_have_artist()
        {
            EnsureProfileCutoff(1, "Lossless");
            var artist = EnsureArtist("8ac6cc32-8ddf-43b1-9ac4-4b04f9053176", "Alien Ant Farm", true);

            EnsureTrackFile(artist, 1, 1, 1, Quality.MP3_192);

            var result = WantedCutoffUnmet.GetPaged(0, 15, "releaseDate", "desc");

            result.Records.First().Artist.Should().NotBeNull();
            result.Records.First().Artist.ArtistName.Should().Be("Alien Ant Farm");
        }
Example #8
0
        public void cutoff_should_have_author()
        {
            EnsureProfileCutoff(1, Quality.AZW3);
            var author = EnsureAuthor("14586394", "43765115", "Andrew Hunter Murray", true);

            EnsureBookFile(author, 1, 1, Quality.MOBI);

            var result = WantedCutoffUnmet.GetPaged(0, 15, "releaseDate", "desc");

            result.Records.First().Author.Should().NotBeNull();
            result.Records.First().Author.AuthorName.Should().Be("Andrew Hunter Murray");
        }