Download Latest Software's and Books about Developers topic

by xexna » Thu, 04 Feb 2010 05:49:59 GMT


Sponsored Links
 Download latest softwares's and Books for free just visit
 http://www.worldpakistan.com 

--



Other Threads

1. integration testing with content provider

I have an application which uses its own content provider in several
activities.  I've written a ProviderTestCase2 for my content provider
without much problem.  For this I extended RenamingDelegatingContext
to use a test database instance.

Now I want to write integration tests against my activities, but I
again want to use a test database instance for the provider - like I
did in my provider test.  I'm having problems here.  I don't see a way
to inject a mock context or MockContentResolver into activities
launched in ActivityInstrumentationTestCase2.  So, I've tried using
ActivityUnitTestCase, but this seems wrong since my test isn't a unit
test, and I want to be able to write tests that simulate user
interaction and make assertions about data in the test instance of my
database.

So...
1) Should I be using ActivityInstrumentationTestCase2 as the base test
class?
2) If not, what base test class would you recommend?
3) How have you gotten this to work for you?  Any examples?

Thanks,
Free

-- 

2. Tablet Android lagi.

ICD Ultra 7-inch Tegra T20 Android tablet announced
http://www.feelandroid.com/2009/12/icd-ultra-7-inch-tegra-t20-android-tablet-announced/

-- 
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. Changing text color when text is selected in EditText

4. Adding different locales to an image

5. creating android user libraries (without resources)

6. exclusion filter not being respected - resources are being included in apk

7. Upgrading apps causing market ranking drop due to uninstall & prompt reinstall not getting logged