package Ġcom . kas per sky . components . all ures upport . files Ċ Ċ import Ġio . q ame ta . all ure . kotlin . All ure Ċ import Ġjava . io . File Ċ Ċ fun ĠFile . attach Log cat To All ure Report (): ĠUnit Ġ= ĠAll ure . lifecycle . add Attachment ( ĊĠĠĠ Ġname Ġ= Ġname , ĊĠĠĠ Ġstream Ġ= Ġthis . inputStream (), ĊĠĠĠ Ġtype Ġ= Ġ" text / plain ", ĊĠĠĠ Ġfile Extension Ġ= Ġ" txt ", Ċ ) Ċ Ċ fun ĠFile . attach View Hierarchy To All ure Report (): ĠUnit Ġ= ĠAll ure . lifecycle . add Attachment ( ĊĠĠĠ Ġname Ġ= Ġname , ĊĠĠĠ Ġstream Ġ= Ġthis . inputStream (), ĊĠĠĠ Ġtype Ġ= Ġ" text / xml ", ĊĠĠĠ Ġfile Extension Ġ= Ġ" xml ", Ċ ) Ċ Ċ fun ĠFile . attach Screenshot To All ure Report (): ĠUnit Ġ= ĠAll ure . lifecycle . add Attachment ( ĊĠĠĠ Ġname Ġ= Ġname , ĊĠĠĠ Ġstream Ġ= Ġthis . inputStream (), ĊĠĠĠ Ġtype Ġ= Ġ" image / png ", ĊĠĠĠ Ġfile Extension Ġ= Ġ" png ", Ċ ) Ċ Ċ fun ĠFile . attach Video To All ure Report (): ĠUnit Ġ= ĠAll ure . lifecycle . add Attachment ( ĊĠĠĠ Ġname Ġ= Ġname , ĊĠĠĠ Ġstream Ġ= Ġthis . inputStream (), ĊĠĠĠ Ġtype Ġ= Ġ" video / mp 4 ", ĊĠĠĠ Ġfile Extension Ġ= Ġ" mp 4 ", Ċ ) Ċ