diff options
author | thestig <thestig@chromium.org> | 2016-11-21 13:37:28 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 13:37:28 -0800 |
commit | bcd3e538f170a5ab2c3295f1a3b0062781d384a5 (patch) | |
tree | 0a16f383cfd22b4b9d26c7acdb085d5b05843631 /testing/embedder_test.h | |
parent | d33c8e3145539631d03242a16c3683c3538c7557 (diff) | |
download | pdfium-bcd3e538f170a5ab2c3295f1a3b0062781d384a5.tar.xz |
Check dimensions and content of bitmaps in EmbedderTests.chromium/2927
Review-Url: https://codereview.chromium.org/2514173002
Diffstat (limited to 'testing/embedder_test.h')
-rw-r--r-- | testing/embedder_test.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/embedder_test.h b/testing/embedder_test.h index dc4ca0dc08..cc0caec8f6 100644 --- a/testing/embedder_test.h +++ b/testing/embedder_test.h @@ -105,6 +105,12 @@ class EmbedderTest : public ::testing::Test, // is prohibited after this call is made. virtual void UnloadPage(FPDF_PAGE page); + // Check |bitmap| to make sure it has the right dimensions and content. + static void CompareBitmap(FPDF_BITMAP bitmap, + int expected_width, + int expected_height, + const char* expected_md5sum); + protected: void SetupFormFillEnvironment(); |