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

🏃 Batch TrustedWebActivityPermissionsTest.

Change-Id: I62e6216cb126a3a34ea23c4a5947bb6211d5e499
Bug: 1146206
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2642152Reviewed-by: default avatarElla Ge <eirage@chromium.org>
Commit-Queue: Peter Conn <peconn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#846009}
parent 3c1c8fdf
......@@ -8,6 +8,8 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.chromium.base.test.util.Batch.PER_CLASS;
import android.support.test.InstrumentationRegistry;
import androidx.test.filters.MediumTest;
......@@ -20,6 +22,7 @@ import org.junit.Test;
import org.junit.runner.RunWith;
import org.chromium.base.library_loader.LibraryLoader;
import org.chromium.base.test.util.Batch;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisableIf;
import org.chromium.chrome.browser.ChromeApplication;
......@@ -46,6 +49,7 @@ import java.util.concurrent.TimeoutException;
@CommandLineFlags.Add({ChromeSwitches.DISABLE_FIRST_RUN_EXPERIENCE})
// See: https://crbug.com/1120707
@DisableIf.Device(type = {UiDisableIf.TABLET})
@Batch(PER_CLASS)
public class TrustedWebActivityPermissionsTest {
@Rule
public CustomTabActivityTestRule mCustomTabActivityTestRule = new CustomTabActivityTestRule();
......@@ -62,6 +66,7 @@ public class TrustedWebActivityPermissionsTest {
@Before
public void setUp() throws TimeoutException {
mCustomTabActivityTestRule.setFinishActivity(true);
// Native needs to be initialized to start the test server.
LibraryLoader.getInstance().ensureInitialized();
......
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