Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1045)

Unified Diff: sync/test/fake_server/android/fake_server_helper_android.h

Issue 884073005: Create a Android Sync integration test for typed URLs (try #2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/sync_tests.gypi ('k') | sync/test/fake_server/android/fake_server_helper_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/android/fake_server_helper_android.h
diff --git a/sync/test/fake_server/android/fake_server_helper_android.h b/sync/test/fake_server/android/fake_server_helper_android.h
index 24e1d9e182312388080bba777e4eb3cc3477e746..dfbdb7b5e08fea15a294ef12194f24d6145d561e 100644
--- a/sync/test/fake_server/android/fake_server_helper_android.h
+++ b/sync/test/fake_server/android/fake_server_helper_android.h
@@ -30,6 +30,15 @@ class FakeServerHelperAndroid {
// CreateFakeServer).
void DeleteFakeServer(JNIEnv* env, jobject obj, jlong fake_server);
+ // Returns true if and only if |fake_server| contains |count| entities that
+ // match |model_type_string| and |name|.
+ jboolean VerifyEntityCountByTypeAndName(JNIEnv* env,
+ jobject obj,
+ jlong fake_server,
+ jlong count,
+ jstring model_type_string,
+ jstring name);
+
private:
virtual ~FakeServerHelperAndroid();
};
« no previous file with comments | « sync/sync_tests.gypi ('k') | sync/test/fake_server/android/fake_server_helper_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698