OLD | NEW |
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.rename_label; | 5 import 'package:analysis_server/protocol/protocol_generated.dart'; |
6 | |
7 import 'package:analysis_server/plugin/protocol/protocol.dart'; | |
8 import 'package:test/test.dart'; | 6 import 'package:test/test.dart'; |
9 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
10 | 8 |
11 import 'abstract_rename.dart'; | 9 import 'abstract_rename.dart'; |
12 | 10 |
13 main() { | 11 main() { |
14 defineReflectiveSuite(() { | 12 defineReflectiveSuite(() { |
15 defineReflectiveTests(RenameLabelTest); | 13 defineReflectiveTests(RenameLabelTest); |
16 defineReflectiveTests(RenameLabelTest_Driver); | 14 defineReflectiveTests(RenameLabelTest_Driver); |
17 }); | 15 }); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // old name | 81 // old name |
84 expect(refactoring.oldName, 'test'); | 82 expect(refactoring.oldName, 'test'); |
85 } | 83 } |
86 } | 84 } |
87 | 85 |
88 @reflectiveTest | 86 @reflectiveTest |
89 class RenameLabelTest_Driver extends RenameLabelTest { | 87 class RenameLabelTest_Driver extends RenameLabelTest { |
90 @override | 88 @override |
91 bool get enableNewAnalysisDriver => true; | 89 bool get enableNewAnalysisDriver => true; |
92 } | 90 } |
OLD | NEW |