Added RunningUnitTest to output

This commit is contained in:
Markus Pilman 2022-08-21 08:23:51 -06:00
parent 4808307354
commit 7c53e8ee81
1 changed files with 7 additions and 0 deletions

View File

@ -629,6 +629,13 @@ class Summary:
self.handler.add_handler(('Type', 'BuggifySection'), buggify_section) self.handler.add_handler(('Type', 'BuggifySection'), buggify_section)
self.handler.add_handler(('Type', 'FaultInjected'), buggify_section) self.handler.add_handler(('Type', 'FaultInjected'), buggify_section)
def running_unit_test(attrs: Dict[str, str]):
child = SummaryTree('RunningUnitTest')
child.attributes['Name'] = attrs['Name']
child.attributes['File'] = attrs['File']
child.attributes['Line'] = attrs['Line']
self.handler.add_handler(('Type', 'RunningUnitTest'), running_unit_test)
def stderr_severity(attrs: Dict[str, str]): def stderr_severity(attrs: Dict[str, str]):
if 'NewSeverity' in attrs: if 'NewSeverity' in attrs:
self.stderr_severity = attrs['NewSeverity'] self.stderr_severity = attrs['NewSeverity']