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

Unified Diff: pkg/analysis_server/test/plugin/set_analysis_domain_test.dart

Issue 1776023002: Add AnalysisContext.onResultInvalidated(descriptor). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update Analysis Server. Created 4 years, 9 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/plugin/set_analysis_domain_test.dart
diff --git a/pkg/analysis_server/test/plugin/set_analysis_domain_test.dart b/pkg/analysis_server/test/plugin/set_analysis_domain_test.dart
index a92c943b98202b4a6418eb3d68319ab30e2d16d8..36e152241146ea24b332e0a75d274a3aeef5c4da 100644
--- a/pkg/analysis_server/test/plugin/set_analysis_domain_test.dart
+++ b/pkg/analysis_server/test/plugin/set_analysis_domain_test.dart
@@ -149,7 +149,7 @@ class TestSetAnalysisDomainPlugin implements Plugin {
}
void _setAnalysisDomain(AnalysisDomain domain) {
- domain.onResultComputed(PARSED_UNIT).listen((result) {
+ domain.onResultChanged(PARSED_UNIT).listen((result) {
expect(result.context, isNotNull);
expect(result.target, isNotNull);
expect(result.value, isNotNull);

Powered by Google App Engine
This is Rietveld 408576698