Beispiel #1
0
        public void NOPLogger_AllLogMethodsTest()
        {
            NOPLogger logger = NOPLogger.Instance;

            List <string> failures = ExploratoryTester.TestILogger(logger);

            Assert.AreEqual(0, failures.Count,
                            failures.Count != 0 ? failures.Aggregate((s1, s2) => s1 + System.Environment.NewLine + s2) : "");
        }
Beispiel #2
0
        public void NOPLogger_NameTest()
        {
            NOPLogger logger = NOPLogger.Instance;
            string    actual;
            string    expected = "NOP";

            actual = logger.Name;
            Assert.AreEqual(expected, actual);
        }