Lines Matching refs:t
73 return sum(1 for t in self._testsuite if t.result == ResultState.fail)
76 return sum(1 for t in self._testsuite if t.result == ResultState.skip)
93 for t in self._testsuite:
94 if t.result == ResultState.fail:
96 ftap += 'ok {} {} - {}'.format(str(index), t.test_id, t.test_name)
97 if t.result == ResultState.skip or t.result == ResultState.noresult:
98 ftap += ' # skipped - {}\n'.format(t.errormsg)
99 elif t.result == ResultState.fail:
100 if len(t.steps) > 0:
102 for step in t.steps:
104 ftap += '\n\t{}'.format(t.failmsg)
113 for t in self._testsuite:
114 xunit += '\t\t<testcase classname=\"{}\" '.format(escape(t.test_id))
115 xunit += 'name=\"{}\">\n'.format(escape(t.test_name))
116 if t.failmsg:
118 if len(t.steps) > 0:
120 for step in t.steps:
122 xunit += 'FAILURE: {}\n'.format(escape(t.failmsg))
124 if t.errormsg:
125 xunit += '\t\t\t<error>\n{}\n'.format(escape(t.errormsg))
127 if t.result == ResultState.skip: