OLD | NEW |
(Empty) | |
| 1 >>> |
| 2 void main() { |
| 3 useGeneratedCode(new StaticConfiguration( |
| 4 checkedMode: false, |
| 5 parents: { |
| 6 smoke_0.A: smoke_1.PolymerElement, |
| 7 smoke_0.B: smoke_0.A, |
| 8 smoke_0.C: smoke_0.B, |
| 9 smoke_0.D: smoke_0.B, |
| 10 smoke_0.E: smoke_0.C, |
| 11 }, |
| 12 declarations: { |
| 13 smoke_0.A: {}, |
| 14 smoke_0.B: {}, |
| 15 smoke_0.C: {}, |
| 16 smoke_0.D: {}, |
| 17 smoke_0.E: {}, |
| 18 })); |
| 19 new LogInjector().injectLogsFromUrl('sort_registration_test.html._buildLogs'); |
| 20 configureForDeployment([ |
| 21 () => Polymer.register('x-a', i0.A), |
| 22 () => Polymer.register('x-b', i0.B), |
| 23 () => Polymer.register('x-d', i0.D), |
| 24 () => Polymer.register('x-c', i0.C), |
| 25 () => Polymer.register('x-e', i0.E), |
| 26 ]); |
| 27 i0.main(); |
| 28 } |
| 29 <<< |
| 30 void main() { |
| 31 useGeneratedCode(new StaticConfiguration( |
| 32 checkedMode: false, |
| 33 parents: { |
| 34 smoke_0.A: smoke_1.PolymerElement, |
| 35 smoke_0.B: smoke_0.A, |
| 36 smoke_0.C: smoke_0.B, |
| 37 smoke_0.D: smoke_0.B, |
| 38 smoke_0.E: smoke_0.C, |
| 39 }, |
| 40 declarations: { |
| 41 smoke_0.A: {}, |
| 42 smoke_0.B: {}, |
| 43 smoke_0.C: {}, |
| 44 smoke_0.D: {}, |
| 45 smoke_0.E: {}, |
| 46 })); |
| 47 new LogInjector().injectLogsFromUrl('sort_registration_test.html._buildLogs'); |
| 48 configureForDeployment([ |
| 49 () => Polymer.register('x-a', i0.A), |
| 50 () => Polymer.register('x-b', i0.B), |
| 51 () => Polymer.register('x-d', i0.D), |
| 52 () => Polymer.register('x-c', i0.C), |
| 53 () => Polymer.register('x-e', i0.E), |
| 54 ]); |
| 55 i0.main(); |
| 56 } |
| 57 >>> (indent 4) |
| 58 final server = new DatastoreLocalDevServer('connect', |
| 59 workingDirectory: path.join( |
| 60 packageRoot().absolute.path, 'test/tmp_data'), |
| 61 environment: <String, String>{ |
| 62 'JAVA': '/usr/lib/jvm/java-7-openjdk-amd64/bin/java'}, |
| 63 minUpTimeBeforeShutdown: new Duration(seconds: 0)); |
| 64 <<< |
| 65 final server = new DatastoreLocalDevServer('connect', |
| 66 workingDirectory: |
| 67 path.join(packageRoot().absolute.path, 'test/tmp_data'), |
| 68 environment: <String, String>{ |
| 69 'JAVA': '/usr/lib/jvm/java-7-openjdk-amd64/bin/java' |
| 70 }, |
| 71 minUpTimeBeforeShutdown: new Duration(seconds: 0)); |
OLD | NEW |