| OLD | NEW |
| 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.operation; | 5 library test.operation; |
| 6 | 6 |
| 7 import 'package:analysis_server/plugin/plugin.dart'; | 7 import 'package:analyzer/plugin/plugin.dart'; |
| 8 import 'package:analysis_server/src/plugin/plugin_impl.dart'; | 8 import 'package:analyzer/src/plugin/plugin_impl.dart'; |
| 9 import 'package:unittest/unittest.dart'; | 9 import 'package:unittest/unittest.dart'; |
| 10 | 10 |
| 11 main() { | 11 main() { |
| 12 groupSep = ' | '; | 12 groupSep = ' | '; |
| 13 | 13 |
| 14 group('ExtensionManager', () { | 14 group('ExtensionManager', () { |
| 15 test('processPlugins', () { | 15 test('processPlugins', () { |
| 16 TestPlugin plugin1 = new TestPlugin('plugin1'); | 16 TestPlugin plugin1 = new TestPlugin('plugin1'); |
| 17 TestPlugin plugin2 = new TestPlugin('plugin1'); | 17 TestPlugin plugin2 = new TestPlugin('plugin1'); |
| 18 ExtensionManager manager = new ExtensionManager(); | 18 ExtensionManager manager = new ExtensionManager(); |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 @override | 165 @override |
| 166 void registerExtensionPoints(RegisterExtensionPoint register) { | 166 void registerExtensionPoints(RegisterExtensionPoint register) { |
| 167 extensionPointsRegistered = true; | 167 extensionPointsRegistered = true; |
| 168 } | 168 } |
| 169 | 169 |
| 170 @override | 170 @override |
| 171 void registerExtensions(RegisterExtension register) { | 171 void registerExtensions(RegisterExtension register) { |
| 172 extensionsRegistered = true; | 172 extensionsRegistered = true; |
| 173 } | 173 } |
| 174 } | 174 } |
| OLD | NEW |