Exemple #1
0
        private void GivenDefaultProfileWithFormats()
        {
            _customFormat1 = new CustomFormats.CustomFormat("My Format 1", "L_ENGLISH")
            {
                Id = 1
            };
            _customFormat2 = new CustomFormats.CustomFormat("My Format 2", "L_FRENCH")
            {
                Id = 2
            };

            CustomFormatsFixture.GivenCustomFormats(CustomFormats.CustomFormat.None, _customFormat1, _customFormat2);

            Subject = new QualityModelComparer(new Profile {
                Items = QualityFixture.GetDefaultQualities(), FormatItems = CustomFormatsFixture.GetSampleFormatItems()
            });
        }
 private void GivenCustomProfile()
 {
     Subject = new QualityModelComparer(new QualityProfile {
         Items = QualityFixture.GetDefaultQualities(Quality.AZW3, Quality.MOBI)
     });
 }
 private void GivenDefaultProfile()
 {
     Subject = new QualityModelComparer(new QualityProfile {
         Items = QualityFixture.GetDefaultQualities()
     });
 }
 private void GivenCustomProfile()
 {
     Subject = new QualityModelComparer(new QualityProfile {
         Items = QualityFixture.GetDefaultQualities(Quality.Bluray720p, Quality.DVD)
     });
 }