示例#1
0
 IDictionary <string, TestResultInfo> GetResultInfos(string runId)
 {
     return(results.GetResults(runId)
            .ToDictionary(entry => entry.Key, delegate(KeyValuePair <string, TestResult> entry) {
         var retVal = new TestResultInfo();
         retVal.Result = entry.Value;
         retVal.Artifacts = results.GetArtifacts(runId, entry.Key);
         return retVal;
     }));
 }