Commit afdb1a93 authored by Ben Joyce's avatar Ben Joyce Committed by Commit Bot

Batch CopylessPasteTests.

Reduces test time from 34734ms to 5196ms

Bug: 989569
Change-Id: I8f7b179c88c2ee46d964e07075ecca71ea4c4f81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2437784Reviewed-by: default avatarPeter Conn <peconn@chromium.org>
Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: benjamin joyce <bjoyce@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816335}
parent 2856ca6f
...@@ -15,6 +15,7 @@ import org.junit.Rule; ...@@ -15,6 +15,7 @@ import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.chromium.base.test.util.Batch;
import org.chromium.base.test.util.CallbackHelper; import org.chromium.base.test.util.CallbackHelper;
import org.chromium.base.test.util.CommandLineFlags; import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.Feature; import org.chromium.base.test.util.Feature;
...@@ -38,6 +39,7 @@ import java.util.concurrent.TimeoutException; ...@@ -38,6 +39,7 @@ import java.util.concurrent.TimeoutException;
/** Tests Copyless Paste AppIndexing using instrumented tests. */ /** Tests Copyless Paste AppIndexing using instrumented tests. */
@RunWith(ChromeJUnit4ClassRunner.class) @RunWith(ChromeJUnit4ClassRunner.class)
@Batch(Batch.PER_CLASS)
@CommandLineFlags. @CommandLineFlags.
Add({ChromeSwitches.DISABLE_FIRST_RUN_EXPERIENCE, "enable-features=CopylessPaste"}) Add({ChromeSwitches.DISABLE_FIRST_RUN_EXPERIENCE, "enable-features=CopylessPaste"})
@Restriction(Restriction.RESTRICTION_TYPE_NON_LOW_END_DEVICE) @Restriction(Restriction.RESTRICTION_TYPE_NON_LOW_END_DEVICE)
......
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