public UnitTestResult[] GetResults(DateTime startDate, DateTime endDate)
 {
     if (store == null)
     {
         return(new UnitTestResult [0]);
     }
     return(store.GetResults(test.ActiveConfiguration, test, startDate, endDate));
 }
示例#2
0
 public UnitTestResult [] GetResults(DateTime startDate, DateTime endDate)
 {
     try {
         if (store != null)
         {
             return(store.GetResults(test.ActiveConfiguration, test, startDate, endDate));
         }
     } catch (Exception ex) {
         LoggingService.LogError("Test store query failed. Test history data may be corrupt.", ex);
     }
     return(new UnitTestResult [0]);
 }