private static void AssertLauncher(string approved, string received, GenericDiffReporter reporter)
 {
     using (ApprovalResults.UniqueForMachineName())
     {
         var args = reporter.GetLaunchArguments(approved, received);
         Approvals.VerifyWithCallback(args, s => StartProcess(s));
     }
 }
        private List <string> RunExecutableApproval()
        {
            var output = new List <string>();

            try
            {
                NamerFactory.AdditionalInformation = "Inner";
                Approvals.VerifyWithCallback("Sam", s => output.Add(s));
            }
            catch (Exception)
            {
            }
            return(output);
        }
示例#3
0
        private static void AssertLauncher(string approved, string received, GenericDiffReporter reporter)
        {
            var args = reporter.GetLaunchArguments(approved, received);

            Approvals.VerifyWithCallback(args, s => StartProcess(s));
        }