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

Unified Diff: pkg/analysis_server/test/analysis/notification_errors_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/notification_errors_test.dart
diff --git a/pkg/analysis_server/test/analysis/notification_errors_test.dart b/pkg/analysis_server/test/analysis/notification_errors_test.dart
index 02b05ec8b87c07870bc1a8f94102f5fb11741428..65bed47d2d2aa7e4eab94e7379f8265b722c49eb 100644
--- a/pkg/analysis_server/test/analysis/notification_errors_test.dart
+++ b/pkg/analysis_server/test/analysis/notification_errors_test.dart
@@ -10,15 +10,17 @@ import 'package:analysis_server/src/domain_analysis.dart';
import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/services/lint.dart';
import 'package:linter/src/linter.dart';
+import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
-import 'package:unittest/unittest.dart';
import '../analysis_abstract.dart';
import '../utils.dart';
main() {
initializeTestEnvironment();
- defineReflectiveTests(NotificationErrorsTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(NotificationErrorsTest);
+ });
}
@reflectiveTest
@@ -35,7 +37,9 @@ class NotificationErrorsTest extends AbstractAnalysisTest {
@override
void setUp() {
super.setUp();
- server.handlers = [new AnalysisDomainHandler(server),];
+ server.handlers = [
+ new AnalysisDomainHandler(server),
+ ];
}
test_importError() async {

Powered by Google App Engine
This is Rietveld 408576698