1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/file_manager/file_manager_browsertest_base.h"
7 namespace file_manager
{
10 class AudioPlayerBrowserTestBase
: public FileManagerBrowserTestBase
{
12 GuestMode
GetGuestModeParam() const override
{ return M
; }
13 const char* GetTestCaseNameParam() const override
{
14 return test_case_name_
.c_str();
18 const char* GetTestManifestName() const override
{
19 return "audio_player_test_manifest.json";
22 void set_test_case_name(const std::string
& name
) { test_case_name_
= name
; }
25 std::string test_case_name_
;
28 typedef AudioPlayerBrowserTestBase
<NOT_IN_GUEST_MODE
> AudioPlayerBrowserTest
;
29 typedef AudioPlayerBrowserTestBase
<IN_GUEST_MODE
>
30 AudioPlayerBrowserTestInGuestMode
;
32 IN_PROC_BROWSER_TEST_F(AudioPlayerBrowserTest
, OpenAudioOnDownloads
) {
33 set_test_case_name("openAudioOnDownloads");
37 IN_PROC_BROWSER_TEST_F(AudioPlayerBrowserTestInGuestMode
,
38 OpenAudioOnDownloads
) {
39 set_test_case_name("openAudioOnDownloads");
43 IN_PROC_BROWSER_TEST_F(AudioPlayerBrowserTest
, OpenAudioOnDrive
) {
44 set_test_case_name("openAudioOnDrive");
48 } // namespace file_manager