Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: content/browser/audio_browsertest.cc

Issue 11346016: Move remaining content test code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix compile Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698