public void AddLog3()
 {
     Utilities.IO.Logging.ConsoleLog TempConsoleLog = new Utilities.IO.Logging.ConsoleLog();
     Assert.DoesNotThrow<Exception>(() => Utilities.IO.Logging.LoggingManager.AddLog(TempConsoleLog));
     Utilities.IO.Logging.ConsoleLog Log = Utilities.IO.Logging.LoggingManager.GetLog<Utilities.IO.Logging.ConsoleLog>();
     Assert.Equal(TempConsoleLog, Log);
 }
 public void AddLog3()
 {
     Utilities.IO.Logging.ConsoleLog TempConsoleLog = new Utilities.IO.Logging.ConsoleLog();
     Utilities.IO.Logging.LoggingManager.AddLog(TempConsoleLog);
     Utilities.IO.Logging.ConsoleLog Log = Utilities.IO.Logging.LoggingManager.GetLog<Utilities.IO.Logging.ConsoleLog>();
     Assert.Equal(TempConsoleLog, Log);
 }
 public void AddLog3()
 {
     Utilities.IO.Logging.ConsoleLog TempConsoleLog = new Utilities.IO.Logging.ConsoleLog();
     Assert.DoesNotThrow(() => Utilities.IO.Logging.LoggingManager.AddLog(TempConsoleLog));
     Utilities.IO.Logging.ConsoleLog Log = Utilities.IO.Logging.LoggingManager.GetLog <Utilities.IO.Logging.ConsoleLog>();
     Assert.Equal(TempConsoleLog, Log);
 }
 public void AddLog2()
 {
     Assert.DoesNotThrow(() => Utilities.IO.Logging.LoggingManager.AddLog <Utilities.IO.Logging.ConsoleLog>("NotDefault"));
     Utilities.IO.Logging.ConsoleLog Log = Utilities.IO.Logging.LoggingManager.GetLog <Utilities.IO.Logging.ConsoleLog>("NotDefault");
     Assert.NotNull(Log);
 }
 public void GetLog2()
 {
     Utilities.IO.Logging.LoggingManager.AddLog <Utilities.IO.Logging.ConsoleLog>();
     Utilities.IO.Logging.ConsoleLog Log = Utilities.IO.Logging.LoggingManager.GetLog <Utilities.IO.Logging.ConsoleLog>();
     Assert.NotNull(Log);
 }
 public ConsoleLog()
 {
     Log = new Utilities.IO.Logging.ConsoleLog();
 }
Esempio n. 7
0
 public ConsoleLog()
 {
     Log = new Utilities.IO.Logging.ConsoleLog();
 }
 public void AddLog()
 {
     Assert.DoesNotThrow <Exception>(() => Utilities.IO.Logging.LoggingManager.AddLog <Utilities.IO.Logging.ConsoleLog>());
     Utilities.IO.Logging.ConsoleLog Log = Utilities.IO.Logging.LoggingManager.GetLog <Utilities.IO.Logging.ConsoleLog>();
     Assert.NotNull(Log);
 }