| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 class String implements Comparable<String> { | 34 class String implements Comparable<String> { |
| 35 bool get isEmpty => false; | 35 bool get isEmpty => false; |
| 36 bool get isNotEmpty => false; | 36 bool get isNotEmpty => false; |
| 37 int get length => 0; | 37 int get length => 0; |
| 38 } | 38 } |
| 39 | 39 |
| 40 class bool extends Object {} | 40 class bool extends Object {} |
| 41 abstract class num implements Comparable<num> { | 41 abstract class num implements Comparable<num> { |
| 42 bool operator <(num other); | 42 bool operator <(num other); |
| 43 bool operator <=(num other); |
| 44 bool operator >(num other); |
| 45 bool operator >=(num other); |
| 43 num operator +(num other); | 46 num operator +(num other); |
| 44 num operator -(num other); | 47 num operator -(num other); |
| 45 num operator *(num other); | 48 num operator *(num other); |
| 46 num operator /(num other); | 49 num operator /(num other); |
| 47 int toInt(); | 50 int toInt(); |
| 48 } | 51 } |
| 49 abstract class int extends num { | 52 abstract class int extends num { |
| 50 bool get isEven => false; | 53 bool get isEven => false; |
| 51 int operator -(); | 54 int operator -(); |
| 52 } | 55 } |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 bool get isInternal => throw unimplemented; | 256 bool get isInternal => throw unimplemented; |
| 254 | 257 |
| 255 @override | 258 @override |
| 256 bool get isShared => throw unimplemented; | 259 bool get isShared => throw unimplemented; |
| 257 | 260 |
| 258 @override | 261 @override |
| 259 bool get isVmLibrary => throw unimplemented; | 262 bool get isVmLibrary => throw unimplemented; |
| 260 | 263 |
| 261 UnimplementedError get unimplemented => new UnimplementedError(); | 264 UnimplementedError get unimplemented => new UnimplementedError(); |
| 262 } | 265 } |
| OLD | NEW |