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 // See inspector.txt for expected behavior. | 5 // See inspector.txt for expected behavior. |
6 | 6 |
7 library manual_inspector_test; | 7 library manual_inspector_test; |
8 | 8 |
9 import 'dart:async'; | 9 import 'dart:async'; |
10 import 'dart:isolate'; | 10 import 'dart:isolate'; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
118 | 118 |
119 f(9); | 119 f(9); |
120 | 120 |
121 nullable = 1; | 121 nullable = 1; |
122 nullable = null; | 122 nullable = null; |
123 nullable = 1; | 123 nullable = 1; |
124 mixedType = 1; | 124 mixedType = 1; |
125 mixedType = "2"; | 125 mixedType = "2"; |
126 mixedType = false; | 126 mixedType = false; |
127 | 127 |
128 array = [1, 2, 3]; | 128 array = [1, 2, 3]; |
rmacnak
2015/08/26 20:54:20
Can you also change this back to new List(3)? I wa
turnidge
2015/08/31 17:28:27
Done.
| |
129 bigint = 1 << 65; | 129 bigint = 1 << 65; |
130 blockClean = genCleanBlock(); | 130 blockClean = genCleanBlock(); |
131 blockCopying = genCopyingBlock(); | 131 blockCopying = genCopyingBlock(); |
132 blockFull = genFullBlock(); | 132 blockFull = genFullBlock(); |
133 blockFullWithChain = genFullBlockWithChain(); | 133 blockFullWithChain = genFullBlockWithChain(); |
134 boundedType = extractPrivateField(reflect(new B<int>()).type.typeVariables.s ingle, '_reflectee'); | 134 boundedType = extractPrivateField(reflect(new B<int>()).type.typeVariables.s ingle, '_reflectee'); |
135 counter = new Counter("CounterName", "Counter description"); | 135 counter = new Counter("CounterName", "Counter description"); |
136 expando = new Expando("expando-name"); | 136 expando = new Expando("expando-name"); |
137 expando[array] = 'The weakly associated value'; | 137 expando[array] = 'The weakly associated value'; |
138 float32x4 = new Float32x4.zero(); | 138 float32x4 = new Float32x4(0.0, -1.0, 3.14, 2e28); |
139 float64 = 3.14; | 139 float64 = 3.14; |
140 float64x2 = new Float64x2.zero(); | 140 float64x2 = new Float64x2(0.0, 3.14); |
141 gauge = new Gauge("GuageName", "Guage description", 0.0, 100.0); | 141 gauge = new Gauge("GaugeName", "Gauge description", 0.0, 100.0); |
142 growableList = new List(); | 142 growableList = new List(); |
143 int32x4 = new Int32x4(0,0,0,0); | 143 int32x4 = new Int32x4(0,1,10,11); |
144 map = { "x-key": "x-value", "y-key": "y-value", "removed-key": "removed-valu e" }; | 144 map = { "x-key": "x-value", "y-key": "y-value", "removed-key": "removed-valu e" }; |
145 map.remove("removed-key"); | 145 map.remove("removed-key"); |
146 mint = 1 << 32; | 146 mint = 1 << 32; |
147 mirrorClass = reflectClass(Object); | 147 mirrorClass = reflectClass(Object); |
148 mirrorClosure = reflect(blockFull); | 148 mirrorClosure = reflect(blockFull); |
149 mirrorInstance = reflect("a reflectee"); | 149 mirrorInstance = reflect("a reflectee"); |
150 mirrorReference = extractPrivateField(mirrorClass, '_reflectee'); | 150 mirrorReference = extractPrivateField(mirrorClass, '_reflectee'); |
151 portReceive = new RawReceivePort(); | 151 portReceive = new RawReceivePort(); |
152 portSend = portReceive.sendPort; | 152 portSend = portReceive.sendPort; |
153 regex = new RegExp("a*b+c"); | 153 regex = new RegExp("a*b+c"); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
239 typed = new Typed(); | 239 typed = new Typed(); |
240 node = new Node(); | 240 node = new Node(); |
241 node.main(); | 241 node.main(); |
242 } | 242 } |
243 | 243 |
244 class C { | 244 class C { |
245 static doPrint() { | 245 static doPrint() { |
246 print("Original"); | 246 print("Original"); |
247 } | 247 } |
248 } | 248 } |
OLD | NEW |