GetLineItemType() public method

public GetLineItemType ( ProcessOutputLineItem processOutputLineItem ) : EnumBluRayLineItemType
processOutputLineItem BatchGuy.App.Parser.Models.ProcessOutputLineItem
return EnumBluRayLineItemType
 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_subtitle_line_item_test()
 {
     ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id = 1, Text = "4: Subtitle (pgs), French" };
     ILineItemIdentifierService service = new BluRayTitleLineItemIdentifierService();
     EnumBluRayLineItemType type = service.GetLineItemType(lineItem);
     type.Should().Be(EnumBluRayLineItemType.BluRayTitleSubtitleLine);
 }
 public void bluraytitlelineitemidentifierservice_can_identify_bluray_chapter_line_item_test()
 {
     ProcessOutputLineItem lineItem = new ProcessOutputLineItem() { Id = 1, Text = "1: Chapters, 6 chapters" };
     ILineItemIdentifierService service = new BluRayTitleLineItemIdentifierService();
     EnumBluRayLineItemType type = service.GetLineItemType(lineItem);
     type.Should().Be(EnumBluRayLineItemType.BluRayTitleChapterLine);
 }
 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);
 }
 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);
 }