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

Unified Diff: pkg/analysis_server/test/integration/analysis/get_hover_test.dart

Issue 1513943005: Tweaks for hover. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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') | pkg/analyzer/lib/src/generated/element.dart » ('j') | 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 b42cd9e3573103dd2e0f2bbe30fb805e0ac16807..076ae9dfe9ea021614297c6d391d2ad3a393bbee 100644
--- a/pkg/analysis_server/test/integration/analysis/get_hover_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/get_hover_test.dart
@@ -150,13 +150,13 @@ main() {
tests.add(checkHover('topLevelVar;', 11, ['List', 'topLevelVar'],
'top level variable', ['List']));
tests.add(checkHover(
- 'func(', 4, ['func', 'int', 'param'], 'function', ['int', 'void'],
+ 'func(', 4, ['func', 'int', 'param'], 'function', null,
docRegexp: 'Documentation for func'));
- tests.add(checkHover('int param', 3, ['int'], 'class', ['int'],
+ tests.add(checkHover('int param', 3, ['int'], 'class', null,
isCore: true, docRegexp: '.*'));
tests.add(checkHover('param)', 5, ['int', 'param'], 'parameter', ['int'],
isLocal: true, docRegexp: 'Documentation for func'));
- tests.add(checkHover('num localVar', 3, ['num'], 'class', ['num'],
+ tests.add(checkHover('num localVar', 3, ['num'], 'class', null,
isCore: true, docRegexp: '.*'));
tests.add(checkHover(
'localVar =', 8, ['num', 'localVar'], 'local variable', ['num'],
@@ -164,10 +164,10 @@ main() {
tests.add(checkHover('topLevelVar.length;', 11, ['List', 'topLevelVar'],
'top level variable', ['List']));
tests.add(checkHover(
- 'length;', 6, ['get', 'length', 'int'], 'getter', ['int'],
+ 'length;', 6, ['get', 'length', 'int'], 'getter', null,
isCore: true, docRegexp: '.*'));
tests.add(checkHover(
- 'length =', 6, ['set', 'length', 'int'], 'setter', ['int'],
+ 'length =', 6, ['set', 'length', 'int'], 'setter', null,
isCore: true, docRegexp: '.*'));
tests.add(checkHover('param;', 5, ['int', 'param'], 'parameter', ['int'],
isLocal: true,
« no previous file with comments | « pkg/analysis_server/test/analysis/get_hover_test.dart ('k') | pkg/analyzer/lib/src/generated/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698