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

Issue 12853005: Change the way Patterns work in scheduled_test/descriptor. (Closed)

Created:
7 years, 9 months ago by nweiz
Modified:
7 years, 9 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Change the way Patterns work in scheduled_test/descriptor. Instead of every Entry being able to have a pattern as a name, now there's a separate Pattern entry that encapsulates the logic of finding entries that match a pattern. The Pattern class also has different semantics than the old pattern names. The old semantics required only one filesystem entity with a name matching the pattern; now any number are allowed, as long as only one of them matches the Entry (that is, has the expected contents). Committed: https://code.google.com/p/dart/source/detail?r=20185

Patch Set 1 #

Total comments: 8

Patch Set 2 : Add Nothing.validateNow. #

Total comments: 28

Patch Set 3 : Code review changes. #

Patch Set 4 : Code review changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+573 lines, -877 lines) Patch
M pkg/scheduled_test/lib/descriptor.dart View 1 2 3 3 chunks +45 lines, -25 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/async.dart View 1 2 3 1 chunk +0 lines, -42 lines 0 comments Download
A pkg/scheduled_test/lib/src/descriptor/async_descriptor.dart View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A + pkg/scheduled_test/lib/src/descriptor/descriptor.dart View 1 2 3 4 chunks +9 lines, -20 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/directory.dart View 1 2 3 1 chunk +0 lines, -96 lines 0 comments Download
A + pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart View 1 2 3 3 chunks +28 lines, -26 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/entry.dart View 1 2 3 1 chunk +0 lines, -70 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/file.dart View 1 2 3 1 chunk +0 lines, -107 lines 0 comments Download
A pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart View 1 2 3 1 chunk +104 lines, -0 lines 0 comments Download
M pkg/scheduled_test/lib/src/descriptor/nothing.dart View 1 2 3 1 chunk +0 lines, -60 lines 0 comments Download
A pkg/scheduled_test/lib/src/descriptor/nothing_descriptor.dart View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
A pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart View 1 2 3 1 chunk +121 lines, -0 lines 0 comments Download
D pkg/scheduled_test/lib/src/descriptor/utils.dart View 1 chunk +0 lines, -54 lines 0 comments Download
M pkg/scheduled_test/lib/src/schedule.dart View 3 chunks +9 lines, -11 lines 0 comments Download
M pkg/scheduled_test/lib/src/utils.dart View 1 2 2 chunks +20 lines, -3 lines 0 comments Download
M pkg/scheduled_test/test/descriptor_test.dart View 1 2 3 13 chunks +147 lines, -363 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
7 years, 9 months ago (2013-03-15 20:32:43 UTC) #1
Bob Nystrom
https://codereview.chromium.org/12853005/diff/1/pkg/scheduled_test/lib/descriptor.dart File pkg/scheduled_test/lib/descriptor.dart (right): https://codereview.chromium.org/12853005/diff/1/pkg/scheduled_test/lib/descriptor.dart#newcode118 pkg/scheduled_test/lib/descriptor.dart:118: Pattern pattern(core.Pattern name, EntryCreator fn) => new Pattern(name, fn); ...
7 years, 9 months ago (2013-03-15 21:58:46 UTC) #2
nweiz
https://codereview.chromium.org/12853005/diff/1/pkg/scheduled_test/lib/descriptor.dart File pkg/scheduled_test/lib/descriptor.dart (right): https://codereview.chromium.org/12853005/diff/1/pkg/scheduled_test/lib/descriptor.dart#newcode118 pkg/scheduled_test/lib/descriptor.dart:118: Pattern pattern(core.Pattern name, EntryCreator fn) => new Pattern(name, fn); ...
7 years, 9 months ago (2013-03-15 23:17:21 UTC) #3
Bob Nystrom
LGTM with the longer __Descriptor type names. https://codereview.chromium.org/12853005/diff/3001/pkg/scheduled_test/lib/descriptor.dart File pkg/scheduled_test/lib/descriptor.dart (right): https://codereview.chromium.org/12853005/diff/3001/pkg/scheduled_test/lib/descriptor.dart#newcode118 pkg/scheduled_test/lib/descriptor.dart:118: Pattern pattern(core.Pattern ...
7 years, 9 months ago (2013-03-18 21:06:34 UTC) #4
nweiz
https://codereview.chromium.org/12853005/diff/3001/pkg/scheduled_test/lib/descriptor.dart File pkg/scheduled_test/lib/descriptor.dart (right): https://codereview.chromium.org/12853005/diff/3001/pkg/scheduled_test/lib/descriptor.dart#newcode118 pkg/scheduled_test/lib/descriptor.dart:118: Pattern pattern(core.Pattern name, EntryCreator fn) => new Pattern(name, fn); ...
7 years, 9 months ago (2013-03-18 21:41:05 UTC) #5
Bob Nystrom
https://codereview.chromium.org/12853005/diff/3001/pkg/scheduled_test/lib/descriptor.dart File pkg/scheduled_test/lib/descriptor.dart (right): https://codereview.chromium.org/12853005/diff/3001/pkg/scheduled_test/lib/descriptor.dart#newcode118 pkg/scheduled_test/lib/descriptor.dart:118: Pattern pattern(core.Pattern name, EntryCreator fn) => new Pattern(name, fn); ...
7 years, 9 months ago (2013-03-18 22:05:34 UTC) #6
nweiz
7 years, 9 months ago (2013-03-18 23:24:21 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r20185 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698