OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/macros.h" | 5 #include "base/macros.h" |
6 #include "base/strings/string_split.h" | 6 #include "base/strings/string_split.h" |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chromecast/browser/test/chromecast_browser_test.h" | 8 #include "chromecast/browser/test/chromecast_browser_test.h" |
9 #include "chromecast/browser/test/chromecast_browser_test_helper.h" | 9 #include "chromecast/browser/test/chromecast_browser_test_helper.h" |
10 #include "chromecast/chromecast_features.h" | 10 #include "chromecast/chromecast_features.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 IN_PROC_BROWSER_TEST_F(ChromecastShellBrowserTest, EmptyTest) { | 78 IN_PROC_BROWSER_TEST_F(ChromecastShellBrowserTest, EmptyTest) { |
79 // Run an entire browser lifecycle to ensure nothing breaks. | 79 // Run an entire browser lifecycle to ensure nothing breaks. |
80 LoadAboutBlank(); | 80 LoadAboutBlank(); |
81 } | 81 } |
82 | 82 |
83 IN_PROC_BROWSER_TEST_F(ChromecastShellBrowserTest, AudioPlaybackWavPcm) { | 83 IN_PROC_BROWSER_TEST_F(ChromecastShellBrowserTest, AudioPlaybackWavPcm) { |
84 PlayAudio("bear_pcm.wav"); | 84 PlayAudio("bear_pcm.wav"); |
85 } | 85 } |
86 | 86 |
87 #if !BUILDFLAG(DISABLE_DISPLAY) | 87 #if !BUILDFLAG(IS_CAST_AUDIO_ONLY) |
88 IN_PROC_BROWSER_TEST_F(ChromecastShellBrowserTest, VideoPlaybackMp4) { | 88 IN_PROC_BROWSER_TEST_F(ChromecastShellBrowserTest, VideoPlaybackMp4) { |
89 PlayVideo("bear.mp4"); | 89 PlayVideo("bear.mp4"); |
90 } | 90 } |
91 #endif | 91 #endif |
92 | 92 |
93 } // namespace shell | 93 } // namespace shell |
94 } // namespace chromecast | 94 } // namespace chromecast |
OLD | NEW |