summaryrefslogtreecommitdiff
path: root/testing/embedder_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/embedder_test.h')
-rw-r--r--testing/embedder_test.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/testing/embedder_test.h b/testing/embedder_test.h
index cc0caec8f6..f341acf688 100644
--- a/testing/embedder_test.h
+++ b/testing/embedder_test.h
@@ -105,14 +105,22 @@ class EmbedderTest : public ::testing::Test,
// is prohibited after this call is made.
virtual void UnloadPage(FPDF_PAGE page);
+ protected:
+ void SetupFormFillEnvironment();
+
// 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();
+ // Check |bitmap| to make sure it has the right dimensions and content.
+ // Have two options for the expected md5 sum.
+ static void CompareBitmap2Options(FPDF_BITMAP bitmap,
+ int expected_width,
+ int expected_height,
+ const char* option1_md5sum,
+ const char* option2_md5sum);
Delegate* delegate_;
std::unique_ptr<Delegate> default_delegate_;