Commit a8d32887 authored by Peter E Conn's avatar Peter E Conn Committed by Chromium LUCI CQ

🏃 Batch TrustedWebActivityCurrentPageVerifierTest.

Change-Id: Ib05e1ed766a8348086bda2e794d37823764c1858
Bug: 1146206
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2642361Reviewed-by: default avatarElla Ge <eirage@chromium.org>
Commit-Queue: Peter Conn <peconn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#846011}
parent 59ae38aa
......@@ -6,6 +6,8 @@ package org.chromium.chrome.browser.browserservices.ui.controller.trustedwebacti
import static org.junit.Assert.assertEquals;
import static org.chromium.base.test.util.Batch.PER_CLASS;
import android.content.Intent;
import android.net.Uri;
import android.support.test.InstrumentationRegistry;
......@@ -19,6 +21,7 @@ import org.junit.rules.RuleChain;
import org.junit.runner.RunWith;
import org.chromium.base.CommandLine;
import org.chromium.base.test.util.Batch;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.chrome.browser.browserservices.TrustedWebActivityTestUtil;
import org.chromium.chrome.browser.browserservices.ui.controller.CurrentPageVerifier.VerificationStatus;
......@@ -36,6 +39,7 @@ import java.util.concurrent.TimeoutException;
*/
@RunWith(ChromeJUnit4ClassRunner.class)
@CommandLineFlags.Add({ChromeSwitches.DISABLE_FIRST_RUN_EXPERIENCE})
@Batch(PER_CLASS)
public final class TrustedWebActivityCurrentPageVerifierTest {
public final CustomTabActivityTestRule mActivityTestRule = new CustomTabActivityTestRule();
......@@ -49,6 +53,7 @@ public final class TrustedWebActivityCurrentPageVerifierTest {
@Before
public void setUp() {
mActivityTestRule.setFinishActivity(true);
mActivityTestRule.getEmbeddedTestServerRule().setServerUsesHttps(true);
Uri mapToUri =
Uri.parse(mActivityTestRule.getEmbeddedTestServerRule().getServer().getURL("/"));
......
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