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

Side by Side Diff: pkg/analyzer2dart/test/end2end_data.dart

Issue 677663002: Support constructor invocation in analyzer2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comment. Created 6 years, 1 month 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 | « pkg/analyzer2dart/lib/src/util.dart ('k') | pkg/analyzer2dart/test/sexpr_data.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 /// Test data for the end2end test. 5 /// Test data for the end2end test.
6 library test.end2end.data; 6 library test.end2end.data;
7 7
8 import 'test_helper.dart' show Group; 8 import 'test_helper.dart' show Group;
9 import 'test_helper.dart' as base show TestSpec; 9 import 'test_helper.dart' as base show TestSpec;
10 10
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 if (a) { 438 if (a) {
439 print(0); 439 print(0);
440 return 0; 440 return 0;
441 } else { 441 } else {
442 print(2); 442 print(2);
443 return 2; 443 return 2;
444 } 444 }
445 } 445 }
446 '''), 446 '''),
447 ]), 447 ]),
448
449 const Group('Constructor invocation', const <TestSpec>[
450 const TestSpec('''
451 main(a) {
452 new Object();
453 }
454 '''),
455
456 const TestSpec('''
457 main(a) {
458 new Deprecated("");
459 }
460 '''),
461 ]),
448 ]; 462 ];
OLDNEW
« no previous file with comments | « pkg/analyzer2dart/lib/src/util.dart ('k') | pkg/analyzer2dart/test/sexpr_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698