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

Side by Side Diff: pkg/analysis_server/test/services/completion/statement/statement_completion_test.dart

Issue 2830793007: Clean up TODOs (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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.statement; 5 library test.services.completion.statement;
6 6
7 import 'package:analysis_server/src/protocol_server.dart'; 7 import 'package:analysis_server/src/protocol_server.dart';
8 import 'package:analysis_server/src/services/completion/statement/statement_comp letion.dart'; 8 import 'package:analysis_server/src/services/completion/statement/statement_comp letion.dart';
9 import 'package:analyzer/src/dart/analysis/driver.dart'; 9 import 'package:analyzer/src/dart/analysis/driver.dart';
10 import 'package:test/test.dart'; 10 import 'package:test/test.dart';
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 main() { 210 main() {
211 for (int i = 0;) { 211 for (int i = 0;) {
212 } 212 }
213 } 213 }
214 ''', 214 ''',
215 atEnd: true); 215 atEnd: true);
216 _assertHasChange( 216 _assertHasChange(
217 'Complete for-statement', 217 'Complete for-statement',
218 ''' 218 '''
219 main() { 219 main() {
220 for (int i = 0; ) { 220 for (int i = 0; ; ) {
221 } 221 }
222 } 222 }
223 ''', 223 ''',
224 (s) => _after(s, '0; ')); 224 (s) => _after(s, '0; '));
225 } 225 }
226 226
227 test_emptyInitializers() async { 227 test_emptyInitializers() async {
228 await _prepareCompletion( 228 await _prepareCompletion(
229 '}', 229 '}',
230 ''' 230 '''
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 ''' 893 '''
894 main() { 894 main() {
895 while () { 895 while () {
896 //// 896 ////
897 } 897 }
898 } 898 }
899 ''', 899 ''',
900 (s) => _after(s, 'while (')); 900 (s) => _after(s, 'while ('));
901 } 901 }
902 } 902 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/services/completion/statement/statement_completion.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698