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

Side by Side Diff: pkg/analysis_server/test/mock_sdk.dart

Issue 1353913002: Add defaultCompletionSorter allowing sorting to be overridden - fixes #24339 (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
« no previous file with comments | « pkg/analysis_server/test/domain_completion_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 testing.mock_sdk; 5 library testing.mock_sdk;
6 6
7 import 'package:analyzer/file_system/file_system.dart' as resource; 7 import 'package:analyzer/file_system/file_system.dart' as resource;
8 import 'package:analyzer/file_system/memory_file_system.dart' as resource; 8 import 'package:analyzer/file_system/memory_file_system.dart' as resource;
9 import 'package:analyzer/src/context/context.dart' as newContext; 9 import 'package:analyzer/src/context/context.dart' as newContext;
10 import 'package:analyzer/src/generated/engine.dart'; 10 import 'package:analyzer/src/generated/engine.dart';
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 abstract class List<E> implements Iterable<E> { 91 abstract class List<E> implements Iterable<E> {
92 void add(E value); 92 void add(E value);
93 E operator [](int index); 93 E operator [](int index);
94 void operator []=(int index, E value); 94 void operator []=(int index, E value);
95 Iterator<E> get iterator => null; 95 Iterator<E> get iterator => null;
96 void clear(); 96 void clear();
97 } 97 }
98 98
99 abstract class Map<K, V> extends Object { 99 abstract class Map<K, V> extends Object {
100 bool containsKey(Object key);
100 Iterable<K> get keys; 101 Iterable<K> get keys;
101 } 102 }
102 103
103 external bool identical(Object a, Object b); 104 external bool identical(Object a, Object b);
104 105
105 void print(Object object) {} 106 void print(Object object) {}
106 107
107 class Uri { 108 class Uri {
108 static List<int> parseIPv6Address(String host, [int start = 0, int end]) { 109 static List<int> parseIPv6Address(String host, [int start = 0, int end]) {
109 int parseHex(int start, int end) { 110 int parseHex(int start, int end) {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 bool get isInternal => shortName.startsWith('dart:_'); 342 bool get isInternal => shortName.startsWith('dart:_');
342 343
343 @override 344 @override
344 bool get isShared => throw unimplemented; 345 bool get isShared => throw unimplemented;
345 346
346 @override 347 @override
347 bool get isVmLibrary => throw unimplemented; 348 bool get isVmLibrary => throw unimplemented;
348 349
349 UnimplementedError get unimplemented => new UnimplementedError(); 350 UnimplementedError get unimplemented => new UnimplementedError();
350 } 351 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/domain_completion_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698