示例#1
0
        private string ExecuteCommand(IReplCommand cmd, string args)
        {
            _window.ClearScreen();
            var execute = cmd.Execute(_window, args);

            execute.Wait();
            Assert.IsTrue(execute.Result.IsSuccessful);
            return(_window.Output.TrimEnd());
        }
示例#2
0
 private string ExecuteCommand(IReplCommand cmd, string args) {
     _window.ClearScreen();
     var execute = cmd.Execute(_window, args);
     execute.Wait();
     Assert.IsTrue(execute.Result.IsSuccessful);
     return _window.Output.TrimEnd();
 }