| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // This tests uses the multi-test "ok" feature: | 5 // This tests uses the multi-test "ok" feature: |
| 6 // none: Trimmed behaviour. Passing on the VM. | 6 // none: Trimmed behaviour. Passing on the VM. |
| 7 // 01: Trimmed version for dart2js. | 7 // 01: Trimmed version for dart2js. |
| 8 // 02: Full version passing in the VM. | 8 // 02: Full version passing in the VM. |
| 9 // | 9 // |
| 10 // TODO(rmacnak,ahe): Remove multi-test when VM and dart2js are on par. | 10 // TODO(rmacnak,ahe): Remove multi-test when VM and dart2js are on par. |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 'reflect(new A<int>()).type' : reflect(new A<int>()).type}, /// 02: ok | 114 'reflect(new A<int>()).type' : reflect(new A<int>()).type}, /// 02: ok |
| 115 | 115 |
| 116 {'reflectClass(B)' : reflectClass(B), | 116 {'reflectClass(B)' : reflectClass(B), |
| 117 'thisLibrary.classes[#B]' : thisLibrary.classes[const Symbol('B')], | 117 'thisLibrary.classes[#B]' : thisLibrary.classes[const Symbol('B')], |
| 118 'reflect(new B()).type' : reflect(new B()).type}, | 118 'reflect(new B()).type' : reflect(new B()).type}, |
| 119 | 119 |
| 120 {'thisLibrary' : thisLibrary, | 120 {'thisLibrary' : thisLibrary, |
| 121 'reflectClass(A).owner' : reflectClass(A).owner, | 121 'reflectClass(A).owner' : reflectClass(A).owner, |
| 122 'reflectClass(B).owner' : reflectClass(B).owner, | 122 'reflectClass(B).owner' : reflectClass(B).owner, |
| 123 'reflect(new A()).type.owner' : reflect(new A()).type.owner, | 123 'reflect(new A()).type.owner' : reflect(new A()).type.owner, |
| 124 'reflect(new A()).type.owner' : reflect(new A()).type.owner}, | 124 'reflect(new B()).type.owner' : reflect(new B()).type.owner}, |
| 125 ]); | 125 ]); |
| 126 } | 126 } |
| OLD | NEW |