diff options
Diffstat (limited to 'chrome/browser/chromeos/login/hid_detection_browsertest.cc')
-rw-r--r-- | chrome/browser/chromeos/login/hid_detection_browsertest.cc | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/chrome/browser/chromeos/login/hid_detection_browsertest.cc b/chrome/browser/chromeos/login/hid_detection_browsertest.cc index d4e31b2..ebb23d2 100644 --- a/chrome/browser/chromeos/login/hid_detection_browsertest.cc +++ b/chrome/browser/chromeos/login/hid_detection_browsertest.cc @@ -43,15 +43,11 @@ void SetUpBluetoothMock( namespace chromeos { -// Boolean parameter is used to run this test for webview (true) and for -// iframe (false) GAIA sign in. -class HidDetectionTest : public OobeBaseTest, - public testing::WithParamInterface<bool> { +class HidDetectionTest : public OobeBaseTest { public: typedef device::InputServiceLinux::InputDeviceInfo InputDeviceInfo; HidDetectionTest() : weak_ptr_factory_(this) { - set_use_webview(GetParam()); InputServiceProxy::SetThreadIdForTesting(content::BrowserThread::UI); HidDetectionTest::InitInputService(); } @@ -116,17 +112,13 @@ class HidDetectionSkipTest : public HidDetectionTest { } }; -IN_PROC_BROWSER_TEST_P(HidDetectionTest, NoDevicesConnected) { +IN_PROC_BROWSER_TEST_F(HidDetectionTest, NoDevicesConnected) { OobeScreenWaiter(OobeDisplay::SCREEN_OOBE_HID_DETECTION).Wait(); } -IN_PROC_BROWSER_TEST_P(HidDetectionSkipTest, BothDevicesPreConnected) { +IN_PROC_BROWSER_TEST_F(HidDetectionSkipTest, BothDevicesPreConnected) { OobeScreenWaiter(OobeDisplay::SCREEN_OOBE_NETWORK).Wait(); -} -INSTANTIATE_TEST_CASE_P(HidDetectionSuite, HidDetectionTest, testing::Bool()); -INSTANTIATE_TEST_CASE_P(HidDetectionSkipSuite, - HidDetectionSkipTest, - testing::Bool()); +} } // namespace chromeos |