| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 class bool extends Object {} | 45 class bool extends Object {} |
| 46 abstract class num implements Comparable<num> { | 46 abstract class num implements Comparable<num> { |
| 47 bool operator <(num other); | 47 bool operator <(num other); |
| 48 bool operator <=(num other); | 48 bool operator <=(num other); |
| 49 bool operator >(num other); | 49 bool operator >(num other); |
| 50 bool operator >=(num other); | 50 bool operator >=(num other); |
| 51 num operator +(num other); | 51 num operator +(num other); |
| 52 num operator -(num other); | 52 num operator -(num other); |
| 53 num operator *(num other); | 53 num operator *(num other); |
| 54 num operator %(num other); |
| 54 num operator /(num other); | 55 num operator /(num other); |
| 55 int toInt(); | 56 int toInt(); |
| 56 num abs(); | 57 num abs(); |
| 57 int round(); | 58 int round(); |
| 58 } | 59 } |
| 59 abstract class int extends num { | 60 abstract class int extends num { |
| 60 bool get isEven => false; | 61 bool get isEven => false; |
| 61 int operator -(); | 62 int operator -(); |
| 62 external static int parse(String source, | 63 external static int parse(String source, |
| 63 { int radix, | 64 { int radix, |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 bool get isInternal => throw unimplemented; | 303 bool get isInternal => throw unimplemented; |
| 303 | 304 |
| 304 @override | 305 @override |
| 305 bool get isShared => throw unimplemented; | 306 bool get isShared => throw unimplemented; |
| 306 | 307 |
| 307 @override | 308 @override |
| 308 bool get isVmLibrary => throw unimplemented; | 309 bool get isVmLibrary => throw unimplemented; |
| 309 | 310 |
| 310 UnimplementedError get unimplemented => new UnimplementedError(); | 311 UnimplementedError get unimplemented => new UnimplementedError(); |
| 311 } | 312 } |
| OLD | NEW |