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

Unified Diff: pkg/analysis_server/test/analysis/get_navigation_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/analysis/get_navigation_test.dart
diff --git a/pkg/analysis_server/test/analysis/get_navigation_test.dart b/pkg/analysis_server/test/analysis/get_navigation_test.dart
index add8b90dd59f7bab5c008b0044ca01f2ac7bf561..ddc77061044670c1604a04005b5c60bf968d0f49 100644
--- a/pkg/analysis_server/test/analysis/get_navigation_test.dart
+++ b/pkg/analysis_server/test/analysis/get_navigation_test.dart
@@ -7,15 +7,17 @@ library test.analysis.get_navigation;
import 'package:analysis_server/plugin/protocol/protocol.dart';
import 'package:analysis_server/src/domain_analysis.dart';
import 'package:analyzer/file_system/file_system.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../utils.dart';
import 'notification_navigation_test.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(GetNavigationTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(GetNavigationTest);
+ });
}
@reflectiveTest
@@ -25,7 +27,9 @@ class GetNavigationTest extends AbstractNavigationTest {
@override
void setUp() {
super.setUp();
- server.handlers = [new AnalysisDomainHandler(server),];
+ server.handlers = [
+ new AnalysisDomainHandler(server),
+ ];
createProject();
}

Powered by Google App Engine
This is Rietveld 408576698