| OLD | NEW |
| 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 Loading... |
| 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 ]; |
| OLD | NEW |