Commit eb45a989 authored by Alice Wang's avatar Alice Wang Committed by Commit Bot

[Android][Test] Add type for generic rule in account picker tests

This CL adds type information for the generic test rule in
AccountPickerBottomSheetTest.

Bug: 1120258
Change-Id: Ia672bf78b84a1aadfe3056fc030135310de99a06
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2470564Reviewed-by: default avatarTanmoy Mollik <triploblastic@chromium.org>
Commit-Queue: Alice Wang <aliceywang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817000}
parent 4d32f3cb
......@@ -47,6 +47,7 @@ import org.chromium.base.ThreadUtils;
import org.chromium.base.test.util.Batch;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.ChromeTabbedActivity;
import org.chromium.chrome.browser.flags.ChromeFeatureList;
import org.chromium.chrome.browser.flags.ChromeSwitches;
import org.chromium.chrome.browser.incognito.IncognitoUtils;
......@@ -103,8 +104,8 @@ public class AccountPickerBottomSheetTest {
new ChromeTabbedActivityTestRule();
@Rule
public final BlankCTATabInitialStateRule mInitialStateRule =
new BlankCTATabInitialStateRule(sActivityTestRule, false);
public final BlankCTATabInitialStateRule<ChromeTabbedActivity> mInitialStateRule =
new BlankCTATabInitialStateRule<>(sActivityTestRule, false);
private final CustomFakeProfileDataSource mFakeProfileDataSource =
new CustomFakeProfileDataSource();
......
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