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

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

Issue 1329743005: Abstract over the type system. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Cleanup small issues Created 5 years, 3 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
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 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';
(...skipping 5800 matching lines...) Expand 10 before | Expand all | Expand 10 after
5811 fail("Unexpected invocation of getTypeProvider"); 5811 fail("Unexpected invocation of getTypeProvider");
5812 return null; 5812 return null;
5813 } 5813 }
5814 5814
5815 @override 5815 @override
5816 void set typeProvider(TypeProvider typeProvider) { 5816 void set typeProvider(TypeProvider typeProvider) {
5817 fail("Unexpected invocation of set typeProvider"); 5817 fail("Unexpected invocation of set typeProvider");
5818 } 5818 }
5819 5819
5820 @override 5820 @override
5821 TypeSystem get typeSystem {
5822 fail("Unexpected invocation of getTypeSystem");
5823 return null;
5824 }
5825
5826 @override
5821 TypeResolverVisitorFactory get typeResolverVisitorFactory { 5827 TypeResolverVisitorFactory get typeResolverVisitorFactory {
5822 fail("Unexpected invocation of getTypeResolverVisitorFactory"); 5828 fail("Unexpected invocation of getTypeResolverVisitorFactory");
5823 return null; 5829 return null;
5824 } 5830 }
5825 5831
5826 @override 5832 @override
5827 void addListener(AnalysisListener listener) { 5833 void addListener(AnalysisListener listener) {
5828 fail("Unexpected invocation of addListener"); 5834 fail("Unexpected invocation of addListener");
5829 } 5835 }
5830 5836
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
7006 @override 7012 @override
7007 bool exists() => true; 7013 bool exists() => true;
7008 } 7014 }
7009 7015
7010 class _UniversalCachePartitionTest_test_setMaxCacheSize 7016 class _UniversalCachePartitionTest_test_setMaxCacheSize
7011 implements CacheRetentionPolicy { 7017 implements CacheRetentionPolicy {
7012 @override 7018 @override
7013 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) => 7019 RetentionPriority getAstPriority(Source source, SourceEntry sourceEntry) =>
7014 RetentionPriority.LOW; 7020 RetentionPriority.LOW;
7015 } 7021 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698