From 0078f44142c6cce4c2fccbe5c8e7b877a7315c3d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 4 Feb 2016 16:49:28 -0800 Subject: Fix tests under no_v8 build option TBR=thestig@chromium.org TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1666393003 . --- fpdfsdk/src/fpdfformfill_embeddertest.cpp | 2 ++ testing/SUPPRESSIONS | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/fpdfsdk/src/fpdfformfill_embeddertest.cpp b/fpdfsdk/src/fpdfformfill_embeddertest.cpp index aae6ea7f77..c73dc008f7 100644 --- a/fpdfsdk/src/fpdfformfill_embeddertest.cpp +++ b/fpdfsdk/src/fpdfformfill_embeddertest.cpp @@ -64,6 +64,7 @@ TEST_F(FPDFFormFillEmbeddertest, BUG_514690) { UnloadPage(page); } +#ifdef PDF_ENABLE_V8 TEST_F(FPDFFormFillEmbeddertest, BUG_551248) { EmbedderTestTimerHandlingDelegate delegate; SetDelegate(&delegate); @@ -83,3 +84,4 @@ TEST_F(FPDFFormFillEmbeddertest, BUG_551248) { EXPECT_EQ(0, alerts[0].type); EXPECT_EQ(0, alerts[0].icon); } +#endif // PDF_ENABLE_V8 diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS index ca11bb8e93..872fba352c 100644 --- a/testing/SUPPRESSIONS +++ b/testing/SUPPRESSIONS @@ -253,6 +253,7 @@ FRC_8.5_WP.pdf mac * * FRC_8.5_WS.pdf mac * * FRC_8.5_Widget_C.pdf mac * * FRC_8.5_Widget_F.pdf mac * * +FRC_8.5_Widget_F.pdf * nov8 * FRC_8.5_Widget_K.pdf mac * * FRC_8.5_Widget_V.pdf mac * * FRC_8.5_X_GoToR_D.pdf mac * * @@ -292,6 +293,7 @@ calculate_average.pdf mac * * calculate_order.pdf * * * calculate_sum_a_b_c.pdf mac * * calculate_validate.pdf mac * * +calculate_validate.pdf * nov8 * ch_1.pdf * * * check_box.pdf * * * color.pdf mac * * @@ -388,24 +390,35 @@ form_combo_sign_url.pdf * * * form_combobox0.pdf * * * form_combobox_actioin_goto.pdf * * * form_combobox_date.pdf mac * * +form_combobox_date.pdf * nov8 * form_combobox_date1.pdf * * * form_combobox_date2.pdf mac * * +form_combobox_date2.pdf * nov8 * form_combobox_importform.pdf * * * form_combobox_num.pdf mac * * +form_combobox_num.pdf * nov8 * form_combobox_per.pdf mac * * +form_combobox_per.pdf * nov8 * form_combobox_plus.pdf mac * * +form_combobox_plus.pdf * nov8 * form_combobox_product.pdf mac * * +form_combobox_product.pdf * nov8 * form_combobox_resetform.pdf * * * form_combobox_time.pdf mac * * +form_combobox_time.pdf * nov8 * form_list.pdf * * * form_list1.pdf * * * form_same.pdf mac * * form_text_sign_url.pdf * * * format_combo_box.pdf mac * * +format_combo_box.pdf * nov8 * format_custom_format.pdf linux,mac * * +format_custom_format.pdf * nov8 * format_custom_keystroke.pdf * * * +format_date.pdf * nov8 * format_number.pdf mac * * format_percentage.pdf mac * * +format_special.pdf * nov8 * format_text_color.pdf mac * * formfeild.pdf * * * getarray.pdf mac * * -- cgit v1.2.3