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

Unified Diff: pkg/analysis_server/test/analysis/notification_implemented_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_implemented_test.dart
diff --git a/pkg/analysis_server/test/analysis/notification_implemented_test.dart b/pkg/analysis_server/test/analysis/notification_implemented_test.dart
index ee3959a0932f3b4b9129fbd258fecf64f34877ae..387454b7ec4a16dea11dc2bf13a3db9f7dc6c7b5 100644
--- a/pkg/analysis_server/test/analysis/notification_implemented_test.dart
+++ b/pkg/analysis_server/test/analysis/notification_implemented_test.dart
@@ -9,15 +9,17 @@ import 'dart:async';
import 'package:analysis_server/plugin/protocol/protocol.dart';
import 'package:analysis_server/src/constants.dart';
import 'package:analysis_server/src/services/index/index.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(AnalysisNotificationImplementedTest);
+ defineReflectiveSuite(() {
+ defineReflectiveTests(AnalysisNotificationImplementedTest);
+ });
}
@reflectiveTest
@@ -432,6 +434,7 @@ class B extends A {
return new Future.delayed(
new Duration(milliseconds: 1), () => waitForNotification(times - 1));
}
+
return waitForNotification(30000);
}
}

Powered by Google App Engine
This is Rietveld 408576698