System.Diagnostics.Tests.ProcessTests.TestArgumentParsing C# (CSharp) Method

TestArgumentParsing() private method

private TestArgumentParsing ( string inputArguments, string expectedArgv ) : void
inputArguments string
expectedArgv string
return void
        public void TestArgumentParsing(string inputArguments, string expectedArgv)
        {
            using (var handle = RemoteInvokeRaw((Func<string, string, string, int>)ConcatThreeArguments,
                inputArguments,
                new RemoteInvokeOptions { Start = true, StartInfo = new ProcessStartInfo { RedirectStandardOutput = true } }))
            {
                Assert.Equal(expectedArgv, handle.Process.StandardOutput.ReadToEnd());
            }
        }
ProcessTests