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

Unified Diff: chrome/android/javatests_shell/src/org/chromium/chrome/browser/TabTest.java

Issue 1135073003: Fix TabTest#testTabSecurityLevel that was failing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests_shell/src/org/chromium/chrome/browser/TabTest.java
diff --git a/chrome/android/javatests_shell/src/org/chromium/chrome/browser/TabTest.java b/chrome/android/javatests_shell/src/org/chromium/chrome/browser/TabTest.java
index ca1ced5bb6688348bac5cd7efe1df34f45358331..0ad30f893102fbf73a5a27779e8518956a835ae5 100644
--- a/chrome/android/javatests_shell/src/org/chromium/chrome/browser/TabTest.java
+++ b/chrome/android/javatests_shell/src/org/chromium/chrome/browser/TabTest.java
@@ -102,6 +102,11 @@ public void run() {
@SmallTest
@Feature({"Tab"})
public void testTabSecurityLevel() {
- assertEquals(ConnectionSecurityHelperSecurityLevel.NONE, mTab.getSecurityLevel());
+ ThreadUtils.runOnUiThreadBlocking(new Runnable() {
+ @Override
+ public void run() {
+ assertEquals(ConnectionSecurityHelperSecurityLevel.NONE, mTab.getSecurityLevel());
+ }
+ });
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698