Looks at the manifest in
SDK/platforms/android-1.5/samples/ApiDemos/tests/AndroidManifest.xml

Xav

On Mon, Apr 13, 2009 at 11:13 PM, zlu <[email protected]> wrote:
>
> I found this link:
> http://developer.android.com/guide/samples/ApiDemos/tests/src/com/example/android/apis/app/LocalServiceTest.html
> and wrote a very similar test.  I tried to run it from Eclipse as
> android junit test and got this error:  The application does not
> declare uses-library android.test.runner.
> How do I specify that?
>
> On Apr 13, 9:51 pm, zlu <[email protected]> wrote:
>> There's better support for JUnit in 1.5.  I'm trying to test-driven a
>> service class.  I see ServiceTestCase.java in 1.5.  My question is has
>> anyone written their own test case extending this (if it is supposed
>> to be extended)?  I could find any example online and positron doesn't
>> see to have any support for testing services.
>>
>> Thanks,
>>
>> Zhao
> >
>



-- 
Xavier Ducrohet
Android Engineer, Google.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to