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/get_hover_test.dart

Issue 1814893002: Issue 25945. Include static/propagateInvokeType for MethodInvocation names into hover. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
« no previous file with comments | « pkg/analysis_server/test/analysis/get_hover_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/integration/analysis/get_hover_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/get_hover_test.dart b/pkg/analysis_server/test/integration/analysis/get_hover_test.dart
index 076ae9dfe9ea021614297c6d391d2ad3a393bbee..7ed29893408ddbf08a8cd2e88419436edd32af37 100644
--- a/pkg/analysis_server/test/integration/analysis/get_hover_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/get_hover_test.dart
@@ -173,13 +173,14 @@ main() {
isLocal: true,
docRegexp: 'Documentation for func',
parameterRegexps: ['.*']));
- tests.add(checkHover('add(', 3, ['List', 'add'], 'method', null,
+ tests.add(checkHover(
+ 'add(', 3, ['List', 'add'], 'method', ['dynamic', 'void'],
isCore: true, docRegexp: '.*'));
tests.add(checkHover(
'localVar)', 8, ['num', 'localVar'], 'local variable', ['num'],
isLocal: true, parameterRegexps: ['.*'], propagatedType: 'int'));
tests.add(checkHover(
- 'func(35', 4, ['func', 'int', 'param'], 'function', null,
+ 'func(35', 4, ['func', 'int', 'param'], 'function', ['int', 'void'],
docRegexp: 'Documentation for func'));
tests.add(checkHover('35', 2, null, null, ['int'],
isLiteral: true, parameterRegexps: ['int', 'param']));
« no previous file with comments | « pkg/analysis_server/test/analysis/get_hover_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698