Пример #1
0
 public void LoggingTestSetup()
 {
     InitLogging();
     ExceptionVerification.Reset();
     TestLogger.Info("--- Start: {0} ---", TestContext.CurrentContext.Test.FullName);
 }
Пример #2
0
 private static void RegisterExceptionVerification()
 {
     var exceptionVerification = new ExceptionVerification();
     LogManager.Configuration.AddTarget("ExceptionVerification", exceptionVerification);
     LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Warn, exceptionVerification));
 }
Пример #3
0
 public void LoggingTestSetup()
 {
     InitLogging();
     ExceptionVerification.Reset();
 }
Пример #4
0
 public void LoggingDownBase()
 {
     ExceptionVerification.AssertNoUnexcpectedLogs();
 }