package Ġcom . jetbrains . rd . generator . test framework Ċ Ċ import Ġcom . jetbrains . rd . generator . nova . Flow Transform Ċ import Ġcom . jetbrains . rd . generator . nova . IG ener ator Ċ import Ġcom . jetbrains . rd . generator . nova . kotlin . Kotlin 1 1 Generator Ċ import Ġjava . io . File Ċ Ċ abstract Ġclass ĠKotlin Rd Gen Output Test Ġ: ĠR d Gen Output TestBase () Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprotected Ġfun Ġkt Generated Sources Dir ( test Name : ĠString ) Ġ= Ġ" build /$ test Name / test Output Kt " ĊĠĠĠĠĠĠĠ Ġprivate Ġfun Ġkt As Is Generated Sources Dir ( test Name : ĠString ) Ġ= Ġ"${ kt Generated Sources Dir ( test Name ) }/ asis " ĊĠĠĠĠĠĠĠ Ġprivate Ġfun Ġkt Re versed Generated Sources Dir ( test Name : ĠString ) Ġ= Ġ"${ kt Generated Sources Dir ( test Name ) }/ reversed " ĊĊĠĠĠĠĠĠĠ Ġfun Ġgenerators ( test Name : ĠString , Ġnamespace : ĠString ): ĠArray < IG ener ator > Ġ= ĠarrayOf ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠKotlin 1 1 Generator ( Flow Transform . As Is , Ġnamespace , ĠFile ( kt As Is Generated Sources Dir ( test Name ))), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠKotlin 1 1 Generator ( Flow Transform . Re versed , Ġnamespace , ĠFile ( kt Re versed Generated Sources Dir ( test Name ))) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġval Ġcompile After Generate Ġ= Ġtrue ĊĠĠĠ Ġoverride Ġval Ġfile Extension No Dot Ġ= Ġ" kt " ĊĠĠĠ Ġoverride Ġval Ġgenerated Sources Dir ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġkt Generated Sources Dir ( test Name ) Ċ } Ċ