mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fix for runaway regular expression on linux
explicitly set string dvars in quotes to allow setting empty dvars allow piping in input from command line (#114) update the distribution for top stats elo prevent game log file rotation from stopping event parsing
This commit is contained in:
26
Tests/ApplicationTests/Fixtures/EventLogTest.cs
Normal file
26
Tests/ApplicationTests/Fixtures/EventLogTest.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using static SharedLibraryCore.GameEvent;
|
||||
using static SharedLibraryCore.Server;
|
||||
|
||||
namespace ApplicationTests.Fixtures
|
||||
{
|
||||
class LogEvent
|
||||
{
|
||||
public Game Game { get; set; }
|
||||
public string EventLine { get; set; }
|
||||
public EventType ExpectedEventType { get; set; }
|
||||
public string ExpectedData { get; set; }
|
||||
public string ExpectedMessage { get; set; }
|
||||
public string ExpectedOriginNetworkId { get; set; }
|
||||
public int? ExpectedOriginClientNumber { get; set; }
|
||||
public string ExpectedOriginClientName { get; set; }
|
||||
public string ExpectedTargetNetworkId { get; set; }
|
||||
public int? ExpectedTargetClientNumber { get; set; }
|
||||
public string ExpectedTargetClientName { get; set; }
|
||||
public int? ExpectedTime { get; set; }
|
||||
}
|
||||
|
||||
class EventLogTest
|
||||
{
|
||||
public LogEvent[] Events { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user