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

Issue 11956029: MockClock needs to mock the NowAsDeltaSinceUnixEpoch method. (Closed)

Created:
7 years, 11 months ago by wtc
Modified:
7 years, 11 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

MockClock needs to mock the NowAsDeltaSinceUnixEpoch method. Remove the declaration of an undefined AdvanceTime method. R=rch@chromium.org BUG=none TEST=QuicClientSessionTest.CryptoConnectSendsCorrectData does not fail with different Unix timestamps in ClientHello even when the machine is slow. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177297

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use QuicTime() to mock the Unix epoch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M net/quic/test_tools/mock_clock.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M net/quic/test_tools/mock_clock.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
wtc
QuicClientSessionTest.CryptoConnectSendsCorrectData failed once on the "Windows Tests (tsan)" bot. I found that the test is ...
7 years, 11 months ago (2013-01-16 22:36:56 UTC) #1
Ryan Hamilton
Ouch! Nice catch. Can you do something similar in the internal version too? https://codereview.chromium.org/11956029/diff/1/net/quic/test_tools/mock_clock.cc File ...
7 years, 11 months ago (2013-01-16 22:42:23 UTC) #2
wtc
Please review patch set 2. I will make the same change to the internal version. ...
7 years, 11 months ago (2013-01-16 23:00:59 UTC) #3
Ryan Hamilton
lgtm
7 years, 11 months ago (2013-01-16 23:02:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/11956029/4
7 years, 11 months ago (2013-01-16 23:05:00 UTC) #5
commit-bot: I haz the power
7 years, 11 months ago (2013-01-17 01:31:56 UTC) #6
Message was sent while issue was closed.
Change committed as 177297

Powered by Google App Engine
This is Rietveld 408576698