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

Unified Diff: pkg/analyzer/test/src/dart/analysis/search_test.dart

Issue 2959273002: Report only private members in the same library as overrides. (Closed)
Patch Set: 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
« no previous file with comments | « pkg/analyzer/lib/src/dart/analysis/search.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/dart/analysis/search_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/search_test.dart b/pkg/analyzer/test/src/dart/analysis/search_test.dart
index 29f5a18a601d3f6c8204209a3101af911d52587d..1bbef59ff22cc603a9f1ca6d97dad1f711e9c0ce 100644
--- a/pkg/analyzer/test/src/dart/analysis/search_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/search_test.dart
@@ -1114,8 +1114,16 @@ class F {}
SubtypeResult c = subtypes.singleWhere((r) => r.name == 'C');
SubtypeResult d = subtypes.singleWhere((r) => r.name == 'D');
+ expect(b.libraryUri, testUri);
+ expect(b.id, '$testUri;$testUri;B');
expect(b.members, ['methodB']);
+
+ expect(c.libraryUri, testUri);
+ expect(c.id, '$testUri;$testUri;C');
expect(c.members, ['methodC']);
+
+ expect(d.libraryUri, testUri);
+ expect(d.id, '$testUri;$testUri;D');
expect(d.members, ['methodD']);
// Search by 'id'.
« no previous file with comments | « pkg/analyzer/lib/src/dart/analysis/search.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698