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

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

Issue 2394683006: Switch analysis_server to use 'package:test'. (Closed)
Patch Set: Created 4 years, 2 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 766e58ffb121baf1d616996fd85c636ee5078447..a3f4a780275695e149a160d993cdb08f7b9e7a0a 100644
--- a/pkg/analysis_server/test/edit/refactoring_test.dart
+++ b/pkg/analysis_server/test/edit/refactoring_test.dart
@@ -11,8 +11,8 @@ import 'package:analysis_server/src/edit/edit_domain.dart';
import 'package:analysis_server/src/services/index/index.dart';
import 'package:analyzer/task/dart.dart';
import 'package:plugin/manager.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart' hide ERROR;
import '../analysis_abstract.dart';
import '../mocks.dart';
@@ -20,16 +20,18 @@ import '../utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(ConvertGetterMethodToMethodTest);
- defineReflectiveTests(ConvertMethodToGetterTest);
- defineReflectiveTests(ExtractLocalVariableTest);
- defineReflectiveTests(ExtractMethodTest);
- defineReflectiveTests(GetAvailableRefactoringsTest);
- defineReflectiveTests(InlineLocalTest);
- defineReflectiveTests(InlineMethodTest);
- defineReflectiveTests(MoveFileTest);
- defineReflectiveTests(RenameTest);
- defineReflectiveTests(_NoSearchEngine);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(ConvertGetterMethodToMethodTest);
+ defineReflectiveTests(ConvertMethodToGetterTest);
+ defineReflectiveTests(ExtractLocalVariableTest);
+ defineReflectiveTests(ExtractMethodTest);
+ defineReflectiveTests(GetAvailableRefactoringsTest);
+ defineReflectiveTests(InlineLocalTest);
+ defineReflectiveTests(InlineMethodTest);
+ defineReflectiveTests(MoveFileTest);
+ defineReflectiveTests(RenameTest);
+ defineReflectiveTests(_NoSearchEngine);
+ });
}
@reflectiveTest

Powered by Google App Engine
This is Rietveld 408576698