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(); }
public void TestCleanup() { writer.Messages.Clear(); logger.Messages.Clear(); ConsoleBase.UnregisterConsoleWriter(writer); Logger.UnregisterLogWriter(logger); ConsoleBase.OptionalHeader = string.Empty; Options.Instance.LogLevels = LogLevels.None; }
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; }
public void MyTestCleanup() { global.RemoveCommand(command); global = null; command = null; CrestronConsole.Messages.Length = 0; if (writer != null) { ConsoleBase.UnregisterConsoleWriter(writer); } }
public void TestCleanup() { writer.Messages.Clear(); ConsoleBase.UnregisterConsoleWriter(writer); ConsoleBase.OptionalHeader = string.Empty; }
public void TestCleanup() { writer.Messages.Clear(); ConsoleBase.UnregisterConsoleWriter(writer); }