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

Issue 1362033002: Plugin config format validation (and tests). (Closed)

Created:
5 years, 3 months ago by pquitslund
Modified:
5 years, 3 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -7 lines) Patch
M pkg/analyzer/lib/src/plugin/plugin_configuration.dart View 3 chunks +15 lines, -6 lines 0 comments Download
M pkg/analyzer/test/src/plugin/plugin_config_test.dart View 2 chunks +32 lines, -1 line 1 comment Download
M pkg/analyzer/test/src/test_all.dart View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
pquitslund
5 years, 3 months ago (2015-09-23 16:44:53 UTC) #2
Brian Wilkerson
LGTM
5 years, 3 months ago (2015-09-23 16:48:54 UTC) #3
pquitslund
Committed patchset #1 (id:1) manually as e2ec1185544b547b7af6f48c43fc4375f03073d8 (presubmit successful).
5 years, 3 months ago (2015-09-23 16:51:35 UTC) #4
scheglov
LGTM https://chromiumcodereview.appspot.com/1362033002/diff/1/pkg/analyzer/test/src/plugin/plugin_config_test.dart File pkg/analyzer/test/src/plugin/plugin_config_test.dart (right): https://chromiumcodereview.appspot.com/1362033002/diff/1/pkg/analyzer/test/src/plugin/plugin_config_test.dart#newcode48 pkg/analyzer/test/src/plugin/plugin_config_test.dart:48: expect(config.plugins.toList(), hasLength(0)); Do you need this toList() invocation? ...
5 years, 3 months ago (2015-09-23 17:10:49 UTC) #5
pquitslund
5 years, 3 months ago (2015-09-23 17:47:57 UTC) #6
Message was sent while issue was closed.
On 2015/09/23 17:10:49, scheglov wrote:
> LGTM
> 
>
https://chromiumcodereview.appspot.com/1362033002/diff/1/pkg/analyzer/test/sr...
> File pkg/analyzer/test/src/plugin/plugin_config_test.dart (right):
> 
>
https://chromiumcodereview.appspot.com/1362033002/diff/1/pkg/analyzer/test/sr...
> pkg/analyzer/test/src/plugin/plugin_config_test.dart:48:
> expect(config.plugins.toList(), hasLength(0));
> Do you need this toList() invocation?
> AFAIK hasLength() works with any object that has "length" getter.

Right!  Fixed in
https://github.com/dart-lang/sdk/commit/7ff04709e71398e1f6f736e9fbe7e4873a172677

Powered by Google App Engine
This is Rietveld 408576698