Hi,
I am trying to figure out how to test services in android. The test
class which is intented for testing services is 'ServiceTestCase'. The
sample implementation which I have found so far are clear to me e.g.
com.example.android.apis.app.LocalServiceTest.

But I have problems to understand how to test complex interfaces which
are described by aidl. The documentation of 'ServiceTestCase' states
in the description of 'bindService()':
'Note: In order to test with this interface, your service must
implement a getService() method, as shown in
samples.ApiDemos.app.LocalService.',
but the implemented Service in that file does not use a complex
interface.

What is the meaning of that note in the android documentation? Is it
really necessary and when how should it look like when a complex
interface is used? Is there a best practice
to test services in android?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to