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

Issue 19231002: Port dart:io Path tests to package:path. (Closed)

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

Description

Port dart:io Path tests to package:path. BUG= R=nweiz@google.com, rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=25403

Patch Set 1 #

Patch Set 2 : #

Total comments: 15

Patch Set 3 : Move tests to pkg/path/test directory. #

Patch Set 4 : Merge with existing tests, remove redundant tests. #

Patch Set 5 : Remove "import dart:io" from relative_test.dart #

Patch Set 6 : Fix Windows failures #

Total comments: 33

Patch Set 7 : address comments #

Total comments: 8

Patch Set 8 : Address more comments. #

Patch Set 9 : Add comment to relative(path, from: from) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -353 lines) Patch
M pkg/path/README.md View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -0 lines 0 comments Download
M pkg/path/lib/path.dart View 1 2 3 4 5 6 7 8 8 chunks +32 lines, -7 lines 0 comments Download
M pkg/path/test/posix_test.dart View 1 2 3 4 5 6 7 11 chunks +46 lines, -1 line 0 comments Download
A pkg/path/test/relative_test.dart View 1 2 3 4 5 6 7 1 chunk +86 lines, -0 lines 0 comments Download
M pkg/path/test/url_test.dart View 1 2 3 4 5 6 8 chunks +32 lines, -1 line 0 comments Download
M pkg/path/test/windows_test.dart View 1 2 3 4 5 6 7 8 chunks +38 lines, -1 line 0 comments Download
M tests/standalone/io/path_test.dart View 1 2 1 chunk +0 lines, -343 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Bill Hesse
This is not ready for LGTM - the test is not tested on Windows yet. ...
7 years, 5 months ago (2013-07-15 16:58:48 UTC) #1
Bob Nystrom
Is your plan to convert the dart:io test to use pkg/path to catch regressions? Once ...
7 years, 5 months ago (2013-07-15 17:49:29 UTC) #2
Bill Hesse
OK, all merged with the existing tests in pkg/path/test. Mainly new corner case tests have ...
7 years, 5 months ago (2013-07-16 12:42:25 UTC) #3
Bill Hesse
OK, tested on Linux, Mac, and Windows, with runtimes dart and dartium (content_shell) and d8, ...
7 years, 5 months ago (2013-07-16 14:37:57 UTC) #4
Bill Hesse
On 2013/07/16 14:37:57, Bill Hesse wrote: > OK, tested on Linux, Mac, and Windows, with ...
7 years, 5 months ago (2013-07-16 14:38:30 UTC) #5
Bob Nystrom
Some comments, but I'm really excited about this change. There's no rush though, so we ...
7 years, 5 months ago (2013-07-18 20:45:08 UTC) #6
Bill Hesse
https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/posix_test.dart File pkg/path/test/posix_test.dart (right): https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/posix_test.dart#newcode170 pkg/path/test/posix_test.dart:170: expect(builder.join('a/', 'b/c/'), 'a/b/c/'); On 2013/07/18 20:45:08, Bob Nystrom wrote: ...
7 years, 5 months ago (2013-07-22 11:35:22 UTC) #7
Bob Nystrom
https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/posix_test.dart File pkg/path/test/posix_test.dart (right): https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/posix_test.dart#newcode176 pkg/path/test/posix_test.dart:176: expect(builder.join('a', 'b${builder.separator}'), 'a/b/'); On 2013/07/22 11:35:22, Bill Hesse wrote: ...
7 years, 5 months ago (2013-07-22 20:53:10 UTC) #8
Bob Nystrom
https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/posix_test.dart File pkg/path/test/posix_test.dart (right): https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/posix_test.dart#newcode176 pkg/path/test/posix_test.dart:176: expect(builder.join('a', 'b${builder.separator}'), 'a/b/'); On 2013/07/22 11:35:22, Bill Hesse wrote: ...
7 years, 5 months ago (2013-07-22 20:53:10 UTC) #9
nweiz
https://codereview.chromium.org/19231002/diff/25001/pkg/path/lib/path.dart File pkg/path/lib/path.dart (right): https://codereview.chromium.org/19231002/diff/25001/pkg/path/lib/path.dart#newcode689 pkg/path/lib/path.dart:689: // out of them. If a directory left in ...
7 years, 5 months ago (2013-07-22 21:00:33 UTC) #10
Bill Hesse
https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/posix_test.dart File pkg/path/test/posix_test.dart (right): https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/posix_test.dart#newcode176 pkg/path/test/posix_test.dart:176: expect(builder.join('a', 'b${builder.separator}'), 'a/b/'); On 2013/07/22 20:53:11, Bob Nystrom wrote: ...
7 years, 5 months ago (2013-07-23 16:06:59 UTC) #11
nweiz
lgtm https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/relative_test.dart File pkg/path/test/relative_test.dart (right): https://codereview.chromium.org/19231002/diff/17001/pkg/path/test/relative_test.dart#newcode83 pkg/path/test/relative_test.dart:83: expect(() => builder.relative('a/b', from: '$m/a/b'), throws); On 2013/07/23 ...
7 years, 5 months ago (2013-07-23 19:31:06 UTC) #12
Bob Nystrom
LGTM and +1 to Nathan's comments. Thanks for this!
7 years, 5 months ago (2013-07-23 20:29:23 UTC) #13
Bill Hesse
7 years, 5 months ago (2013-07-24 08:45:27 UTC) #14
Message was sent while issue was closed.
Committed patchset #9 manually as r25403 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698