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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java

Issue 1165513006: Fix a bug that LauncherActivityTest never executes any tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/src/org/chromium/chrome/browser/document/LauncherActivityTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java
index 447196e7b86b905de9b4c5f44d90641acff78402..1a006a14b41890831e29b76c697735743d923c81 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/document/LauncherActivityTest.java
@@ -7,6 +7,7 @@ package org.chromium.chrome.browser.document;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
+import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.base.ApplicationState;
import org.chromium.base.ApplicationStatus;
@@ -32,6 +33,7 @@ public class LauncherActivityTest extends ChromeActivityTestCaseBase<ChromeActiv
mContext = getInstrumentation().getTargetContext();
}
+ @SmallTest
public void testLaunchWithUrlNoScheme() throws Exception {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("www.google.com"));
intent.setClassName(mContext.getPackageName(), ChromeLauncherActivity.class.getName());
« 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