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

Issue 1616743006: move constant tests to constant_test.dart (Closed)

Created:
4 years, 11 months ago by skybrian
Modified:
4 years, 11 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: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+2200 lines, -2166 lines) Patch
M pkg/analyzer/test/generated/all_the_rest_test.dart View 3 chunks +0 lines, -2166 lines 0 comments Download
A pkg/analyzer/test/generated/constant_test.dart View 1 chunk +2198 lines, -0 lines 7 comments Download
M pkg/analyzer/test/generated/test_all.dart View 2 chunks +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 7 (2 generated)
skybrian
4 years, 11 months ago (2016-01-22 02:51:42 UTC) #2
Paul Berry
lgtm
4 years, 11 months ago (2016-01-22 14:52:17 UTC) #3
Brian Wilkerson
LGTM https://codereview.chromium.org/1616743006/diff/1/pkg/analyzer/test/generated/constant_test.dart File pkg/analyzer/test/generated/constant_test.dart (right): https://codereview.chromium.org/1616743006/diff/1/pkg/analyzer/test/generated/constant_test.dart#newcode1 pkg/analyzer/test/generated/constant_test.dart:1: // Copyright (c) 2016, the Dart project authors. ...
4 years, 11 months ago (2016-01-22 15:17:01 UTC) #4
skybrian
Committed patchset #1 (id:1) manually as 771fea450212024d60e1498427601fca3b712199 (presubmit successful).
4 years, 11 months ago (2016-01-22 20:44:19 UTC) #6
skybrian
4 years, 11 months ago (2016-01-22 20:46:32 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/1616743006/diff/1/pkg/analyzer/test/generated...
File pkg/analyzer/test/generated/constant_test.dart (right):

https://codereview.chromium.org/1616743006/diff/1/pkg/analyzer/test/generated...
pkg/analyzer/test/generated/constant_test.dart:5: library
analyzer.test.generated.all_the_rest_test;
On 2016/01/22 15:17:01, Brian Wilkerson wrote:
> "all_the_rest_test" --> "constant_test" (I'm surprised there wasn't an error
in
> test_all about importing two libraries with the same name.)

Fixed.

https://codereview.chromium.org/1616743006/diff/1/pkg/analyzer/test/generated...
pkg/analyzer/test/generated/constant_test.dart:2190: class
TestAnalysisContext_ConstantFinderTest extends TestAnalysisContext {
On 2016/01/22 15:17:01, Brian Wilkerson wrote:
> Perhaps rename to something like ConstantFinderTestContext?

Went with _TestAnalysisContext.

https://codereview.chromium.org/1616743006/diff/1/pkg/analyzer/test/generated...
pkg/analyzer/test/generated/constant_test.dart:2191: bool invoked = false;
On 2016/01/22 15:17:01, Brian Wilkerson wrote:
> Looks like dead code.

Removed.

Powered by Google App Engine
This is Rietveld 408576698