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

Side by Side Diff: pkg/analysis_server/test/completion_test.dart

Issue 881413002: fix failing test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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) 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.completion.support; 5 library test.completion.support;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 buildTests('testCommentSnippets018', ''' 122 buildTests('testCommentSnippets018', '''
123 class Map{}class Arrays{}class C{ m(!1){} n(!2 x, q)''', 123 class Map{}class Arrays{}class C{ m(!1){} n(!2 x, q)''',
124 <String>["1+Map", "1-void", "1-null", "2+Arrays", "2-void", "2-null"], 124 <String>["1+Map", "1-void", "1-null", "2+Arrays", "2-void", "2-null"],
125 failingTests: '1'); 125 failingTests: '1');
126 126
127 buildTests('testCommentSnippets019', ''' 127 buildTests('testCommentSnippets019', '''
128 class A{m(){Object x;x.!1/**/clear()''', <String>["1+toString"]); 128 class A{m(){Object x;x.!1/**/clear()''', <String>["1+toString"]);
129 129
130 buildTests('testCommentSnippets020', ''' 130 buildTests('testCommentSnippets020', '''
131 classMap{}class tst {var newt;void newf(){}test() {var newz;new!1/**/;}}''', 131 classMap{}class tst {var newt;void newf(){}test() {var newz;new!1/**/;}}''',
132 <String>["1+newt", "1+newf", "1+newz", "1-Map"], 132 <String>["1+newt", "1+newf", "1+newz", "1-Map"]);
133 failingTests: '1');
134 133
135 buildTests('testCommentSnippets021', ''' 134 buildTests('testCommentSnippets021', '''
136 class Map{}class tst {var newt;void newf(){}test() {var newz;new !1/**/;}}''', 135 class Map{}class tst {var newt;void newf(){}test() {var newz;new !1/**/;}}''',
137 <String>["1+Map", "1-newt"], 136 <String>["1+Map", "1-newt"],
138 failingTests: '1'); 137 failingTests: '1');
139 138
140 buildTests('testCommentSnippets022', ''' 139 buildTests('testCommentSnippets022', '''
141 class Map{}class F{m(){new !1;}}''', <String>["1+Map"], failingTests: '1'); 140 class Map{}class F{m(){new !1;}}''', <String>["1+Map"], failingTests: '1');
142 141
143 buildTests('testCommentSnippets022a', ''' 142 buildTests('testCommentSnippets022a', '''
(...skipping 2244 matching lines...) Expand 10 before | Expand all | Expand 10 after
2388 } else { 2387 } else {
2389 ++expectedPassCount; 2388 ++expectedPassCount;
2390 tester(testName, () { 2389 tester(testName, () {
2391 CompletionTestCase test = new CompletionTestCase(); 2390 CompletionTestCase test = new CompletionTestCase();
2392 return test.runTest(spec, extraFiles); 2391 return test.runTest(spec, extraFiles);
2393 }); 2392 });
2394 } 2393 }
2395 } 2394 }
2396 } 2395 }
2397 } 2396 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698