예제 #1
0
 public void ExerciseMiscProperties()
 {
     EmptyLogger logger = new EmptyLogger(LoggerVerbosity.Diagnostic);
     logger.Parameters = "Parameters";
     Assert.Equal(0, string.Compare(logger.Parameters, "Parameters", StringComparison.OrdinalIgnoreCase));
     Assert.Equal(LoggerVerbosity.Diagnostic, logger.Verbosity);
     logger.Shutdown();
 }
예제 #2
0
        public void ExerciseMiscProperties()
        {
            EmptyLogger logger = new EmptyLogger(LoggerVerbosity.Diagnostic);

            logger.Parameters = "Parameters";
            Assert.Equal(0, string.Compare(logger.Parameters, "Parameters", StringComparison.OrdinalIgnoreCase));
            Assert.Equal(LoggerVerbosity.Diagnostic, logger.Verbosity);
            logger.Shutdown();
        }