hi there. I want to test a class reading android contacts. To test it, I think that it is needed for the class to depend on my ready-made data(based on xml or plain text).
Making MockContentProvider seems to be not a good idea because it maybe require change a uri of the class(SUT). I think that if MockContentResolver would return a cursor for my ready- made data(not sqlite db file), the class can be faked. how can i make the cursor for my ready-made data(based on xml or plain text fiel)? Or any idea to fake the class? thanks for interests, in advance. - guruma -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

