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.dart.keyword; | 5 import 'package:analysis_server/protocol/protocol_generated.dart'; |
6 | |
7 import 'package:analysis_server/plugin/protocol/protocol.dart'; | |
8 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; | 6 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; |
9 import 'package:analysis_server/src/services/completion/dart/keyword_contributor
.dart'; | 7 import 'package:analysis_server/src/services/completion/dart/keyword_contributor
.dart'; |
10 import 'package:analyzer/dart/ast/token.dart'; | 8 import 'package:analyzer/dart/ast/token.dart'; |
11 import 'package:test/test.dart'; | 9 import 'package:test/test.dart'; |
12 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 10 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
13 | 11 |
14 import 'completion_contributor_util.dart'; | 12 import 'completion_contributor_util.dart'; |
15 | 13 |
16 main() { | 14 main() { |
17 defineReflectiveSuite(() { | 15 defineReflectiveSuite(() { |
(...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1776 if (iter2.any((c) => !iter1.contains(c))) return false; | 1774 if (iter2.any((c) => !iter1.contains(c))) return false; |
1777 return true; | 1775 return true; |
1778 } | 1776 } |
1779 } | 1777 } |
1780 | 1778 |
1781 @reflectiveTest | 1779 @reflectiveTest |
1782 class KeywordContributorTest_Driver extends KeywordContributorTest { | 1780 class KeywordContributorTest_Driver extends KeywordContributorTest { |
1783 @override | 1781 @override |
1784 bool get enableNewAnalysisDriver => true; | 1782 bool get enableNewAnalysisDriver => true; |
1785 } | 1783 } |
OLD | NEW |