Пример #1
0
 public static void AssertText(string expected, string actual, IApprovalFailureReporter reporter = null)
 {
     if (reporter == null)
     {
         reporter = GetReporter(DiffReporter.INSTANCE);
     }
     reporter = new MultiReporter(reporter, InlineTextReporter.INSTANCE);
     StringReporting.AssertEqual(expected, actual, reporter);
 }
Пример #2
0
 public static void AssertEquals <T>(string expected, string actual) where T : IApprovalFailureReporter, new()
 {
     StringReporting.AssertEqual(expected, actual, new T());
 }
Пример #3
0
 public static void AssertEquals(string expected, string actual)
 {
     StringReporting.AssertEqual(expected, actual, GetReporter());
 }
Пример #4
0
 public static void AssertEquals(string expected, string actual, IApprovalFailureReporter reporter)
 {
     StringReporting.AssertEqual(expected, actual, reporter);
 }