Exemplo n.º 1
0
        public void RemoveCommand_Returns_True_When_CommandRemoved()
        {
            var expected = true;
            var c1       = new TestCommand();

            underTest.AddCommand(c1);
            var actual = underTest.RemoveCommand(c1);

            Assert.IsTrue(expected == actual);
        }
 public void MyTestCleanup()
 {
     global.RemoveCommand(command);
     global  = null;
     command = null;
     CrestronConsole.Messages.Length = 0;
 }
Exemplo n.º 3
0
 public void MyTestCleanup()
 {
     global.RemoveCommand(command);
     global  = null;
     command = null;
     CrestronConsole.Messages.Length = 0;
     if (writer != null)
     {
         ConsoleBase.UnregisterConsoleWriter(writer);
     }
 }