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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
7 | 7 |
8 library engine.engine_test; | 8 library engine.engine_test; |
9 | 9 |
10 import 'dart:async'; | 10 import 'dart:async'; |
(...skipping 5392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5403 actualEvents.add(event); | 5403 actualEvents.add(event); |
5404 } | 5404 } |
5405 } | 5405 } |
5406 | 5406 |
5407 /** | 5407 /** |
5408 * Instances of the class `TestAnalysisContext` implement an analysis context in
which every | 5408 * Instances of the class `TestAnalysisContext` implement an analysis context in
which every |
5409 * method will cause a test to fail when invoked. | 5409 * method will cause a test to fail when invoked. |
5410 */ | 5410 */ |
5411 class TestAnalysisContext implements InternalAnalysisContext { | 5411 class TestAnalysisContext implements InternalAnalysisContext { |
5412 @override | 5412 @override |
| 5413 AnalysisCache get analysisCache { |
| 5414 fail("Unexpected invocation of analysisCache"); |
| 5415 return null; |
| 5416 } |
| 5417 @override |
5413 AnalysisOptions get analysisOptions { | 5418 AnalysisOptions get analysisOptions { |
5414 fail("Unexpected invocation of getAnalysisOptions"); | 5419 fail("Unexpected invocation of getAnalysisOptions"); |
5415 return null; | 5420 return null; |
5416 } | 5421 } |
5417 @override | 5422 @override |
5418 void set analysisOptions(AnalysisOptions options) { | 5423 void set analysisOptions(AnalysisOptions options) { |
5419 fail("Unexpected invocation of setAnalysisOptions"); | 5424 fail("Unexpected invocation of setAnalysisOptions"); |
5420 } | 5425 } |
5421 @override | 5426 @override |
5422 void set analysisPriorityOrder(List<Source> sources) { | 5427 void set analysisPriorityOrder(List<Source> sources) { |
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6601 @override | 6606 @override |
6602 bool exists() => true; | 6607 bool exists() => true; |
6603 } | 6608 } |
6604 | 6609 |
6605 class _UniversalCachePartitionTest_test_setMaxCacheSize | 6610 class _UniversalCachePartitionTest_test_setMaxCacheSize |
6606 implements CacheRetentionPolicy { | 6611 implements CacheRetentionPolicy { |
6607 @override | 6612 @override |
6608 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 6613 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
6609 RetentionPriority.LOW; | 6614 RetentionPriority.LOW; |
6610 } | 6615 } |
OLD | NEW |