예제 #1
0
        public void ExistMarkerForLogEntryTest()
        {
            _analysis.AddTextMarker(new List <LogEntry> {
                _entry1
            }, "ME", "My message");
            _analysis.AddTextMarker(new List <LogEntry> {
                _entry1, _entry2
            }, "ME2", "My message2");
            LogEntry entry3 = new LogEntry()
            {
                App = "lol"
            };

            Assert.IsTrue(_analysis.ExistTextMarkerForLogEntry(_entry1));
            Assert.IsFalse(_analysis.ExistTextMarkerForLogEntry(entry3));
        }