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

Unified Diff: chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/FakeServerHelper.java

Issue 881753003: Revert of Create a Android Sync integration test for typed URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/FakeServerHelper.java
diff --git a/chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/FakeServerHelper.java b/chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/FakeServerHelper.java
index 51cd031c4bbe04b9e5f77f066443da198361811c..09a25ce673c06ba2aed6e30c9c8b9fcad538a497 100644
--- a/chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/FakeServerHelper.java
+++ b/chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/FakeServerHelper.java
@@ -7,7 +7,7 @@
import android.content.Context;
import org.chromium.base.ThreadUtils;
-import org.chromium.sync.internal_api.pub.base.ModelType;
+//import org.chromium.chrome.browser.sync.ProfileSyncService;
import java.util.concurrent.Callable;
@@ -113,25 +113,6 @@
nativeDeleteFakeServer(mNativeFakeServerHelperAndroid, nativeFakeServer);
}
- /**
- * Returns whether {@code count} entities exist on the fake Sync server with the given
- * {@code modelType} and {@code name}.
- *
- * @param count the number of fake server entities to verify
- * @param modelType the model type of entities to verify
- * @param name the name of entities to verify
- *
- * @return whether the number of specified entities exist
- */
- public boolean verifyEntityCountByTypeAndName(int count, ModelType modelType, String name) {
- if (sNativeFakeServer == 0L) {
- throw new IllegalStateException(
- "useFakeServer must be called before data verification.");
- }
- return nativeVerifyEntityCountByTypeAndName(mNativeFakeServerHelperAndroid,
- sNativeFakeServer, count, modelType.toString(), name);
- }
-
// Native methods.
private native long nativeInit();
private native long nativeCreateFakeServer(long nativeFakeServerHelperAndroid);
@@ -139,7 +120,4 @@
long nativeFakeServerHelperAndroid, long nativeFakeServer);
private native void nativeDeleteFakeServer(
long nativeFakeServerHelperAndroid, long nativeFakeServer);
- private native boolean nativeVerifyEntityCountByTypeAndName(
- long nativeFakeServerHelperAndroid, long nativeFakeServer, int count, String modelType,
- String name);
}
« no previous file with comments | « no previous file | chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698