Esempio n. 1
0
        public void Parse_Normal()
        {
            LogZoneEvent zone = null;

            zone = Parse("You have entered Plane of Knowledge.");
            Assert.NotNull(zone);
            Assert.Equal("Plane of Knowledge", zone.Name);
        }
Esempio n. 2
0
        public void Parse_Ignore()
        {
            LogZoneEvent zone = null;

            // ignore special messages that look like zoning
            zone = Parse("You have entered an area where levitation effects do not function.");
            Assert.Null(zone);

            zone = Parse("You have entered an Arena (PvP) area.");
            Assert.Null(zone);

            zone = Parse("You have entered an area where Bind Affinity is allowed.");
            Assert.Null(zone);
        }
Esempio n. 3
0
 private LogZoneEvent Parse(string text)
 {
     return(LogZoneEvent.Parse(new LogRawEvent(text)));
 }