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

Unified Diff: pkg/analysis_server/test/integration/server/set_subscriptions_test.dart

Issue 621383002: Change integration test send...() methods to use structured objects. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reintroduce type checking of server responses Created 6 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/integration/server/set_subscriptions_test.dart
diff --git a/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart b/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart
index 63598a8335eaba5eaf13f605b900de7eae636062..9a380615d3ce612d439d98078954c10998cd4b7c 100644
--- a/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart
+++ b/pkg/analysis_server/test/integration/server/set_subscriptions_test.dart
@@ -6,9 +6,10 @@ library test.integration.server.set.subscriptions;
import 'dart:async';
-import '../../reflective_tests.dart';
+import 'package:analysis_server/src/protocol.dart';
import 'package:unittest/unittest.dart';
+import '../../reflective_tests.dart';
import '../integration_tests.dart';
@ReflectiveTestCase()
@@ -35,7 +36,7 @@ main() {
// received.
return analysisBegun.future.then((_) {
expect(statusReceived, isFalse);
- return sendServerSetSubscriptions(['STATUS']).then((_) {
+ return sendServerSetSubscriptions([ServerService.STATUS]).then((_) {
// Tickle test.dart just in case analysis has already completed.
writeFile(pathname, '''
main() {

Powered by Google App Engine
This is Rietveld 408576698