Hey Everyone,
   I don't know if I am doing something wrong here, but when I am
trying to use the ServiceTestCase class to test my Service, I cannot
get a context which points to the test project.  getContext() and
getSystemContext() both seem to point to the target project's
context.  The reason I need the context of my test app is that i have
some assets which i need to be able to use in order to test the
service in question.  Does anyone know of a workaround or could point
me at a way of resolving this?  (i looked through the source of
ServiceTestCase and didn't see another way)

Something similar to instrumentationtestcase's
getInstrumentation.getContext() is what I am looking for.

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