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

Issue 24276010: Change package scheduled_test to throw TestFailures rather than strings. (Closed)

Created:
7 years, 3 months ago by Bill Hesse
Modified:
7 years, 3 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Change package scheduled_test to throw TestFailures rather than strings. BUG= R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=27787

Patch Set 1 #

Total comments: 6

Patch Set 2 : Remove checks and comments on type of exception thrown. #

Total comments: 2

Patch Set 3 : Use .single on singleton collections #

Patch Set 4 : Also in async_test.dart #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -107 lines) Patch
M pkg/scheduled_test/lib/scheduled_process.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart View 2 chunks +5 lines, -5 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/nothing_descriptor.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart View 3 chunks +7 lines, -7 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/async_test.dart View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/directory_test.dart View 1 2 8 chunks +22 lines, -26 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/file_test.dart View 1 2 5 chunks +19 lines, -24 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/nothing_test.dart View 1 2 2 chunks +6 lines, -8 lines 0 comments Download
M pkg/scheduled_test/test/descriptor/pattern_test.dart View 1 2 4 chunks +13 lines, -17 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_process_test.dart View 1 4 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Bill Hesse
It seems a little weird to have a package that throws an internal exception class, ...
7 years, 3 months ago (2013-09-20 21:23:08 UTC) #1
nweiz
_DirectoryValidationError exists to keep some metadata around internally so that the library can properly format ...
7 years, 3 months ago (2013-09-20 21:45:40 UTC) #2
Bill Hesse
https://codereview.chromium.org/24276010/diff/1/pkg/scheduled_test/test/descriptor/async_test.dart File pkg/scheduled_test/test/descriptor/async_test.dart (right): https://codereview.chromium.org/24276010/diff/1/pkg/scheduled_test/test/descriptor/async_test.dart#newcode75 pkg/scheduled_test/test/descriptor/async_test.dart:75: expect(errors.first.error, new isInstanceOf<TestFailure>()); On 2013/09/20 21:45:41, nweiz wrote: > ...
7 years, 3 months ago (2013-09-23 17:15:25 UTC) #3
nweiz
lgtm https://codereview.chromium.org/24276010/diff/7001/pkg/scheduled_test/test/descriptor/async_test.dart File pkg/scheduled_test/test/descriptor/async_test.dart (right): https://codereview.chromium.org/24276010/diff/7001/pkg/scheduled_test/test/descriptor/async_test.dart#newcode77 pkg/scheduled_test/test/descriptor/async_test.dart:77: }); On 2013/09/23 17:15:25, Bill Hesse wrote: > ...
7 years, 3 months ago (2013-09-23 22:14:34 UTC) #4
Bill Hesse
Committed patchset #4 manually as r27787 (presubmit successful).
7 years, 3 months ago (2013-09-23 23:31:31 UTC) #5
nweiz
lgtm
7 years, 3 months ago (2013-09-24 01:47:16 UTC) #6
nweiz
7 years, 3 months ago (2013-09-24 01:47:30 UTC) #7
Message was sent while issue was closed.
On 2013/09/24 01:47:16, nweiz wrote:
> lgtm

Whoops, that was supposed to be on https://codereview.chromium.org/23447054/.

Powered by Google App Engine
This is Rietveld 408576698