9fdf4bad9c
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
27 lines
893 B
C#
27 lines
893 B
C#
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; }
|
|
}
|
|
}
|