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

Unified Diff: pkg/analysis_server/test/integration/analysis/navigation_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/analysis/navigation_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/navigation_test.dart b/pkg/analysis_server/test/integration/analysis/navigation_test.dart
index 827f423e9d477d1160cf4c034c977257a74e4cce..caab4cc84c624da9618aeebb0d7c6907531ca012 100644
--- a/pkg/analysis_server/test/integration/analysis/navigation_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/navigation_test.dart
@@ -4,9 +4,10 @@
library test.integration.analysis.navigation;
-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()
@@ -51,7 +52,7 @@ part of foo;
''';
writeFile(pathname2, text2);
standardAnalysisSetup();
- sendAnalysisSetSubscriptions({'NAVIGATION': [pathname1]});
+ sendAnalysisSetSubscriptions({AnalysisService.NAVIGATION: [pathname1]});
List regions;
onAnalysisNavigation.listen((params) {
expect(params['file'], equals(pathname1));

Powered by Google App Engine
This is Rietveld 408576698