• Home
  • Raw
  • Download

Lines Matching full:results

29 def all (results, predicate):  argument
30 for result in results:
35 def any (results, predicate): argument
36 for result in results:
48 def __init__ (self, name, results): argument
50 self.results = results
68 results = []
70 results.append(TestCaseResult(case, []))
71 return results
73 def addResultsToCaseList (caselist, results): argument
80 for result in results:
82 resultMap[result.name].results += result.results
90 results = []
99 results.append(TestCaseResult(args[0], args[1:]))
101 if len(results) == 0:
104 # Sanity check for results
105 numResultItems = len(results[0].results)
107 for result in results:
110 if len(result.results) != numResultItems:
111 …raise Exception("Found %d results for test case '%s', expected %d" % (len(result.results), result.…
114 return results
125 def createGroups (results, groupNames): argument
135 for case in results:
144 def createLeafGroups (results): argument
148 for case in results:
163 def filterList (results, condition): argument
165 for case in results:
166 if condition(case.results):
182 def getCasesInSet (results, caseSet): argument
184 for case in results:
189 def selectCasesInGroups (results, groups): argument
194 return getCasesInSet(results, casesInGroups)
196 def selectRandomSubset (results, groups, limit, seed): argument
218 return getCasesInSet(results, selectedCases)
227 …FilterRule("all-pass", "All results must be 'Pass'", [lambda l: all(l, lambda r: r == 'Pass…
228 …FilterRule("any-pass", "Any of results is 'Pass'", [lambda l: any(l, lambda r: r == 'Pass'…
229 …FilterRule("any-fail", "Any of results is not 'Pass' or 'NotSupported'", [lambda l: not all(l, l…
263 results = readTestResults(args[1]) variable
264 results = addResultsToCaseList(caselist, results) variable
266 results = toResultList(caselist) variable
268 # Execute filters for results
270 results = filterList(results, rule) variable
274 groups = createGroups(results, readGroupList(options.groups_file))
276 groups = createLeafGroups(results)
277 results = selectRandomSubset(results, groups, int(options.limit), int(options.seed)) variable
279 groups = createGroups(results, readGroupList(options.groups_file))
280 results = selectCasesInGroups(results, groups) variable
283 for result in results: