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

Unified Diff: pkg/analysis_server/test/integration/analysis/occurrences_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/occurrences_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/occurrences_test.dart b/pkg/analysis_server/test/integration/analysis/occurrences_test.dart
index e8ef6f153858b3e3899e03a73426b193e64f74ee..781d0d65a63bb09302d228f3d9a8ef35ee976412 100644
--- a/pkg/analysis_server/test/integration/analysis/occurrences_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/occurrences_test.dart
@@ -4,9 +4,10 @@
library test.integration.analysis.occurrences;
-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()
@@ -28,7 +29,7 @@ main() {
writeFile(pathname, text);
standardAnalysisSetup();
sendAnalysisSetSubscriptions({
- 'OCCURRENCES': [pathname]
+ AnalysisService.OCCURRENCES: [pathname]
});
List occurrences;
onAnalysisOccurrences.listen((params) {

Powered by Google App Engine
This is Rietveld 408576698