/* Ċ Ġ* ĠCopyright Ġ 2 0 1 0 - 2 0 1 9 ĠJetBrains Ġs . r . o . Ġand ĠKotlin ĠProgramming ĠLanguage Ġcontributors . Ċ Ġ* ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe Ġlicense / LICENSE . txt Ġfile . Ċ Ġ*/ Ċ Ċ package Ġorg . jetbrains . kotlin . idea . de compiler . stub Builder Ċ Ċ import Ġcom . intellij . test Framework . Light Project Descriptor Ċ import Ġorg . jetbrains . kotlin . idea . de compiler . text Builder . find Test Library Root Ċ import Ġorg . jetbrains . kotlin . idea . test . Kotlin J dk And Library Project Descriptor Ċ import Ġorg . jetbrains . kotlin . test . JUnit 3 With Ide a Configuration Runner Ċ import Ġorg . jetbrains . kotlin . test . Kotlin TestUtils Ċ import Ġorg . junit . runner . RunWith Ċ import Ġjava . io . File Ċ Ċ @ RunWith ( JUnit 3 With Ide a Configuration Runner :: class ) Ċ class ĠC ls Stub Builder For Wrong Ab i Version Test Ġ: ĠAbstract Cls Stub Builder Test () Ġ{ ĊĊĠĠĠ Ġfun Ġtest Package () Ġ= Ġtest Stub s For File With Wrong Ab i Version (" Wrong _ package Kt ") ĊĊĠĠĠ Ġfun Ġtest Class () Ġ= Ġtest Stub s For File With Wrong Ab i Version (" Class With Wrong Ab i Version ") ĊĊĠĠĠ Ġprivate Ġfun Ġtest Stub s For File With Wrong Ab i Version ( className : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġroot Ġ= Ġfind Test Library Root ( module !! ) !! ĊĠĠĠĠĠĠĠ Ġval Ġresult Ġ= Ġroot . find Class File ByName ( className ) ĊĠĠĠĠĠĠĠ Ġtest Cls Stub s For File ( result , Ġnull ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Project Descriptor (): ĠLight Project Descriptor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠKotlin J dk And Library Project Descriptor ( File ( Kotlin TestUtils . get TestData Path Base () Ġ+ Ġ"/ cli / jvm / wrong Ab i Version Lib / bin ")) ĊĠĠĠ Ġ} Ċ } Ċ