Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Issue 2211513002: Add test for bug 620428 (setinterval cancellation) (Closed)

Created:
4 years, 4 months ago by Tom Sepez
Modified:
4 years, 4 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Add test for bug 620428 (setinterval cancellation) While we're at it, beef up existing test for non-cancellation. In turn, fix test harness to implement intervals properly. In turn, fix public documentation to be clearer about timers. Also rename a few identifiers that sounded "off". Committed: https://pdfium.googlesource.com/pdfium/+/8e12029407cf1cca95b7f79bf5e5a5fec5bea9cb

Patch Set 1 #

Patch Set 2 : Merge branch 'master' of https://pdfium.googlesource.com/pdfium into test_620428 #

Patch Set 3 : Rename a few things #

Patch Set 4 : typo #

Patch Set 5 : wordsmith #

Total comments: 4

Patch Set 6 : Run test out to T=7 to prove timer fires only once #

Patch Set 7 : single shot #

Patch Set 8 : EXPECT_TRUE is simpler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -61 lines) Patch
M fpdfsdk/fpdfformfill_embeddertest.cpp View 1 2 3 4 5 6 7 5 chunks +58 lines, -9 lines 0 comments Download
M public/fpdf_formfill.h View 1 2 3 4 3 chunks +14 lines, -15 lines 0 comments Download
M testing/embedder_test_timer_handling_delegate.h View 1 2 2 chunks +20 lines, -21 lines 0 comments Download
M testing/resources/bug_551248.in View 1 chunk +7 lines, -4 lines 0 comments Download
M testing/resources/bug_551248.pdf View 2 chunks +8 lines, -5 lines 0 comments Download
A + testing/resources/bug_620428.in View 1 chunk +8 lines, -3 lines 0 comments Download
A + testing/resources/bug_620428.pdf View 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Tom Sepez
Lei, for review.
4 years, 4 months ago (2016-08-03 20:22:51 UTC) #5
Tom Sepez
On 2016/08/03 20:22:51, Tom Sepez wrote: > Lei, for review. Srry, PS6 should be good. ...
4 years, 4 months ago (2016-08-03 20:35:47 UTC) #8
Lei Zhang
lgtm https://codereview.chromium.org/2211513002/diff/80001/fpdfsdk/fpdfformfill_embeddertest.cpp File fpdfsdk/fpdfformfill_embeddertest.cpp (right): https://codereview.chromium.org/2211513002/diff/80001/fpdfsdk/fpdfformfill_embeddertest.cpp#newcode117 fpdfsdk/fpdfformfill_embeddertest.cpp:117: EXPECT_NE(nullptr, page); Do EXPECT_TRUE() like line 75? https://codereview.chromium.org/2211513002/diff/80001/fpdfsdk/fpdfformfill_embeddertest.cpp#newcode119 ...
4 years, 4 months ago (2016-08-03 20:36:52 UTC) #9
Tom Sepez
https://codereview.chromium.org/2211513002/diff/80001/fpdfsdk/fpdfformfill_embeddertest.cpp File fpdfsdk/fpdfformfill_embeddertest.cpp (right): https://codereview.chromium.org/2211513002/diff/80001/fpdfsdk/fpdfformfill_embeddertest.cpp#newcode117 fpdfsdk/fpdfformfill_embeddertest.cpp:117: EXPECT_NE(nullptr, page); On 2016/08/03 20:36:52, Lei Zhang wrote: > ...
4 years, 4 months ago (2016-08-03 20:43:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2211513002/140001
4 years, 4 months ago (2016-08-03 20:44:16 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 21:03:40 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://pdfium.googlesource.com/pdfium/+/8e12029407cf1cca95b7f79bf5e5a5fec5be...

Powered by Google App Engine
This is Rietveld 408576698