ApprovalTests.Reporters.QuietReporter.DisplayCommandLineApproval C# (CSharp) Method

DisplayCommandLineApproval() public static method

public static DisplayCommandLineApproval ( string approved, string received ) : void
approved string
received string
return void
		public static void DisplayCommandLineApproval(string approved, string received)
		{
			string message = GetCommandLineForApproval(approved, received);
			Debug.WriteLine(message);
			Console.WriteLine(message);
		}

Usage Example

Example #1
0
        public void Report(string approved, string received)
        {
            QuietReporter.DisplayCommandLineApproval(approved, received);

            var text = string.Format("notepad \"{0}\"", received);

            Process.Start(received);
        }
All Usage Examples Of ApprovalTests.Reporters.QuietReporter::DisplayCommandLineApproval