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

Side by Side Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 240523002: Add test to make sure if PPB_Audio_Shared::StartThread() works. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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 "chrome/test/ppapi/ppapi_test.h" 5 #include "chrome/test/ppapi/ppapi_test.h"
6 6
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/browser/content_settings/host_content_settings_map.h" 9 #include "chrome/browser/content_settings/host_content_settings_map.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(Audio)) { 1174 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(Audio)) {
1175 RUN_AUDIO_SUBTESTS; 1175 RUN_AUDIO_SUBTESTS;
1176 } 1176 }
1177 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, Audio) { 1177 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, Audio) {
1178 RUN_AUDIO_SUBTESTS; 1178 RUN_AUDIO_SUBTESTS;
1179 } 1179 }
1180 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClNonSfiTest, MAYBE_NONSFI(Audio)) { 1180 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClNonSfiTest, MAYBE_NONSFI(Audio)) {
1181 RUN_AUDIO_SUBTESTS; 1181 RUN_AUDIO_SUBTESTS;
1182 } 1182 }
1183 1183
1184 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, AudioThreadCreator) {
1185 RunTestViaHTTP(LIST_TEST(Audio_AudioThreadCreator));
1186 }
1187 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(AudioThreadCreator)) {
1188 RunTestViaHTTP(LIST_TEST(Audio_AudioThreadCreator));
1189 }
1190 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, AudioThreadCreator) {
1191 RunTestViaHTTP(LIST_TEST(Audio_AudioThreadCreator));
1192 }
1193 // TODO(hidehiko): Enable AudioThreadCreator testing for NonSfi when
1194 // PPB_Audio_Shared::SetThreadFunctions is fixed.
1195 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClNonSfiTest, DISABLED_AudioThreadCreator) {
1196 RunTestViaHTTP(LIST_TEST(Audio_AudioThreadCreator));
1197 }
1198
1184 TEST_PPAPI_IN_PROCESS(View_CreatedVisible); 1199 TEST_PPAPI_IN_PROCESS(View_CreatedVisible);
1185 TEST_PPAPI_OUT_OF_PROCESS(View_CreatedVisible); 1200 TEST_PPAPI_OUT_OF_PROCESS(View_CreatedVisible);
1186 TEST_PPAPI_NACL(View_CreatedVisible); 1201 TEST_PPAPI_NACL(View_CreatedVisible);
1187 // This test ensures that plugins created in a background tab have their 1202 // This test ensures that plugins created in a background tab have their
1188 // initial visibility set to false. We don't bother testing in-process for this 1203 // initial visibility set to false. We don't bother testing in-process for this
1189 // custom test since the out of process code also exercises in-process. 1204 // custom test since the out of process code also exercises in-process.
1190 1205
1191 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, View_CreateInvisible) { 1206 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, View_CreateInvisible) {
1192 // Make a second tab in the foreground. 1207 // Make a second tab in the foreground.
1193 GURL url = GetTestFileUrl("View_CreatedInvisible"); 1208 GURL url = GetTestFileUrl("View_CreatedInvisible");
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 LIST_TEST(FlashDRM_GetHmonitor) 1379 LIST_TEST(FlashDRM_GetHmonitor)
1365 LIST_TEST(FlashDRM_GetVoucherFile)); 1380 LIST_TEST(FlashDRM_GetVoucherFile));
1366 } 1381 }
1367 1382
1368 TEST_PPAPI_IN_PROCESS(TalkPrivate) 1383 TEST_PPAPI_IN_PROCESS(TalkPrivate)
1369 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) 1384 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate)
1370 1385
1371 #if defined(OS_CHROMEOS) 1386 #if defined(OS_CHROMEOS)
1372 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate) 1387 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate)
1373 #endif 1388 #endif
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/src/untrusted/irt_stub/thread_creator.h » ('j') | ppapi/shared_impl/ppb_audio_shared.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698