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

Side by Side Diff: pkg/analyzer/test/generated/engine_test.dart

Issue 1598183003: Fix the build - add the new field. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.generated.engine_test; 5 library analyzer.test.generated.engine_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
10 import 'package:analyzer/source/embedder.dart'; 10 import 'package:analyzer/source/embedder.dart';
11 import 'package:analyzer/src/context/cache.dart'; 11 import 'package:analyzer/src/context/cache.dart';
12 import 'package:analyzer/src/context/context.dart';
12 import 'package:analyzer/src/generated/ast.dart'; 13 import 'package:analyzer/src/generated/ast.dart';
13 import 'package:analyzer/src/generated/constant.dart'; 14 import 'package:analyzer/src/generated/constant.dart';
14 import 'package:analyzer/src/generated/engine.dart'; 15 import 'package:analyzer/src/generated/engine.dart';
15 import 'package:analyzer/src/generated/error.dart'; 16 import 'package:analyzer/src/generated/error.dart';
16 import 'package:analyzer/src/generated/java_core.dart'; 17 import 'package:analyzer/src/generated/java_core.dart';
17 import 'package:analyzer/src/generated/resolver.dart'; 18 import 'package:analyzer/src/generated/resolver.dart';
18 import 'package:analyzer/src/generated/source_io.dart'; 19 import 'package:analyzer/src/generated/source_io.dart';
19 import 'package:analyzer/src/string_source.dart'; 20 import 'package:analyzer/src/string_source.dart';
20 import 'package:analyzer/task/model.dart'; 21 import 'package:analyzer/task/model.dart';
21 import 'package:html/dom.dart' show Document; 22 import 'package:html/dom.dart' show Document;
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 actualEvents.add(event); 186 actualEvents.add(event);
186 } 187 }
187 } 188 }
188 189
189 /** 190 /**
190 * Instances of the class `TestAnalysisContext` implement an analysis context in which every 191 * Instances of the class `TestAnalysisContext` implement an analysis context in which every
191 * method will cause a test to fail when invoked. 192 * method will cause a test to fail when invoked.
192 */ 193 */
193 class TestAnalysisContext implements InternalAnalysisContext { 194 class TestAnalysisContext implements InternalAnalysisContext {
194 @override 195 @override
196 ResultProvider resultProvider;
197
198 @override
195 AnalysisCache get analysisCache { 199 AnalysisCache get analysisCache {
196 fail("Unexpected invocation of analysisCache"); 200 fail("Unexpected invocation of analysisCache");
197 return null; 201 return null;
198 } 202 }
199 203
200 @override 204 @override
201 AnalysisOptions get analysisOptions { 205 AnalysisOptions get analysisOptions {
202 fail("Unexpected invocation of getAnalysisOptions"); 206 fail("Unexpected invocation of getAnalysisOptions");
203 return null; 207 return null;
204 } 208 }
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 bool validateCacheConsistency() { 677 bool validateCacheConsistency() {
674 fail("Unexpected invocation of validateCacheConsistency"); 678 fail("Unexpected invocation of validateCacheConsistency");
675 return false; 679 return false;
676 } 680 }
677 681
678 @override 682 @override
679 void visitContentCache(ContentCacheVisitor visitor) { 683 void visitContentCache(ContentCacheVisitor visitor) {
680 fail("Unexpected invocation of visitContentCache"); 684 fail("Unexpected invocation of visitContentCache");
681 } 685 }
682 } 686 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698