public bool Equals(AggregateTestResult other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.TestName, TestName);
 }
 private static void UpdateResults(string failingTest, string dir, HashSet<AggregateTestResult> tests, AggregateTestResult aggregateTestResult)
 {
     AggregateTestResult newAggregateTestResult;
     if (aggregateTestResult != null)
     {
         tests.Remove(aggregateTestResult);
         newAggregateTestResult = new AggregateTestResult {BuildName = aggregateTestResult.BuildName, TestName = aggregateTestResult.TestName, FailureCount = ++aggregateTestResult.FailureCount};
     }
     else
     {
         newAggregateTestResult = new AggregateTestResult {BuildName = GetBuildName(dir), TestName = failingTest, FailureCount = 1};
     }
     tests.Add(newAggregateTestResult);
 }