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

php - Wordpress: Link a post to posts of another category manually -

delphi xe7 upload/download dropbox file using the rest client and show progress -

java - Get more than One value and display it -