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

Side by Side Diff: pkg/analyzer/test/src/dart/analysis/physical_sdk.dart

Issue 2657533004: Update MockSdk to be more consistent with the actual SDK, switch x_Driver tests to it. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « pkg/analyzer/test/src/dart/analysis/driver_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 import 'package:analyzer/file_system/physical_file_system.dart';
6 import 'package:analyzer/src/dart/sdk/sdk.dart';
7 import 'package:analyzer/src/generated/engine.dart' show AnalysisOptionsImpl;
8 import 'package:analyzer/src/generated/sdk.dart';
9
10 final DartSdk sdk = new FolderBasedDartSdk(PhysicalResourceProvider.INSTANCE,
11 FolderBasedDartSdk.defaultSdkDirectory(PhysicalResourceProvider.INSTANCE))
12 ..useSummary = true;
13
14 final DartSdk strongSdk = new FolderBasedDartSdk(PhysicalResourceProvider.INSTAN CE,
15 FolderBasedDartSdk.defaultSdkDirectory(PhysicalResourceProvider.INSTANCE))
16 ..analysisOptions = (new AnalysisOptionsImpl()..strongMode = true)
17 ..useSummary = true;
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/dart/analysis/driver_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698