| 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 test.src.mock_sdk; | 5 library analyzer.test.src.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'; | 9 import 'package:analyzer/src/context/context.dart'; |
| 10 import 'package:analyzer/src/generated/engine.dart'; | 10 import 'package:analyzer/src/generated/engine.dart'; |
| 11 import 'package:analyzer/src/generated/sdk.dart'; | 11 import 'package:analyzer/src/generated/sdk.dart'; |
| 12 import 'package:analyzer/src/generated/source.dart'; | 12 import 'package:analyzer/src/generated/source.dart'; |
| 13 | 13 |
| 14 class MockSdk implements DartSdk { | 14 class MockSdk implements DartSdk { |
| 15 static const _MockSdkLibrary LIB_CORE = const _MockSdkLibrary( | 15 static const _MockSdkLibrary LIB_CORE = const _MockSdkLibrary( |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 bool get isInternal => throw unimplemented; | 319 bool get isInternal => throw unimplemented; |
| 320 | 320 |
| 321 @override | 321 @override |
| 322 bool get isShared => throw unimplemented; | 322 bool get isShared => throw unimplemented; |
| 323 | 323 |
| 324 @override | 324 @override |
| 325 bool get isVmLibrary => throw unimplemented; | 325 bool get isVmLibrary => throw unimplemented; |
| 326 | 326 |
| 327 UnimplementedError get unimplemented => new UnimplementedError(); | 327 UnimplementedError get unimplemented => new UnimplementedError(); |
| 328 } | 328 } |
| OLD | NEW |