internal void AddTest(Test Test) { Test.EndedTime = DateTime.Now; if (Test.ScreenCapture.Count > 0) { this.mediaList.ScreenCapture.AddRange(Test.ScreenCapture); } if (Test.Screencast.Count > 0) { this.mediaList.Screencast.AddRange(Test.Screencast); } Test.PrepareFinalize(); this.AddTest(TestBuilder.GetSource(Test)); this.AddQuickTestSummary(TestBuilder.GetQuickSummary(Test)); this.AddCategories(Test); this.UpdateCategoryView(Test); }