| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.contributor.dart.type_member; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 | 6 |
| 9 import 'package:analysis_server/plugin/protocol/protocol.dart'; | 7 import 'package:analysis_server/protocol/protocol_generated.dart'; |
| 10 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; | 8 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; |
| 11 import 'package:analysis_server/src/services/completion/dart/type_member_contrib
utor.dart'; | 9 import 'package:analysis_server/src/services/completion/dart/type_member_contrib
utor.dart'; |
| 12 import 'package:test/test.dart'; | 10 import 'package:test/test.dart'; |
| 13 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 11 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 14 | 12 |
| 15 import 'completion_contributor_util.dart'; | 13 import 'completion_contributor_util.dart'; |
| 16 | 14 |
| 17 main() { | 15 main() { |
| 18 defineReflectiveSuite(() { | 16 defineReflectiveSuite(() { |
| 19 defineReflectiveTests(TypeMemberContributorTest); | 17 defineReflectiveTests(TypeMemberContributorTest); |
| (...skipping 4192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4212 bool foo(int bar, {bool boo, @required int baz}) => false; | 4210 bool foo(int bar, {bool boo, @required int baz}) => false; |
| 4213 } | 4211 } |
| 4214 | 4212 |
| 4215 void main() {new A().f^}'''); | 4213 void main() {new A().f^}'''); |
| 4216 await computeSuggestions(); | 4214 await computeSuggestions(); |
| 4217 | 4215 |
| 4218 assertSuggestMethod('foo', 'A', 'bool', | 4216 assertSuggestMethod('foo', 'A', 'bool', |
| 4219 defaultArgListString: 'bar, baz: null'); | 4217 defaultArgListString: 'bar, baz: null'); |
| 4220 } | 4218 } |
| 4221 } | 4219 } |
| OLD | NEW |