| OLD | NEW |
| 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 "base/base_paths.h" | 5 #include "base/base_paths.h" |
| 6 #include "base/files/file_util.h" | 6 #include "base/files/file_util.h" |
| 7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
| 8 #include "chrome/browser/extensions/component_loader.h" | 8 #include "chrome/browser/extensions/component_loader.h" |
| 9 #include "chrome/browser/extensions/extension_apitest.h" | 9 #include "chrome/browser/extensions/extension_apitest.h" |
| 10 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 } | 91 } |
| 92 | 92 |
| 93 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, BasicPlugin) { | 93 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, BasicPlugin) { |
| 94 RunTestsInFile("basic_plugin_test.js", "test.pdf"); | 94 RunTestsInFile("basic_plugin_test.js", "test.pdf"); |
| 95 } | 95 } |
| 96 | 96 |
| 97 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Viewport) { | 97 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Viewport) { |
| 98 RunTestsInFile("viewport_test.js", "test.pdf"); | 98 RunTestsInFile("viewport_test.js", "test.pdf"); |
| 99 } | 99 } |
| 100 | 100 |
| 101 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Bookmark) { | 101 // Test fails under MSan, http://crbug.com/449995 |
| 102 #if defined(MEMORY_SANITIZER) |
| 103 #define MAYBE_Bookmark DISABLED_Bookmark |
| 104 #else |
| 105 #define MAYBE_Bookmark Bookmark |
| 106 #endif |
| 107 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, MAYBE_Bookmark) { |
| 102 RunTestsInFile("bookmarks_test.js", "test-bookmarks.pdf"); | 108 RunTestsInFile("bookmarks_test.js", "test-bookmarks.pdf"); |
| 103 } | 109 } |
| OLD | NEW |