package Ġcom . android . tv flix . shows Ċ Ċ import Ġandroidx . test . espress o . Id ling Registry Ċ import Ġandroidx . test . ext . junit . runners . Android JUnit 4 Ċ import Ġandroidx . test . filters . Large Test Ċ import Ġandroidx . test . rule . Activity Test Rule Ċ import Ġcom . android . tv flix . id ling resource . Loading Id ling Resource Ċ import Ġorg . junit . After Ċ import Ġorg . junit . Before Ċ import Ġorg . junit . Rule Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ Ċ @ Large Test Ċ @ RunWith ( Android JUnit 4 :: class ) Ċ class ĠAll Shows Test Ġ{ ĊĠĠĠ Ġ// Ġ@ get : Rule ĊĠĠĠ Ġ// Ġval Ġhome Activity Test Rule Ġ= ĠActivity Test Rule ( Home Activity :: class . java ) ĊĠĠĠ Ġ@ get : Rule ĊĠĠĠ Ġval Ġall Shows Activity Test Rule Ġ= ĠActivity Test Rule ( All Shows Activity :: class . java ) ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġloading Id ling Resource : ĠLoading Id ling Resource ĊĠĠĠ Ġ@ Before ĊĠĠĠ Ġfun ĠsetUp () Ġ{ ĊĠĠĠĠĠĠĠ Ġloading Id ling Resource Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠLoading Id ling Resource ( all Shows Activity Test Rule . activity ) ĊĠĠĠĠĠĠĠ ĠId ling Registry . getInstance (). register ( loading Id ling Resource ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest All Shows Via Home () Ġ{ ĊĠĠĠĠĠĠĠ Ġlaunch All Shows Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġverify All Shows () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ After ĊĠĠĠ Ġfun ĠtearDown () Ġ{ ĊĠĠĠĠĠĠĠ ĠId ling Registry . getInstance (). unregister ( loading Id ling Resource ) ĊĠĠĠ Ġ} Ċ }