public void bluraytitlelineitemidentifierservice_can_identify_bluray_empty_line_item_test() { ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id = 1, Text = "" }; ILineItemIdentifierService service = new BluRayTitleLineItemIdentifierService(); EnumBluRayLineItemType type = service.GetLineItemType(lineItem); type.Should().Be(EnumBluRayLineItemType.BluRayTitleEmptyLine); }
public void bluraytitlelineitemidentifierservice_can_identify_bluray_video_line_item_test() { ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id = 1, Text = "2: h264/AVC, 1080i50 (16:9)" }; ILineItemIdentifierService service = new BluRayTitleLineItemIdentifierService(); EnumBluRayLineItemType type = service.GetLineItemType(lineItem); type.Should().Be(EnumBluRayLineItemType.BluRayTitleVideoLine); }
public void bluraytitlelineitemidentifierservice_can_identify_bluray_audio_line_item_test() { ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id = 1, Text = "3: DTS Master Audio, French, 5.1 channels, 24 bits, 48kHz" }; ILineItemIdentifierService service = new BluRayTitleLineItemIdentifierService(); EnumBluRayLineItemType type = service.GetLineItemType(lineItem); type.Should().Be(EnumBluRayLineItemType.BluRayTitleAudioLine); }
public void bluraytitlelineitemidentifierservice_can_identify_bluray_header_line_item_test() { ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id = 1, Text = "M2TS, 1 video track, 1 audio track, 1 subtitle track, 0:58:28, 50i" }; ILineItemIdentifierService service = new BluRayTitleLineItemIdentifierService(); EnumBluRayLineItemType type = service.GetLineItemType(lineItem); type.Should().Be(EnumBluRayLineItemType.BluRayTitleHeaderLine); }