Home
last modified time | relevance | path

Searched refs:test_cases (Results 1 – 3 of 3) sorted by relevance

/libCEED/tests/junit-xml/junit_xml/
H A D__init__.py86 test_cases=None, argument
99 if not test_cases:
100 test_cases = []
102 iter(test_cases)
105 self.test_cases = test_cases
127 if any(c.assertions for c in self.test_cases):
128 …te_attributes["assertions"] = str(sum([int(c.assertions) for c in self.test_cases if c.assertions]…
129 … test_suite_attributes["disabled"] = str(len([c for c in self.test_cases if not c.is_enabled]))
130 test_suite_attributes["errors"] = str(len([c for c in self.test_cases if c.is_error()]))
131 test_suite_attributes["failures"] = str(len([c for c in self.test_cases if c.is_failure()]))
[all …]
/libCEED/tests/junit-xml/
H A DREADME.rst47 test_cases = [TestCase('Test1', 'some.class.name', 123.345, 'I am stdout!', 'I am stderr!')]
48 ts = TestSuite("my test suite", test_cases)
/libCEED/tests/
H A Djunit_common.py800 test_cases = []
806 test_cases.append(test_case)
817 return TestSuite(test, test_cases)
840 return any(c.is_failure() or c.is_error() for c in test_suite.test_cases)