ApprovalTests.Reporters.ContinousDeliveryUtils.ReportOnServer C# (CSharp) Method

ReportOnServer() public static method

public static ReportOnServer ( string approved, string received ) : void
approved string
received string
return void
        public static void ReportOnServer(string approved, string received)
        {
            var reporter = FrameworkAssertReporter.INSTANCE;
            if (reporter.IsWorkingInThisEnvironment(received))
            {
                reporter.Report(approved, received);
            }
            else
            {
                // do nothing
            }
        }
    }

Usage Example

Exemplo n.º 1
0
 public void Report(string approved, string received)
 {
     ContinousDeliveryUtils.ReportOnServer(approved, received);
 }
ContinousDeliveryUtils