Chromium Code Reviews

Issue 2068363002: pkg/test: Resolve a number of analyzer warnings (Closed)

Created:
4 years, 6 months ago by kevmoo
Modified:
4 years, 5 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/test.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Resolve a number of analyzer warnings Hide strong-mode warnings in test directory Remove unused imports and fields Consolidate line splitter instances R=nweiz@google.com Committed: https://github.com/dart-lang/test/commit/98b9c745640aae0eb21200c3ca1a74dd96fd3b11

Patch Set 1 #

Total comments: 4

Patch Set 2 : fixing usage of LineSplitter #

Total comments: 4

Patch Set 3 : nits #

Total comments: 4

Patch Set 4 : more nits #

Unified diffs Side-by-side diffs Stats (+14 lines, -16 lines)
M .analysis_options View 1 chunk +2 lines, -0 lines 0 comments
M lib/src/runner/browser/content_shell.dart View 1 chunk +1 line, -1 line 0 comments
M lib/src/runner/loader.dart View 2 chunks +1 line, -5 lines 0 comments
M lib/src/util/io.dart View 2 chunks +1 line, -3 lines 0 comments
M lib/src/utils.dart View 1 chunk +6 lines, -2 lines 0 comments
M test/io.dart View 5 chunks +3 lines, -5 lines 0 comments

Messages

Total messages: 15 (2 generated)
kevmoo
4 years, 6 months ago (2016-06-15 21:04:24 UTC) #2
nweiz
I assume this is changes for 1.17? Does the code still pass 1.16 analysis? https://codereview.chromium.org/2068363002/diff/1/.analysis_options ...
4 years, 6 months ago (2016-06-20 20:51:36 UTC) #3
kevmoo
This change addresses things from 1.18-dev.1 analysis Will rerun on 1.17 analysis when I'm on ...
4 years, 6 months ago (2016-06-20 20:57:49 UTC) #4
kevmoo
On 2016/06/20 20:57:49, kevmoo wrote: > This change addresses things from 1.18-dev.1 analysis > > ...
4 years, 6 months ago (2016-06-22 18:26:48 UTC) #5
kevmoo
PTAL - changed the helper to just wrap the necessary calls to bind
4 years, 5 months ago (2016-06-23 21:37:26 UTC) #6
nweiz
https://codereview.chromium.org/2068363002/diff/20001/lib/src/utils.dart File lib/src/utils.dart (right): https://codereview.chromium.org/2068363002/diff/20001/lib/src/utils.dart#newcode32 lib/src/utils.dart:32: source.transform(UTF8.decoder).transform(const LineSplitter()); You can make this an actual StreamTransformer ...
4 years, 5 months ago (2016-06-23 21:47:37 UTC) #7
kevmoo
https://codereview.chromium.org/2068363002/diff/20001/lib/src/utils.dart File lib/src/utils.dart (right): https://codereview.chromium.org/2068363002/diff/20001/lib/src/utils.dart#newcode32 lib/src/utils.dart:32: source.transform(UTF8.decoder).transform(const LineSplitter()); On 2016/06/23 21:47:36, nweiz wrote: > You ...
4 years, 5 months ago (2016-06-23 21:57:08 UTC) #8
nweiz
https://codereview.chromium.org/2068363002/diff/20001/lib/src/utils.dart File lib/src/utils.dart (right): https://codereview.chromium.org/2068363002/diff/20001/lib/src/utils.dart#newcode32 lib/src/utils.dart:32: source.transform(UTF8.decoder).transform(const LineSplitter()); On 2016/06/23 21:57:08, kevmoo wrote: > On ...
4 years, 5 months ago (2016-06-23 22:02:57 UTC) #9
kevmoo
https://codereview.chromium.org/2068363002/diff/20001/lib/src/utils.dart File lib/src/utils.dart (right): https://codereview.chromium.org/2068363002/diff/20001/lib/src/utils.dart#newcode32 lib/src/utils.dart:32: source.transform(UTF8.decoder).transform(const LineSplitter()); On 2016/06/23 22:02:56, nweiz wrote: > On ...
4 years, 5 months ago (2016-06-23 22:12:24 UTC) #10
nweiz
Is this strong-mode clean on 1.16 and 1.17? https://codereview.chromium.org/2068363002/diff/40001/lib/src/utils.dart File lib/src/utils.dart (right): https://codereview.chromium.org/2068363002/diff/40001/lib/src/utils.dart#newcode31 lib/src/utils.dart:31: final ...
4 years, 5 months ago (2016-06-23 22:22:48 UTC) #11
kevmoo
https://codereview.chromium.org/2068363002/diff/40001/lib/src/utils.dart File lib/src/utils.dart (right): https://codereview.chromium.org/2068363002/diff/40001/lib/src/utils.dart#newcode31 lib/src/utils.dart:31: final StreamTransformer<List<int>, String> lineSplitter = new StreamTransformer( On 2016/06/23 ...
4 years, 5 months ago (2016-06-23 22:32:29 UTC) #12
nweiz
LGTM!
4 years, 5 months ago (2016-06-23 22:33:58 UTC) #13
kevmoo
4 years, 5 months ago (2016-06-23 22:35:24 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
98b9c745640aae0eb21200c3ca1a74dd96fd3b11 (presubmit successful).

Powered by Google App Engine