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

Unified Diff: pkg/analyzer/test/generated/test_support.dart

Issue 322603002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/test/generated/scanner_test.dart ('k') | tests/language/language_analyzer2.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/test_support.dart
diff --git a/pkg/analyzer/test/generated/test_support.dart b/pkg/analyzer/test/generated/test_support.dart
index fe7f86badd5c305fb2557c8daf89d8544ce4bedd..382b42fd90c3694f81ed35ad839c53bea0e951a1 100644
--- a/pkg/analyzer/test/generated/test_support.dart
+++ b/pkg/analyzer/test/generated/test_support.dart
@@ -7,6 +7,7 @@
library engine.test_support;
+import 'dart:collection';
import 'package:analyzer/src/generated/java_core.dart';
import 'package:analyzer/src/generated/java_junit.dart';
import 'package:analyzer/src/generated/java_engine.dart';
@@ -453,7 +454,7 @@ class GatheringErrorListener implements AnalysisErrorListener {
/**
* A table mapping sources to the line information for the source.
*/
- Map<Source, LineInfo> _lineInfoMap = new Map<Source, LineInfo>();
+ HashMap<Source, LineInfo> _lineInfoMap = new HashMap<Source, LineInfo>();
/**
* An empty array of errors used when no errors are expected.
@@ -536,7 +537,7 @@ class GatheringErrorListener implements AnalysisErrorListener {
//
// Compute the expected number of each type of error.
//
- Map<ErrorCode, int> expectedCounts = new Map<ErrorCode, int>();
+ HashMap<ErrorCode, int> expectedCounts = new HashMap<ErrorCode, int>();
for (ErrorCode code in expectedErrorCodes) {
int count = expectedCounts[code];
if (count == null) {
@@ -549,7 +550,7 @@ class GatheringErrorListener implements AnalysisErrorListener {
//
// Compute the actual number of each type of error.
//
- Map<ErrorCode, List<AnalysisError>> errorsByCode = new Map<ErrorCode, List<AnalysisError>>();
+ HashMap<ErrorCode, List<AnalysisError>> errorsByCode = new HashMap<ErrorCode, List<AnalysisError>>();
for (AnalysisError error in _errors) {
ErrorCode code = error.errorCode;
List<AnalysisError> list = errorsByCode[code];
« no previous file with comments | « pkg/analyzer/test/generated/scanner_test.dart ('k') | tests/language/language_analyzer2.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698