private void MutationDocumentCompleted(MutationDocumentResult result) { lock (RunningDocuments) { var runDocument = RunningDocuments.FirstOrDefault(r => r.Document.Id == result.Id); if (runDocument != null) { System.Windows.Application.Current.Dispatcher.BeginInvoke(new Action(() => RunningDocuments.Remove(runDocument))); } MutationDocumentsExecutionResults.AddResult(result); } }
public void SetReport(UnimaReport report) { TestNotStarted = false; MutationCount = report.TotalNumberOfMutations; MutationDocumentsExecutionResults.AddResult(report.Mutations); }