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

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

Issue 805683002: fix invocation completion test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years 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 | pkg/analysis_server/test/mock_sdk.dart » ('j') | 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:collection'; 7 import 'dart:collection';
8 8
9 import 'completion_test_support.dart'; 9 import 'completion_test_support.dart';
10 10
(...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1853 void r1(var v) { 1853 void r1(var v) {
1854 v.!1toString!2().!3hash!4Code 1854 v.!1toString!2().!3hash!4Code
1855 }''', 1855 }''',
1856 <String>[ 1856 <String>[
1857 "1+toString", 1857 "1+toString",
1858 "1-==", 1858 "1-==",
1859 "2+toString", 1859 "2+toString",
1860 "3+hashCode", 1860 "3+hashCode",
1861 "3+toString", 1861 "3+toString",
1862 "4+hashCode", 1862 "4+hashCode",
1863 "4-toString"], 1863 "4-toString"]);
1864 failingTests: '34');
1865 1864
1866 CompletionTestCase.buildTests('test002', ''' 1865 CompletionTestCase.buildTests('test002', '''
1867 void r2(var vim) { 1866 void r2(var vim) {
1868 v!1.toString() 1867 v!1.toString()
1869 }''', <String>["1+vim"]); 1868 }''', <String>["1+vim"]);
1870 1869
1871 CompletionTestCase.buildTests('test003', ''' 1870 CompletionTestCase.buildTests('test003', '''
1872 class A { 1871 class A {
1873 int a() => 3; 1872 int a() => 3;
1874 int b() => this.!1a(); 1873 int b() => this.!1a();
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
2399 'test_classMembers_inGetter', 2398 'test_classMembers_inGetter',
2400 '''class A { var fff; get z {ff!1}}''', 2399 '''class A { var fff; get z {ff!1}}''',
2401 <String>["1+fff"]); 2400 <String>["1+fff"]);
2402 2401
2403 CompletionTestCase.buildTests( 2402 CompletionTestCase.buildTests(
2404 'testSingle', 2403 'testSingle',
2405 '''class A {int x; !2mth() {int y = this.x;}}class B{}''', 2404 '''class A {int x; !2mth() {int y = this.x;}}class B{}''',
2406 <String>["2+B"]); 2405 <String>["2+B"]);
2407 } 2406 }
2408 } 2407 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/test/mock_sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698