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

Side by Side Diff: chrome/browser/pdf/pdf_extension_test.cc

Issue 1862743002: Run PDFExtensionTest.Navigator on ASAN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/files/file_enumerator.h" 10 #include "base/files/file_enumerator.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 } 326 }
327 327
328 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Viewport) { 328 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Viewport) {
329 RunTestsInFile("viewport_test.js", "test.pdf"); 329 RunTestsInFile("viewport_test.js", "test.pdf");
330 } 330 }
331 331
332 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Bookmark) { 332 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Bookmark) {
333 RunTestsInFile("bookmarks_test.js", "test-bookmarks.pdf"); 333 RunTestsInFile("bookmarks_test.js", "test-bookmarks.pdf");
334 } 334 }
335 335
336 // https://crbug.com/600445 336 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Navigator) {
337 #if defined(ADDRESS_SANITIZER)
338 #define MAYBE_Navigator DISABLED_Navigator
339 #else
340 #define MAYBE_Navigator Navigator
341 #endif
342 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, MAYBE_Navigator) {
343 RunTestsInFile("navigator_test.js", "test.pdf"); 337 RunTestsInFile("navigator_test.js", "test.pdf");
344 } 338 }
345 339
346 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, ParamsParser) { 340 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, ParamsParser) {
347 RunTestsInFile("params_parser_test.js", "test.pdf"); 341 RunTestsInFile("params_parser_test.js", "test.pdf");
348 } 342 }
349 343
350 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, ZoomManager) { 344 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, ZoomManager) {
351 RunTestsInFile("zoom_manager_test.js", "test.pdf"); 345 RunTestsInFile("zoom_manager_test.js", "test.pdf");
352 } 346 }
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 #endif 505 #endif
512 ASSERT_TRUE( 506 ASSERT_TRUE(
513 content::ExecuteScript(guest_contents, "viewer.viewport.zoomIn();")); 507 content::ExecuteScript(guest_contents, "viewer.viewport.zoomIn();"));
514 508
515 watcher.Wait(); 509 watcher.Wait();
516 #if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX) 510 #if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
517 EXPECT_EQ(nullptr, ZoomBubbleView::GetZoomBubble()); 511 EXPECT_EQ(nullptr, ZoomBubbleView::GetZoomBubble());
518 #endif 512 #endif
519 } 513 }
520 514
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698