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

Side by Side Diff: chrome/test/nacl/nacl_browsertest.cc

Issue 418423002: Pepper: Stop using SRPC for irt_open_resource(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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 <stdio.h> 5 #include <stdio.h>
6 #if defined(OS_POSIX) 6 #if defined(OS_POSIX)
7 #include <unistd.h> 7 #include <unistd.h>
8 #elif defined(OS_WIN) 8 #elif defined(OS_WIN)
9 #include <windows.h> 9 #include <windows.h>
10 #endif 10 #endif
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // crbug.com/366334 111 // crbug.com/366334
112 # define MAYBE_Crash DISABLED_Crash 112 # define MAYBE_Crash DISABLED_Crash
113 #else 113 #else
114 # define MAYBE_Crash Crash 114 # define MAYBE_Crash Crash
115 #endif 115 #endif
116 NACL_BROWSER_TEST_F(NaClBrowserTest, MAYBE_Crash, { 116 NACL_BROWSER_TEST_F(NaClBrowserTest, MAYBE_Crash, {
117 RunNaClIntegrationTest(FILE_PATH_LITERAL("ppapi_crash.html")); 117 RunNaClIntegrationTest(FILE_PATH_LITERAL("ppapi_crash.html"));
118 }) 118 })
119 119
120 // PNaCl version does not work. 120 // PNaCl version does not work.
121 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, ManifestFile) {
122 RunNaClIntegrationTest(FILE_PATH_LITERAL("pm_manifest_file_test.html"));
123 }
124 IN_PROC_BROWSER_TEST_F(NaClBrowserTestGLibc, MAYBE_GLIBC(ManifestFile)) {
125 RunNaClIntegrationTest(FILE_PATH_LITERAL("pm_manifest_file_test.html"));
126 }
127 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, PreInitManifestFile) {
128 RunNaClIntegrationTest(FILE_PATH_LITERAL(
129 "pm_pre_init_manifest_file_test.html"));
130 }
131 IN_PROC_BROWSER_TEST_F(NaClBrowserTestGLibc,
132 MAYBE_GLIBC(PreInitManifestFile)) {
133 RunNaClIntegrationTest(FILE_PATH_LITERAL(
134 "pm_pre_init_manifest_file_test.html"));
135 }
136 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtManifestFile) { 121 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtManifestFile) {
137 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_test.html")); 122 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_test.html"));
138 } 123 }
139 IN_PROC_BROWSER_TEST_F(NaClBrowserTestPnaclNonSfi, 124 IN_PROC_BROWSER_TEST_F(NaClBrowserTestPnaclNonSfi,
140 MAYBE_PNACL_NONSFI(IrtManifestFile)) { 125 MAYBE_PNACL_NONSFI(IrtManifestFile)) {
141 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_test.html")); 126 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_test.html"));
142 } 127 }
143 128
144 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtException) { 129 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtException) {
145 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_exception_test.html")); 130 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_exception_test.html"));
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 } 425 }
441 426
442 // TODO(ncbray) support glibc and PNaCl 427 // TODO(ncbray) support glibc and PNaCl
443 // flaky: crbug.com/375894 428 // flaky: crbug.com/375894
444 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, DISABLED_MimeHandler) { 429 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, DISABLED_MimeHandler) {
445 RunNaClIntegrationTest(FILE_PATH_LITERAL( 430 RunNaClIntegrationTest(FILE_PATH_LITERAL(
446 "ppapi_extension_mime_handler.html")); 431 "ppapi_extension_mime_handler.html"));
447 } 432 }
448 433
449 } // namespace 434 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698