| Index: pkg/analyzer/test/generated/engine_test.dart
|
| diff --git a/pkg/analyzer/test/generated/engine_test.dart b/pkg/analyzer/test/generated/engine_test.dart
|
| index 2ecb8d86f177464aa7831e2e466d33ba0f591aa9..67e80fa8e63207864453cdddce4db2a512a5780c 100644
|
| --- a/pkg/analyzer/test/generated/engine_test.dart
|
| +++ b/pkg/analyzer/test/generated/engine_test.dart
|
| @@ -11,6 +11,7 @@ import 'dart:async';
|
| import 'dart:collection';
|
|
|
| import 'package:analyzer/src/cancelable_future.dart';
|
| +import 'package:analyzer/src/context/cache.dart' show CacheEntry;
|
| import 'package:analyzer/src/generated/ast.dart';
|
| import 'package:analyzer/src/generated/constant.dart';
|
| import 'package:analyzer/src/generated/element.dart';
|
| @@ -33,6 +34,7 @@ import 'package:analyzer/src/generated/utilities_collection.dart';
|
| import 'package:analyzer/src/services/lint.dart';
|
| import 'package:analyzer/src/string_source.dart';
|
| import 'package:analyzer/src/task/task_dart.dart';
|
| +import 'package:analyzer/task/model.dart' hide AnalysisTask;
|
| import 'package:typed_mock/typed_mock.dart';
|
| import 'package:unittest/unittest.dart';
|
| import 'package:watcher/src/utils.dart';
|
| @@ -5445,6 +5447,11 @@ class TestAnalysisContext implements InternalAnalysisContext {
|
| return null;
|
| }
|
| @override
|
| + List<AnalysisTarget> get explicitTargets {
|
| + fail("Unexpected invocation of visitCacheItems");
|
| + return null;
|
| + }
|
| + @override
|
| List<Source> get htmlSources {
|
| fail("Unexpected invocation of getHtmlSources");
|
| return null;
|
| @@ -5465,6 +5472,11 @@ class TestAnalysisContext implements InternalAnalysisContext {
|
| return null;
|
| }
|
| @override
|
| + LibraryResolverFactory get libraryResolverFactory {
|
| + fail("Unexpected invocation of getLibraryResolverFactory");
|
| + return null;
|
| + }
|
| + @override
|
| List<Source> get librarySources {
|
| fail("Unexpected invocation of getLibrarySources");
|
| return null;
|
| @@ -5489,20 +5501,22 @@ class TestAnalysisContext implements InternalAnalysisContext {
|
| return null;
|
| }
|
| @override
|
| - List<Source> get refactoringUnsafeSources {
|
| - fail("Unexpected invocation of getRefactoringUnsafeSources");
|
| + List<AnalysisTarget> get priorityTargets {
|
| + fail("Unexpected invocation of visitCacheItems");
|
| return null;
|
| }
|
| @override
|
| - LibraryResolverFactory get libraryResolverFactory {
|
| - fail("Unexpected invocation of getLibraryResolverFactory");
|
| + List<Source> get refactoringUnsafeSources {
|
| + fail("Unexpected invocation of getRefactoringUnsafeSources");
|
| return null;
|
| }
|
| +
|
| @override
|
| ResolverVisitorFactory get resolverVisitorFactory {
|
| fail("Unexpected invocation of getResolverVisitorFactory");
|
| return null;
|
| }
|
| +
|
| @override
|
| SourceFactory get sourceFactory {
|
| fail("Unexpected invocation of getSourceFactory");
|
| @@ -5513,13 +5527,11 @@ class TestAnalysisContext implements InternalAnalysisContext {
|
| void set sourceFactory(SourceFactory factory) {
|
| fail("Unexpected invocation of setSourceFactory");
|
| }
|
| -
|
| @override
|
| List<Source> get sources {
|
| fail("Unexpected invocation of sources");
|
| return null;
|
| }
|
| -
|
| @override
|
| AnalysisContextStatistics get statistics {
|
| fail("Unexpected invocation of getStatistics");
|
| @@ -5621,6 +5633,11 @@ class TestAnalysisContext implements InternalAnalysisContext {
|
| return false;
|
| }
|
| @override
|
| + CacheEntry getCacheEntry(AnalysisTarget target) {
|
| + fail("Unexpected invocation of visitCacheItems");
|
| + return null;
|
| + }
|
| + @override
|
| CompilationUnitElement getCompilationUnitElement(
|
| Source unitSource, Source librarySource) {
|
| fail("Unexpected invocation of getCompilationUnitElement");
|
| @@ -5757,18 +5774,21 @@ class TestAnalysisContext implements InternalAnalysisContext {
|
| void removeListener(AnalysisListener listener) {
|
| fail("Unexpected invocation of removeListener");
|
| }
|
| +
|
| @override
|
| CompilationUnit resolveCompilationUnit(
|
| Source unitSource, LibraryElement library) {
|
| fail("Unexpected invocation of resolveCompilationUnit");
|
| return null;
|
| }
|
| +
|
| @override
|
| CompilationUnit resolveCompilationUnit2(
|
| Source unitSource, Source librarySource) {
|
| fail("Unexpected invocation of resolveCompilationUnit");
|
| return null;
|
| }
|
| +
|
| @override
|
| ht.HtmlUnit resolveHtmlUnit(Source htmlSource) {
|
| fail("Unexpected invocation of resolveHtmlUnit");
|
|
|