示例#1
0
        public void CreateLogger_CanAddLogBuilder()
        {
            var oldLoggers = LoggingCreator._logBuilders;

            try
            {
                LoggingCreator.AddLogBuilder(new DummyLoggerBuilder());
            }
            finally
            {
                LoggingCreator._logBuilders = oldLoggers;
            }
        }
示例#2
0
 public void RunBeforeAnyTests()
 {
     LoggingCreator.AddLogBuilder(new TestLoggerBuilder());
 }