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

Side by Side Diff: pkg/analysis_server/test/services/refactoring/extract_method_test.dart

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files Created 3 years, 7 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 test.services.refactoring.extract_method;
6
7 import 'dart:async'; 5 import 'dart:async';
8 6
9 import 'package:analysis_server/plugin/protocol/protocol.dart'; 7 import 'package:analysis_server/protocol/protocol_generated.dart';
10 import 'package:analysis_server/src/services/correction/status.dart'; 8 import 'package:analysis_server/src/services/correction/status.dart';
11 import 'package:analysis_server/src/services/refactoring/extract_method.dart'; 9 import 'package:analysis_server/src/services/refactoring/extract_method.dart';
12 import 'package:analysis_server/src/services/refactoring/refactoring.dart'; 10 import 'package:analysis_server/src/services/refactoring/refactoring.dart';
13 import 'package:test/test.dart'; 11 import 'package:test/test.dart';
14 import 'package:test_reflective_loader/test_reflective_loader.dart'; 12 import 'package:test_reflective_loader/test_reflective_loader.dart';
15 13
16 import 'abstract_refactoring.dart'; 14 import 'abstract_refactoring.dart';
17 15
18 main() { 16 main() {
19 defineReflectiveSuite(() { 17 defineReflectiveSuite(() {
(...skipping 2822 matching lines...) Expand 10 before | Expand all | Expand 10 after
2842 return new RefactoringMethodParameter(p.kind, p.type, p.name, id: p.id); 2840 return new RefactoringMethodParameter(p.kind, p.type, p.name, id: p.id);
2843 }).toList(); 2841 }).toList();
2844 } 2842 }
2845 } 2843 }
2846 2844
2847 @reflectiveTest 2845 @reflectiveTest
2848 class ExtractMethodTest_Driver extends ExtractMethodTest { 2846 class ExtractMethodTest_Driver extends ExtractMethodTest {
2849 @override 2847 @override
2850 bool get enableNewAnalysisDriver => true; 2848 bool get enableNewAnalysisDriver => true;
2851 } 2849 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698