Beispiel #1
0
 public void SetUp()
 {
     _loadHub = new TestableLoadHub();
     _monitor = Monitor.GetInstance();
     _monitor.Reset();
     _monitor.NumberOfClients = 100;
     _monitor.ClientStartTime = DateTime.UtcNow;
     _monitor.ServerStartTime = _monitor.ClientStartTime;
     _message = new Message { SentFromClient = _monitor.ClientStartTime.AddMilliseconds(50).ToMilliseconds() };
     _monitor.Spacing = 1;
 }
Beispiel #2
0
 public LoadHub()
 {
     _monitor = Monitor.GetInstance();
 }
 public void SetUp()
 {
     _monitor = Monitor.GetInstance();
     _monitor.Reset();
     _monitor.ClientStartTime = new DateTime(2013, 11, 3, 13, 37, 0);
     _monitor.ServerStartTime = _monitor.ClientStartTime;
     _monitor.NumberOfClients = 100;
 }