3

How does one go about testing a SyncAdapter? I am talking about test methods that verify that onPerformSync is called with the correct parameters and extras and that it responds as expected, etc. etc. The platform seems to provide instrumentation classes for ContentProvider, Activity, etc. But how do I write instrumentation test my SyncAdapter?

Nouvel Travay
  • 6,292
  • 13
  • 40
  • 65

0 Answers0