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

Unified Diff: pkg/analysis_server/test/edit/refactoring_test.dart

Issue 849863002: Replace @ReflectiveTestCase() with @reflectiveTest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/edit/refactoring_test.dart
diff --git a/pkg/analysis_server/test/edit/refactoring_test.dart b/pkg/analysis_server/test/edit/refactoring_test.dart
index 9f4fa11c04ce21a0d009299f7bd7baafc255598d..1de0f5554c3aed65711638b04c65e7265cc3f658 100644
--- a/pkg/analysis_server/test/edit/refactoring_test.dart
+++ b/pkg/analysis_server/test/edit/refactoring_test.dart
@@ -30,7 +30,7 @@ main() {
}
-@ReflectiveTestCase()
+@reflectiveTest
class ConvertGetterMethodToMethodTest extends _AbstractGetRefactoring_Test {
test_function() {
addTestFile('''
@@ -126,7 +126,7 @@ main(A a, B b, C c, D d) {
}
-@ReflectiveTestCase()
+@reflectiveTest
class ConvertMethodToGetterTest extends _AbstractGetRefactoring_Test {
test_function() {
addTestFile('''
@@ -240,7 +240,7 @@ main(A a, B b, C c, D d) {
}
-@ReflectiveTestCase()
+@reflectiveTest
class ExtractLocalVariableTest extends _AbstractGetRefactoring_Test {
Future<Response> sendExtractRequest(int offset, int length, String name,
bool extractAll) {
@@ -411,7 +411,7 @@ main() {
}
-@ReflectiveTestCase()
+@reflectiveTest
class ExtractMethodTest extends _AbstractGetRefactoring_Test {
int offset;
int length;
@@ -624,7 +624,7 @@ void res(int a, int b) {
}
-@ReflectiveTestCase()
+@reflectiveTest
class GetAvailableRefactoringsTest extends AbstractAnalysisTest {
/**
* Tests that there is a RENAME refactoring available at the [search] offset.
@@ -805,7 +805,7 @@ main() {
}
-@ReflectiveTestCase()
+@reflectiveTest
class InlineLocalTest extends _AbstractGetRefactoring_Test {
test_feedback() {
addTestFile('''
@@ -867,7 +867,7 @@ main() {
}
-@ReflectiveTestCase()
+@reflectiveTest
class InlineMethodTest extends _AbstractGetRefactoring_Test {
InlineMethodOptions options = new InlineMethodOptions(true, true);
@@ -994,7 +994,7 @@ main() {
}
-@ReflectiveTestCase()
+@reflectiveTest
class MoveFileTest extends _AbstractGetRefactoring_Test {
MoveFileOptions options = new MoveFileOptions(null);
@@ -1026,7 +1026,7 @@ import 'bin/lib.dart';
}
-@ReflectiveTestCase()
+@reflectiveTest
class RenameTest extends _AbstractGetRefactoring_Test {
Future<Response> sendRenameRequest(String search, String newName,
[bool validateOnly = false]) {
@@ -1580,7 +1580,7 @@ main() {
}
-@ReflectiveTestCase()
+@reflectiveTest
class _AbstractGetRefactoring_Test extends AbstractAnalysisTest {
/**
* Asserts that [problems] has a single ERROR problem.

Powered by Google App Engine
This is Rietveld 408576698