示例#1
0
        public void CheckIfAppProccessIsRunningFailedTest()
        {
            ProcessInformations info = new ProcessInformations(new List <string>());

            Assert.AreEqual(false, info.CheckIfAppProccessIsRunning("hefalump45366sadvjhhgckxz.exe"));
        }
示例#2
0
        public void CheckIfAppProccessIsRunningTest()
        {
            ProcessInformations info = new ProcessInformations(new List <string>());

            Assert.AreEqual(true, info.CheckIfAppProccessIsRunning("smss.exe"));
        }