Пример #1
0
        public void FromString(string commandLine, LoggerVerbosity expected)
        {
            var result = VerbosityUtils.GetVerbosityLevel(expected);

            Assert.That(VerbosityUtils.GetVerbosityLevel(commandLine), Is.EqualTo(result), commandLine);
        }
Пример #2
0
        public void FromLoggerVerbosity(LoggerVerbosity v, string expectedResult)
        {
            var s = String.Join(" ", VerbosityUtils.GetVerbosityLevel(v));

            Assert.That(s, Is.EqualTo(expectedResult), v.ToString());
        }
Пример #3
0
 public void FromLoggerVerbosity(LoggerVerbosity v, string expectedResult)
 {
     Assert.That(VerbosityUtils.GetVerbosityLevel(v), Is.EqualTo(expectedResult), v.ToString());
 }