示例#1
0
 public static void MapStatCodeEWM(TestResult testResult)
 {
     foreach (var testCase in testResult.TestCases)
     {
         var mapCode = GetMetadata().statcodedict.Find(s => s.TestName.Contains(testCase.Title));
         if (mapCode == null) continue;
         foreach (var map in mapCode.Map)
         {
             testCase.ID = map.ID;                    
         }
     }
 }
示例#2
0
 private static bool IsEWM(TestResult item)
 {
     return item.ProdName.Equals("Thomson Reuters Eikon for Wealth Management",StringComparison.InvariantCultureIgnoreCase) && 
            item.ProdVers.Trim().Equals("1.0",StringComparison.InvariantCultureIgnoreCase);
 }