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

Unified Diff: fpdfsdk/src/fpdfview_embeddertest.cpp

Issue 864953004: XFA: make FPDFViewEmbeddertest.Crashers test run successfully. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/fpdfview_embeddertest.cpp
diff --git a/fpdfsdk/src/fpdfview_embeddertest.cpp b/fpdfsdk/src/fpdfview_embeddertest.cpp
index 14a6532a5894c4e95de6c2c58af89464467a81ac..76dd9a57984a6ed07adb3dc54072a5f5e19b9ded 100644
--- a/fpdfsdk/src/fpdfview_embeddertest.cpp
+++ b/fpdfsdk/src/fpdfview_embeddertest.cpp
@@ -180,5 +180,6 @@ TEST_F(FPDFViewEmbeddertest, NamedDestsByName) {
// The following tests pass if the document opens without crashing.
TEST_F(FPDFViewEmbeddertest, Crashers) {
- EXPECT_TRUE(OpenDocument("testing/resources/bug_451830.pdf"));
+ // XFA branch detects this document as bad.
+ EXPECT_FALSE(OpenDocument("testing/resources/bug_451830.pdf"));
}
« 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