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

Unified Diff: pkg/analysis_server/test/analysis/notification_implemented_test.dart

Issue 2960073002: Generate constants in server as we do in plugin (Closed)
Patch Set: improve names Created 3 years, 6 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/analysis/notification_implemented_test.dart
diff --git a/pkg/analysis_server/test/analysis/notification_implemented_test.dart b/pkg/analysis_server/test/analysis/notification_implemented_test.dart
index bbe0a1057d1c1cce932b9ce2d38c251d68493ace..f7f9a29d8081d4d11b91f899d3c0fb6bf211fd0c 100644
--- a/pkg/analysis_server/test/analysis/notification_implemented_test.dart
+++ b/pkg/analysis_server/test/analysis/notification_implemented_test.dart
@@ -5,8 +5,8 @@
import 'dart:async';
import 'package:analysis_server/protocol/protocol.dart';
+import 'package:analysis_server/protocol/protocol_constants.dart';
import 'package:analysis_server/protocol/protocol_generated.dart';
-import 'package:analysis_server/src/constants.dart';
import 'package:analysis_server/src/services/index/index.dart';
import 'package:analyzer_plugin/protocol/protocol_common.dart';
import 'package:test/test.dart';
@@ -107,7 +107,7 @@ class AnalysisNotificationImplementedTest extends AbstractAnalysisTest {
}
void processNotification(Notification notification) {
- if (notification.event == ANALYSIS_IMPLEMENTED) {
+ if (notification.event == ANALYSIS_NOTIFICATION_IMPLEMENTED) {
var params = new AnalysisImplementedParams.fromNotification(notification);
if (params.file == testFile) {
implementedClasses = params.classes;

Powered by Google App Engine
This is Rietveld 408576698