Commit 7a99b323 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

removes unnecessary creation of DeviceDataManagerTestAPI

AFAICT these aren't necessary.

BUG=none
TEST=none

Change-Id: Iacda5ff8e2fceebf921ad26d5f074fedb58cd607
Reviewed-on: https://chromium-review.googlesource.com/827538Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524320}
parent 796725c8
......@@ -778,8 +778,6 @@ TEST_F(LockScreenAppStateKioskUserTest, SetPrimaryProfile) {
TEST_F(LockScreenAppStateNoStylusInputTest,
StylusDetectedAfterInitializationAndScreenLock) {
ui::test::DeviceDataManagerTestAPI devices_test_api;
ASSERT_TRUE(InitializeNoteTakingApp(TrayActionState::kNotAvailable, true));
EXPECT_EQ(TestAppManager::State::kStopped, app_manager()->state());
EXPECT_TRUE(LockScreenItemStorage::GetIfAllowed(profile()));
......@@ -804,8 +802,6 @@ TEST_F(LockScreenAppStateNoStylusInputTest,
}
TEST_F(LockScreenAppStateNoStylusInputTest, StylusDetectedAfterInitialization) {
ui::test::DeviceDataManagerTestAPI devices_test_api;
ASSERT_TRUE(InitializeNoteTakingApp(TrayActionState::kNotAvailable, true));
EXPECT_EQ(TestAppManager::State::kStopped, app_manager()->state());
......@@ -1203,7 +1199,6 @@ TEST_F(LockScreenAppStateTest, HandleActionWithLaunchFailure) {
TEST_F(LockScreenAppStateWebUiLockTest,
LaunchActionWhenStylusRemoved_ActionClosedBeforeAnimationDone) {
ui::test::DeviceDataManagerTestAPI devices_test_api;
ASSERT_TRUE(InitializeNoteTakingApp(TrayActionState::kAvailable,
true /* enable_app_launch */));
tray_action()->SendNewNoteRequest(LockScreenNoteOrigin::kStylusEject);
......
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