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

Unified Diff: pkg/analysis_server/test/integration/analysis/outline_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/outline_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/outline_test.dart b/pkg/analysis_server/test/integration/analysis/outline_test.dart
index 7789f170b12ec5ea91e35557c51afc8f5c934177..e470e503b1b73519f5dfece77e15a34e5c9ca5dc 100644
--- a/pkg/analysis_server/test/integration/analysis/outline_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/outline_test.dart
@@ -4,9 +4,10 @@
library test.integration.analysis.outline;
-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()
@@ -38,7 +39,7 @@ class Class2 {
writeFile(pathname, text);
standardAnalysisSetup();
sendAnalysisSetSubscriptions({
- 'OUTLINE': [pathname]
+ AnalysisService.OUTLINE: [pathname]
});
Map outline;
onAnalysisOutline.listen((params) {

Powered by Google App Engine
This is Rietveld 408576698