package Ġcom . dro ib it . k ok omap Ċ Ċ import Ġandroid . support . test . Instrumentation Registry Ċ import Ġandroid . support . test . runner . Android JUnit 4 Ċ import Ġandroid . test . Activity Instrumentation TestCase 2 Ċ import Ġandroid . test . suite builder . annotation . Large Test Ċ import Ġorg . junit . After Ċ import Ġorg . junit . Before Ċ import Ġorg . junit . runner . RunWith Ċ import Ġkotlin . properties . Deleg ates Ċ Ċ /** Ċ Ġ* Ġ[ MainActivity ] Ġ ãĤ¯ãĥ©ãĤ¹ ãģ® åįĺ ä½ĵ ãĥĨãĤ¹ãĥĪ Ċ Ġ* Ċ Ġ* Ġ@ since Ġ 2 0 1 5 / 0 7 / 0 3 Ċ Ġ* Ġ@ author Ġk um ag ai Ċ Ġ*/ Ċ @ Large Test Ċ @ RunWith ( Android JUnit 4 :: class ) Ċ class ĠMainActivity Test : ĠActivity Instrumentation TestCase 2 < MainActivity >( MainActivity :: class . java ) Ġ{ ĊĊĠĠĠ Ġprivate Ġvar Ġm Activity : ĠMainActivity Ġby ĠDeleg ates . notNull () ĊĊĠĠĠ Ġ@ Before ĊĠĠĠ Ġfun Ġtest SetUp () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . setUp () ĊĠĠĠĠĠĠĠ Ġinject Instrumentation ( Instrumentation Registry . get Instrumentation ()); ĊĠĠĠĠĠĠĠ Ġm Activity Ġ= Ġactivity ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ After ĊĠĠĠ Ġfun Ġtest Tear Down () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . te ar Down () ĊĠĠĠ Ġ} Ċ }