package Ġcom . mapbox . mapbox sdk . test app . maps Ċ Ċ import Ġandroid . opengl . GL Surface View Ċ import Ġandroid . view . Texture View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . test . annotation . Ui Thread Test Ċ import Ġandroidx . test . ext . junit . runners . Android JUnit 4 Ċ import Ġandroidx . test . rule . Activity Test Rule Ċ import Ġcom . mapbox . mapbox sdk . App Center Ċ import Ġcom . mapbox . mapbox sdk . maps . MapView Ċ import Ġcom . mapbox . mapbox sdk . maps . Map box Map Options Ċ import Ġcom . mapbox . mapbox sdk . test app . activity . Feature Overview Activity Ċ import Ġjava . util . concurrent . Count DownLatch Ċ import Ġjunit . framework . Assert . assertNotNull Ċ import Ġjunit . framework . Assert . assertTrue Ċ import Ġorg . junit . Rule Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ Ċ @ RunWith ( Android JUnit 4 :: class ) Ċ class ĠRender View Getter Test Ġ: ĠApp Center () Ġ{ ĊĊĠ Ġ@ Rule ĊĠ Ġ@ Jvm Field ĊĠ Ġvar Ġrule Ġ= ĠActivity Test Rule ( Feature Overview Activity :: class . java ) ĊĊĠ Ġprivate Ġlateinit Ġvar Ġroot View : ĠViewGroup ĊĠ Ġprivate Ġlateinit Ġvar Ġmap View : ĠMap View ĊĠ Ġprivate Ġval Ġl atch : ĠCount DownLatch Ġ= ĠCount DownLatch ( 1 ) ĊĊĠ Ġ@ Test ĊĠ Ġ@ Ui Thread Test ĊĠ Ġfun Ġtest GL Surface View () Ġ{ ĊĠĠĠ Ġroot View Ġ= Ġrule . activity . findViewById ( android . R . id . content ) ĊĠĠĠ Ġmap View Ġ= ĠMap View ( rule . activity ) ĊĠĠĠ ĠassertNotNull ( map View . render View ) ĊĠĠĠ ĠassertTrue ( map View . render View Ġis ĠGL Surface View ) ĊĠ Ġ} ĊĊĠ Ġ@ Test ĊĠ Ġ@ Ui Thread Test ĊĠ Ġfun Ġtest Texture View () Ġ{ ĊĠĠĠ Ġroot View Ġ= Ġrule . activity . findViewById ( android . R . id . content ) ĊĠĠĠ Ġmap View Ġ= ĠMap View ( rule . activity , ĊĠĠĠĠĠ ĠMap box Map Options . createFrom Attributes ( rule . activity , Ġnull ) ĊĠĠĠĠĠĠĠ Ġ. texture Mode ( true ) ĊĠĠĠ Ġ) ĊĠĠĠ ĠassertNotNull ( map View . render View ) ĊĠĠĠ ĠassertTrue ( map View . render View Ġis ĠTexture View ) ĊĠ Ġ} Ċ }