Beispiel #1
0
        /// should return empty string if no third space sepearted value
        public void getLogLevel_failure()
        {
            ProcessLogcontent processLogcontent = new ProcessLogcontent();
            var level = processLogcontent.getLogLevel("date time");

            Assert.Equal("", level);
        }
Beispiel #2
0
        /// should return third space seperated value.
        public void getLogLevel_success()
        {
            ProcessLogcontent processLogcontent = new ProcessLogcontent();
            var level = processLogcontent.getLogLevel("date time error");

            Assert.Equal("error", level);
        }