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