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.services.completion.invocation; | 5 library test.services.completion.invocation; |
6 | 6 |
7 | 7 |
8 import 'package:analysis_services/src/completion/invocation_computer.dart'; | 8 import 'package:analysis_server/src/services/completion/invocation_computer.dart
'; |
9 import 'package:analysis_testing/reflective_tests.dart'; | 9 import 'package:analysis_testing/reflective_tests.dart'; |
10 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
11 | 11 |
12 import 'completion_test_util.dart'; | 12 import 'completion_test_util.dart'; |
13 | 13 |
14 main() { | 14 main() { |
15 groupSep = ' | '; | 15 groupSep = ' | '; |
16 runReflectiveTests(InvocationComputerTest); | 16 runReflectiveTests(InvocationComputerTest); |
17 } | 17 } |
18 | 18 |
(...skipping 27 matching lines...) Expand all Loading... |
46 }); | 46 }); |
47 } | 47 } |
48 | 48 |
49 test_setter() { | 49 test_setter() { |
50 addTestSource('class A {set b(X x) {}} main() {A a; a.^}'); | 50 addTestSource('class A {set b(X x) {}} main() {A a; a.^}'); |
51 return computeFull().then((_) { | 51 return computeFull().then((_) { |
52 assertSuggestSetter('b'); | 52 assertSuggestSetter('b'); |
53 }); | 53 }); |
54 } | 54 } |
55 } | 55 } |
OLD | NEW |