@@ -534,4 +534,202 @@ public static void AddSarifLogFileContent(
534
534
}
535
535
536
536
#endregion
537
+
538
+ #region GenericTapLogFile
539
+
540
+ /// <summary>
541
+ /// Adds a path to a log file in Test Anything Protocol format.
542
+ /// </summary>
543
+ /// <param name="parameters">Parameter instance.</param>
544
+ /// <param name="logfilePath">Path to the log file in Test Anything Protocol format.</param>
545
+ public static void AddGenericTapLogFilePath (
546
+ this IIssuesParametersInputFiles parameters ,
547
+ FilePath logfilePath )
548
+ {
549
+ parameters . NotNull ( ) ;
550
+ logfilePath . NotNull ( ) ;
551
+
552
+ parameters . AddGenericTapLogFilePath ( logfilePath , null ) ;
553
+ }
554
+
555
+ /// <summary>
556
+ /// Adds content of a log file in Test Anything Protocol format.
557
+ /// </summary>
558
+ /// <param name="parameters">Parameter instance.</param>
559
+ /// <param name="logfileContent">Content of the log file in Test Anything Protocol format.</param>
560
+ public static void AddGenericTapLogFileContent (
561
+ this IIssuesParametersInputFiles parameters ,
562
+ string logfileContent )
563
+ {
564
+ parameters . NotNull ( ) ;
565
+ logfileContent . NotNullOrWhiteSpace ( ) ;
566
+
567
+ parameters . AddGenericTapLogFileContent ( logfileContent . ToByteArray ( ) , null ) ;
568
+ }
569
+
570
+ /// <summary>
571
+ /// Adds content of a log file in Test Anything Protocol format.
572
+ /// </summary>
573
+ /// <param name="parameters">Parameter instance.</param>
574
+ /// <param name="logfileContent">Content of the log file in Test Anything Protocol format.</param>
575
+ public static void AddGenericTapLogFileContent (
576
+ this IIssuesParametersInputFiles parameters ,
577
+ byte [ ] logfileContent )
578
+ {
579
+ parameters . NotNull ( ) ;
580
+ logfileContent . NotNullOrEmpty ( ) ;
581
+
582
+ parameters . AddGenericTapLogFileContent ( logfileContent , null ) ;
583
+ }
584
+
585
+ /// <summary>
586
+ /// Adds content of a log file in Test Anything Protocol format.
587
+ /// </summary>
588
+ /// <param name="parameters">Parameter instance.</param>
589
+ /// <param name="logfileContent">Content of the log file in Test Anything Protocol format.</param>
590
+ /// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
591
+ public static void AddGenericTapLogFileContent (
592
+ this IIssuesParametersInputFiles parameters ,
593
+ string logfileContent ,
594
+ IReadIssuesSettings settings )
595
+ {
596
+ parameters . NotNull ( ) ;
597
+ logfileContent . NotNullOrEmpty ( ) ;
598
+
599
+ parameters . AddGenericTapLogFileContent ( logfileContent . ToByteArray ( ) , settings ) ;
600
+ }
601
+
602
+ #endregion
603
+
604
+ #region StylelintTapLogFile
605
+
606
+ /// <summary>
607
+ /// Adds a path to a Stylelint log file in Test Anything Protocol format.
608
+ /// </summary>
609
+ /// <param name="parameters">Parameter instance.</param>
610
+ /// <param name="logfilePath">Path to the Stylelint log file in Test Anything Protocol format.</param>
611
+ public static void AddStylelintTapLogFilePath (
612
+ this IIssuesParametersInputFiles parameters ,
613
+ FilePath logfilePath )
614
+ {
615
+ parameters . NotNull ( ) ;
616
+ logfilePath . NotNull ( ) ;
617
+
618
+ parameters . AddStylelintTapLogFilePath ( logfilePath , null ) ;
619
+ }
620
+
621
+ /// <summary>
622
+ /// Adds content of a Stylelint log file in Test Anything Protocol format.
623
+ /// </summary>
624
+ /// <param name="parameters">Parameter instance.</param>
625
+ /// <param name="logfileContent">Content of the Stylelint log file in Test Anything Protocol format.</param>
626
+ public static void AddStylelintTapLogFileContent (
627
+ this IIssuesParametersInputFiles parameters ,
628
+ string logfileContent )
629
+ {
630
+ parameters . NotNull ( ) ;
631
+ logfileContent . NotNullOrWhiteSpace ( ) ;
632
+
633
+ parameters . AddStylelintTapLogFileContent ( logfileContent . ToByteArray ( ) , null ) ;
634
+ }
635
+
636
+ /// <summary>
637
+ /// Adds content of a Stylelint log file in Test Anything Protocol format.
638
+ /// </summary>
639
+ /// <param name="parameters">Parameter instance.</param>
640
+ /// <param name="logfileContent">Content of the Stylelint log file in Test Anything Protocol format.</param>
641
+ public static void AddStylelintTapLogFileContent (
642
+ this IIssuesParametersInputFiles parameters ,
643
+ byte [ ] logfileContent )
644
+ {
645
+ parameters . NotNull ( ) ;
646
+ logfileContent . NotNullOrEmpty ( ) ;
647
+
648
+ parameters . AddStylelintTapLogFileContent ( logfileContent , null ) ;
649
+ }
650
+
651
+ /// <summary>
652
+ /// Adds content of a Stylelint log file in Test Anything Protocol format.
653
+ /// </summary>
654
+ /// <param name="parameters">Parameter instance.</param>
655
+ /// <param name="logfileContent">Content of the Stylelint log file in Test Anything Protocol format.</param>
656
+ /// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
657
+ public static void AddStylelintTapLogFileContent (
658
+ this IIssuesParametersInputFiles parameters ,
659
+ string logfileContent ,
660
+ IReadIssuesSettings settings )
661
+ {
662
+ parameters . NotNull ( ) ;
663
+ logfileContent . NotNullOrEmpty ( ) ;
664
+
665
+ parameters . AddStylelintTapLogFileContent ( logfileContent . ToByteArray ( ) , settings ) ;
666
+ }
667
+
668
+ #endregion
669
+
670
+ #region TextlintTapLogFile
671
+
672
+ /// <summary>
673
+ /// Adds a path to a Textlint log file in Test Anything Protocol format.
674
+ /// </summary>
675
+ /// <param name="parameters">Parameter instance.</param>
676
+ /// <param name="logfilePath">Path to the Textlint log file in Test Anything Protocol format.</param>
677
+ public static void AddTextlintTapLogFilePath (
678
+ this IIssuesParametersInputFiles parameters ,
679
+ FilePath logfilePath )
680
+ {
681
+ parameters . NotNull ( ) ;
682
+ logfilePath . NotNull ( ) ;
683
+
684
+ parameters . AddTextlintTapLogFilePath ( logfilePath , null ) ;
685
+ }
686
+
687
+ /// <summary>
688
+ /// Adds content of a Textlint log file in Test Anything Protocol format.
689
+ /// </summary>
690
+ /// <param name="parameters">Parameter instance.</param>
691
+ /// <param name="logfileContent">Content of the Textlint log file in Test Anything Protocol format.</param>
692
+ public static void AddTextlintTapLogFileContent (
693
+ this IIssuesParametersInputFiles parameters ,
694
+ string logfileContent )
695
+ {
696
+ parameters . NotNull ( ) ;
697
+ logfileContent . NotNullOrWhiteSpace ( ) ;
698
+
699
+ parameters . AddTextlintTapLogFileContent ( logfileContent . ToByteArray ( ) , null ) ;
700
+ }
701
+
702
+ /// <summary>
703
+ /// Adds content of a Textlint log file in Test Anything Protocol format.
704
+ /// </summary>
705
+ /// <param name="parameters">Parameter instance.</param>
706
+ /// <param name="logfileContent">Content of the Textlint log file in Test Anything Protocol format.</param>
707
+ public static void AddTextlintTapLogFileContent (
708
+ this IIssuesParametersInputFiles parameters ,
709
+ byte [ ] logfileContent )
710
+ {
711
+ parameters . NotNull ( ) ;
712
+ logfileContent . NotNullOrEmpty ( ) ;
713
+
714
+ parameters . AddTextlintTapLogFileContent ( logfileContent , null ) ;
715
+ }
716
+
717
+ /// <summary>
718
+ /// Adds content of a Textlint log file in Test Anything Protocol format.
719
+ /// </summary>
720
+ /// <param name="parameters">Parameter instance.</param>
721
+ /// <param name="logfileContent">Content of the Textlint log file in Test Anything Protocol format.</param>
722
+ /// <param name="settings">Settings for reading the log file. <c>Null</c> for default values.</param>
723
+ public static void AddTextlintTapLogFileContent (
724
+ this IIssuesParametersInputFiles parameters ,
725
+ string logfileContent ,
726
+ IReadIssuesSettings settings )
727
+ {
728
+ parameters . NotNull ( ) ;
729
+ logfileContent . NotNullOrEmpty ( ) ;
730
+
731
+ parameters . AddTextlintTapLogFileContent ( logfileContent . ToByteArray ( ) , settings ) ;
732
+ }
733
+
734
+ #endregion
537
735
}
0 commit comments