Esempio n. 1
0
File: Stuff.cs Progetto: s72785/des
        public void LogLineTest02()
        {
            var log = new DELogLine(BaseStamp, LogMsgType.Error, "Test\n\t\rdata\\test\0null");

            Assert.AreEqual("2015-05-26 12:00:00:000\t2\tTest\\n\\tdata\\\\test\\0null", log.ToLineData());
        }
Esempio n. 2
0
File: Stuff.cs Progetto: s72785/des
        public void LogLineTest01()
        {
            var log = new DELogLine(BaseStamp, LogMsgType.Information, "Test data");

            Assert.AreEqual("2015-05-26 12:00:00:000\t0\tTest data", log.ToLineData());
        }