| OLD | NEW |
| 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 engine.engine_test; | 5 library engine.engine_test; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 | 9 |
| 10 import 'package:analyzer/file_system/memory_file_system.dart'; | 10 import 'package:analyzer/file_system/memory_file_system.dart'; |
| 11 import 'package:analyzer/source/embedder.dart'; |
| 11 import 'package:analyzer/src/cancelable_future.dart'; | 12 import 'package:analyzer/src/cancelable_future.dart'; |
| 12 import 'package:analyzer/src/context/cache.dart' show CacheEntry; | 13 import 'package:analyzer/src/context/cache.dart' show CacheEntry; |
| 13 import 'package:analyzer/src/generated/ast.dart'; | 14 import 'package:analyzer/src/generated/ast.dart'; |
| 14 import 'package:analyzer/src/generated/constant.dart'; | 15 import 'package:analyzer/src/generated/constant.dart'; |
| 15 import 'package:analyzer/src/generated/element.dart'; | 16 import 'package:analyzer/src/generated/element.dart'; |
| 16 import 'package:analyzer/src/generated/engine.dart'; | 17 import 'package:analyzer/src/generated/engine.dart'; |
| 17 import 'package:analyzer/src/generated/error.dart'; | 18 import 'package:analyzer/src/generated/error.dart'; |
| 18 import 'package:analyzer/src/generated/html.dart' as ht; | 19 import 'package:analyzer/src/generated/html.dart' as ht; |
| 19 import 'package:analyzer/src/generated/java_core.dart'; | 20 import 'package:analyzer/src/generated/java_core.dart'; |
| 20 import 'package:analyzer/src/generated/java_engine.dart'; | 21 import 'package:analyzer/src/generated/java_engine.dart'; |
| (...skipping 5663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5684 return null; | 5685 return null; |
| 5685 } | 5686 } |
| 5686 | 5687 |
| 5687 @override | 5688 @override |
| 5688 AnalysisOptions get analysisOptions { | 5689 AnalysisOptions get analysisOptions { |
| 5689 fail("Unexpected invocation of getAnalysisOptions"); | 5690 fail("Unexpected invocation of getAnalysisOptions"); |
| 5690 return null; | 5691 return null; |
| 5691 } | 5692 } |
| 5692 | 5693 |
| 5693 @override | 5694 @override |
| 5695 EmbedderYamlLocator get embedderYamlLocator { |
| 5696 fail("Unexpected invocation of get embedderYamlLocator"); |
| 5697 return null; |
| 5698 } |
| 5699 |
| 5700 @override |
| 5694 void set analysisOptions(AnalysisOptions options) { | 5701 void set analysisOptions(AnalysisOptions options) { |
| 5695 fail("Unexpected invocation of setAnalysisOptions"); | 5702 fail("Unexpected invocation of setAnalysisOptions"); |
| 5696 } | 5703 } |
| 5697 | 5704 |
| 5698 @override | 5705 @override |
| 5699 void set analysisPriorityOrder(List<Source> sources) { | 5706 void set analysisPriorityOrder(List<Source> sources) { |
| 5700 fail("Unexpected invocation of setAnalysisPriorityOrder"); | 5707 fail("Unexpected invocation of setAnalysisPriorityOrder"); |
| 5701 } | 5708 } |
| 5702 | 5709 |
| 5703 @override | 5710 @override |
| (...skipping 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7047 @override | 7054 @override |
| 7048 bool exists() => true; | 7055 bool exists() => true; |
| 7049 } | 7056 } |
| 7050 | 7057 |
| 7051 class _UniversalCachePartitionTest_test_setMaxCacheSize | 7058 class _UniversalCachePartitionTest_test_setMaxCacheSize |
| 7052 implements CacheRetentionPolicy { | 7059 implements CacheRetentionPolicy { |
| 7053 @override | 7060 @override |
| 7054 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 7061 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
| 7055 RetentionPriority.LOW; | 7062 RetentionPriority.LOW; |
| 7056 } | 7063 } |
| OLD | NEW |