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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java

Issue 1786243003: Rename pollForCriteria to pollForTestThreadCriteria. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and update MediaRouterIntegrationTest.java Created 4 years, 9 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
Index: content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java
index 0a95dbd2d145e3336a76ca7da4eda0f48f7953ef..1e8709caeba686c13634492cf9d4364e23511f6a 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ScreenOrientationProviderTest.java
@@ -116,7 +116,7 @@ public class ScreenOrientationProviderTest extends ContentShellTestBase {
getInstrumentation().waitForIdleSync();
try {
- CriteriaHelper.pollForCriteria(criteria);
+ CriteriaHelper.pollInstrumentationThread(criteria);
} catch (AssertionError e) {
// This should not be here but the Criteria does not support cases where the orientation
// is not being changed (i.e. where the Natural orientation matches the one you are
@@ -152,7 +152,7 @@ public class ScreenOrientationProviderTest extends ContentShellTestBase {
// Make sure mObserver is updated before we start the tests.
try {
- CriteriaHelper.pollForCriteria(criteria);
+ CriteriaHelper.pollInstrumentationThread(criteria);
} catch (AssertionError e) {
// This should not be here but the Criteria does not support cases where the orientation
// is not being changed (i.e. where the Natural orientation matches the one you are

Powered by Google App Engine
This is Rietveld 408576698