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 // http://crbug.com/508949
33 #if defined(MEMORY_SANITIZER)
34 #define MAYBE_OpenAudioOnDownloads DISABLED_OpenAudioOnDownloads
36 #define MAYBE_OpenAudioOnDownloads OpenAudioOnDownloads
38 IN_PROC_BROWSER_TEST_F(AudioPlayerBrowserTest
, MAYBE_OpenAudioOnDownloads
) {
39 set_test_case_name("openAudioOnDownloads");
43 IN_PROC_BROWSER_TEST_F(AudioPlayerBrowserTestInGuestMode
,
44 OpenAudioOnDownloads
) {
45 set_test_case_name("openAudioOnDownloads");
49 // http://crbug.com/508949
50 #if defined(MEMORY_SANITIZER)
51 #define MAYBE_OpenAudioOnDrive DISABLED_OpenAudioOnDrive
53 #define MAYBE_OpenAudioOnDrive OpenAudioOnDrive
55 IN_PROC_BROWSER_TEST_F(AudioPlayerBrowserTest
, MAYBE_OpenAudioOnDrive
) {
56 set_test_case_name("openAudioOnDrive");
60 } // namespace file_manager