Commit 100d9480 authored by ianwen's avatar ianwen Committed by Commit bot

Fix a bug that LauncherActivityTest never execute any tests

Android test annotation is missing in the only one test in this file.
This CL fixes it.

BUG=NONE

Review URL: https://codereview.chromium.org/1165513006

Cr-Commit-Position: refs/heads/master@{#333149}
parent 1545de0e
......@@ -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());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment