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 { | 7 namespace content { |
8 | 8 |
9 class AudioLayoutTest : public InProcessBrowserLayoutTest { | 9 class AudioLayoutTest : public InProcessBrowserLayoutTest { |
10 protected: | 10 protected: |
11 AudioLayoutTest() : InProcessBrowserLayoutTest( | 11 AudioLayoutTest() : InProcessBrowserLayoutTest( |
12 FilePath(), FilePath().AppendASCII("media")) { | 12 base::FilePath(), base::FilePath().AppendASCII("media")) { |
13 } | 13 } |
14 }; | 14 }; |
15 | 15 |
16 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, AudioConstructorPreload) { | 16 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, AudioConstructorPreload) { |
17 RunLayoutTest("audio-constructor-preload.html"); | 17 RunLayoutTest("audio-constructor-preload.html"); |
18 } | 18 } |
19 | 19 |
20 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, AudioConstructor) { | 20 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, AudioConstructor) { |
21 RunLayoutTest("audio-constructor.html"); | 21 RunLayoutTest("audio-constructor.html"); |
22 } | 22 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, MediaCanPlayWavAudio) { | 58 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, MediaCanPlayWavAudio) { |
59 RunLayoutTest("media-can-play-wav-audio.html"); | 59 RunLayoutTest("media-can-play-wav-audio.html"); |
60 } | 60 } |
61 | 61 |
62 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, MediaDocumentAudioSize) { | 62 IN_PROC_BROWSER_TEST_F(AudioLayoutTest, MediaDocumentAudioSize) { |
63 RunLayoutTest("media-document-audio-size.html"); | 63 RunLayoutTest("media-document-audio-size.html"); |
64 } | 64 } |
65 | 65 |
66 } // namespace content | 66 } // namespace content |
OLD | NEW |