public void TestCleanup()
 {
     writer.Messages.Clear();
     ConsoleBase.UnregisterConsoleWriter(writer);
     ConsoleBase.OptionalHeader             = string.Empty;
     Options.Instance.ColorizeConsoleOutput = true;
 }
 public void TestCleanup()
 {
     writer.Messages.Clear();
     ConsoleBase.UnregisterConsoleWriter(writer);
     ConsoleBase.OptionalHeader = string.Empty;
     Options.Instance.Suppressed.Clear();
     Options.Instance.Allowed.Clear();
 }
예제 #3
0
 public void TestCleanup()
 {
     writer.Messages.Clear();
     logger.Messages.Clear();
     ConsoleBase.UnregisterConsoleWriter(writer);
     Logger.UnregisterLogWriter(logger);
     ConsoleBase.OptionalHeader = string.Empty;
     Options.Instance.LogLevels = LogLevels.None;
 }
예제 #4
0
 public void MyTestCleanup()
 {
     underTest.RemoveFromConsole();
     underTest.Dispose();
     underTest = null;
     Crestron.SimplSharp.CrestronConsole.AddNewConsoleCommandResult = true;
     Crestron.SimplSharp.CrestronEnvironment.DevicePlatform         = Crestron.SimplSharp.eDevicePlatform.Appliance;
     ConsoleBase.UnregisterConsoleWriter(testWriter);
     testWriter = null;
 }
예제 #5
0
 public void MyTestCleanup()
 {
     global.RemoveCommand(command);
     global  = null;
     command = null;
     CrestronConsole.Messages.Length = 0;
     if (writer != null)
     {
         ConsoleBase.UnregisterConsoleWriter(writer);
     }
 }
예제 #6
0
 public void TestCleanup()
 {
     writer.Messages.Clear();
     ConsoleBase.UnregisterConsoleWriter(writer);
     ConsoleBase.OptionalHeader = string.Empty;
 }
예제 #7
0
 public void TestCleanup()
 {
     writer.Messages.Clear();
     ConsoleBase.UnregisterConsoleWriter(writer);
 }