Searched refs:TestCounts (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/testing/kunit/
H A Dkunit_parser.py35 counts : TestCounts - counts of the test statuses and errors of
46 self.counts = TestCounts()
76 class TestCounts: class in inherits:
88 """Returns the string representation of a TestCounts object."""
102 def add_subtest_counts(self, counts: TestCounts) -> None:
104 Adds the counts of another TestCounts object to the current
105 TestCounts object. Used to add the counts of a subtest to the
109 counts - a different TestCounts object whose counts
110 will be added to the counts of the TestCounts object
791 # Add statuses to TestCounts attribut
[all...]
H A Dkunit_tool_test.py184 self.assertEqual(result.counts, kunit_parser.TestCounts(passed=10, errors=0))
205 self.assertEqual(result.counts, kunit_parser.TestCounts(passed=1, errors=1))
226 self.assertEqual(result.counts, kunit_parser.TestCounts(passed=4, skipped=1))
234 self.assertEqual(result.counts, kunit_parser.TestCounts(skipped=5))
323 self.assertEqual(result.counts, kunit_parser.TestCounts(passed=3))
340 self.assertEqual(result.counts, kunit_parser.TestCounts(passed=1, errors=0))
H A Dkunit.py182 test_counts = kunit_parser.TestCounts()

Completed in 90 milliseconds