summaryrefslogtreecommitdiffstats
path: root/android_webview/javatests
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-31 02:27:11 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-31 02:27:11 +0000
commitba77e904411897040df472a8f86f3396decbc6b3 (patch)
tree038331e0f0196d714089ed5753368d61b40cb2a4 /android_webview/javatests
parente3cab678cc8946b60fbba819943d7316c06bec58 (diff)
downloadchromium_src-ba77e904411897040df472a8f86f3396decbc6b3.zip
chromium_src-ba77e904411897040df472a8f86f3396decbc6b3.tar.gz
chromium_src-ba77e904411897040df472a8f86f3396decbc6b3.tar.bz2
Remove Deprecated methods / tags
findAllSync() is no longer used. Deprecation happens at the public API so repeating in the implementation class doesn't have much effect besides generating warnings in test code. ../android_webview/javatests/src/org/chromium/android_webview/test/AwSettingsTest.java:235:warning: [deprecation] getPluginsEnabled() in org.chromium.android_webview.AwSettings has been deprecated return mAwSettings.getPluginsEnabled(); BUG= Review URL: https://chromiumcodereview.appspot.com/16231015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203315 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/javatests')
-rw-r--r--android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java b/android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java
index 1de80ed..3333d72 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java
@@ -62,23 +62,6 @@ public class WebViewFindApisTestBase extends AwTestBase {
}
/**
- * Invokes findAllSync on the UI thread and returns the number of matches.
- *
- * @param searchString A string to search for.
- * @return The number of instances of the string that were found.
- * @throws Throwable
- */
- protected int findAllSyncOnUiThread(final String searchString)
- throws Throwable {
- return runTestOnUiThreadAndGetResult(new Callable<Integer>() {
- @Override
- public Integer call() {
- return mContents.findAllSync(searchString);
- }
- });
- }
-
- /**
* Invokes findAllAsync on the UI thread, blocks until find results are
* received, and returns the number of matches.
*