| 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 6810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6821 @override | 6821 @override |
| 6822 E visitResolveHtmlTask(ResolveHtmlTask task) { | 6822 E visitResolveHtmlTask(ResolveHtmlTask task) { |
| 6823 fail("Unexpectedly invoked visitResolveHtmlTask"); | 6823 fail("Unexpectedly invoked visitResolveHtmlTask"); |
| 6824 return null; | 6824 return null; |
| 6825 } | 6825 } |
| 6826 @override | 6826 @override |
| 6827 E visitScanDartTask(ScanDartTask task) { | 6827 E visitScanDartTask(ScanDartTask task) { |
| 6828 fail("Unexpectedly invoked visitScanDartTask"); | 6828 fail("Unexpectedly invoked visitScanDartTask"); |
| 6829 return null; | 6829 return null; |
| 6830 } | 6830 } |
| 6831 |
| 6832 @override |
| 6833 E visitGenerateDartLintsTask(GenerateDartLintsTask task) { |
| 6834 fail("Unexpectedly invoked visitGenerateDartLintsTask"); |
| 6835 return null; |
| 6836 } |
| 6831 } | 6837 } |
| 6832 | 6838 |
| 6833 | 6839 |
| 6834 @ReflectiveTestCase() | 6840 @ReflectiveTestCase() |
| 6835 class UniversalCachePartitionTest extends EngineTestCase { | 6841 class UniversalCachePartitionTest extends EngineTestCase { |
| 6836 void test_contains() { | 6842 void test_contains() { |
| 6837 UniversalCachePartition partition = | 6843 UniversalCachePartition partition = |
| 6838 new UniversalCachePartition(null, 8, null); | 6844 new UniversalCachePartition(null, 8, null); |
| 6839 TestSource source = new TestSource(); | 6845 TestSource source = new TestSource(); |
| 6840 expect(partition.contains(source), isTrue); | 6846 expect(partition.contains(source), isTrue); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7010 bool contains(Source source) => source == libB; | 7016 bool contains(Source source) => source == libB; |
| 7011 } | 7017 } |
| 7012 | 7018 |
| 7013 | 7019 |
| 7014 class _UniversalCachePartitionTest_test_setMaxCacheSize implements | 7020 class _UniversalCachePartitionTest_test_setMaxCacheSize implements |
| 7015 CacheRetentionPolicy { | 7021 CacheRetentionPolicy { |
| 7016 @override | 7022 @override |
| 7017 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => | 7023 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => |
| 7018 RetentionPriority.LOW; | 7024 RetentionPriority.LOW; |
| 7019 } | 7025 } |
| OLD | NEW |