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

Side by Side Diff: pkg/analyzer/test/src/plugin/plugin_config_test.dart

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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/mock_sdk.dart ('k') | pkg/analyzer/test/src/summary/summary_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.plugin.plugin_config_test; 5 library analyzer.test.src.plugin.plugin_config_test;
6 6
7 import 'package:analyzer/source/analysis_options_provider.dart'; 7 import 'package:analyzer/source/analysis_options_provider.dart';
8 import 'package:analyzer/src/plugin/plugin_configuration.dart'; 8 import 'package:analyzer/src/plugin/plugin_configuration.dart';
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10 import 'package:yaml/yaml.dart'; 10 import 'package:yaml/yaml.dart';
11 11
12 main() { 12 main() {
13 group('plugin config tests', () { 13 group('plugin config tests', () {
14 group('parsing', () { 14 group('parsing', () {
15 test('plugin map', () { 15 test('plugin map', () {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 }); 118 });
119 } 119 }
120 120
121 PluginConfig parseConfig(String optionsSrc) { 121 PluginConfig parseConfig(String optionsSrc) {
122 var options = new AnalysisOptionsProvider().getOptionsFromString(optionsSrc); 122 var options = new AnalysisOptionsProvider().getOptionsFromString(optionsSrc);
123 return new PluginConfig.fromOptions(options); 123 return new PluginConfig.fromOptions(options);
124 } 124 }
125 125
126 List<PluginInfo> pluginsSortedByName(Iterable<PluginInfo> plugins) => 126 List<PluginInfo> pluginsSortedByName(Iterable<PluginInfo> plugins) =>
127 plugins.toList()..sort((p1, p2) => p1.name.compareTo(p2.name)); 127 plugins.toList()..sort((p1, p2) => p1.name.compareTo(p2.name));
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/mock_sdk.dart ('k') | pkg/analyzer/test/src/summary/summary_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698