| Index: fpdfsdk/src/fpdf_dataavail_embeddertest.cpp
|
| diff --git a/fpdfsdk/src/fpdf_dataavail_embeddertest.cpp b/fpdfsdk/src/fpdf_dataavail_embeddertest.cpp
|
| index 65e9348f55655e7f7631e99155dbe147e91f531b..5a6205f24056504d2428c6e545c1fc68c4f6e4e6 100644
|
| --- a/fpdfsdk/src/fpdf_dataavail_embeddertest.cpp
|
| +++ b/fpdfsdk/src/fpdf_dataavail_embeddertest.cpp
|
| @@ -11,12 +11,14 @@ class FPDFDataAvailEmbeddertest : public EmbedderTest {};
|
|
|
| TEST_F(FPDFDataAvailEmbeddertest, TrailerUnterminated) {
|
| // Document must open without crashing but is too malformed to be available.
|
| - EXPECT_TRUE(OpenDocument("testing/resources/trailer_unterminated.pdf"));
|
| + EXPECT_FALSE(
|
| + OpenDocument("testing/resources/trailer_unterminated.pdf", false));
|
| EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints_));
|
| }
|
|
|
| TEST_F(FPDFDataAvailEmbeddertest, TrailerAsHexstring) {
|
| // Document must open without crashing but is too malformed to be available.
|
| - EXPECT_TRUE(OpenDocument("testing/resources/trailer_as_hexstring.pdf"));
|
| + EXPECT_FALSE(
|
| + OpenDocument("testing/resources/trailer_as_hexstring.pdf", false));
|
| EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints_));
|
| }
|
|
|