package Ġf tl . client . google . run Ċ Ċ import Ġcom . google . testing . model . Client Info Detail Ċ import Ġcom . google . testing . model . File Reference Ċ import Ġcom . google . testing . model . I os Device File Ċ Ċ internal Ġfun ĠList < String >. map G cs Paths ToFile Reference (): ĠList < File Reference > Ġ= Ġmap Ġ{ Ġit . to File Reference () Ġ} Ċ Ċ fun ĠString . to File Reference (): ĠFile Reference Ġ= ĠFile Reference (). set G cs Path ( this ) Ċ Ċ internal Ġfun ĠMap < String , ĠString >. map To I os Device Files (): ĠList < I os Device File > Ġ= Ġmap Ġ{ Ġ( test Device Path , Ġg cs FilePath ) Ġ-> Ġto I os Device File ( test Device Path , Ġg cs FilePath ) Ġ} Ċ Ċ internal Ġfun Ġto I os Device File ( test Device Path : ĠString , Ġg cs FilePath : ĠString Ġ= Ġ"") Ġ= ĠI os Device File (). apply Ġ{ ĊĠĠĠ Ġif Ġ( test Device Path . contains (" :" )) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġ( bundle Id Separ ated , Ġpath Separ ated ) Ġ= Ġtest Device Path . split (": ") ĊĠĠĠĠĠĠĠ Ġbundle Id Ġ= Ġbundle Id Separ ated ĊĠĠĠĠĠĠĠ Ġdevice Path Ġ= Ġpath Separ ated ĊĠĠĠ Ġ} Ġelse Ġ{ ĊĠĠĠĠĠĠĠ Ġdevice Path Ġ= Ġtest Device Path ĊĠĠĠ Ġ} ĊĠĠĠ Ġcontent Ġ= ĠFile Reference (). set G cs Path ( g cs FilePath ) Ċ } Ċ Ċ internal Ġfun ĠMap < String , ĠString >. to Client Info Detail List () Ġ= Ġmap Ġ{ Ġ( key , Ġvalue ) Ġ-> ĊĠĠĠ ĠClient Info Detail () ĊĠĠĠĠĠĠĠ Ġ. set Key ( key ) ĊĠĠĠĠĠĠĠ Ġ. setValue ( value ) Ċ } Ċ