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

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

Issue 303683005: Add failure case for manifest file testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 RunNaClIntegrationTest(FILE_PATH_LITERAL( 129 RunNaClIntegrationTest(FILE_PATH_LITERAL(
130 "pm_pre_init_manifest_file_test.html")); 130 "pm_pre_init_manifest_file_test.html"));
131 } 131 }
132 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtManifestFile) { 132 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtManifestFile) {
133 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_test.html")); 133 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_test.html"));
134 } 134 }
135 IN_PROC_BROWSER_TEST_F(NaClBrowserTestPnaclNonSfi, 135 IN_PROC_BROWSER_TEST_F(NaClBrowserTestPnaclNonSfi,
136 MAYBE_PNACL_NONSFI(IrtManifestFile)) { 136 MAYBE_PNACL_NONSFI(IrtManifestFile)) {
137 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_test.html")); 137 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_test.html"));
138 } 138 }
139 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtManifestFileFail) {
140 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_fail_test.html"));
141 }
142 IN_PROC_BROWSER_TEST_F(NaClBrowserTestPnaclNonSfi,
143 MAYBE_PNACL_NONSFI(IrtManifestFileFail)) {
144 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_manifest_file_fail_test.html"));
145 }
139 146
140 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtException) { 147 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlib, IrtException) {
141 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_exception_test.html")); 148 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_exception_test.html"));
142 } 149 }
143 IN_PROC_BROWSER_TEST_F(NaClBrowserTestPnaclNonSfi, 150 IN_PROC_BROWSER_TEST_F(NaClBrowserTestPnaclNonSfi,
144 MAYBE_PNACL_NONSFI(IrtException)) { 151 MAYBE_PNACL_NONSFI(IrtException)) {
145 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_exception_test.html")); 152 RunNaClIntegrationTest(FILE_PATH_LITERAL("irt_exception_test.html"));
146 } 153 }
147 154
148 NACL_BROWSER_TEST_F(NaClBrowserTest, Nameservice, { 155 NACL_BROWSER_TEST_F(NaClBrowserTest, Nameservice, {
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 #define MAYBE_MimeHandler DISABLED_MimeHandler 453 #define MAYBE_MimeHandler DISABLED_MimeHandler
447 #else 454 #else
448 #define MAYBE_MimeHandler MimeHandler 455 #define MAYBE_MimeHandler MimeHandler
449 #endif 456 #endif
450 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, MAYBE_MimeHandler) { 457 IN_PROC_BROWSER_TEST_F(NaClBrowserTestNewlibExtension, MAYBE_MimeHandler) {
451 RunNaClIntegrationTest(FILE_PATH_LITERAL( 458 RunNaClIntegrationTest(FILE_PATH_LITERAL(
452 "ppapi_extension_mime_handler.html")); 459 "ppapi_extension_mime_handler.html"));
453 } 460 }
454 461
455 } // namespace 462 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698