android - The method visible() is undefined for the type ActivityController -


i using robolectric unit testing of android application when using the line below

activitymain  activitymain = robolectric.buildactivity(activitymain.class)                     .create()                     .visible()                     .get(); 

its giving me method visible() undefined type activitycontroller error.

note using robolectric-2.0-alpha-3-jar-with-dependencies.jar.

i using older version robolectric-2.0-alpha-3-jar-with-dependencies.jar not contain visible()after using robolectric-2.3-jar-with-dependencies.jar working.for information check this


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -