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

Unified Diff: pkg/analysis_server/test/analysis_notification_outline_test.dart

Issue 339933006: Fix for subscribing for notifications after analysis. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks for review comments Created 6 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
« no previous file with comments | « pkg/analysis_server/test/analysis_notification_navigation_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/analysis_notification_outline_test.dart
diff --git a/pkg/analysis_server/test/analysis_notification_outline_test.dart b/pkg/analysis_server/test/analysis_notification_outline_test.dart
index 0becad14d18ea3c40f26b85e4d2476513d0c8a52..d8877edeec367f2bb982298675e8ec9dd7adb26e 100644
--- a/pkg/analysis_server/test/analysis_notification_outline_test.dart
+++ b/pkg/analysis_server/test/analysis_notification_outline_test.dart
@@ -203,6 +203,23 @@ class B {
});
}
+ test_afterAnalysis() {
+ addTestFile('''
+class AAA {
+}
+class BBB {
+}
+''');
+ return waitForTasksFinished().then((_) {
+ expect(outline, isNull);
+ return prepareOutline(() {
+ _Outline unitOutline = outline;
+ List<_Outline> outlines = unitOutline.children;
+ expect(outlines, hasLength(2));
+ });
+ });
+ }
+
test_sourceRange_inClass() {
addTestFile('''
class A { // leftA
« no previous file with comments | « pkg/analysis_server/test/analysis_notification_navigation_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698