private void SubmitFailureForRemainingPendingTasks() { foreach (string testId in testTasks.Keys) { TestMonitor testMonitor = GetTestMonitor(testId); testMonitor.SubmitFailureIfNotFinished(); } }