| OLD | NEW |
| 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 library test.integration.analysis.get.hover; | 5 library test.integration.analysis.get.hover; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:analysis_server/src/protocol.dart'; | 9 import 'package:analysis_server/src/protocol.dart'; |
| 10 import 'package:path/path.dart'; | 10 import 'package:path/path.dart'; |
| 11 import 'package:unittest/unittest.dart'; | 11 import 'package:unittest/unittest.dart'; |
| 12 | 12 |
| 13 import '../../reflective_tests.dart'; | 13 import '../../reflective_tests.dart'; |
| 14 import '../integration_tests.dart'; | 14 import '../integration_tests.dart'; |
| 15 | 15 |
| 16 main() { | 16 main() { |
| 17 runReflectiveTests(AnalysisGetHoverIntegrationTest); | 17 runReflectiveTests(AnalysisGetHoverIntegrationTest); |
| 18 } | 18 } |
| 19 | 19 |
| 20 @ReflectiveTestCase() | 20 @reflectiveTest |
| 21 class AnalysisGetHoverIntegrationTest extends | 21 class AnalysisGetHoverIntegrationTest extends |
| 22 AbstractAnalysisServerIntegrationTest { | 22 AbstractAnalysisServerIntegrationTest { |
| 23 /** | 23 /** |
| 24 * Pathname of the file containing Dart code. | 24 * Pathname of the file containing Dart code. |
| 25 */ | 25 */ |
| 26 String pathname; | 26 String pathname; |
| 27 | 27 |
| 28 /** | 28 /** |
| 29 * Dart code under test. | 29 * Dart code under test. |
| 30 */ | 30 */ |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 null, | 257 null, |
| 258 null, | 258 null, |
| 259 ['int'], | 259 ['int'], |
| 260 isLiteral: true, | 260 isLiteral: true, |
| 261 parameterRegexps: ['int', 'param'])); | 261 parameterRegexps: ['int', 'param'])); |
| 262 tests.add(checkNoHover('comment')); | 262 tests.add(checkNoHover('comment')); |
| 263 return Future.wait(tests); | 263 return Future.wait(tests); |
| 264 }); | 264 }); |
| 265 } | 265 } |
| 266 } | 266 } |
| OLD | NEW |