Example #1
0
        protected bool Execute(string commandLine, bool shouldSucceed = true)
        {
            bool result = CApp.ExecCommand(commandLine, true);

            Assert.IsFalse(result ^ shouldSucceed, "Command should " + (shouldSucceed ? "succeed" : "fail") + ": " + commandLine);
            return(result);
        }