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

Issue 2508483002: Move scanner tests into the front_end package. (Closed)

Created:
4 years, 1 month ago by Paul Berry
Modified:
4 years, 1 month ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Move scanner tests into the front_end package. This required moving the following classes into front_end as well: - CharSequenceReader - SubSequenceReader - JenkinsSmiHash A small amount of the functionality of GatheringErrorListener and AnalysisError had to be replicated, to avoid a dependency on the analyzer package. In a future CL I will either refactor this code to make it available to the rest of the front end, or, if GatheringErrorListener and AnalysisError wind up getting moved into the front end, I will un-do the replication. I also took the liberty of addition functionality to JenkinsSmiHash to make it easier to use. R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/1c2268b13e67eb8f7b9351aa4ebdec9fd62e70fa

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -1563 lines) Patch
M pkg/analyzer/lib/src/dart/scanner/reader.dart View 2 chunks +2 lines, -90 lines 0 comments Download
M pkg/analyzer/lib/src/generated/utilities_general.dart View 2 chunks +2 lines, -25 lines 0 comments Download
M pkg/analyzer/test/generated/scanner_test.dart View 6 chunks +2 lines, -1205 lines 0 comments Download
A pkg/front_end/lib/src/base/jenkins_smi_hash.dart View 1 chunk +51 lines, -0 lines 2 comments Download
M pkg/front_end/lib/src/scanner/reader.dart View 1 chunk +89 lines, -0 lines 0 comments Download
A + pkg/front_end/test/scanner_test.dart View 14 chunks +102 lines, -243 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Paul Berry
4 years, 1 month ago (2016-11-15 18:16:23 UTC) #2
Brian Wilkerson
lgtm https://codereview.chromium.org/2508483002/diff/1/pkg/front_end/lib/src/base/jenkins_smi_hash.dart File pkg/front_end/lib/src/base/jenkins_smi_hash.dart (right): https://codereview.chromium.org/2508483002/diff/1/pkg/front_end/lib/src/base/jenkins_smi_hash.dart#newcode6 pkg/front_end/lib/src/base/jenkins_smi_hash.dart:6: /// Borrowed from sdk/lib/math/jenkins_smi_hash.dart. "Borrowed from sdk/lib/math/jenkins_smi_hash.dart" --> ...
4 years, 1 month ago (2016-11-15 20:51:37 UTC) #3
Paul Berry
Committed patchset #1 (id:1) manually as 1c2268b13e67eb8f7b9351aa4ebdec9fd62e70fa (presubmit successful).
4 years, 1 month ago (2016-11-15 22:53:55 UTC) #5
Paul Berry
https://codereview.chromium.org/2508483002/diff/1/pkg/front_end/lib/src/base/jenkins_smi_hash.dart File pkg/front_end/lib/src/base/jenkins_smi_hash.dart (right): https://codereview.chromium.org/2508483002/diff/1/pkg/front_end/lib/src/base/jenkins_smi_hash.dart#newcode6 pkg/front_end/lib/src/base/jenkins_smi_hash.dart:6: /// Borrowed from sdk/lib/math/jenkins_smi_hash.dart. On 2016/11/15 20:51:37, Brian Wilkerson ...
4 years, 1 month ago (2016-11-15 22:54:23 UTC) #6
scheglov
4 years, 1 month ago (2016-11-16 02:33:54 UTC) #7
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698