to dear all Android developers,

Is the file I/O operations during InstrumentationTest not really
written back (aka. committed) to the device storage? Recently I was
working on the InstrumentationTest to verify my own applications,
however it always shows no data in the local preference and databases
of my application (which the data is written in an instrumentation
test).

I tried to write and read both in either instrumentation test or
manually, and it works fine. However, it always fails in the case that
either write first in instrumentation test then read later in
manually, or manually write and automatically read.

So, is this true that the file I/O operations (like preference,
database, and content providers) not actually executed during an
Instrumentation Test?

Thanks for any help :-)

Best regards,
Nicholas
--~--~---------~--~----~------------~-------~--~----~
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