| 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 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |