freepascal / android-mock

Automatically exported from code.google.com/p/android-mock
0 stars 0 forks source link

AndroidMock cannot mock LocationManager #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
AndroidMock is unable to mock LocationManager. This is probably because its 
constructor is annotated with "@hide". It would be very useful to allow mocking 
of LocationManager and other similarly annotated classes.

Original issue reported on code.google.com by tude...@google.com on 15 Feb 2011 at 4:17

GoogleCodeExporter commented 9 years ago
you may want to try and see if there are nay LocationManager Mock classes in 
the test java classes the use in the Android OS source itself. Or look at the 
CTS stuff to see if they even mock something to test it..

Original comment by fred.gr...@gmail.com on 19 Feb 2011 at 5:31