Lines Matching +full:test +full:- +full:results
2 # Use of this source code is governed by a BSD-style license that can be
30 """Result consisting of multiple results. It can be used by processors that
31 create multiple subtests for each test and want to pass all results back.
35 def create(results): argument
36 """Create grouped result from the list of results. It filters out skipped
37 results. If all results are skipped results it returns skipped result.
40 results: list of pairs (test, result)
42 results = [(t, r) for (t, r) in results if not r.is_skipped]
43 if not results:
45 return GroupedResult(results)
47 def __init__(self, results): argument
48 self.results = results
56 """Result without any meaningful value. Used primarily to inform the test
57 processor that it's test wasn't executed.
69 """Result generated from several reruns of the same test. It's a subclass of
71 normal result it contains results of all reruns.
74 def create(results): argument
75 """Create RerunResult based on list of results. List cannot be empty. If it
78 assert results
80 if len(results) == 1:
81 return results[0]
82 return RerunResult(results)
84 def __init__(self, results): argument
88 assert results
90 last = results[-1]
93 self.results = results