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

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

Issue 1866753004: Code completion build fix following https://codereview.chromium.org/1860213002, fix test_all.dart t… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rebase with latest Created 4 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 | « no previous file | pkg/analysis_server/test/test_all.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: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 2637 matching lines...) Expand 10 before | Expand all | Expand 10 after
2648 2648
2649 // keywords 2649 // keywords
2650 buildTests( 2650 buildTests(
2651 'test017', 2651 'test017',
2652 ''' 2652 '''
2653 !1!2import 'x' !5as r; 2653 !1!2import 'x' !5as r;
2654 !3export '!8uri' !6hide Q !7show X; 2654 !3export '!8uri' !6hide Q !7show X;
2655 !4part 'x';''', 2655 !4part 'x';''',
2656 <String>[ 2656 <String>[
2657 "1+library", 2657 "1+library",
2658 "2+import", 2658 "2+import \'\';",
2659 "3+export", 2659 "3+export \'\';",
2660 "4+part", 2660 "4+part \'\';",
2661 "5+as", 2661 "5+as",
2662 "6+hide", 2662 "6+hide",
2663 "7+show", 2663 "7+show",
2664 "8-null" 2664 "8-null"
2665 ], 2665 ],
2666 failingTests: '567'); 2666 failingTests: '234567'); //TODO(jwren) 234 failing as correct selection
2667 // offset assertions can't be passed into buildTests(..)
2667 2668
2668 // keywords 2669 // keywords
2669 buildTests('test018', '''!1part !2of foo;''', <String>["1+part", "2+of"], 2670 buildTests('test018', '''!1part !2of foo;''', <String>["1+part", "2+of"],
2670 failingTests: '2'); 2671 failingTests: '12');
2671 2672
2672 buildTests( 2673 buildTests(
2673 'test019', 2674 'test019',
2674 ''' 2675 '''
2675 var truefalse = 0; 2676 var truefalse = 0;
2676 var falsetrue = 1; 2677 var falsetrue = 1;
2677 main() { 2678 main() {
2678 var foo = true!1 2679 var foo = true!1
2679 }''', 2680 }''',
2680 <String>["1+true", "1+truefalse", "1-falsetrue"]); 2681 <String>["1+true", "1+truefalse", "1-falsetrue"]);
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
2990 } else { 2991 } else {
2991 ++expectedPassCount; 2992 ++expectedPassCount;
2992 tester(testName, () { 2993 tester(testName, () {
2993 CompletionTestCase test = new CompletionTestCase(); 2994 CompletionTestCase test = new CompletionTestCase();
2994 return test.runTest(spec, extraFiles); 2995 return test.runTest(spec, extraFiles);
2995 }); 2996 });
2996 } 2997 }
2997 } 2998 }
2998 } 2999 }
2999 } 3000 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/test/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698