Sync: local data verification for Android tests
commitff27ca20c9913a184c7c04550fc26640bcf5c9b4
authorpvalenzuela <pvalenzuela@chromium.org>
Wed, 20 May 2015 23:34:21 +0000 (20 16:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 20 May 2015 23:34:52 +0000 (20 23:34 +0000)
tree0d9b24bb529b4cea447a7d77936c47d082a160e7
parent3f5bbf5e784ae8d79708c4bb5f554c3a21dc9b13
Sync: local data verification for Android tests

This CL dramatically improves the ability to verify local Sync data in
Java Android tests. This is done by plumbing through the
ProfileSyncService's GetAllNodes method through JNI.

This new util will also allow for the server-side modification and
deletion of Sync entities in a future CL.

An older version of local data verification
(relying only on entity counts) has been removed.

BUG=365774

Review URL: https://codereview.chromium.org/1127233008

Cr-Commit-Position: refs/heads/master@{#330842}
chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java
chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/SyncTest.java
chrome/browser/sync/profile_sync_service_android.cc
chrome/browser/sync/profile_sync_service_android.h
chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java