| 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 sexpr_test. | 5 /// Test data for sexpr_test. |
| 6 library test.sexpr.data; | 6 library test.sexpr.data; |
| 7 | 7 |
| 8 import 'test_helper.dart'; | 8 import 'test_helper.dart'; |
| 9 | 9 |
| 10 const List<Group> TEST_DATA = const [ | 10 const List<Group> TEST_DATA = const [ |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 (InvokeStatic print v0 k1)) | 695 (InvokeStatic print v0 k1)) |
| 696 (LetCont (k2) | 696 (LetCont (k2) |
| 697 (LetPrim v3 (Constant IntConstant(2))) | 697 (LetPrim v3 (Constant IntConstant(2))) |
| 698 (LetCont (k3 v4) | 698 (LetCont (k3 v4) |
| 699 (LetPrim v5 (Constant IntConstant(2))) | 699 (LetPrim v5 (Constant IntConstant(2))) |
| 700 (InvokeContinuation return v5)) | 700 (InvokeContinuation return v5)) |
| 701 (InvokeStatic print v3 k3)) | 701 (InvokeStatic print v3 k3)) |
| 702 (Branch (IsTrue a) k0 k2)) | 702 (Branch (IsTrue a) k0 k2)) |
| 703 '''), | 703 '''), |
| 704 ]), | 704 ]), |
| 705 |
| 706 const Group('Constructor invocation', const <TestSpec>[ |
| 707 const TestSpec(''' |
| 708 main(a) { |
| 709 new Object(); |
| 710 } |
| 711 ''', ''' |
| 712 (FunctionDefinition main (a return) |
| 713 (LetCont (k0 v0) |
| 714 (LetPrim v1 (Constant NullConstant)) |
| 715 (InvokeContinuation return v1)) |
| 716 (InvokeConstructor Object k0)) |
| 717 '''), |
| 718 |
| 719 const TestSpec(''' |
| 720 main(a) { |
| 721 new Deprecated(""); |
| 722 } |
| 723 ''', ''' |
| 724 (FunctionDefinition main (a return) |
| 725 (LetPrim v0 (Constant StringConstant(""))) |
| 726 (LetCont (k0 v1) |
| 727 (LetPrim v2 (Constant NullConstant)) |
| 728 (InvokeContinuation return v2)) |
| 729 (InvokeConstructor Deprecated v0 k0)) |
| 730 '''), |
| 731 ]), |
| 705 ]; | 732 ]; |
| OLD | NEW |