From bcd3e538f170a5ab2c3295f1a3b0062781d384a5 Mon Sep 17 00:00:00 2001 From: thestig Date: Mon, 21 Nov 2016 13:37:28 -0800 Subject: Check dimensions and content of bitmaps in EmbedderTests. Review-Url: https://codereview.chromium.org/2514173002 --- core/fxcodec/codec/fx_codec_embeddertest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core/fxcodec') diff --git a/core/fxcodec/codec/fx_codec_embeddertest.cpp b/core/fxcodec/codec/fx_codec_embeddertest.cpp index 441494c0e6..fd02f973a1 100644 --- a/core/fxcodec/codec/fx_codec_embeddertest.cpp +++ b/core/fxcodec/codec/fx_codec_embeddertest.cpp @@ -14,6 +14,7 @@ TEST_F(FXCodecEmbeddertest, Bug_631912) { FPDF_PAGE page = LoadPage(0); EXPECT_NE(nullptr, page); FPDF_BITMAP bitmap = RenderPage(page); + CompareBitmap(bitmap, 691, 432, "24d75af646f8772c5ee7ced260452ae4"); FPDFBitmap_Destroy(bitmap); UnloadPage(page); } -- cgit v1.2.3