| OLD | NEW |
| 1 /// ---- AUTOGENERATED: DO NOT EDIT THIS FILE -------------- | 1 /// ---- AUTOGENERATED: DO NOT EDIT THIS FILE -------------- |
| 2 /// To update this test file, call: | 2 /// To update this test file, call: |
| 3 /// > dart codegen/end_to_end_test.dart --update_static_test | 3 /// > dart codegen/end_to_end_test.dart --update_static_test |
| 4 /// -------------------------------------------------------- | 4 /// -------------------------------------------------------- |
| 5 | 5 |
| 6 library smoke.test.static_test; | 6 library smoke.test.static_test; |
| 7 | 7 |
| 8 import 'package:unittest/unittest.dart'; | 8 import 'package:unittest/unittest.dart'; |
| 9 import 'package:smoke/smoke.dart' show Declaration, PROPERTY, METHOD; | 9 import 'package:smoke/smoke.dart' show Declaration, PROPERTY, METHOD; |
| 10 import 'package:smoke/static.dart' show useGeneratedCode, StaticConfiguration; | 10 import 'package:smoke/static.dart' show useGeneratedCode, StaticConfiguration; |
| 11 import 'common.dart' as smoke_0; | 11 import 'common.dart' as smoke_0; |
| 12 import 'common.dart' as common show main; | 12 import 'common.dart' as common show main; |
| 13 | 13 |
| 14 abstract class _M0 {} // C & A | 14 abstract class _M0 {} // C & A |
| 15 | 15 |
| 16 final configuration = new StaticConfiguration( | 16 final configuration = new StaticConfiguration( |
| 17 checkedMode: false, | 17 checkedMode: false, |
| 18 getters: { | 18 getters: { |
| 19 #i: (o) => o.i, | 19 #i: (o) => o.i, |
| 20 #inc0: (o) => o.inc0, | 20 #inc0: (o) => o.inc0, |
| 21 #inc1: (o) => o.inc1, | 21 #inc1: (o) => o.inc1, |
| 22 #inc2: (o) => o.inc2, | 22 #inc2: (o) => o.inc2, |
| 23 #j: (o) => o.j, | 23 #j: (o) => o.j, |
| 24 #j2: (o) => o.j2, | 24 #j2: (o) => o.j2, |
| 25 #toString: (o) => o.toString, |
| 25 }, | 26 }, |
| 26 setters: { | 27 setters: { |
| 27 #i: (o, v) { o.i = v; }, | 28 #i: (o, v) { o.i = v; }, |
| 28 #j2: (o, v) { o.j2 = v; }, | 29 #j2: (o, v) { o.j2 = v; }, |
| 29 }, | 30 }, |
| 30 parents: { | 31 parents: { |
| 31 smoke_0.AnnotB: smoke_0.Annot, | 32 smoke_0.AnnotB: smoke_0.Annot, |
| 32 smoke_0.D: _M0, | 33 smoke_0.D: _M0, |
| 33 smoke_0.E2: smoke_0.E, | 34 smoke_0.E2: smoke_0.E, |
| 34 smoke_0.F2: smoke_0.F, | 35 smoke_0.F2: smoke_0.F, |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 }, | 97 }, |
| 97 }, | 98 }, |
| 98 names: { | 99 names: { |
| 99 #i: r'i', | 100 #i: r'i', |
| 100 }); | 101 }); |
| 101 | 102 |
| 102 main() { | 103 main() { |
| 103 setUp(() => useGeneratedCode(configuration)); | 104 setUp(() => useGeneratedCode(configuration)); |
| 104 common.main(); | 105 common.main(); |
| 105 } | 106 } |
| OLD | NEW |