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

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

Issue 351773005: Don't use a version script when linking libpdf.so (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | pdf/BUILD.gn » ('j') | 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 "base/base_paths.h" 5 #include "base/base_paths.h"
6 #include "base/file_util.h" 6 #include "base/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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 if (!catcher.GetNextResult()) 79 if (!catcher.GetNextResult())
80 FAIL() << catcher.message(); 80 FAIL() << catcher.message();
81 } 81 }
82 }; 82 };
83 83
84 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Basic) { 84 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Basic) {
85 RunTestsInFile("basic_test.js", false); 85 RunTestsInFile("basic_test.js", false);
86 } 86 }
87 87
88 // TODO(raymes): This fails with component builds on linux because the plugin 88 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, BasicPlugin) {
89 // plugin crashes due to something related to how the plugin DLL is
90 // compiled/linked. crbug.com/386436.
91 #if defined(LINUX) && defined(COMPONENT_BUILD)
92 #define MAYBE_BasicPlugin DISABLED_BasicPlugin
93 #else
94 #define MAYBE_BasicPlugin BasicPlugin
95 #endif
96
97 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, MAYBE_BasicPlugin) {
98 RunTestsInFile("basic_plugin_test.js", true); 89 RunTestsInFile("basic_plugin_test.js", true);
99 } 90 }
100 91
101 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Viewport) { 92 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Viewport) {
102 RunTestsInFile("viewport_test.js", false); 93 RunTestsInFile("viewport_test.js", false);
103 } 94 }
OLDNEW
« no previous file with comments | « no previous file | pdf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698