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

Side by Side Diff: pkg/analysis_server/test/integration/analysis/get_hover_test.dart

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 6
7 import 'package:analysis_server/plugin/protocol/protocol.dart'; 7 import 'package:analysis_server/protocol/protocol_generated.dart';
8 import 'package:path/path.dart' as path; 8 import 'package:path/path.dart' as path;
9 import 'package:test/test.dart'; 9 import 'package:test/test.dart';
10 import 'package:test_reflective_loader/test_reflective_loader.dart'; 10 import 'package:test_reflective_loader/test_reflective_loader.dart';
11 11
12 import '../integration_tests.dart'; 12 import '../support/integration_tests.dart';
13 13
14 main() { 14 main() {
15 defineReflectiveSuite(() { 15 defineReflectiveSuite(() {
16 defineReflectiveTests(AnalysisGetHoverIntegrationTest); 16 defineReflectiveTests(AnalysisGetHoverIntegrationTest);
17 }); 17 });
18 } 18 }
19 19
20 @reflectiveTest 20 @reflectiveTest
21 class AnalysisGetHoverIntegrationTest 21 class AnalysisGetHoverIntegrationTest
22 extends AbstractAnalysisServerIntegrationTest { 22 extends AbstractAnalysisServerIntegrationTest {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 tests.add(checkHover( 180 tests.add(checkHover(
181 'func(35', 4, ['func', 'int', 'param'], 'function', ['int', 'void'], 181 'func(35', 4, ['func', 'int', 'param'], 'function', ['int', 'void'],
182 docRegexp: 'Documentation for func')); 182 docRegexp: 'Documentation for func'));
183 tests.add(checkHover('35', 2, null, null, ['int'], 183 tests.add(checkHover('35', 2, null, null, ['int'],
184 isLiteral: true, parameterRegexps: ['int', 'param'])); 184 isLiteral: true, parameterRegexps: ['int', 'param']));
185 tests.add(checkNoHover('comment')); 185 tests.add(checkNoHover('comment'));
186 return Future.wait(tests); 186 return Future.wait(tests);
187 }); 187 });
188 } 188 }
189 } 189 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698