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

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

Issue 2957593002: Spelling fixes e to i. (Closed)
Patch Set: Created 3 years, 5 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
OLDNEW
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 import 'dart:async'; 5 import 'dart:async';
6 6
7 import 'package:analysis_server/src/provisional/completion/dart/completion_dart. dart'; 7 import 'package:analysis_server/src/provisional/completion/dart/completion_dart. dart';
8 import 'package:analysis_server/src/services/completion/dart/type_member_contrib utor.dart'; 8 import 'package:analysis_server/src/services/completion/dart/type_member_contrib utor.dart';
9 import 'package:analyzer_plugin/protocol/protocol_common.dart'; 9 import 'package:analyzer_plugin/protocol/protocol_common.dart';
10 import 'package:test/test.dart'; 10 import 'package:test/test.dart';
(...skipping 1873 matching lines...) Expand 10 before | Expand all | Expand 10 after
1884 // FieldDeclaration 1884 // FieldDeclaration
1885 addSource('/testA.dart', 'class A { }'); 1885 addSource('/testA.dart', 'class A { }');
1886 addTestSource(''' 1886 addTestSource('''
1887 import "testA.dart"; 1887 import "testA.dart";
1888 class C {var ^}'''); 1888 class C {var ^}''');
1889 await computeSuggestions(); 1889 await computeSuggestions();
1890 assertNoSuggestions(); 1890 assertNoSuggestions();
1891 } 1891 }
1892 1892
1893 test_FieldFormalParameter_in_non_constructor() async { 1893 test_FieldFormalParameter_in_non_constructor() async {
1894 // SimpleIdentifer FieldFormalParameter FormalParameterList 1894 // SimpleIdentifier FieldFormalParameter FormalParameterList
1895 addTestSource('class A {B(this.^foo) {}}'); 1895 addTestSource('class A {B(this.^foo) {}}');
1896 await computeSuggestions(); 1896 await computeSuggestions();
1897 expect(replacementOffset, completionOffset); 1897 expect(replacementOffset, completionOffset);
1898 expect(replacementLength, 3); 1898 expect(replacementLength, 3);
1899 assertNoSuggestions(); 1899 assertNoSuggestions();
1900 } 1900 }
1901 1901
1902 test_ForEachStatement_body_typed() async { 1902 test_ForEachStatement_body_typed() async {
1903 // Block ForEachStatement 1903 // Block ForEachStatement
1904 addTestSource('main(args) {for (int foo in bar) {^}}'); 1904 addTestSource('main(args) {for (int foo in bar) {^}}');
(...skipping 2299 matching lines...) Expand 10 before | Expand all | Expand 10 after
4204 assertNotSuggested('foo2'); 4204 assertNotSuggested('foo2');
4205 assertNotSuggested('bar2'); 4205 assertNotSuggested('bar2');
4206 assertNotSuggested('_B'); 4206 assertNotSuggested('_B');
4207 assertNotSuggested('Y'); 4207 assertNotSuggested('Y');
4208 assertNotSuggested('C'); 4208 assertNotSuggested('C');
4209 assertNotSuggested('f'); 4209 assertNotSuggested('f');
4210 assertNotSuggested('x'); 4210 assertNotSuggested('x');
4211 assertNotSuggested('e'); 4211 assertNotSuggested('e');
4212 } 4212 }
4213 } 4213 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698