| Index: ash/system/audio/tray_audio_unittest.cc
|
| diff --git a/ash/system/audio/tray_audio_unittest.cc b/ash/system/audio/tray_audio_unittest.cc
|
| deleted file mode 100644
|
| index 094513c65a03a35780034255c40ab763e089d03f..0000000000000000000000000000000000000000
|
| --- a/ash/system/audio/tray_audio_unittest.cc
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "ash/system/audio/tray_audio.h"
|
| -
|
| -#include "ash/common/test/ash_test.h"
|
| -#include "ash/system/tray/system_tray.h"
|
| -
|
| -namespace ash {
|
| -
|
| -using TrayAudioTest = AshTest;
|
| -
|
| -// Tests that the volume popup view can be explicitly shown.
|
| -TEST_F(TrayAudioTest, ShowPopUpVolumeView) {
|
| - TrayAudio* tray_audio = GetPrimarySystemTray()->GetTrayAudio();
|
| - ASSERT_TRUE(tray_audio);
|
| -
|
| - // The volume popup is not visible initially.
|
| - EXPECT_FALSE(tray_audio->volume_view_for_testing());
|
| - EXPECT_FALSE(tray_audio->pop_up_volume_view_for_testing());
|
| -
|
| - // Simulate ARC asking to show the volume view.
|
| - TrayAudio::ShowPopUpVolumeView();
|
| -
|
| - // Volume view is now visible.
|
| - EXPECT_TRUE(tray_audio->volume_view_for_testing());
|
| - EXPECT_TRUE(tray_audio->pop_up_volume_view_for_testing());
|
| -}
|
| -
|
| -} // namespace ash
|
|
|