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

javascript - Complete OpenIDConnect auth when requesting via Ajax -

java - Get more than One value and display it -

c# - Replace text in MailItem Body -