Example #1
0
        private static Chart MessagesSentFromServerPrSecond(ChartPostModel model)
        {
            var testData = new TestData
            {
                StartTime = DateUtils.FromMillisecondsSinceEpoch(model.StartTime)
            };

            return testData.MessagesSentByServerPrSecond(model.Spacing, model.SentFromServerEvents.ToArray());
        }
Example #2
0
        private static Chart AverageLatency(ChartPostModel model)
        {
            var testData = new TestData
            {
                StartTime = DateUtils.FromMillisecondsSinceEpoch(model.StartTime)
            };

            return testData.AverageLatencyPrSecond(model.Spacing, model.TestDataEntities, model.SentFromClientEvents.ToArray());
        }
Example #3
0
 public void SetUp()
 {
     _instance = new TestData
     {
         StartTime = new DateTime(2013, 11, 3, 13, 37, 0),
     };
 }