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

Unified Diff: pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart

Issue 2863593004: Remove the non-driver versions of several tests (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart b/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart
index fdec34b24c0d6a88b248c60a2df1cfdb804ef737..460150abb27e9e26578c8d1234f7a8b8ad85561b 100644
--- a/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart
@@ -16,7 +16,6 @@ import 'abstract_refactoring.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(ConvertMethodToGetterTest);
- defineReflectiveTests(ConvertMethodToGetterTest_Driver);
});
}
@@ -24,6 +23,9 @@ main() {
class ConvertMethodToGetterTest extends RefactoringTest {
ConvertMethodToGetterRefactoring refactoring;
+ @override
+ bool get enableNewAnalysisDriver => true;
+
test_change_function() async {
await indexTestUnit('''
int test() => 42;
@@ -214,9 +216,3 @@ void test() {}
_createRefactoringForElement(element);
}
}
-
-@reflectiveTest
-class ConvertMethodToGetterTest_Driver extends ConvertMethodToGetterTest {
- @override
- bool get enableNewAnalysisDriver => true;
-}

Powered by Google App Engine
This is Rietveld 408576698