Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Side by Side Diff: pkg/analysis_server/test/mock_sdk.dart

Issue 2408863002: Parse the 'patches' argument in SDK libraries declarations. (Closed)
Patch Set: Rework to support 'PLATFORM1 | PLATFORM2' and [list, of, paths]. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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'; 9 import 'package:analyzer/src/context/context.dart';
10 import 'package:analyzer/src/generated/engine.dart'; 10 import 'package:analyzer/src/generated/engine.dart';
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 @override 390 @override
391 bool get isInternal => shortName.startsWith('dart:_'); 391 bool get isInternal => shortName.startsWith('dart:_');
392 392
393 @override 393 @override
394 bool get isShared => throw unimplemented; 394 bool get isShared => throw unimplemented;
395 395
396 @override 396 @override
397 bool get isVmLibrary => throw unimplemented; 397 bool get isVmLibrary => throw unimplemented;
398 398
399 UnimplementedError get unimplemented => new UnimplementedError(); 399 UnimplementedError get unimplemented => new UnimplementedError();
400
401 @override
402 List<String> getPatches(int platform) => const <String>[];
400 } 403 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/sdk.dart » ('j') | pkg/analyzer/lib/src/generated/sdk.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698