| 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/generated/engine.dart'; | 9 import 'package:analyzer/src/generated/engine.dart'; |
| 10 import 'package:analyzer/src/generated/sdk.dart'; | 10 import 'package:analyzer/src/generated/sdk.dart'; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 } | 30 } |
| 31 | 31 |
| 32 class String implements Comparable<String> { | 32 class String implements Comparable<String> { |
| 33 bool get isEmpty => false; | 33 bool get isEmpty => false; |
| 34 bool get isNotEmpty => false; | 34 bool get isNotEmpty => false; |
| 35 int get length => 0; | 35 int get length => 0; |
| 36 } | 36 } |
| 37 | 37 |
| 38 class bool extends Object {} | 38 class bool extends Object {} |
| 39 abstract class num implements Comparable<num> { | 39 abstract class num implements Comparable<num> { |
| 40 bool operator <(num other); |
| 40 num operator +(num other); | 41 num operator +(num other); |
| 41 num operator -(num other); | 42 num operator -(num other); |
| 42 num operator *(num other); | 43 num operator *(num other); |
| 43 num operator /(num other); | 44 num operator /(num other); |
| 44 int toInt(); | 45 int toInt(); |
| 45 } | 46 } |
| 46 abstract class int extends num { | 47 abstract class int extends num { |
| 47 bool get isEven => false; | 48 bool get isEven => false; |
| 48 int operator -(); | 49 int operator -(); |
| 49 } | 50 } |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 bool get isInternal => throw unimplemented; | 213 bool get isInternal => throw unimplemented; |
| 213 | 214 |
| 214 @override | 215 @override |
| 215 bool get isShared => throw unimplemented; | 216 bool get isShared => throw unimplemented; |
| 216 | 217 |
| 217 @override | 218 @override |
| 218 bool get isVmLibrary => throw unimplemented; | 219 bool get isVmLibrary => throw unimplemented; |
| 219 | 220 |
| 220 UnimplementedError get unimplemented => new UnimplementedError(); | 221 UnimplementedError get unimplemented => new UnimplementedError(); |
| 221 } | 222 } |
| OLD | NEW |