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

Unified Diff: pkg/analysis_server/test/integration/server_domain_int_test.dart

Issue 429383002: Wait for "server.connected" notification before beginning integration tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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
« no previous file with comments | « pkg/analysis_server/test/integration/integration_tests.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/server_domain_int_test.dart
diff --git a/pkg/analysis_server/test/integration/server_domain_int_test.dart b/pkg/analysis_server/test/integration/server_domain_int_test.dart
index 05c6b9067bef6b07fdc91a60ace9b58911404345..c5779422d58d2356ce0377bce070f6a12b8bc144 100644
--- a/pkg/analysis_server/test/integration/server_domain_int_test.dart
+++ b/pkg/analysis_server/test/integration/server_domain_int_test.dart
@@ -82,13 +82,7 @@ main() {
}
test_connected() {
- Completer receivedConnected = new Completer();
- server.onNotification(SERVER_CONNECTED).listen((params) {
- expect(receivedConnected.isCompleted, isFalse);
- receivedConnected.complete();
- expect(params, isNull);
- });
- return receivedConnected.future;
+ expect(serverConnectedParams, isNull);
}
test_error() {
« no previous file with comments | « pkg/analysis_server/test/integration/integration_tests.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698