Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public static void AssertEquals <T>(string expected, string actual) where T : IApprovalFailureReporter, new()
 {
     StringReporting.AssertEqual(expected, actual, new T());
 }
Exemplo n.º 3
0
 public static void AssertEquals(string expected, string actual)
 {
     StringReporting.AssertEqual(expected, actual, GetReporter());
 }
Exemplo n.º 4
0
 public static void AssertEquals(string expected, string actual, IApprovalFailureReporter reporter)
 {
     StringReporting.AssertEqual(expected, actual, reporter);
 }