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

Issue 1683233003: Use Stopwatch instead of DateTime to measure elapsed time in tests. (Closed)

Created:
4 years, 10 months ago by turnidge
Modified:
4 years, 10 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use Stopwatch instead of DateTime to measure elapsed time in tests. Improve timer_repeat_test.dart to not totally punt on testing the timing. BUG= R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/be3acab294efe7dd4fcf225bb172c4f6c3fd0c8a

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -22 lines) Patch
M tests/isolate/timer_isolate_test.dart View 1 1 chunk +4 lines, -6 lines 0 comments Download
M tests/lib/async/timer_repeat_test.dart View 2 chunks +15 lines, -7 lines 0 comments Download
M tests/lib/async/timer_test.dart View 3 chunks +5 lines, -5 lines 0 comments Download
M tests/standalone/io/sleep_test.dart View 1 2 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
turnidge
4 years, 10 months ago (2016-02-10 19:01:49 UTC) #2
Cutch
lgtm
4 years, 10 months ago (2016-02-10 19:08:27 UTC) #3
turnidge
4 years, 10 months ago (2016-02-10 19:21:30 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
be3acab294efe7dd4fcf225bb172c4f6c3fd0c8a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698