OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/test/layout_browsertest.h" | 5 #include "content/test/layout_browsertest.h" |
6 | 6 |
| 7 namespace content { |
| 8 |
7 class AudioLayoutTest : public InProcessBrowserLayoutTest { | 9 class AudioLayoutTest : public InProcessBrowserLayoutTest { |
8 protected: | 10 protected: |
9 AudioLayoutTest() : InProcessBrowserLayoutTest( | 11 AudioLayoutTest() : InProcessBrowserLayoutTest( |
10 FilePath(), FilePath().AppendASCII("media")) { | 12 FilePath(), FilePath().AppendASCII("media")) { |
11 } | 13 } |
12 }; | 14 }; |
13 | 15 |
14 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, AudioConstructorPreload) { | 16 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, AudioConstructorPreload) { |
15 RunLayoutTest("audio-constructor-preload.html"); | 17 RunLayoutTest("audio-constructor-preload.html"); |
16 } | 18 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 RunLayoutTest("audio-play-event.html"); | 54 RunLayoutTest("audio-play-event.html"); |
53 } | 55 } |
54 | 56 |
55 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, MediaCanPlayWavAudio) { | 57 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, MediaCanPlayWavAudio) { |
56 RunLayoutTest("media-can-play-wav-audio.html"); | 58 RunLayoutTest("media-can-play-wav-audio.html"); |
57 } | 59 } |
58 | 60 |
59 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, MediaDocumentAudioSize) { | 61 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, MediaDocumentAudioSize) { |
60 RunLayoutTest("media-document-audio-size.html"); | 62 RunLayoutTest("media-document-audio-size.html"); |
61 } | 63 } |
| 64 |
| 65 } // namespace content |
OLD | NEW |