Exemplo n.º 1
0
        public async Task KillByPort_Successful()
        {
            this.process = ProcessTool.Start(ExePath);
            await Task.Delay(2000);

            ProcessTool.KillByPort(ExePort);
            await Task.Delay(1000);

            Assert.IsTrue(this.process.HasExited);
        }
Exemplo n.º 2
0
 public void TestInitialize()
 {
     ProcessTool.KillByPort(ExePort);
 }