System.Diagnostics.Tests.ProcessTestBase.StartSleepKillWait C# (CSharp) Method

StartSleepKillWait() protected method

protected StartSleepKillWait ( Process p ) : void
p Process
return void
        protected void StartSleepKillWait(Process p)
        {
            p.Start();
            Thread.Sleep(50);
            p.Kill();
            Assert.True(p.WaitForExit(WaitInMS));
        }