OLD | NEW |
1 library googleapis_beta.dataflow.v1beta3.test; | 1 library googleapis_beta.dataflow.v1beta3.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 checkAutoscalingSettings(api.AutoscalingSettings o) { | 54 checkAutoscalingSettings(api.AutoscalingSettings o) { |
55 buildCounterAutoscalingSettings++; | 55 buildCounterAutoscalingSettings++; |
56 if (buildCounterAutoscalingSettings < 3) { | 56 if (buildCounterAutoscalingSettings < 3) { |
57 unittest.expect(o.algorithm, unittest.equals('foo')); | 57 unittest.expect(o.algorithm, unittest.equals('foo')); |
58 unittest.expect(o.maxNumWorkers, unittest.equals(42)); | 58 unittest.expect(o.maxNumWorkers, unittest.equals(42)); |
59 } | 59 } |
60 buildCounterAutoscalingSettings--; | 60 buildCounterAutoscalingSettings--; |
61 } | 61 } |
62 | 62 |
63 buildUnnamed1472() { | 63 buildUnnamed1539() { |
64 var o = new core.List<api.StreamLocation>(); | 64 var o = new core.List<api.StreamLocation>(); |
65 o.add(buildStreamLocation()); | 65 o.add(buildStreamLocation()); |
66 o.add(buildStreamLocation()); | 66 o.add(buildStreamLocation()); |
67 return o; | 67 return o; |
68 } | 68 } |
69 | 69 |
70 checkUnnamed1472(core.List<api.StreamLocation> o) { | 70 checkUnnamed1539(core.List<api.StreamLocation> o) { |
71 unittest.expect(o, unittest.hasLength(2)); | 71 unittest.expect(o, unittest.hasLength(2)); |
72 checkStreamLocation(o[0]); | 72 checkStreamLocation(o[0]); |
73 checkStreamLocation(o[1]); | 73 checkStreamLocation(o[1]); |
74 } | 74 } |
75 | 75 |
76 buildUnnamed1473() { | 76 buildUnnamed1540() { |
77 var o = new core.List<api.KeyRangeLocation>(); | 77 var o = new core.List<api.KeyRangeLocation>(); |
78 o.add(buildKeyRangeLocation()); | 78 o.add(buildKeyRangeLocation()); |
79 o.add(buildKeyRangeLocation()); | 79 o.add(buildKeyRangeLocation()); |
80 return o; | 80 return o; |
81 } | 81 } |
82 | 82 |
83 checkUnnamed1473(core.List<api.KeyRangeLocation> o) { | 83 checkUnnamed1540(core.List<api.KeyRangeLocation> o) { |
84 unittest.expect(o, unittest.hasLength(2)); | 84 unittest.expect(o, unittest.hasLength(2)); |
85 checkKeyRangeLocation(o[0]); | 85 checkKeyRangeLocation(o[0]); |
86 checkKeyRangeLocation(o[1]); | 86 checkKeyRangeLocation(o[1]); |
87 } | 87 } |
88 | 88 |
89 buildUnnamed1474() { | 89 buildUnnamed1541() { |
90 var o = new core.List<api.StreamLocation>(); | 90 var o = new core.List<api.StreamLocation>(); |
91 o.add(buildStreamLocation()); | 91 o.add(buildStreamLocation()); |
92 o.add(buildStreamLocation()); | 92 o.add(buildStreamLocation()); |
93 return o; | 93 return o; |
94 } | 94 } |
95 | 95 |
96 checkUnnamed1474(core.List<api.StreamLocation> o) { | 96 checkUnnamed1541(core.List<api.StreamLocation> o) { |
97 unittest.expect(o, unittest.hasLength(2)); | 97 unittest.expect(o, unittest.hasLength(2)); |
98 checkStreamLocation(o[0]); | 98 checkStreamLocation(o[0]); |
99 checkStreamLocation(o[1]); | 99 checkStreamLocation(o[1]); |
100 } | 100 } |
101 | 101 |
102 core.int buildCounterComputationTopology = 0; | 102 core.int buildCounterComputationTopology = 0; |
103 buildComputationTopology() { | 103 buildComputationTopology() { |
104 var o = new api.ComputationTopology(); | 104 var o = new api.ComputationTopology(); |
105 buildCounterComputationTopology++; | 105 buildCounterComputationTopology++; |
106 if (buildCounterComputationTopology < 3) { | 106 if (buildCounterComputationTopology < 3) { |
107 o.computationId = "foo"; | 107 o.computationId = "foo"; |
108 o.inputs = buildUnnamed1472(); | 108 o.inputs = buildUnnamed1539(); |
109 o.keyRanges = buildUnnamed1473(); | 109 o.keyRanges = buildUnnamed1540(); |
110 o.outputs = buildUnnamed1474(); | 110 o.outputs = buildUnnamed1541(); |
111 } | 111 } |
112 buildCounterComputationTopology--; | 112 buildCounterComputationTopology--; |
113 return o; | 113 return o; |
114 } | 114 } |
115 | 115 |
116 checkComputationTopology(api.ComputationTopology o) { | 116 checkComputationTopology(api.ComputationTopology o) { |
117 buildCounterComputationTopology++; | 117 buildCounterComputationTopology++; |
118 if (buildCounterComputationTopology < 3) { | 118 if (buildCounterComputationTopology < 3) { |
119 unittest.expect(o.computationId, unittest.equals('foo')); | 119 unittest.expect(o.computationId, unittest.equals('foo')); |
120 checkUnnamed1472(o.inputs); | 120 checkUnnamed1539(o.inputs); |
121 checkUnnamed1473(o.keyRanges); | 121 checkUnnamed1540(o.keyRanges); |
122 checkUnnamed1474(o.outputs); | 122 checkUnnamed1541(o.outputs); |
123 } | 123 } |
124 buildCounterComputationTopology--; | 124 buildCounterComputationTopology--; |
125 } | 125 } |
126 | 126 |
127 buildUnnamed1475() { | 127 buildUnnamed1542() { |
128 var o = new core.List<core.String>(); | 128 var o = new core.List<core.String>(); |
129 o.add("foo"); | 129 o.add("foo"); |
130 o.add("foo"); | 130 o.add("foo"); |
131 return o; | 131 return o; |
132 } | 132 } |
133 | 133 |
134 checkUnnamed1475(core.List<core.String> o) { | 134 checkUnnamed1542(core.List<core.String> o) { |
135 unittest.expect(o, unittest.hasLength(2)); | 135 unittest.expect(o, unittest.hasLength(2)); |
136 unittest.expect(o[0], unittest.equals('foo')); | 136 unittest.expect(o[0], unittest.equals('foo')); |
137 unittest.expect(o[1], unittest.equals('foo')); | 137 unittest.expect(o[1], unittest.equals('foo')); |
138 } | 138 } |
139 | 139 |
140 core.int buildCounterDataDiskAssignment = 0; | 140 core.int buildCounterDataDiskAssignment = 0; |
141 buildDataDiskAssignment() { | 141 buildDataDiskAssignment() { |
142 var o = new api.DataDiskAssignment(); | 142 var o = new api.DataDiskAssignment(); |
143 buildCounterDataDiskAssignment++; | 143 buildCounterDataDiskAssignment++; |
144 if (buildCounterDataDiskAssignment < 3) { | 144 if (buildCounterDataDiskAssignment < 3) { |
145 o.dataDisks = buildUnnamed1475(); | 145 o.dataDisks = buildUnnamed1542(); |
146 o.vmInstance = "foo"; | 146 o.vmInstance = "foo"; |
147 } | 147 } |
148 buildCounterDataDiskAssignment--; | 148 buildCounterDataDiskAssignment--; |
149 return o; | 149 return o; |
150 } | 150 } |
151 | 151 |
152 checkDataDiskAssignment(api.DataDiskAssignment o) { | 152 checkDataDiskAssignment(api.DataDiskAssignment o) { |
153 buildCounterDataDiskAssignment++; | 153 buildCounterDataDiskAssignment++; |
154 if (buildCounterDataDiskAssignment < 3) { | 154 if (buildCounterDataDiskAssignment < 3) { |
155 checkUnnamed1475(o.dataDisks); | 155 checkUnnamed1542(o.dataDisks); |
156 unittest.expect(o.vmInstance, unittest.equals('foo')); | 156 unittest.expect(o.vmInstance, unittest.equals('foo')); |
157 } | 157 } |
158 buildCounterDataDiskAssignment--; | 158 buildCounterDataDiskAssignment--; |
159 } | 159 } |
160 | 160 |
161 core.int buildCounterDisk = 0; | 161 core.int buildCounterDisk = 0; |
162 buildDisk() { | 162 buildDisk() { |
163 var o = new api.Disk(); | 163 var o = new api.Disk(); |
164 buildCounterDisk++; | 164 buildCounterDisk++; |
165 if (buildCounterDisk < 3) { | 165 if (buildCounterDisk < 3) { |
166 o.diskType = "foo"; | 166 o.diskType = "foo"; |
167 o.mountPoint = "foo"; | 167 o.mountPoint = "foo"; |
168 o.sizeGb = 42; | 168 o.sizeGb = 42; |
169 } | 169 } |
170 buildCounterDisk--; | 170 buildCounterDisk--; |
171 return o; | 171 return o; |
172 } | 172 } |
173 | 173 |
174 checkDisk(api.Disk o) { | 174 checkDisk(api.Disk o) { |
175 buildCounterDisk++; | 175 buildCounterDisk++; |
176 if (buildCounterDisk < 3) { | 176 if (buildCounterDisk < 3) { |
177 unittest.expect(o.diskType, unittest.equals('foo')); | 177 unittest.expect(o.diskType, unittest.equals('foo')); |
178 unittest.expect(o.mountPoint, unittest.equals('foo')); | 178 unittest.expect(o.mountPoint, unittest.equals('foo')); |
179 unittest.expect(o.sizeGb, unittest.equals(42)); | 179 unittest.expect(o.sizeGb, unittest.equals(42)); |
180 } | 180 } |
181 buildCounterDisk--; | 181 buildCounterDisk--; |
182 } | 182 } |
183 | 183 |
184 buildUnnamed1476() { | 184 buildUnnamed1543() { |
185 var o = new core.List<core.String>(); | 185 var o = new core.List<core.String>(); |
186 o.add("foo"); | 186 o.add("foo"); |
187 o.add("foo"); | 187 o.add("foo"); |
188 return o; | 188 return o; |
189 } | 189 } |
190 | 190 |
191 checkUnnamed1476(core.List<core.String> o) { | 191 checkUnnamed1543(core.List<core.String> o) { |
192 unittest.expect(o, unittest.hasLength(2)); | 192 unittest.expect(o, unittest.hasLength(2)); |
193 unittest.expect(o[0], unittest.equals('foo')); | 193 unittest.expect(o[0], unittest.equals('foo')); |
194 unittest.expect(o[1], unittest.equals('foo')); | 194 unittest.expect(o[1], unittest.equals('foo')); |
195 } | 195 } |
196 | 196 |
197 buildUnnamed1477() { | 197 buildUnnamed1544() { |
198 var o = new core.Map<core.String, core.Object>(); | 198 var o = new core.Map<core.String, core.Object>(); |
199 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 199 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
200 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 200 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
201 return o; | 201 return o; |
202 } | 202 } |
203 | 203 |
204 checkUnnamed1477(core.Map<core.String, core.Object> o) { | 204 checkUnnamed1544(core.Map<core.String, core.Object> o) { |
205 unittest.expect(o, unittest.hasLength(2)); | 205 unittest.expect(o, unittest.hasLength(2)); |
206 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); | 206 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); |
207 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); | 207 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); |
208 } | 208 } |
209 | 209 |
210 buildUnnamed1478() { | 210 buildUnnamed1545() { |
211 var o = new core.Map<core.String, core.Object>(); | 211 var o = new core.Map<core.String, core.Object>(); |
212 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 212 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
213 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 213 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
214 return o; | 214 return o; |
215 } | 215 } |
216 | 216 |
217 checkUnnamed1478(core.Map<core.String, core.Object> o) { | 217 checkUnnamed1545(core.Map<core.String, core.Object> o) { |
218 unittest.expect(o, unittest.hasLength(2)); | 218 unittest.expect(o, unittest.hasLength(2)); |
219 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); | 219 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); |
220 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); | 220 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); |
221 } | 221 } |
222 | 222 |
223 buildUnnamed1479() { | 223 buildUnnamed1546() { |
224 var o = new core.List<api.WorkerPool>(); | 224 var o = new core.List<api.WorkerPool>(); |
225 o.add(buildWorkerPool()); | 225 o.add(buildWorkerPool()); |
226 o.add(buildWorkerPool()); | 226 o.add(buildWorkerPool()); |
227 return o; | 227 return o; |
228 } | 228 } |
229 | 229 |
230 checkUnnamed1479(core.List<api.WorkerPool> o) { | 230 checkUnnamed1546(core.List<api.WorkerPool> o) { |
231 unittest.expect(o, unittest.hasLength(2)); | 231 unittest.expect(o, unittest.hasLength(2)); |
232 checkWorkerPool(o[0]); | 232 checkWorkerPool(o[0]); |
233 checkWorkerPool(o[1]); | 233 checkWorkerPool(o[1]); |
234 } | 234 } |
235 | 235 |
236 core.int buildCounterEnvironment = 0; | 236 core.int buildCounterEnvironment = 0; |
237 buildEnvironment() { | 237 buildEnvironment() { |
238 var o = new api.Environment(); | 238 var o = new api.Environment(); |
239 buildCounterEnvironment++; | 239 buildCounterEnvironment++; |
240 if (buildCounterEnvironment < 3) { | 240 if (buildCounterEnvironment < 3) { |
241 o.clusterManagerApiService = "foo"; | 241 o.clusterManagerApiService = "foo"; |
242 o.dataset = "foo"; | 242 o.dataset = "foo"; |
243 o.experiments = buildUnnamed1476(); | 243 o.experiments = buildUnnamed1543(); |
244 o.tempStoragePrefix = "foo"; | 244 o.tempStoragePrefix = "foo"; |
245 o.userAgent = buildUnnamed1477(); | 245 o.userAgent = buildUnnamed1544(); |
246 o.version = buildUnnamed1478(); | 246 o.version = buildUnnamed1545(); |
247 o.workerPools = buildUnnamed1479(); | 247 o.workerPools = buildUnnamed1546(); |
248 } | 248 } |
249 buildCounterEnvironment--; | 249 buildCounterEnvironment--; |
250 return o; | 250 return o; |
251 } | 251 } |
252 | 252 |
253 checkEnvironment(api.Environment o) { | 253 checkEnvironment(api.Environment o) { |
254 buildCounterEnvironment++; | 254 buildCounterEnvironment++; |
255 if (buildCounterEnvironment < 3) { | 255 if (buildCounterEnvironment < 3) { |
256 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); | 256 unittest.expect(o.clusterManagerApiService, unittest.equals('foo')); |
257 unittest.expect(o.dataset, unittest.equals('foo')); | 257 unittest.expect(o.dataset, unittest.equals('foo')); |
258 checkUnnamed1476(o.experiments); | 258 checkUnnamed1543(o.experiments); |
259 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 259 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
260 checkUnnamed1477(o.userAgent); | 260 checkUnnamed1544(o.userAgent); |
261 checkUnnamed1478(o.version); | 261 checkUnnamed1545(o.version); |
262 checkUnnamed1479(o.workerPools); | 262 checkUnnamed1546(o.workerPools); |
263 } | 263 } |
264 buildCounterEnvironment--; | 264 buildCounterEnvironment--; |
265 } | 265 } |
266 | 266 |
267 buildUnnamed1480() { | 267 buildUnnamed1547() { |
268 var o = new core.List<api.InstructionInput>(); | 268 var o = new core.List<api.InstructionInput>(); |
269 o.add(buildInstructionInput()); | 269 o.add(buildInstructionInput()); |
270 o.add(buildInstructionInput()); | 270 o.add(buildInstructionInput()); |
271 return o; | 271 return o; |
272 } | 272 } |
273 | 273 |
274 checkUnnamed1480(core.List<api.InstructionInput> o) { | 274 checkUnnamed1547(core.List<api.InstructionInput> o) { |
275 unittest.expect(o, unittest.hasLength(2)); | 275 unittest.expect(o, unittest.hasLength(2)); |
276 checkInstructionInput(o[0]); | 276 checkInstructionInput(o[0]); |
277 checkInstructionInput(o[1]); | 277 checkInstructionInput(o[1]); |
278 } | 278 } |
279 | 279 |
280 core.int buildCounterFlattenInstruction = 0; | 280 core.int buildCounterFlattenInstruction = 0; |
281 buildFlattenInstruction() { | 281 buildFlattenInstruction() { |
282 var o = new api.FlattenInstruction(); | 282 var o = new api.FlattenInstruction(); |
283 buildCounterFlattenInstruction++; | 283 buildCounterFlattenInstruction++; |
284 if (buildCounterFlattenInstruction < 3) { | 284 if (buildCounterFlattenInstruction < 3) { |
285 o.inputs = buildUnnamed1480(); | 285 o.inputs = buildUnnamed1547(); |
286 } | 286 } |
287 buildCounterFlattenInstruction--; | 287 buildCounterFlattenInstruction--; |
288 return o; | 288 return o; |
289 } | 289 } |
290 | 290 |
291 checkFlattenInstruction(api.FlattenInstruction o) { | 291 checkFlattenInstruction(api.FlattenInstruction o) { |
292 buildCounterFlattenInstruction++; | 292 buildCounterFlattenInstruction++; |
293 if (buildCounterFlattenInstruction < 3) { | 293 if (buildCounterFlattenInstruction < 3) { |
294 checkUnnamed1480(o.inputs); | 294 checkUnnamed1547(o.inputs); |
295 } | 295 } |
296 buildCounterFlattenInstruction--; | 296 buildCounterFlattenInstruction--; |
297 } | 297 } |
298 | 298 |
299 core.int buildCounterInstructionInput = 0; | 299 core.int buildCounterInstructionInput = 0; |
300 buildInstructionInput() { | 300 buildInstructionInput() { |
301 var o = new api.InstructionInput(); | 301 var o = new api.InstructionInput(); |
302 buildCounterInstructionInput++; | 302 buildCounterInstructionInput++; |
303 if (buildCounterInstructionInput < 3) { | 303 if (buildCounterInstructionInput < 3) { |
304 o.outputNum = 42; | 304 o.outputNum = 42; |
305 o.producerInstructionIndex = 42; | 305 o.producerInstructionIndex = 42; |
306 } | 306 } |
307 buildCounterInstructionInput--; | 307 buildCounterInstructionInput--; |
308 return o; | 308 return o; |
309 } | 309 } |
310 | 310 |
311 checkInstructionInput(api.InstructionInput o) { | 311 checkInstructionInput(api.InstructionInput o) { |
312 buildCounterInstructionInput++; | 312 buildCounterInstructionInput++; |
313 if (buildCounterInstructionInput < 3) { | 313 if (buildCounterInstructionInput < 3) { |
314 unittest.expect(o.outputNum, unittest.equals(42)); | 314 unittest.expect(o.outputNum, unittest.equals(42)); |
315 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); | 315 unittest.expect(o.producerInstructionIndex, unittest.equals(42)); |
316 } | 316 } |
317 buildCounterInstructionInput--; | 317 buildCounterInstructionInput--; |
318 } | 318 } |
319 | 319 |
320 buildUnnamed1481() { | 320 buildUnnamed1548() { |
321 var o = new core.Map<core.String, core.Object>(); | 321 var o = new core.Map<core.String, core.Object>(); |
322 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 322 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
323 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 323 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
324 return o; | 324 return o; |
325 } | 325 } |
326 | 326 |
327 checkUnnamed1481(core.Map<core.String, core.Object> o) { | 327 checkUnnamed1548(core.Map<core.String, core.Object> o) { |
328 unittest.expect(o, unittest.hasLength(2)); | 328 unittest.expect(o, unittest.hasLength(2)); |
329 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); | 329 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt
h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"],
unittest.equals('foo')); |
330 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); | 330 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt
h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"],
unittest.equals('foo')); |
331 } | 331 } |
332 | 332 |
333 core.int buildCounterInstructionOutput = 0; | 333 core.int buildCounterInstructionOutput = 0; |
334 buildInstructionOutput() { | 334 buildInstructionOutput() { |
335 var o = new api.InstructionOutput(); | 335 var o = new api.InstructionOutput(); |
336 buildCounterInstructionOutput++; | 336 buildCounterInstructionOutput++; |
337 if (buildCounterInstructionOutput < 3) { | 337 if (buildCounterInstructionOutput < 3) { |
338 o.codec = buildUnnamed1481(); | 338 o.codec = buildUnnamed1548(); |
339 o.name = "foo"; | 339 o.name = "foo"; |
340 } | 340 } |
341 buildCounterInstructionOutput--; | 341 buildCounterInstructionOutput--; |
342 return o; | 342 return o; |
343 } | 343 } |
344 | 344 |
345 checkInstructionOutput(api.InstructionOutput o) { | 345 checkInstructionOutput(api.InstructionOutput o) { |
346 buildCounterInstructionOutput++; | 346 buildCounterInstructionOutput++; |
347 if (buildCounterInstructionOutput < 3) { | 347 if (buildCounterInstructionOutput < 3) { |
348 checkUnnamed1481(o.codec); | 348 checkUnnamed1548(o.codec); |
349 unittest.expect(o.name, unittest.equals('foo')); | 349 unittest.expect(o.name, unittest.equals('foo')); |
350 } | 350 } |
351 buildCounterInstructionOutput--; | 351 buildCounterInstructionOutput--; |
352 } | 352 } |
353 | 353 |
354 buildUnnamed1482() { | 354 buildUnnamed1549() { |
355 var o = new core.List<api.Step>(); | 355 var o = new core.List<api.Step>(); |
356 o.add(buildStep()); | 356 o.add(buildStep()); |
357 o.add(buildStep()); | 357 o.add(buildStep()); |
358 return o; | 358 return o; |
359 } | 359 } |
360 | 360 |
361 checkUnnamed1482(core.List<api.Step> o) { | 361 checkUnnamed1549(core.List<api.Step> o) { |
362 unittest.expect(o, unittest.hasLength(2)); | 362 unittest.expect(o, unittest.hasLength(2)); |
363 checkStep(o[0]); | 363 checkStep(o[0]); |
364 checkStep(o[1]); | 364 checkStep(o[1]); |
365 } | 365 } |
366 | 366 |
367 core.int buildCounterJob = 0; | 367 core.int buildCounterJob = 0; |
368 buildJob() { | 368 buildJob() { |
369 var o = new api.Job(); | 369 var o = new api.Job(); |
370 buildCounterJob++; | 370 buildCounterJob++; |
371 if (buildCounterJob < 3) { | 371 if (buildCounterJob < 3) { |
372 o.createTime = "foo"; | 372 o.createTime = "foo"; |
373 o.currentState = "foo"; | 373 o.currentState = "foo"; |
374 o.currentStateTime = "foo"; | 374 o.currentStateTime = "foo"; |
375 o.environment = buildEnvironment(); | 375 o.environment = buildEnvironment(); |
376 o.executionInfo = buildJobExecutionInfo(); | 376 o.executionInfo = buildJobExecutionInfo(); |
377 o.id = "foo"; | 377 o.id = "foo"; |
378 o.name = "foo"; | 378 o.name = "foo"; |
379 o.projectId = "foo"; | 379 o.projectId = "foo"; |
380 o.requestedState = "foo"; | 380 o.requestedState = "foo"; |
381 o.steps = buildUnnamed1482(); | 381 o.steps = buildUnnamed1549(); |
382 o.type = "foo"; | 382 o.type = "foo"; |
383 } | 383 } |
384 buildCounterJob--; | 384 buildCounterJob--; |
385 return o; | 385 return o; |
386 } | 386 } |
387 | 387 |
388 checkJob(api.Job o) { | 388 checkJob(api.Job o) { |
389 buildCounterJob++; | 389 buildCounterJob++; |
390 if (buildCounterJob < 3) { | 390 if (buildCounterJob < 3) { |
391 unittest.expect(o.createTime, unittest.equals('foo')); | 391 unittest.expect(o.createTime, unittest.equals('foo')); |
392 unittest.expect(o.currentState, unittest.equals('foo')); | 392 unittest.expect(o.currentState, unittest.equals('foo')); |
393 unittest.expect(o.currentStateTime, unittest.equals('foo')); | 393 unittest.expect(o.currentStateTime, unittest.equals('foo')); |
394 checkEnvironment(o.environment); | 394 checkEnvironment(o.environment); |
395 checkJobExecutionInfo(o.executionInfo); | 395 checkJobExecutionInfo(o.executionInfo); |
396 unittest.expect(o.id, unittest.equals('foo')); | 396 unittest.expect(o.id, unittest.equals('foo')); |
397 unittest.expect(o.name, unittest.equals('foo')); | 397 unittest.expect(o.name, unittest.equals('foo')); |
398 unittest.expect(o.projectId, unittest.equals('foo')); | 398 unittest.expect(o.projectId, unittest.equals('foo')); |
399 unittest.expect(o.requestedState, unittest.equals('foo')); | 399 unittest.expect(o.requestedState, unittest.equals('foo')); |
400 checkUnnamed1482(o.steps); | 400 checkUnnamed1549(o.steps); |
401 unittest.expect(o.type, unittest.equals('foo')); | 401 unittest.expect(o.type, unittest.equals('foo')); |
402 } | 402 } |
403 buildCounterJob--; | 403 buildCounterJob--; |
404 } | 404 } |
405 | 405 |
406 buildUnnamed1483() { | 406 buildUnnamed1550() { |
407 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); | 407 var o = new core.Map<core.String, api.JobExecutionStageInfo>(); |
408 o["x"] = buildJobExecutionStageInfo(); | 408 o["x"] = buildJobExecutionStageInfo(); |
409 o["y"] = buildJobExecutionStageInfo(); | 409 o["y"] = buildJobExecutionStageInfo(); |
410 return o; | 410 return o; |
411 } | 411 } |
412 | 412 |
413 checkUnnamed1483(core.Map<core.String, api.JobExecutionStageInfo> o) { | 413 checkUnnamed1550(core.Map<core.String, api.JobExecutionStageInfo> o) { |
414 unittest.expect(o, unittest.hasLength(2)); | 414 unittest.expect(o, unittest.hasLength(2)); |
415 checkJobExecutionStageInfo(o["x"]); | 415 checkJobExecutionStageInfo(o["x"]); |
416 checkJobExecutionStageInfo(o["y"]); | 416 checkJobExecutionStageInfo(o["y"]); |
417 } | 417 } |
418 | 418 |
419 core.int buildCounterJobExecutionInfo = 0; | 419 core.int buildCounterJobExecutionInfo = 0; |
420 buildJobExecutionInfo() { | 420 buildJobExecutionInfo() { |
421 var o = new api.JobExecutionInfo(); | 421 var o = new api.JobExecutionInfo(); |
422 buildCounterJobExecutionInfo++; | 422 buildCounterJobExecutionInfo++; |
423 if (buildCounterJobExecutionInfo < 3) { | 423 if (buildCounterJobExecutionInfo < 3) { |
424 o.stages = buildUnnamed1483(); | 424 o.stages = buildUnnamed1550(); |
425 } | 425 } |
426 buildCounterJobExecutionInfo--; | 426 buildCounterJobExecutionInfo--; |
427 return o; | 427 return o; |
428 } | 428 } |
429 | 429 |
430 checkJobExecutionInfo(api.JobExecutionInfo o) { | 430 checkJobExecutionInfo(api.JobExecutionInfo o) { |
431 buildCounterJobExecutionInfo++; | 431 buildCounterJobExecutionInfo++; |
432 if (buildCounterJobExecutionInfo < 3) { | 432 if (buildCounterJobExecutionInfo < 3) { |
433 checkUnnamed1483(o.stages); | 433 checkUnnamed1550(o.stages); |
434 } | 434 } |
435 buildCounterJobExecutionInfo--; | 435 buildCounterJobExecutionInfo--; |
436 } | 436 } |
437 | 437 |
438 buildUnnamed1484() { | 438 buildUnnamed1551() { |
439 var o = new core.List<core.String>(); | 439 var o = new core.List<core.String>(); |
440 o.add("foo"); | 440 o.add("foo"); |
441 o.add("foo"); | 441 o.add("foo"); |
442 return o; | 442 return o; |
443 } | 443 } |
444 | 444 |
445 checkUnnamed1484(core.List<core.String> o) { | 445 checkUnnamed1551(core.List<core.String> o) { |
446 unittest.expect(o, unittest.hasLength(2)); | 446 unittest.expect(o, unittest.hasLength(2)); |
447 unittest.expect(o[0], unittest.equals('foo')); | 447 unittest.expect(o[0], unittest.equals('foo')); |
448 unittest.expect(o[1], unittest.equals('foo')); | 448 unittest.expect(o[1], unittest.equals('foo')); |
449 } | 449 } |
450 | 450 |
451 core.int buildCounterJobExecutionStageInfo = 0; | 451 core.int buildCounterJobExecutionStageInfo = 0; |
452 buildJobExecutionStageInfo() { | 452 buildJobExecutionStageInfo() { |
453 var o = new api.JobExecutionStageInfo(); | 453 var o = new api.JobExecutionStageInfo(); |
454 buildCounterJobExecutionStageInfo++; | 454 buildCounterJobExecutionStageInfo++; |
455 if (buildCounterJobExecutionStageInfo < 3) { | 455 if (buildCounterJobExecutionStageInfo < 3) { |
456 o.stepName = buildUnnamed1484(); | 456 o.stepName = buildUnnamed1551(); |
457 } | 457 } |
458 buildCounterJobExecutionStageInfo--; | 458 buildCounterJobExecutionStageInfo--; |
459 return o; | 459 return o; |
460 } | 460 } |
461 | 461 |
462 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { | 462 checkJobExecutionStageInfo(api.JobExecutionStageInfo o) { |
463 buildCounterJobExecutionStageInfo++; | 463 buildCounterJobExecutionStageInfo++; |
464 if (buildCounterJobExecutionStageInfo < 3) { | 464 if (buildCounterJobExecutionStageInfo < 3) { |
465 checkUnnamed1484(o.stepName); | 465 checkUnnamed1551(o.stepName); |
466 } | 466 } |
467 buildCounterJobExecutionStageInfo--; | 467 buildCounterJobExecutionStageInfo--; |
468 } | 468 } |
469 | 469 |
470 core.int buildCounterJobMessage = 0; | 470 core.int buildCounterJobMessage = 0; |
471 buildJobMessage() { | 471 buildJobMessage() { |
472 var o = new api.JobMessage(); | 472 var o = new api.JobMessage(); |
473 buildCounterJobMessage++; | 473 buildCounterJobMessage++; |
474 if (buildCounterJobMessage < 3) { | 474 if (buildCounterJobMessage < 3) { |
475 o.id = "foo"; | 475 o.id = "foo"; |
476 o.messageImportance = "foo"; | 476 o.messageImportance = "foo"; |
477 o.messageText = "foo"; | 477 o.messageText = "foo"; |
478 o.time = "foo"; | 478 o.time = "foo"; |
479 } | 479 } |
480 buildCounterJobMessage--; | 480 buildCounterJobMessage--; |
481 return o; | 481 return o; |
482 } | 482 } |
483 | 483 |
484 checkJobMessage(api.JobMessage o) { | 484 checkJobMessage(api.JobMessage o) { |
485 buildCounterJobMessage++; | 485 buildCounterJobMessage++; |
486 if (buildCounterJobMessage < 3) { | 486 if (buildCounterJobMessage < 3) { |
487 unittest.expect(o.id, unittest.equals('foo')); | 487 unittest.expect(o.id, unittest.equals('foo')); |
488 unittest.expect(o.messageImportance, unittest.equals('foo')); | 488 unittest.expect(o.messageImportance, unittest.equals('foo')); |
489 unittest.expect(o.messageText, unittest.equals('foo')); | 489 unittest.expect(o.messageText, unittest.equals('foo')); |
490 unittest.expect(o.time, unittest.equals('foo')); | 490 unittest.expect(o.time, unittest.equals('foo')); |
491 } | 491 } |
492 buildCounterJobMessage--; | 492 buildCounterJobMessage--; |
493 } | 493 } |
494 | 494 |
495 buildUnnamed1485() { | 495 buildUnnamed1552() { |
496 var o = new core.List<api.MetricUpdate>(); | 496 var o = new core.List<api.MetricUpdate>(); |
497 o.add(buildMetricUpdate()); | 497 o.add(buildMetricUpdate()); |
498 o.add(buildMetricUpdate()); | 498 o.add(buildMetricUpdate()); |
499 return o; | 499 return o; |
500 } | 500 } |
501 | 501 |
502 checkUnnamed1485(core.List<api.MetricUpdate> o) { | 502 checkUnnamed1552(core.List<api.MetricUpdate> o) { |
503 unittest.expect(o, unittest.hasLength(2)); | 503 unittest.expect(o, unittest.hasLength(2)); |
504 checkMetricUpdate(o[0]); | 504 checkMetricUpdate(o[0]); |
505 checkMetricUpdate(o[1]); | 505 checkMetricUpdate(o[1]); |
506 } | 506 } |
507 | 507 |
508 core.int buildCounterJobMetrics = 0; | 508 core.int buildCounterJobMetrics = 0; |
509 buildJobMetrics() { | 509 buildJobMetrics() { |
510 var o = new api.JobMetrics(); | 510 var o = new api.JobMetrics(); |
511 buildCounterJobMetrics++; | 511 buildCounterJobMetrics++; |
512 if (buildCounterJobMetrics < 3) { | 512 if (buildCounterJobMetrics < 3) { |
513 o.metricTime = "foo"; | 513 o.metricTime = "foo"; |
514 o.metrics = buildUnnamed1485(); | 514 o.metrics = buildUnnamed1552(); |
515 } | 515 } |
516 buildCounterJobMetrics--; | 516 buildCounterJobMetrics--; |
517 return o; | 517 return o; |
518 } | 518 } |
519 | 519 |
520 checkJobMetrics(api.JobMetrics o) { | 520 checkJobMetrics(api.JobMetrics o) { |
521 buildCounterJobMetrics++; | 521 buildCounterJobMetrics++; |
522 if (buildCounterJobMetrics < 3) { | 522 if (buildCounterJobMetrics < 3) { |
523 unittest.expect(o.metricTime, unittest.equals('foo')); | 523 unittest.expect(o.metricTime, unittest.equals('foo')); |
524 checkUnnamed1485(o.metrics); | 524 checkUnnamed1552(o.metrics); |
525 } | 525 } |
526 buildCounterJobMetrics--; | 526 buildCounterJobMetrics--; |
527 } | 527 } |
528 | 528 |
529 core.int buildCounterKeyRangeLocation = 0; | 529 core.int buildCounterKeyRangeLocation = 0; |
530 buildKeyRangeLocation() { | 530 buildKeyRangeLocation() { |
531 var o = new api.KeyRangeLocation(); | 531 var o = new api.KeyRangeLocation(); |
532 buildCounterKeyRangeLocation++; | 532 buildCounterKeyRangeLocation++; |
533 if (buildCounterKeyRangeLocation < 3) { | 533 if (buildCounterKeyRangeLocation < 3) { |
534 o.dataDisk = "foo"; | 534 o.dataDisk = "foo"; |
(...skipping 11 matching lines...) Expand all Loading... |
546 if (buildCounterKeyRangeLocation < 3) { | 546 if (buildCounterKeyRangeLocation < 3) { |
547 unittest.expect(o.dataDisk, unittest.equals('foo')); | 547 unittest.expect(o.dataDisk, unittest.equals('foo')); |
548 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); | 548 unittest.expect(o.deliveryEndpoint, unittest.equals('foo')); |
549 unittest.expect(o.end, unittest.equals('foo')); | 549 unittest.expect(o.end, unittest.equals('foo')); |
550 unittest.expect(o.persistentDirectory, unittest.equals('foo')); | 550 unittest.expect(o.persistentDirectory, unittest.equals('foo')); |
551 unittest.expect(o.start, unittest.equals('foo')); | 551 unittest.expect(o.start, unittest.equals('foo')); |
552 } | 552 } |
553 buildCounterKeyRangeLocation--; | 553 buildCounterKeyRangeLocation--; |
554 } | 554 } |
555 | 555 |
556 buildUnnamed1486() { | 556 buildUnnamed1553() { |
557 var o = new core.List<core.String>(); | 557 var o = new core.List<core.String>(); |
558 o.add("foo"); | 558 o.add("foo"); |
559 o.add("foo"); | 559 o.add("foo"); |
560 return o; | 560 return o; |
561 } | 561 } |
562 | 562 |
563 checkUnnamed1486(core.List<core.String> o) { | 563 checkUnnamed1553(core.List<core.String> o) { |
564 unittest.expect(o, unittest.hasLength(2)); | 564 unittest.expect(o, unittest.hasLength(2)); |
565 unittest.expect(o[0], unittest.equals('foo')); | 565 unittest.expect(o[0], unittest.equals('foo')); |
566 unittest.expect(o[1], unittest.equals('foo')); | 566 unittest.expect(o[1], unittest.equals('foo')); |
567 } | 567 } |
568 | 568 |
569 buildUnnamed1487() { | 569 buildUnnamed1554() { |
570 var o = new core.List<core.String>(); | 570 var o = new core.List<core.String>(); |
571 o.add("foo"); | 571 o.add("foo"); |
572 o.add("foo"); | 572 o.add("foo"); |
573 return o; | 573 return o; |
574 } | 574 } |
575 | 575 |
576 checkUnnamed1487(core.List<core.String> o) { | 576 checkUnnamed1554(core.List<core.String> o) { |
577 unittest.expect(o, unittest.hasLength(2)); | 577 unittest.expect(o, unittest.hasLength(2)); |
578 unittest.expect(o[0], unittest.equals('foo')); | 578 unittest.expect(o[0], unittest.equals('foo')); |
579 unittest.expect(o[1], unittest.equals('foo')); | 579 unittest.expect(o[1], unittest.equals('foo')); |
580 } | 580 } |
581 | 581 |
582 core.int buildCounterLeaseWorkItemRequest = 0; | 582 core.int buildCounterLeaseWorkItemRequest = 0; |
583 buildLeaseWorkItemRequest() { | 583 buildLeaseWorkItemRequest() { |
584 var o = new api.LeaseWorkItemRequest(); | 584 var o = new api.LeaseWorkItemRequest(); |
585 buildCounterLeaseWorkItemRequest++; | 585 buildCounterLeaseWorkItemRequest++; |
586 if (buildCounterLeaseWorkItemRequest < 3) { | 586 if (buildCounterLeaseWorkItemRequest < 3) { |
587 o.currentWorkerTime = "foo"; | 587 o.currentWorkerTime = "foo"; |
588 o.requestedLeaseDuration = "foo"; | 588 o.requestedLeaseDuration = "foo"; |
589 o.workItemTypes = buildUnnamed1486(); | 589 o.workItemTypes = buildUnnamed1553(); |
590 o.workerCapabilities = buildUnnamed1487(); | 590 o.workerCapabilities = buildUnnamed1554(); |
591 o.workerId = "foo"; | 591 o.workerId = "foo"; |
592 } | 592 } |
593 buildCounterLeaseWorkItemRequest--; | 593 buildCounterLeaseWorkItemRequest--; |
594 return o; | 594 return o; |
595 } | 595 } |
596 | 596 |
597 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { | 597 checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) { |
598 buildCounterLeaseWorkItemRequest++; | 598 buildCounterLeaseWorkItemRequest++; |
599 if (buildCounterLeaseWorkItemRequest < 3) { | 599 if (buildCounterLeaseWorkItemRequest < 3) { |
600 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 600 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
601 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 601 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
602 checkUnnamed1486(o.workItemTypes); | 602 checkUnnamed1553(o.workItemTypes); |
603 checkUnnamed1487(o.workerCapabilities); | 603 checkUnnamed1554(o.workerCapabilities); |
604 unittest.expect(o.workerId, unittest.equals('foo')); | 604 unittest.expect(o.workerId, unittest.equals('foo')); |
605 } | 605 } |
606 buildCounterLeaseWorkItemRequest--; | 606 buildCounterLeaseWorkItemRequest--; |
607 } | 607 } |
608 | 608 |
609 buildUnnamed1488() { | 609 buildUnnamed1555() { |
610 var o = new core.List<api.WorkItem>(); | 610 var o = new core.List<api.WorkItem>(); |
611 o.add(buildWorkItem()); | 611 o.add(buildWorkItem()); |
612 o.add(buildWorkItem()); | 612 o.add(buildWorkItem()); |
613 return o; | 613 return o; |
614 } | 614 } |
615 | 615 |
616 checkUnnamed1488(core.List<api.WorkItem> o) { | 616 checkUnnamed1555(core.List<api.WorkItem> o) { |
617 unittest.expect(o, unittest.hasLength(2)); | 617 unittest.expect(o, unittest.hasLength(2)); |
618 checkWorkItem(o[0]); | 618 checkWorkItem(o[0]); |
619 checkWorkItem(o[1]); | 619 checkWorkItem(o[1]); |
620 } | 620 } |
621 | 621 |
622 core.int buildCounterLeaseWorkItemResponse = 0; | 622 core.int buildCounterLeaseWorkItemResponse = 0; |
623 buildLeaseWorkItemResponse() { | 623 buildLeaseWorkItemResponse() { |
624 var o = new api.LeaseWorkItemResponse(); | 624 var o = new api.LeaseWorkItemResponse(); |
625 buildCounterLeaseWorkItemResponse++; | 625 buildCounterLeaseWorkItemResponse++; |
626 if (buildCounterLeaseWorkItemResponse < 3) { | 626 if (buildCounterLeaseWorkItemResponse < 3) { |
627 o.workItems = buildUnnamed1488(); | 627 o.workItems = buildUnnamed1555(); |
628 } | 628 } |
629 buildCounterLeaseWorkItemResponse--; | 629 buildCounterLeaseWorkItemResponse--; |
630 return o; | 630 return o; |
631 } | 631 } |
632 | 632 |
633 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { | 633 checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) { |
634 buildCounterLeaseWorkItemResponse++; | 634 buildCounterLeaseWorkItemResponse++; |
635 if (buildCounterLeaseWorkItemResponse < 3) { | 635 if (buildCounterLeaseWorkItemResponse < 3) { |
636 checkUnnamed1488(o.workItems); | 636 checkUnnamed1555(o.workItems); |
637 } | 637 } |
638 buildCounterLeaseWorkItemResponse--; | 638 buildCounterLeaseWorkItemResponse--; |
639 } | 639 } |
640 | 640 |
641 buildUnnamed1489() { | 641 buildUnnamed1556() { |
642 var o = new core.List<api.JobMessage>(); | 642 var o = new core.List<api.JobMessage>(); |
643 o.add(buildJobMessage()); | 643 o.add(buildJobMessage()); |
644 o.add(buildJobMessage()); | 644 o.add(buildJobMessage()); |
645 return o; | 645 return o; |
646 } | 646 } |
647 | 647 |
648 checkUnnamed1489(core.List<api.JobMessage> o) { | 648 checkUnnamed1556(core.List<api.JobMessage> o) { |
649 unittest.expect(o, unittest.hasLength(2)); | 649 unittest.expect(o, unittest.hasLength(2)); |
650 checkJobMessage(o[0]); | 650 checkJobMessage(o[0]); |
651 checkJobMessage(o[1]); | 651 checkJobMessage(o[1]); |
652 } | 652 } |
653 | 653 |
654 core.int buildCounterListJobMessagesResponse = 0; | 654 core.int buildCounterListJobMessagesResponse = 0; |
655 buildListJobMessagesResponse() { | 655 buildListJobMessagesResponse() { |
656 var o = new api.ListJobMessagesResponse(); | 656 var o = new api.ListJobMessagesResponse(); |
657 buildCounterListJobMessagesResponse++; | 657 buildCounterListJobMessagesResponse++; |
658 if (buildCounterListJobMessagesResponse < 3) { | 658 if (buildCounterListJobMessagesResponse < 3) { |
659 o.jobMessages = buildUnnamed1489(); | 659 o.jobMessages = buildUnnamed1556(); |
660 o.nextPageToken = "foo"; | 660 o.nextPageToken = "foo"; |
661 } | 661 } |
662 buildCounterListJobMessagesResponse--; | 662 buildCounterListJobMessagesResponse--; |
663 return o; | 663 return o; |
664 } | 664 } |
665 | 665 |
666 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { | 666 checkListJobMessagesResponse(api.ListJobMessagesResponse o) { |
667 buildCounterListJobMessagesResponse++; | 667 buildCounterListJobMessagesResponse++; |
668 if (buildCounterListJobMessagesResponse < 3) { | 668 if (buildCounterListJobMessagesResponse < 3) { |
669 checkUnnamed1489(o.jobMessages); | 669 checkUnnamed1556(o.jobMessages); |
670 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 670 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
671 } | 671 } |
672 buildCounterListJobMessagesResponse--; | 672 buildCounterListJobMessagesResponse--; |
673 } | 673 } |
674 | 674 |
675 buildUnnamed1490() { | 675 buildUnnamed1557() { |
676 var o = new core.List<api.Job>(); | 676 var o = new core.List<api.Job>(); |
677 o.add(buildJob()); | 677 o.add(buildJob()); |
678 o.add(buildJob()); | 678 o.add(buildJob()); |
679 return o; | 679 return o; |
680 } | 680 } |
681 | 681 |
682 checkUnnamed1490(core.List<api.Job> o) { | 682 checkUnnamed1557(core.List<api.Job> o) { |
683 unittest.expect(o, unittest.hasLength(2)); | 683 unittest.expect(o, unittest.hasLength(2)); |
684 checkJob(o[0]); | 684 checkJob(o[0]); |
685 checkJob(o[1]); | 685 checkJob(o[1]); |
686 } | 686 } |
687 | 687 |
688 core.int buildCounterListJobsResponse = 0; | 688 core.int buildCounterListJobsResponse = 0; |
689 buildListJobsResponse() { | 689 buildListJobsResponse() { |
690 var o = new api.ListJobsResponse(); | 690 var o = new api.ListJobsResponse(); |
691 buildCounterListJobsResponse++; | 691 buildCounterListJobsResponse++; |
692 if (buildCounterListJobsResponse < 3) { | 692 if (buildCounterListJobsResponse < 3) { |
693 o.jobs = buildUnnamed1490(); | 693 o.jobs = buildUnnamed1557(); |
694 o.nextPageToken = "foo"; | 694 o.nextPageToken = "foo"; |
695 } | 695 } |
696 buildCounterListJobsResponse--; | 696 buildCounterListJobsResponse--; |
697 return o; | 697 return o; |
698 } | 698 } |
699 | 699 |
700 checkListJobsResponse(api.ListJobsResponse o) { | 700 checkListJobsResponse(api.ListJobsResponse o) { |
701 buildCounterListJobsResponse++; | 701 buildCounterListJobsResponse++; |
702 if (buildCounterListJobsResponse < 3) { | 702 if (buildCounterListJobsResponse < 3) { |
703 checkUnnamed1490(o.jobs); | 703 checkUnnamed1557(o.jobs); |
704 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 704 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
705 } | 705 } |
706 buildCounterListJobsResponse--; | 706 buildCounterListJobsResponse--; |
707 } | 707 } |
708 | 708 |
709 buildUnnamed1491() { | 709 buildUnnamed1558() { |
710 var o = new core.List<api.ParallelInstruction>(); | 710 var o = new core.List<api.ParallelInstruction>(); |
711 o.add(buildParallelInstruction()); | 711 o.add(buildParallelInstruction()); |
712 o.add(buildParallelInstruction()); | 712 o.add(buildParallelInstruction()); |
713 return o; | 713 return o; |
714 } | 714 } |
715 | 715 |
716 checkUnnamed1491(core.List<api.ParallelInstruction> o) { | 716 checkUnnamed1558(core.List<api.ParallelInstruction> o) { |
717 unittest.expect(o, unittest.hasLength(2)); | 717 unittest.expect(o, unittest.hasLength(2)); |
718 checkParallelInstruction(o[0]); | 718 checkParallelInstruction(o[0]); |
719 checkParallelInstruction(o[1]); | 719 checkParallelInstruction(o[1]); |
720 } | 720 } |
721 | 721 |
722 core.int buildCounterMapTask = 0; | 722 core.int buildCounterMapTask = 0; |
723 buildMapTask() { | 723 buildMapTask() { |
724 var o = new api.MapTask(); | 724 var o = new api.MapTask(); |
725 buildCounterMapTask++; | 725 buildCounterMapTask++; |
726 if (buildCounterMapTask < 3) { | 726 if (buildCounterMapTask < 3) { |
727 o.instructions = buildUnnamed1491(); | 727 o.instructions = buildUnnamed1558(); |
728 o.stageName = "foo"; | 728 o.stageName = "foo"; |
729 o.systemName = "foo"; | 729 o.systemName = "foo"; |
730 } | 730 } |
731 buildCounterMapTask--; | 731 buildCounterMapTask--; |
732 return o; | 732 return o; |
733 } | 733 } |
734 | 734 |
735 checkMapTask(api.MapTask o) { | 735 checkMapTask(api.MapTask o) { |
736 buildCounterMapTask++; | 736 buildCounterMapTask++; |
737 if (buildCounterMapTask < 3) { | 737 if (buildCounterMapTask < 3) { |
738 checkUnnamed1491(o.instructions); | 738 checkUnnamed1558(o.instructions); |
739 unittest.expect(o.stageName, unittest.equals('foo')); | 739 unittest.expect(o.stageName, unittest.equals('foo')); |
740 unittest.expect(o.systemName, unittest.equals('foo')); | 740 unittest.expect(o.systemName, unittest.equals('foo')); |
741 } | 741 } |
742 buildCounterMapTask--; | 742 buildCounterMapTask--; |
743 } | 743 } |
744 | 744 |
745 buildUnnamed1492() { | 745 buildUnnamed1559() { |
746 var o = new core.Map<core.String, core.String>(); | 746 var o = new core.Map<core.String, core.String>(); |
747 o["x"] = "foo"; | 747 o["x"] = "foo"; |
748 o["y"] = "foo"; | 748 o["y"] = "foo"; |
749 return o; | 749 return o; |
750 } | 750 } |
751 | 751 |
752 checkUnnamed1492(core.Map<core.String, core.String> o) { | 752 checkUnnamed1559(core.Map<core.String, core.String> o) { |
753 unittest.expect(o, unittest.hasLength(2)); | 753 unittest.expect(o, unittest.hasLength(2)); |
754 unittest.expect(o["x"], unittest.equals('foo')); | 754 unittest.expect(o["x"], unittest.equals('foo')); |
755 unittest.expect(o["y"], unittest.equals('foo')); | 755 unittest.expect(o["y"], unittest.equals('foo')); |
756 } | 756 } |
757 | 757 |
758 core.int buildCounterMetricStructuredName = 0; | 758 core.int buildCounterMetricStructuredName = 0; |
759 buildMetricStructuredName() { | 759 buildMetricStructuredName() { |
760 var o = new api.MetricStructuredName(); | 760 var o = new api.MetricStructuredName(); |
761 buildCounterMetricStructuredName++; | 761 buildCounterMetricStructuredName++; |
762 if (buildCounterMetricStructuredName < 3) { | 762 if (buildCounterMetricStructuredName < 3) { |
763 o.context = buildUnnamed1492(); | 763 o.context = buildUnnamed1559(); |
764 o.name = "foo"; | 764 o.name = "foo"; |
765 o.origin = "foo"; | 765 o.origin = "foo"; |
766 } | 766 } |
767 buildCounterMetricStructuredName--; | 767 buildCounterMetricStructuredName--; |
768 return o; | 768 return o; |
769 } | 769 } |
770 | 770 |
771 checkMetricStructuredName(api.MetricStructuredName o) { | 771 checkMetricStructuredName(api.MetricStructuredName o) { |
772 buildCounterMetricStructuredName++; | 772 buildCounterMetricStructuredName++; |
773 if (buildCounterMetricStructuredName < 3) { | 773 if (buildCounterMetricStructuredName < 3) { |
774 checkUnnamed1492(o.context); | 774 checkUnnamed1559(o.context); |
775 unittest.expect(o.name, unittest.equals('foo')); | 775 unittest.expect(o.name, unittest.equals('foo')); |
776 unittest.expect(o.origin, unittest.equals('foo')); | 776 unittest.expect(o.origin, unittest.equals('foo')); |
777 } | 777 } |
778 buildCounterMetricStructuredName--; | 778 buildCounterMetricStructuredName--; |
779 } | 779 } |
780 | 780 |
781 core.int buildCounterMetricUpdate = 0; | 781 core.int buildCounterMetricUpdate = 0; |
782 buildMetricUpdate() { | 782 buildMetricUpdate() { |
783 var o = new api.MetricUpdate(); | 783 var o = new api.MetricUpdate(); |
784 buildCounterMetricUpdate++; | 784 buildCounterMetricUpdate++; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 | 846 |
847 checkPackage(api.Package o) { | 847 checkPackage(api.Package o) { |
848 buildCounterPackage++; | 848 buildCounterPackage++; |
849 if (buildCounterPackage < 3) { | 849 if (buildCounterPackage < 3) { |
850 unittest.expect(o.location, unittest.equals('foo')); | 850 unittest.expect(o.location, unittest.equals('foo')); |
851 unittest.expect(o.name, unittest.equals('foo')); | 851 unittest.expect(o.name, unittest.equals('foo')); |
852 } | 852 } |
853 buildCounterPackage--; | 853 buildCounterPackage--; |
854 } | 854 } |
855 | 855 |
856 buildUnnamed1493() { | 856 buildUnnamed1560() { |
857 var o = new core.List<api.MultiOutputInfo>(); | 857 var o = new core.List<api.MultiOutputInfo>(); |
858 o.add(buildMultiOutputInfo()); | 858 o.add(buildMultiOutputInfo()); |
859 o.add(buildMultiOutputInfo()); | 859 o.add(buildMultiOutputInfo()); |
860 return o; | 860 return o; |
861 } | 861 } |
862 | 862 |
863 checkUnnamed1493(core.List<api.MultiOutputInfo> o) { | 863 checkUnnamed1560(core.List<api.MultiOutputInfo> o) { |
864 unittest.expect(o, unittest.hasLength(2)); | 864 unittest.expect(o, unittest.hasLength(2)); |
865 checkMultiOutputInfo(o[0]); | 865 checkMultiOutputInfo(o[0]); |
866 checkMultiOutputInfo(o[1]); | 866 checkMultiOutputInfo(o[1]); |
867 } | 867 } |
868 | 868 |
869 buildUnnamed1494() { | 869 buildUnnamed1561() { |
870 var o = new core.List<api.SideInputInfo>(); | 870 var o = new core.List<api.SideInputInfo>(); |
871 o.add(buildSideInputInfo()); | 871 o.add(buildSideInputInfo()); |
872 o.add(buildSideInputInfo()); | 872 o.add(buildSideInputInfo()); |
873 return o; | 873 return o; |
874 } | 874 } |
875 | 875 |
876 checkUnnamed1494(core.List<api.SideInputInfo> o) { | 876 checkUnnamed1561(core.List<api.SideInputInfo> o) { |
877 unittest.expect(o, unittest.hasLength(2)); | 877 unittest.expect(o, unittest.hasLength(2)); |
878 checkSideInputInfo(o[0]); | 878 checkSideInputInfo(o[0]); |
879 checkSideInputInfo(o[1]); | 879 checkSideInputInfo(o[1]); |
880 } | 880 } |
881 | 881 |
882 buildUnnamed1495() { | 882 buildUnnamed1562() { |
883 var o = new core.Map<core.String, core.Object>(); | 883 var o = new core.Map<core.String, core.Object>(); |
884 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 884 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
885 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 885 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
886 return o; | 886 return o; |
887 } | 887 } |
888 | 888 |
889 checkUnnamed1495(core.Map<core.String, core.Object> o) { | 889 checkUnnamed1562(core.Map<core.String, core.Object> o) { |
890 unittest.expect(o, unittest.hasLength(2)); | 890 unittest.expect(o, unittest.hasLength(2)); |
891 var casted12 = (o["x"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); | 891 var casted12 = (o["x"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); |
892 var casted13 = (o["y"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); | 892 var casted13 = (o["y"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); |
893 } | 893 } |
894 | 894 |
895 core.int buildCounterParDoInstruction = 0; | 895 core.int buildCounterParDoInstruction = 0; |
896 buildParDoInstruction() { | 896 buildParDoInstruction() { |
897 var o = new api.ParDoInstruction(); | 897 var o = new api.ParDoInstruction(); |
898 buildCounterParDoInstruction++; | 898 buildCounterParDoInstruction++; |
899 if (buildCounterParDoInstruction < 3) { | 899 if (buildCounterParDoInstruction < 3) { |
900 o.input = buildInstructionInput(); | 900 o.input = buildInstructionInput(); |
901 o.multiOutputInfos = buildUnnamed1493(); | 901 o.multiOutputInfos = buildUnnamed1560(); |
902 o.numOutputs = 42; | 902 o.numOutputs = 42; |
903 o.sideInputs = buildUnnamed1494(); | 903 o.sideInputs = buildUnnamed1561(); |
904 o.userFn = buildUnnamed1495(); | 904 o.userFn = buildUnnamed1562(); |
905 } | 905 } |
906 buildCounterParDoInstruction--; | 906 buildCounterParDoInstruction--; |
907 return o; | 907 return o; |
908 } | 908 } |
909 | 909 |
910 checkParDoInstruction(api.ParDoInstruction o) { | 910 checkParDoInstruction(api.ParDoInstruction o) { |
911 buildCounterParDoInstruction++; | 911 buildCounterParDoInstruction++; |
912 if (buildCounterParDoInstruction < 3) { | 912 if (buildCounterParDoInstruction < 3) { |
913 checkInstructionInput(o.input); | 913 checkInstructionInput(o.input); |
914 checkUnnamed1493(o.multiOutputInfos); | 914 checkUnnamed1560(o.multiOutputInfos); |
915 unittest.expect(o.numOutputs, unittest.equals(42)); | 915 unittest.expect(o.numOutputs, unittest.equals(42)); |
916 checkUnnamed1494(o.sideInputs); | 916 checkUnnamed1561(o.sideInputs); |
917 checkUnnamed1495(o.userFn); | 917 checkUnnamed1562(o.userFn); |
918 } | 918 } |
919 buildCounterParDoInstruction--; | 919 buildCounterParDoInstruction--; |
920 } | 920 } |
921 | 921 |
922 buildUnnamed1496() { | 922 buildUnnamed1563() { |
923 var o = new core.List<api.InstructionOutput>(); | 923 var o = new core.List<api.InstructionOutput>(); |
924 o.add(buildInstructionOutput()); | 924 o.add(buildInstructionOutput()); |
925 o.add(buildInstructionOutput()); | 925 o.add(buildInstructionOutput()); |
926 return o; | 926 return o; |
927 } | 927 } |
928 | 928 |
929 checkUnnamed1496(core.List<api.InstructionOutput> o) { | 929 checkUnnamed1563(core.List<api.InstructionOutput> o) { |
930 unittest.expect(o, unittest.hasLength(2)); | 930 unittest.expect(o, unittest.hasLength(2)); |
931 checkInstructionOutput(o[0]); | 931 checkInstructionOutput(o[0]); |
932 checkInstructionOutput(o[1]); | 932 checkInstructionOutput(o[1]); |
933 } | 933 } |
934 | 934 |
935 core.int buildCounterParallelInstruction = 0; | 935 core.int buildCounterParallelInstruction = 0; |
936 buildParallelInstruction() { | 936 buildParallelInstruction() { |
937 var o = new api.ParallelInstruction(); | 937 var o = new api.ParallelInstruction(); |
938 buildCounterParallelInstruction++; | 938 buildCounterParallelInstruction++; |
939 if (buildCounterParallelInstruction < 3) { | 939 if (buildCounterParallelInstruction < 3) { |
940 o.flatten = buildFlattenInstruction(); | 940 o.flatten = buildFlattenInstruction(); |
941 o.name = "foo"; | 941 o.name = "foo"; |
942 o.outputs = buildUnnamed1496(); | 942 o.outputs = buildUnnamed1563(); |
943 o.parDo = buildParDoInstruction(); | 943 o.parDo = buildParDoInstruction(); |
944 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); | 944 o.partialGroupByKey = buildPartialGroupByKeyInstruction(); |
945 o.read = buildReadInstruction(); | 945 o.read = buildReadInstruction(); |
946 o.systemName = "foo"; | 946 o.systemName = "foo"; |
947 o.write = buildWriteInstruction(); | 947 o.write = buildWriteInstruction(); |
948 } | 948 } |
949 buildCounterParallelInstruction--; | 949 buildCounterParallelInstruction--; |
950 return o; | 950 return o; |
951 } | 951 } |
952 | 952 |
953 checkParallelInstruction(api.ParallelInstruction o) { | 953 checkParallelInstruction(api.ParallelInstruction o) { |
954 buildCounterParallelInstruction++; | 954 buildCounterParallelInstruction++; |
955 if (buildCounterParallelInstruction < 3) { | 955 if (buildCounterParallelInstruction < 3) { |
956 checkFlattenInstruction(o.flatten); | 956 checkFlattenInstruction(o.flatten); |
957 unittest.expect(o.name, unittest.equals('foo')); | 957 unittest.expect(o.name, unittest.equals('foo')); |
958 checkUnnamed1496(o.outputs); | 958 checkUnnamed1563(o.outputs); |
959 checkParDoInstruction(o.parDo); | 959 checkParDoInstruction(o.parDo); |
960 checkPartialGroupByKeyInstruction(o.partialGroupByKey); | 960 checkPartialGroupByKeyInstruction(o.partialGroupByKey); |
961 checkReadInstruction(o.read); | 961 checkReadInstruction(o.read); |
962 unittest.expect(o.systemName, unittest.equals('foo')); | 962 unittest.expect(o.systemName, unittest.equals('foo')); |
963 checkWriteInstruction(o.write); | 963 checkWriteInstruction(o.write); |
964 } | 964 } |
965 buildCounterParallelInstruction--; | 965 buildCounterParallelInstruction--; |
966 } | 966 } |
967 | 967 |
968 buildUnnamed1497() { | 968 buildUnnamed1564() { |
969 var o = new core.Map<core.String, core.Object>(); | 969 var o = new core.Map<core.String, core.Object>(); |
970 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 970 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
971 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 971 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
972 return o; | 972 return o; |
973 } | 973 } |
974 | 974 |
975 checkUnnamed1497(core.Map<core.String, core.Object> o) { | 975 checkUnnamed1564(core.Map<core.String, core.Object> o) { |
976 unittest.expect(o, unittest.hasLength(2)); | 976 unittest.expect(o, unittest.hasLength(2)); |
977 var casted14 = (o["x"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); | 977 var casted14 = (o["x"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); |
978 var casted15 = (o["y"]) as core.Map; unittest.expect(casted15, unittest.hasLen
gth(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["stri
ng"], unittest.equals('foo')); | 978 var casted15 = (o["y"]) as core.Map; unittest.expect(casted15, unittest.hasLen
gth(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["stri
ng"], unittest.equals('foo')); |
979 } | 979 } |
980 | 980 |
981 core.int buildCounterPartialGroupByKeyInstruction = 0; | 981 core.int buildCounterPartialGroupByKeyInstruction = 0; |
982 buildPartialGroupByKeyInstruction() { | 982 buildPartialGroupByKeyInstruction() { |
983 var o = new api.PartialGroupByKeyInstruction(); | 983 var o = new api.PartialGroupByKeyInstruction(); |
984 buildCounterPartialGroupByKeyInstruction++; | 984 buildCounterPartialGroupByKeyInstruction++; |
985 if (buildCounterPartialGroupByKeyInstruction < 3) { | 985 if (buildCounterPartialGroupByKeyInstruction < 3) { |
986 o.input = buildInstructionInput(); | 986 o.input = buildInstructionInput(); |
987 o.inputElementCodec = buildUnnamed1497(); | 987 o.inputElementCodec = buildUnnamed1564(); |
988 } | 988 } |
989 buildCounterPartialGroupByKeyInstruction--; | 989 buildCounterPartialGroupByKeyInstruction--; |
990 return o; | 990 return o; |
991 } | 991 } |
992 | 992 |
993 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { | 993 checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) { |
994 buildCounterPartialGroupByKeyInstruction++; | 994 buildCounterPartialGroupByKeyInstruction++; |
995 if (buildCounterPartialGroupByKeyInstruction < 3) { | 995 if (buildCounterPartialGroupByKeyInstruction < 3) { |
996 checkInstructionInput(o.input); | 996 checkInstructionInput(o.input); |
997 checkUnnamed1497(o.inputElementCodec); | 997 checkUnnamed1564(o.inputElementCodec); |
998 } | 998 } |
999 buildCounterPartialGroupByKeyInstruction--; | 999 buildCounterPartialGroupByKeyInstruction--; |
1000 } | 1000 } |
1001 | 1001 |
1002 core.int buildCounterPosition = 0; | 1002 core.int buildCounterPosition = 0; |
1003 buildPosition() { | 1003 buildPosition() { |
1004 var o = new api.Position(); | 1004 var o = new api.Position(); |
1005 buildCounterPosition++; | 1005 buildCounterPosition++; |
1006 if (buildCounterPosition < 3) { | 1006 if (buildCounterPosition < 3) { |
1007 o.byteOffset = "foo"; | 1007 o.byteOffset = "foo"; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 } | 1059 } |
1060 | 1060 |
1061 checkReadInstruction(api.ReadInstruction o) { | 1061 checkReadInstruction(api.ReadInstruction o) { |
1062 buildCounterReadInstruction++; | 1062 buildCounterReadInstruction++; |
1063 if (buildCounterReadInstruction < 3) { | 1063 if (buildCounterReadInstruction < 3) { |
1064 checkSource(o.source); | 1064 checkSource(o.source); |
1065 } | 1065 } |
1066 buildCounterReadInstruction--; | 1066 buildCounterReadInstruction--; |
1067 } | 1067 } |
1068 | 1068 |
1069 buildUnnamed1498() { | 1069 buildUnnamed1565() { |
1070 var o = new core.List<api.WorkItemStatus>(); | 1070 var o = new core.List<api.WorkItemStatus>(); |
1071 o.add(buildWorkItemStatus()); | 1071 o.add(buildWorkItemStatus()); |
1072 o.add(buildWorkItemStatus()); | 1072 o.add(buildWorkItemStatus()); |
1073 return o; | 1073 return o; |
1074 } | 1074 } |
1075 | 1075 |
1076 checkUnnamed1498(core.List<api.WorkItemStatus> o) { | 1076 checkUnnamed1565(core.List<api.WorkItemStatus> o) { |
1077 unittest.expect(o, unittest.hasLength(2)); | 1077 unittest.expect(o, unittest.hasLength(2)); |
1078 checkWorkItemStatus(o[0]); | 1078 checkWorkItemStatus(o[0]); |
1079 checkWorkItemStatus(o[1]); | 1079 checkWorkItemStatus(o[1]); |
1080 } | 1080 } |
1081 | 1081 |
1082 core.int buildCounterReportWorkItemStatusRequest = 0; | 1082 core.int buildCounterReportWorkItemStatusRequest = 0; |
1083 buildReportWorkItemStatusRequest() { | 1083 buildReportWorkItemStatusRequest() { |
1084 var o = new api.ReportWorkItemStatusRequest(); | 1084 var o = new api.ReportWorkItemStatusRequest(); |
1085 buildCounterReportWorkItemStatusRequest++; | 1085 buildCounterReportWorkItemStatusRequest++; |
1086 if (buildCounterReportWorkItemStatusRequest < 3) { | 1086 if (buildCounterReportWorkItemStatusRequest < 3) { |
1087 o.currentWorkerTime = "foo"; | 1087 o.currentWorkerTime = "foo"; |
1088 o.workItemStatuses = buildUnnamed1498(); | 1088 o.workItemStatuses = buildUnnamed1565(); |
1089 o.workerId = "foo"; | 1089 o.workerId = "foo"; |
1090 } | 1090 } |
1091 buildCounterReportWorkItemStatusRequest--; | 1091 buildCounterReportWorkItemStatusRequest--; |
1092 return o; | 1092 return o; |
1093 } | 1093 } |
1094 | 1094 |
1095 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { | 1095 checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) { |
1096 buildCounterReportWorkItemStatusRequest++; | 1096 buildCounterReportWorkItemStatusRequest++; |
1097 if (buildCounterReportWorkItemStatusRequest < 3) { | 1097 if (buildCounterReportWorkItemStatusRequest < 3) { |
1098 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); | 1098 unittest.expect(o.currentWorkerTime, unittest.equals('foo')); |
1099 checkUnnamed1498(o.workItemStatuses); | 1099 checkUnnamed1565(o.workItemStatuses); |
1100 unittest.expect(o.workerId, unittest.equals('foo')); | 1100 unittest.expect(o.workerId, unittest.equals('foo')); |
1101 } | 1101 } |
1102 buildCounterReportWorkItemStatusRequest--; | 1102 buildCounterReportWorkItemStatusRequest--; |
1103 } | 1103 } |
1104 | 1104 |
1105 buildUnnamed1499() { | 1105 buildUnnamed1566() { |
1106 var o = new core.List<api.WorkItemServiceState>(); | 1106 var o = new core.List<api.WorkItemServiceState>(); |
1107 o.add(buildWorkItemServiceState()); | 1107 o.add(buildWorkItemServiceState()); |
1108 o.add(buildWorkItemServiceState()); | 1108 o.add(buildWorkItemServiceState()); |
1109 return o; | 1109 return o; |
1110 } | 1110 } |
1111 | 1111 |
1112 checkUnnamed1499(core.List<api.WorkItemServiceState> o) { | 1112 checkUnnamed1566(core.List<api.WorkItemServiceState> o) { |
1113 unittest.expect(o, unittest.hasLength(2)); | 1113 unittest.expect(o, unittest.hasLength(2)); |
1114 checkWorkItemServiceState(o[0]); | 1114 checkWorkItemServiceState(o[0]); |
1115 checkWorkItemServiceState(o[1]); | 1115 checkWorkItemServiceState(o[1]); |
1116 } | 1116 } |
1117 | 1117 |
1118 core.int buildCounterReportWorkItemStatusResponse = 0; | 1118 core.int buildCounterReportWorkItemStatusResponse = 0; |
1119 buildReportWorkItemStatusResponse() { | 1119 buildReportWorkItemStatusResponse() { |
1120 var o = new api.ReportWorkItemStatusResponse(); | 1120 var o = new api.ReportWorkItemStatusResponse(); |
1121 buildCounterReportWorkItemStatusResponse++; | 1121 buildCounterReportWorkItemStatusResponse++; |
1122 if (buildCounterReportWorkItemStatusResponse < 3) { | 1122 if (buildCounterReportWorkItemStatusResponse < 3) { |
1123 o.workItemServiceStates = buildUnnamed1499(); | 1123 o.workItemServiceStates = buildUnnamed1566(); |
1124 } | 1124 } |
1125 buildCounterReportWorkItemStatusResponse--; | 1125 buildCounterReportWorkItemStatusResponse--; |
1126 return o; | 1126 return o; |
1127 } | 1127 } |
1128 | 1128 |
1129 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { | 1129 checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) { |
1130 buildCounterReportWorkItemStatusResponse++; | 1130 buildCounterReportWorkItemStatusResponse++; |
1131 if (buildCounterReportWorkItemStatusResponse < 3) { | 1131 if (buildCounterReportWorkItemStatusResponse < 3) { |
1132 checkUnnamed1499(o.workItemServiceStates); | 1132 checkUnnamed1566(o.workItemServiceStates); |
1133 } | 1133 } |
1134 buildCounterReportWorkItemStatusResponse--; | 1134 buildCounterReportWorkItemStatusResponse--; |
1135 } | 1135 } |
1136 | 1136 |
1137 buildUnnamed1500() { | 1137 buildUnnamed1567() { |
1138 var o = new core.List<api.SideInputInfo>(); | 1138 var o = new core.List<api.SideInputInfo>(); |
1139 o.add(buildSideInputInfo()); | 1139 o.add(buildSideInputInfo()); |
1140 o.add(buildSideInputInfo()); | 1140 o.add(buildSideInputInfo()); |
1141 return o; | 1141 return o; |
1142 } | 1142 } |
1143 | 1143 |
1144 checkUnnamed1500(core.List<api.SideInputInfo> o) { | 1144 checkUnnamed1567(core.List<api.SideInputInfo> o) { |
1145 unittest.expect(o, unittest.hasLength(2)); | 1145 unittest.expect(o, unittest.hasLength(2)); |
1146 checkSideInputInfo(o[0]); | 1146 checkSideInputInfo(o[0]); |
1147 checkSideInputInfo(o[1]); | 1147 checkSideInputInfo(o[1]); |
1148 } | 1148 } |
1149 | 1149 |
1150 buildUnnamed1501() { | 1150 buildUnnamed1568() { |
1151 var o = new core.List<api.SeqMapTaskOutputInfo>(); | 1151 var o = new core.List<api.SeqMapTaskOutputInfo>(); |
1152 o.add(buildSeqMapTaskOutputInfo()); | 1152 o.add(buildSeqMapTaskOutputInfo()); |
1153 o.add(buildSeqMapTaskOutputInfo()); | 1153 o.add(buildSeqMapTaskOutputInfo()); |
1154 return o; | 1154 return o; |
1155 } | 1155 } |
1156 | 1156 |
1157 checkUnnamed1501(core.List<api.SeqMapTaskOutputInfo> o) { | 1157 checkUnnamed1568(core.List<api.SeqMapTaskOutputInfo> o) { |
1158 unittest.expect(o, unittest.hasLength(2)); | 1158 unittest.expect(o, unittest.hasLength(2)); |
1159 checkSeqMapTaskOutputInfo(o[0]); | 1159 checkSeqMapTaskOutputInfo(o[0]); |
1160 checkSeqMapTaskOutputInfo(o[1]); | 1160 checkSeqMapTaskOutputInfo(o[1]); |
1161 } | 1161 } |
1162 | 1162 |
1163 buildUnnamed1502() { | 1163 buildUnnamed1569() { |
1164 var o = new core.Map<core.String, core.Object>(); | 1164 var o = new core.Map<core.String, core.Object>(); |
1165 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1165 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1166 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1166 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1167 return o; | 1167 return o; |
1168 } | 1168 } |
1169 | 1169 |
1170 checkUnnamed1502(core.Map<core.String, core.Object> o) { | 1170 checkUnnamed1569(core.Map<core.String, core.Object> o) { |
1171 unittest.expect(o, unittest.hasLength(2)); | 1171 unittest.expect(o, unittest.hasLength(2)); |
1172 var casted16 = (o["x"]) as core.Map; unittest.expect(casted16, unittest.hasLen
gth(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["stri
ng"], unittest.equals('foo')); | 1172 var casted16 = (o["x"]) as core.Map; unittest.expect(casted16, unittest.hasLen
gth(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["stri
ng"], unittest.equals('foo')); |
1173 var casted17 = (o["y"]) as core.Map; unittest.expect(casted17, unittest.hasLen
gth(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["stri
ng"], unittest.equals('foo')); | 1173 var casted17 = (o["y"]) as core.Map; unittest.expect(casted17, unittest.hasLen
gth(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["stri
ng"], unittest.equals('foo')); |
1174 } | 1174 } |
1175 | 1175 |
1176 core.int buildCounterSeqMapTask = 0; | 1176 core.int buildCounterSeqMapTask = 0; |
1177 buildSeqMapTask() { | 1177 buildSeqMapTask() { |
1178 var o = new api.SeqMapTask(); | 1178 var o = new api.SeqMapTask(); |
1179 buildCounterSeqMapTask++; | 1179 buildCounterSeqMapTask++; |
1180 if (buildCounterSeqMapTask < 3) { | 1180 if (buildCounterSeqMapTask < 3) { |
1181 o.inputs = buildUnnamed1500(); | 1181 o.inputs = buildUnnamed1567(); |
1182 o.name = "foo"; | 1182 o.name = "foo"; |
1183 o.outputInfos = buildUnnamed1501(); | 1183 o.outputInfos = buildUnnamed1568(); |
1184 o.stageName = "foo"; | 1184 o.stageName = "foo"; |
1185 o.systemName = "foo"; | 1185 o.systemName = "foo"; |
1186 o.userFn = buildUnnamed1502(); | 1186 o.userFn = buildUnnamed1569(); |
1187 } | 1187 } |
1188 buildCounterSeqMapTask--; | 1188 buildCounterSeqMapTask--; |
1189 return o; | 1189 return o; |
1190 } | 1190 } |
1191 | 1191 |
1192 checkSeqMapTask(api.SeqMapTask o) { | 1192 checkSeqMapTask(api.SeqMapTask o) { |
1193 buildCounterSeqMapTask++; | 1193 buildCounterSeqMapTask++; |
1194 if (buildCounterSeqMapTask < 3) { | 1194 if (buildCounterSeqMapTask < 3) { |
1195 checkUnnamed1500(o.inputs); | 1195 checkUnnamed1567(o.inputs); |
1196 unittest.expect(o.name, unittest.equals('foo')); | 1196 unittest.expect(o.name, unittest.equals('foo')); |
1197 checkUnnamed1501(o.outputInfos); | 1197 checkUnnamed1568(o.outputInfos); |
1198 unittest.expect(o.stageName, unittest.equals('foo')); | 1198 unittest.expect(o.stageName, unittest.equals('foo')); |
1199 unittest.expect(o.systemName, unittest.equals('foo')); | 1199 unittest.expect(o.systemName, unittest.equals('foo')); |
1200 checkUnnamed1502(o.userFn); | 1200 checkUnnamed1569(o.userFn); |
1201 } | 1201 } |
1202 buildCounterSeqMapTask--; | 1202 buildCounterSeqMapTask--; |
1203 } | 1203 } |
1204 | 1204 |
1205 core.int buildCounterSeqMapTaskOutputInfo = 0; | 1205 core.int buildCounterSeqMapTaskOutputInfo = 0; |
1206 buildSeqMapTaskOutputInfo() { | 1206 buildSeqMapTaskOutputInfo() { |
1207 var o = new api.SeqMapTaskOutputInfo(); | 1207 var o = new api.SeqMapTaskOutputInfo(); |
1208 buildCounterSeqMapTaskOutputInfo++; | 1208 buildCounterSeqMapTaskOutputInfo++; |
1209 if (buildCounterSeqMapTaskOutputInfo < 3) { | 1209 if (buildCounterSeqMapTaskOutputInfo < 3) { |
1210 o.sink = buildSink(); | 1210 o.sink = buildSink(); |
(...skipping 26 matching lines...) Expand all Loading... |
1237 | 1237 |
1238 checkShellTask(api.ShellTask o) { | 1238 checkShellTask(api.ShellTask o) { |
1239 buildCounterShellTask++; | 1239 buildCounterShellTask++; |
1240 if (buildCounterShellTask < 3) { | 1240 if (buildCounterShellTask < 3) { |
1241 unittest.expect(o.command, unittest.equals('foo')); | 1241 unittest.expect(o.command, unittest.equals('foo')); |
1242 unittest.expect(o.exitCode, unittest.equals(42)); | 1242 unittest.expect(o.exitCode, unittest.equals(42)); |
1243 } | 1243 } |
1244 buildCounterShellTask--; | 1244 buildCounterShellTask--; |
1245 } | 1245 } |
1246 | 1246 |
1247 buildUnnamed1503() { | 1247 buildUnnamed1570() { |
1248 var o = new core.Map<core.String, core.Object>(); | 1248 var o = new core.Map<core.String, core.Object>(); |
1249 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1249 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1250 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1250 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1251 return o; | 1251 return o; |
1252 } | 1252 } |
1253 | 1253 |
1254 checkUnnamed1503(core.Map<core.String, core.Object> o) { | 1254 checkUnnamed1570(core.Map<core.String, core.Object> o) { |
1255 unittest.expect(o, unittest.hasLength(2)); | 1255 unittest.expect(o, unittest.hasLength(2)); |
1256 var casted18 = (o["x"]) as core.Map; unittest.expect(casted18, unittest.hasLen
gth(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["stri
ng"], unittest.equals('foo')); | 1256 var casted18 = (o["x"]) as core.Map; unittest.expect(casted18, unittest.hasLen
gth(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["stri
ng"], unittest.equals('foo')); |
1257 var casted19 = (o["y"]) as core.Map; unittest.expect(casted19, unittest.hasLen
gth(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["stri
ng"], unittest.equals('foo')); | 1257 var casted19 = (o["y"]) as core.Map; unittest.expect(casted19, unittest.hasLen
gth(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["stri
ng"], unittest.equals('foo')); |
1258 } | 1258 } |
1259 | 1259 |
1260 buildUnnamed1504() { | 1260 buildUnnamed1571() { |
1261 var o = new core.List<api.Source>(); | 1261 var o = new core.List<api.Source>(); |
1262 o.add(buildSource()); | 1262 o.add(buildSource()); |
1263 o.add(buildSource()); | 1263 o.add(buildSource()); |
1264 return o; | 1264 return o; |
1265 } | 1265 } |
1266 | 1266 |
1267 checkUnnamed1504(core.List<api.Source> o) { | 1267 checkUnnamed1571(core.List<api.Source> o) { |
1268 unittest.expect(o, unittest.hasLength(2)); | 1268 unittest.expect(o, unittest.hasLength(2)); |
1269 checkSource(o[0]); | 1269 checkSource(o[0]); |
1270 checkSource(o[1]); | 1270 checkSource(o[1]); |
1271 } | 1271 } |
1272 | 1272 |
1273 core.int buildCounterSideInputInfo = 0; | 1273 core.int buildCounterSideInputInfo = 0; |
1274 buildSideInputInfo() { | 1274 buildSideInputInfo() { |
1275 var o = new api.SideInputInfo(); | 1275 var o = new api.SideInputInfo(); |
1276 buildCounterSideInputInfo++; | 1276 buildCounterSideInputInfo++; |
1277 if (buildCounterSideInputInfo < 3) { | 1277 if (buildCounterSideInputInfo < 3) { |
1278 o.kind = buildUnnamed1503(); | 1278 o.kind = buildUnnamed1570(); |
1279 o.sources = buildUnnamed1504(); | 1279 o.sources = buildUnnamed1571(); |
1280 o.tag = "foo"; | 1280 o.tag = "foo"; |
1281 } | 1281 } |
1282 buildCounterSideInputInfo--; | 1282 buildCounterSideInputInfo--; |
1283 return o; | 1283 return o; |
1284 } | 1284 } |
1285 | 1285 |
1286 checkSideInputInfo(api.SideInputInfo o) { | 1286 checkSideInputInfo(api.SideInputInfo o) { |
1287 buildCounterSideInputInfo++; | 1287 buildCounterSideInputInfo++; |
1288 if (buildCounterSideInputInfo < 3) { | 1288 if (buildCounterSideInputInfo < 3) { |
1289 checkUnnamed1503(o.kind); | 1289 checkUnnamed1570(o.kind); |
1290 checkUnnamed1504(o.sources); | 1290 checkUnnamed1571(o.sources); |
1291 unittest.expect(o.tag, unittest.equals('foo')); | 1291 unittest.expect(o.tag, unittest.equals('foo')); |
1292 } | 1292 } |
1293 buildCounterSideInputInfo--; | 1293 buildCounterSideInputInfo--; |
1294 } | 1294 } |
1295 | 1295 |
1296 buildUnnamed1505() { | 1296 buildUnnamed1572() { |
1297 var o = new core.Map<core.String, core.Object>(); | 1297 var o = new core.Map<core.String, core.Object>(); |
1298 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1298 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1299 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1299 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1300 return o; | 1300 return o; |
1301 } | 1301 } |
1302 | 1302 |
1303 checkUnnamed1505(core.Map<core.String, core.Object> o) { | 1303 checkUnnamed1572(core.Map<core.String, core.Object> o) { |
1304 unittest.expect(o, unittest.hasLength(2)); | 1304 unittest.expect(o, unittest.hasLength(2)); |
1305 var casted20 = (o["x"]) as core.Map; unittest.expect(casted20, unittest.hasLen
gth(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["stri
ng"], unittest.equals('foo')); | 1305 var casted20 = (o["x"]) as core.Map; unittest.expect(casted20, unittest.hasLen
gth(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["stri
ng"], unittest.equals('foo')); |
1306 var casted21 = (o["y"]) as core.Map; unittest.expect(casted21, unittest.hasLen
gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri
ng"], unittest.equals('foo')); | 1306 var casted21 = (o["y"]) as core.Map; unittest.expect(casted21, unittest.hasLen
gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri
ng"], unittest.equals('foo')); |
1307 } | 1307 } |
1308 | 1308 |
1309 buildUnnamed1506() { | 1309 buildUnnamed1573() { |
1310 var o = new core.Map<core.String, core.Object>(); | 1310 var o = new core.Map<core.String, core.Object>(); |
1311 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1311 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1312 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1312 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1313 return o; | 1313 return o; |
1314 } | 1314 } |
1315 | 1315 |
1316 checkUnnamed1506(core.Map<core.String, core.Object> o) { | 1316 checkUnnamed1573(core.Map<core.String, core.Object> o) { |
1317 unittest.expect(o, unittest.hasLength(2)); | 1317 unittest.expect(o, unittest.hasLength(2)); |
1318 var casted22 = (o["x"]) as core.Map; unittest.expect(casted22, unittest.hasLen
gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri
ng"], unittest.equals('foo')); | 1318 var casted22 = (o["x"]) as core.Map; unittest.expect(casted22, unittest.hasLen
gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri
ng"], unittest.equals('foo')); |
1319 var casted23 = (o["y"]) as core.Map; unittest.expect(casted23, unittest.hasLen
gth(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["stri
ng"], unittest.equals('foo')); | 1319 var casted23 = (o["y"]) as core.Map; unittest.expect(casted23, unittest.hasLen
gth(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["stri
ng"], unittest.equals('foo')); |
1320 } | 1320 } |
1321 | 1321 |
1322 core.int buildCounterSink = 0; | 1322 core.int buildCounterSink = 0; |
1323 buildSink() { | 1323 buildSink() { |
1324 var o = new api.Sink(); | 1324 var o = new api.Sink(); |
1325 buildCounterSink++; | 1325 buildCounterSink++; |
1326 if (buildCounterSink < 3) { | 1326 if (buildCounterSink < 3) { |
1327 o.codec = buildUnnamed1505(); | 1327 o.codec = buildUnnamed1572(); |
1328 o.spec = buildUnnamed1506(); | 1328 o.spec = buildUnnamed1573(); |
1329 } | 1329 } |
1330 buildCounterSink--; | 1330 buildCounterSink--; |
1331 return o; | 1331 return o; |
1332 } | 1332 } |
1333 | 1333 |
1334 checkSink(api.Sink o) { | 1334 checkSink(api.Sink o) { |
1335 buildCounterSink++; | 1335 buildCounterSink++; |
1336 if (buildCounterSink < 3) { | 1336 if (buildCounterSink < 3) { |
1337 checkUnnamed1505(o.codec); | 1337 checkUnnamed1572(o.codec); |
1338 checkUnnamed1506(o.spec); | 1338 checkUnnamed1573(o.spec); |
1339 } | 1339 } |
1340 buildCounterSink--; | 1340 buildCounterSink--; |
1341 } | 1341 } |
1342 | 1342 |
1343 buildUnnamed1507() { | 1343 buildUnnamed1574() { |
1344 var o = new core.Map<core.String, core.Object>(); | 1344 var o = new core.Map<core.String, core.Object>(); |
1345 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1345 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1346 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1346 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1347 return o; | 1347 return o; |
1348 } | 1348 } |
1349 | 1349 |
1350 checkUnnamed1507(core.Map<core.String, core.Object> o) { | 1350 checkUnnamed1574(core.Map<core.String, core.Object> o) { |
1351 unittest.expect(o, unittest.hasLength(2)); | 1351 unittest.expect(o, unittest.hasLength(2)); |
1352 var casted24 = (o["x"]) as core.Map; unittest.expect(casted24, unittest.hasLen
gth(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["stri
ng"], unittest.equals('foo')); | 1352 var casted24 = (o["x"]) as core.Map; unittest.expect(casted24, unittest.hasLen
gth(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["stri
ng"], unittest.equals('foo')); |
1353 var casted25 = (o["y"]) as core.Map; unittest.expect(casted25, unittest.hasLen
gth(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["stri
ng"], unittest.equals('foo')); | 1353 var casted25 = (o["y"]) as core.Map; unittest.expect(casted25, unittest.hasLen
gth(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["stri
ng"], unittest.equals('foo')); |
1354 } | 1354 } |
1355 | 1355 |
1356 buildUnnamed1508() { | 1356 buildUnnamed1575() { |
1357 var o = new core.List<core.Map<core.String, core.Object>>(); | 1357 var o = new core.List<core.Map<core.String, core.Object>>(); |
1358 o.add(buildUnnamed1507()); | 1358 o.add(buildUnnamed1574()); |
1359 o.add(buildUnnamed1507()); | 1359 o.add(buildUnnamed1574()); |
1360 return o; | 1360 return o; |
1361 } | 1361 } |
1362 | 1362 |
1363 checkUnnamed1508(core.List<core.Map<core.String, core.Object>> o) { | 1363 checkUnnamed1575(core.List<core.Map<core.String, core.Object>> o) { |
1364 unittest.expect(o, unittest.hasLength(2)); | 1364 unittest.expect(o, unittest.hasLength(2)); |
1365 checkUnnamed1507(o[0]); | 1365 checkUnnamed1574(o[0]); |
1366 checkUnnamed1507(o[1]); | 1366 checkUnnamed1574(o[1]); |
1367 } | 1367 } |
1368 | 1368 |
1369 buildUnnamed1509() { | 1369 buildUnnamed1576() { |
1370 var o = new core.Map<core.String, core.Object>(); | 1370 var o = new core.Map<core.String, core.Object>(); |
1371 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1371 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1372 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1372 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1373 return o; | 1373 return o; |
1374 } | 1374 } |
1375 | 1375 |
1376 checkUnnamed1509(core.Map<core.String, core.Object> o) { | 1376 checkUnnamed1576(core.Map<core.String, core.Object> o) { |
1377 unittest.expect(o, unittest.hasLength(2)); | 1377 unittest.expect(o, unittest.hasLength(2)); |
1378 var casted26 = (o["x"]) as core.Map; unittest.expect(casted26, unittest.hasLen
gth(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["stri
ng"], unittest.equals('foo')); | 1378 var casted26 = (o["x"]) as core.Map; unittest.expect(casted26, unittest.hasLen
gth(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["stri
ng"], unittest.equals('foo')); |
1379 var casted27 = (o["y"]) as core.Map; unittest.expect(casted27, unittest.hasLen
gth(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["stri
ng"], unittest.equals('foo')); | 1379 var casted27 = (o["y"]) as core.Map; unittest.expect(casted27, unittest.hasLen
gth(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["stri
ng"], unittest.equals('foo')); |
1380 } | 1380 } |
1381 | 1381 |
1382 buildUnnamed1510() { | 1382 buildUnnamed1577() { |
1383 var o = new core.Map<core.String, core.Object>(); | 1383 var o = new core.Map<core.String, core.Object>(); |
1384 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1384 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1385 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1385 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1386 return o; | 1386 return o; |
1387 } | 1387 } |
1388 | 1388 |
1389 checkUnnamed1510(core.Map<core.String, core.Object> o) { | 1389 checkUnnamed1577(core.Map<core.String, core.Object> o) { |
1390 unittest.expect(o, unittest.hasLength(2)); | 1390 unittest.expect(o, unittest.hasLength(2)); |
1391 var casted28 = (o["x"]) as core.Map; unittest.expect(casted28, unittest.hasLen
gth(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["stri
ng"], unittest.equals('foo')); | 1391 var casted28 = (o["x"]) as core.Map; unittest.expect(casted28, unittest.hasLen
gth(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["stri
ng"], unittest.equals('foo')); |
1392 var casted29 = (o["y"]) as core.Map; unittest.expect(casted29, unittest.hasLen
gth(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["stri
ng"], unittest.equals('foo')); | 1392 var casted29 = (o["y"]) as core.Map; unittest.expect(casted29, unittest.hasLen
gth(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["stri
ng"], unittest.equals('foo')); |
1393 } | 1393 } |
1394 | 1394 |
1395 core.int buildCounterSource = 0; | 1395 core.int buildCounterSource = 0; |
1396 buildSource() { | 1396 buildSource() { |
1397 var o = new api.Source(); | 1397 var o = new api.Source(); |
1398 buildCounterSource++; | 1398 buildCounterSource++; |
1399 if (buildCounterSource < 3) { | 1399 if (buildCounterSource < 3) { |
1400 o.baseSpecs = buildUnnamed1508(); | 1400 o.baseSpecs = buildUnnamed1575(); |
1401 o.codec = buildUnnamed1509(); | 1401 o.codec = buildUnnamed1576(); |
1402 o.doesNotNeedSplitting = true; | 1402 o.doesNotNeedSplitting = true; |
1403 o.metadata = buildSourceMetadata(); | 1403 o.metadata = buildSourceMetadata(); |
1404 o.spec = buildUnnamed1510(); | 1404 o.spec = buildUnnamed1577(); |
1405 } | 1405 } |
1406 buildCounterSource--; | 1406 buildCounterSource--; |
1407 return o; | 1407 return o; |
1408 } | 1408 } |
1409 | 1409 |
1410 checkSource(api.Source o) { | 1410 checkSource(api.Source o) { |
1411 buildCounterSource++; | 1411 buildCounterSource++; |
1412 if (buildCounterSource < 3) { | 1412 if (buildCounterSource < 3) { |
1413 checkUnnamed1508(o.baseSpecs); | 1413 checkUnnamed1575(o.baseSpecs); |
1414 checkUnnamed1509(o.codec); | 1414 checkUnnamed1576(o.codec); |
1415 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); | 1415 unittest.expect(o.doesNotNeedSplitting, unittest.isTrue); |
1416 checkSourceMetadata(o.metadata); | 1416 checkSourceMetadata(o.metadata); |
1417 checkUnnamed1510(o.spec); | 1417 checkUnnamed1577(o.spec); |
1418 } | 1418 } |
1419 buildCounterSource--; | 1419 buildCounterSource--; |
1420 } | 1420 } |
1421 | 1421 |
1422 core.int buildCounterSourceGetMetadataRequest = 0; | 1422 core.int buildCounterSourceGetMetadataRequest = 0; |
1423 buildSourceGetMetadataRequest() { | 1423 buildSourceGetMetadataRequest() { |
1424 var o = new api.SourceGetMetadataRequest(); | 1424 var o = new api.SourceGetMetadataRequest(); |
1425 buildCounterSourceGetMetadataRequest++; | 1425 buildCounterSourceGetMetadataRequest++; |
1426 if (buildCounterSourceGetMetadataRequest < 3) { | 1426 if (buildCounterSourceGetMetadataRequest < 3) { |
1427 o.source = buildSource(); | 1427 o.source = buildSource(); |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1555 | 1555 |
1556 checkSourceSplitRequest(api.SourceSplitRequest o) { | 1556 checkSourceSplitRequest(api.SourceSplitRequest o) { |
1557 buildCounterSourceSplitRequest++; | 1557 buildCounterSourceSplitRequest++; |
1558 if (buildCounterSourceSplitRequest < 3) { | 1558 if (buildCounterSourceSplitRequest < 3) { |
1559 checkSourceSplitOptions(o.options); | 1559 checkSourceSplitOptions(o.options); |
1560 checkSource(o.source); | 1560 checkSource(o.source); |
1561 } | 1561 } |
1562 buildCounterSourceSplitRequest--; | 1562 buildCounterSourceSplitRequest--; |
1563 } | 1563 } |
1564 | 1564 |
1565 buildUnnamed1511() { | 1565 buildUnnamed1578() { |
1566 var o = new core.List<api.SourceSplitShard>(); | 1566 var o = new core.List<api.SourceSplitShard>(); |
1567 o.add(buildSourceSplitShard()); | 1567 o.add(buildSourceSplitShard()); |
1568 o.add(buildSourceSplitShard()); | 1568 o.add(buildSourceSplitShard()); |
1569 return o; | 1569 return o; |
1570 } | 1570 } |
1571 | 1571 |
1572 checkUnnamed1511(core.List<api.SourceSplitShard> o) { | 1572 checkUnnamed1578(core.List<api.SourceSplitShard> o) { |
1573 unittest.expect(o, unittest.hasLength(2)); | 1573 unittest.expect(o, unittest.hasLength(2)); |
1574 checkSourceSplitShard(o[0]); | 1574 checkSourceSplitShard(o[0]); |
1575 checkSourceSplitShard(o[1]); | 1575 checkSourceSplitShard(o[1]); |
1576 } | 1576 } |
1577 | 1577 |
1578 core.int buildCounterSourceSplitResponse = 0; | 1578 core.int buildCounterSourceSplitResponse = 0; |
1579 buildSourceSplitResponse() { | 1579 buildSourceSplitResponse() { |
1580 var o = new api.SourceSplitResponse(); | 1580 var o = new api.SourceSplitResponse(); |
1581 buildCounterSourceSplitResponse++; | 1581 buildCounterSourceSplitResponse++; |
1582 if (buildCounterSourceSplitResponse < 3) { | 1582 if (buildCounterSourceSplitResponse < 3) { |
1583 o.outcome = "foo"; | 1583 o.outcome = "foo"; |
1584 o.shards = buildUnnamed1511(); | 1584 o.shards = buildUnnamed1578(); |
1585 } | 1585 } |
1586 buildCounterSourceSplitResponse--; | 1586 buildCounterSourceSplitResponse--; |
1587 return o; | 1587 return o; |
1588 } | 1588 } |
1589 | 1589 |
1590 checkSourceSplitResponse(api.SourceSplitResponse o) { | 1590 checkSourceSplitResponse(api.SourceSplitResponse o) { |
1591 buildCounterSourceSplitResponse++; | 1591 buildCounterSourceSplitResponse++; |
1592 if (buildCounterSourceSplitResponse < 3) { | 1592 if (buildCounterSourceSplitResponse < 3) { |
1593 unittest.expect(o.outcome, unittest.equals('foo')); | 1593 unittest.expect(o.outcome, unittest.equals('foo')); |
1594 checkUnnamed1511(o.shards); | 1594 checkUnnamed1578(o.shards); |
1595 } | 1595 } |
1596 buildCounterSourceSplitResponse--; | 1596 buildCounterSourceSplitResponse--; |
1597 } | 1597 } |
1598 | 1598 |
1599 core.int buildCounterSourceSplitShard = 0; | 1599 core.int buildCounterSourceSplitShard = 0; |
1600 buildSourceSplitShard() { | 1600 buildSourceSplitShard() { |
1601 var o = new api.SourceSplitShard(); | 1601 var o = new api.SourceSplitShard(); |
1602 buildCounterSourceSplitShard++; | 1602 buildCounterSourceSplitShard++; |
1603 if (buildCounterSourceSplitShard < 3) { | 1603 if (buildCounterSourceSplitShard < 3) { |
1604 o.derivationMode = "foo"; | 1604 o.derivationMode = "foo"; |
1605 o.source = buildSource(); | 1605 o.source = buildSource(); |
1606 } | 1606 } |
1607 buildCounterSourceSplitShard--; | 1607 buildCounterSourceSplitShard--; |
1608 return o; | 1608 return o; |
1609 } | 1609 } |
1610 | 1610 |
1611 checkSourceSplitShard(api.SourceSplitShard o) { | 1611 checkSourceSplitShard(api.SourceSplitShard o) { |
1612 buildCounterSourceSplitShard++; | 1612 buildCounterSourceSplitShard++; |
1613 if (buildCounterSourceSplitShard < 3) { | 1613 if (buildCounterSourceSplitShard < 3) { |
1614 unittest.expect(o.derivationMode, unittest.equals('foo')); | 1614 unittest.expect(o.derivationMode, unittest.equals('foo')); |
1615 checkSource(o.source); | 1615 checkSource(o.source); |
1616 } | 1616 } |
1617 buildCounterSourceSplitShard--; | 1617 buildCounterSourceSplitShard--; |
1618 } | 1618 } |
1619 | 1619 |
1620 buildUnnamed1512() { | 1620 buildUnnamed1579() { |
1621 var o = new core.Map<core.String, core.Object>(); | 1621 var o = new core.Map<core.String, core.Object>(); |
1622 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1622 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1623 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1623 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1624 return o; | 1624 return o; |
1625 } | 1625 } |
1626 | 1626 |
1627 checkUnnamed1512(core.Map<core.String, core.Object> o) { | 1627 checkUnnamed1579(core.Map<core.String, core.Object> o) { |
1628 unittest.expect(o, unittest.hasLength(2)); | 1628 unittest.expect(o, unittest.hasLength(2)); |
1629 var casted30 = (o["x"]) as core.Map; unittest.expect(casted30, unittest.hasLen
gth(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["stri
ng"], unittest.equals('foo')); | 1629 var casted30 = (o["x"]) as core.Map; unittest.expect(casted30, unittest.hasLen
gth(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["stri
ng"], unittest.equals('foo')); |
1630 var casted31 = (o["y"]) as core.Map; unittest.expect(casted31, unittest.hasLen
gth(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["stri
ng"], unittest.equals('foo')); | 1630 var casted31 = (o["y"]) as core.Map; unittest.expect(casted31, unittest.hasLen
gth(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["stri
ng"], unittest.equals('foo')); |
1631 } | 1631 } |
1632 | 1632 |
1633 buildUnnamed1513() { | 1633 buildUnnamed1580() { |
1634 var o = new core.List<core.Map<core.String, core.Object>>(); | 1634 var o = new core.List<core.Map<core.String, core.Object>>(); |
1635 o.add(buildUnnamed1512()); | 1635 o.add(buildUnnamed1579()); |
1636 o.add(buildUnnamed1512()); | 1636 o.add(buildUnnamed1579()); |
1637 return o; | 1637 return o; |
1638 } | 1638 } |
1639 | 1639 |
1640 checkUnnamed1513(core.List<core.Map<core.String, core.Object>> o) { | 1640 checkUnnamed1580(core.List<core.Map<core.String, core.Object>> o) { |
1641 unittest.expect(o, unittest.hasLength(2)); | 1641 unittest.expect(o, unittest.hasLength(2)); |
1642 checkUnnamed1512(o[0]); | 1642 checkUnnamed1579(o[0]); |
1643 checkUnnamed1512(o[1]); | 1643 checkUnnamed1579(o[1]); |
1644 } | 1644 } |
1645 | 1645 |
1646 core.int buildCounterStatus = 0; | 1646 core.int buildCounterStatus = 0; |
1647 buildStatus() { | 1647 buildStatus() { |
1648 var o = new api.Status(); | 1648 var o = new api.Status(); |
1649 buildCounterStatus++; | 1649 buildCounterStatus++; |
1650 if (buildCounterStatus < 3) { | 1650 if (buildCounterStatus < 3) { |
1651 o.code = 42; | 1651 o.code = 42; |
1652 o.details = buildUnnamed1513(); | 1652 o.details = buildUnnamed1580(); |
1653 o.message = "foo"; | 1653 o.message = "foo"; |
1654 } | 1654 } |
1655 buildCounterStatus--; | 1655 buildCounterStatus--; |
1656 return o; | 1656 return o; |
1657 } | 1657 } |
1658 | 1658 |
1659 checkStatus(api.Status o) { | 1659 checkStatus(api.Status o) { |
1660 buildCounterStatus++; | 1660 buildCounterStatus++; |
1661 if (buildCounterStatus < 3) { | 1661 if (buildCounterStatus < 3) { |
1662 unittest.expect(o.code, unittest.equals(42)); | 1662 unittest.expect(o.code, unittest.equals(42)); |
1663 checkUnnamed1513(o.details); | 1663 checkUnnamed1580(o.details); |
1664 unittest.expect(o.message, unittest.equals('foo')); | 1664 unittest.expect(o.message, unittest.equals('foo')); |
1665 } | 1665 } |
1666 buildCounterStatus--; | 1666 buildCounterStatus--; |
1667 } | 1667 } |
1668 | 1668 |
1669 buildUnnamed1514() { | 1669 buildUnnamed1581() { |
1670 var o = new core.Map<core.String, core.Object>(); | 1670 var o = new core.Map<core.String, core.Object>(); |
1671 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1671 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1672 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1672 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1673 return o; | 1673 return o; |
1674 } | 1674 } |
1675 | 1675 |
1676 checkUnnamed1514(core.Map<core.String, core.Object> o) { | 1676 checkUnnamed1581(core.Map<core.String, core.Object> o) { |
1677 unittest.expect(o, unittest.hasLength(2)); | 1677 unittest.expect(o, unittest.hasLength(2)); |
1678 var casted32 = (o["x"]) as core.Map; unittest.expect(casted32, unittest.hasLen
gth(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["stri
ng"], unittest.equals('foo')); | 1678 var casted32 = (o["x"]) as core.Map; unittest.expect(casted32, unittest.hasLen
gth(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["stri
ng"], unittest.equals('foo')); |
1679 var casted33 = (o["y"]) as core.Map; unittest.expect(casted33, unittest.hasLen
gth(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["stri
ng"], unittest.equals('foo')); | 1679 var casted33 = (o["y"]) as core.Map; unittest.expect(casted33, unittest.hasLen
gth(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["stri
ng"], unittest.equals('foo')); |
1680 } | 1680 } |
1681 | 1681 |
1682 core.int buildCounterStep = 0; | 1682 core.int buildCounterStep = 0; |
1683 buildStep() { | 1683 buildStep() { |
1684 var o = new api.Step(); | 1684 var o = new api.Step(); |
1685 buildCounterStep++; | 1685 buildCounterStep++; |
1686 if (buildCounterStep < 3) { | 1686 if (buildCounterStep < 3) { |
1687 o.kind = "foo"; | 1687 o.kind = "foo"; |
1688 o.name = "foo"; | 1688 o.name = "foo"; |
1689 o.properties = buildUnnamed1514(); | 1689 o.properties = buildUnnamed1581(); |
1690 } | 1690 } |
1691 buildCounterStep--; | 1691 buildCounterStep--; |
1692 return o; | 1692 return o; |
1693 } | 1693 } |
1694 | 1694 |
1695 checkStep(api.Step o) { | 1695 checkStep(api.Step o) { |
1696 buildCounterStep++; | 1696 buildCounterStep++; |
1697 if (buildCounterStep < 3) { | 1697 if (buildCounterStep < 3) { |
1698 unittest.expect(o.kind, unittest.equals('foo')); | 1698 unittest.expect(o.kind, unittest.equals('foo')); |
1699 unittest.expect(o.name, unittest.equals('foo')); | 1699 unittest.expect(o.name, unittest.equals('foo')); |
1700 checkUnnamed1514(o.properties); | 1700 checkUnnamed1581(o.properties); |
1701 } | 1701 } |
1702 buildCounterStep--; | 1702 buildCounterStep--; |
1703 } | 1703 } |
1704 | 1704 |
1705 core.int buildCounterStreamLocation = 0; | 1705 core.int buildCounterStreamLocation = 0; |
1706 buildStreamLocation() { | 1706 buildStreamLocation() { |
1707 var o = new api.StreamLocation(); | 1707 var o = new api.StreamLocation(); |
1708 buildCounterStreamLocation++; | 1708 buildCounterStreamLocation++; |
1709 if (buildCounterStreamLocation < 3) { | 1709 if (buildCounterStreamLocation < 3) { |
1710 o.pubsubLocation = buildPubsubLocation(); | 1710 o.pubsubLocation = buildPubsubLocation(); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1758 } | 1758 } |
1759 | 1759 |
1760 checkStreamingStageLocation(api.StreamingStageLocation o) { | 1760 checkStreamingStageLocation(api.StreamingStageLocation o) { |
1761 buildCounterStreamingStageLocation++; | 1761 buildCounterStreamingStageLocation++; |
1762 if (buildCounterStreamingStageLocation < 3) { | 1762 if (buildCounterStreamingStageLocation < 3) { |
1763 unittest.expect(o.streamId, unittest.equals('foo')); | 1763 unittest.expect(o.streamId, unittest.equals('foo')); |
1764 } | 1764 } |
1765 buildCounterStreamingStageLocation--; | 1765 buildCounterStreamingStageLocation--; |
1766 } | 1766 } |
1767 | 1767 |
1768 buildUnnamed1515() { | 1768 buildUnnamed1582() { |
1769 var o = new core.List<core.String>(); | 1769 var o = new core.List<core.String>(); |
1770 o.add("foo"); | 1770 o.add("foo"); |
1771 o.add("foo"); | 1771 o.add("foo"); |
1772 return o; | 1772 return o; |
1773 } | 1773 } |
1774 | 1774 |
1775 checkUnnamed1515(core.List<core.String> o) { | 1775 checkUnnamed1582(core.List<core.String> o) { |
1776 unittest.expect(o, unittest.hasLength(2)); | 1776 unittest.expect(o, unittest.hasLength(2)); |
1777 unittest.expect(o[0], unittest.equals('foo')); | 1777 unittest.expect(o[0], unittest.equals('foo')); |
1778 unittest.expect(o[1], unittest.equals('foo')); | 1778 unittest.expect(o[1], unittest.equals('foo')); |
1779 } | 1779 } |
1780 | 1780 |
1781 core.int buildCounterTaskRunnerSettings = 0; | 1781 core.int buildCounterTaskRunnerSettings = 0; |
1782 buildTaskRunnerSettings() { | 1782 buildTaskRunnerSettings() { |
1783 var o = new api.TaskRunnerSettings(); | 1783 var o = new api.TaskRunnerSettings(); |
1784 buildCounterTaskRunnerSettings++; | 1784 buildCounterTaskRunnerSettings++; |
1785 if (buildCounterTaskRunnerSettings < 3) { | 1785 if (buildCounterTaskRunnerSettings < 3) { |
1786 o.alsologtostderr = true; | 1786 o.alsologtostderr = true; |
1787 o.baseTaskDir = "foo"; | 1787 o.baseTaskDir = "foo"; |
1788 o.baseUrl = "foo"; | 1788 o.baseUrl = "foo"; |
1789 o.commandlinesFileName = "foo"; | 1789 o.commandlinesFileName = "foo"; |
1790 o.continueOnException = true; | 1790 o.continueOnException = true; |
1791 o.dataflowApiVersion = "foo"; | 1791 o.dataflowApiVersion = "foo"; |
1792 o.harnessCommand = "foo"; | 1792 o.harnessCommand = "foo"; |
1793 o.languageHint = "foo"; | 1793 o.languageHint = "foo"; |
1794 o.logDir = "foo"; | 1794 o.logDir = "foo"; |
1795 o.logToSerialconsole = true; | 1795 o.logToSerialconsole = true; |
1796 o.logUploadLocation = "foo"; | 1796 o.logUploadLocation = "foo"; |
1797 o.oauthScopes = buildUnnamed1515(); | 1797 o.oauthScopes = buildUnnamed1582(); |
1798 o.parallelWorkerSettings = buildWorkerSettings(); | 1798 o.parallelWorkerSettings = buildWorkerSettings(); |
1799 o.streamingWorkerMainClass = "foo"; | 1799 o.streamingWorkerMainClass = "foo"; |
1800 o.taskGroup = "foo"; | 1800 o.taskGroup = "foo"; |
1801 o.taskUser = "foo"; | 1801 o.taskUser = "foo"; |
1802 o.tempStoragePrefix = "foo"; | 1802 o.tempStoragePrefix = "foo"; |
1803 o.vmId = "foo"; | 1803 o.vmId = "foo"; |
1804 o.workflowFileName = "foo"; | 1804 o.workflowFileName = "foo"; |
1805 } | 1805 } |
1806 buildCounterTaskRunnerSettings--; | 1806 buildCounterTaskRunnerSettings--; |
1807 return o; | 1807 return o; |
1808 } | 1808 } |
1809 | 1809 |
1810 checkTaskRunnerSettings(api.TaskRunnerSettings o) { | 1810 checkTaskRunnerSettings(api.TaskRunnerSettings o) { |
1811 buildCounterTaskRunnerSettings++; | 1811 buildCounterTaskRunnerSettings++; |
1812 if (buildCounterTaskRunnerSettings < 3) { | 1812 if (buildCounterTaskRunnerSettings < 3) { |
1813 unittest.expect(o.alsologtostderr, unittest.isTrue); | 1813 unittest.expect(o.alsologtostderr, unittest.isTrue); |
1814 unittest.expect(o.baseTaskDir, unittest.equals('foo')); | 1814 unittest.expect(o.baseTaskDir, unittest.equals('foo')); |
1815 unittest.expect(o.baseUrl, unittest.equals('foo')); | 1815 unittest.expect(o.baseUrl, unittest.equals('foo')); |
1816 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); | 1816 unittest.expect(o.commandlinesFileName, unittest.equals('foo')); |
1817 unittest.expect(o.continueOnException, unittest.isTrue); | 1817 unittest.expect(o.continueOnException, unittest.isTrue); |
1818 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); | 1818 unittest.expect(o.dataflowApiVersion, unittest.equals('foo')); |
1819 unittest.expect(o.harnessCommand, unittest.equals('foo')); | 1819 unittest.expect(o.harnessCommand, unittest.equals('foo')); |
1820 unittest.expect(o.languageHint, unittest.equals('foo')); | 1820 unittest.expect(o.languageHint, unittest.equals('foo')); |
1821 unittest.expect(o.logDir, unittest.equals('foo')); | 1821 unittest.expect(o.logDir, unittest.equals('foo')); |
1822 unittest.expect(o.logToSerialconsole, unittest.isTrue); | 1822 unittest.expect(o.logToSerialconsole, unittest.isTrue); |
1823 unittest.expect(o.logUploadLocation, unittest.equals('foo')); | 1823 unittest.expect(o.logUploadLocation, unittest.equals('foo')); |
1824 checkUnnamed1515(o.oauthScopes); | 1824 checkUnnamed1582(o.oauthScopes); |
1825 checkWorkerSettings(o.parallelWorkerSettings); | 1825 checkWorkerSettings(o.parallelWorkerSettings); |
1826 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); | 1826 unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo')); |
1827 unittest.expect(o.taskGroup, unittest.equals('foo')); | 1827 unittest.expect(o.taskGroup, unittest.equals('foo')); |
1828 unittest.expect(o.taskUser, unittest.equals('foo')); | 1828 unittest.expect(o.taskUser, unittest.equals('foo')); |
1829 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); | 1829 unittest.expect(o.tempStoragePrefix, unittest.equals('foo')); |
1830 unittest.expect(o.vmId, unittest.equals('foo')); | 1830 unittest.expect(o.vmId, unittest.equals('foo')); |
1831 unittest.expect(o.workflowFileName, unittest.equals('foo')); | 1831 unittest.expect(o.workflowFileName, unittest.equals('foo')); |
1832 } | 1832 } |
1833 buildCounterTaskRunnerSettings--; | 1833 buildCounterTaskRunnerSettings--; |
1834 } | 1834 } |
1835 | 1835 |
1836 buildUnnamed1516() { | 1836 buildUnnamed1583() { |
1837 var o = new core.List<api.ComputationTopology>(); | 1837 var o = new core.List<api.ComputationTopology>(); |
1838 o.add(buildComputationTopology()); | 1838 o.add(buildComputationTopology()); |
1839 o.add(buildComputationTopology()); | 1839 o.add(buildComputationTopology()); |
1840 return o; | 1840 return o; |
1841 } | 1841 } |
1842 | 1842 |
1843 checkUnnamed1516(core.List<api.ComputationTopology> o) { | 1843 checkUnnamed1583(core.List<api.ComputationTopology> o) { |
1844 unittest.expect(o, unittest.hasLength(2)); | 1844 unittest.expect(o, unittest.hasLength(2)); |
1845 checkComputationTopology(o[0]); | 1845 checkComputationTopology(o[0]); |
1846 checkComputationTopology(o[1]); | 1846 checkComputationTopology(o[1]); |
1847 } | 1847 } |
1848 | 1848 |
1849 buildUnnamed1517() { | 1849 buildUnnamed1584() { |
1850 var o = new core.List<api.DataDiskAssignment>(); | 1850 var o = new core.List<api.DataDiskAssignment>(); |
1851 o.add(buildDataDiskAssignment()); | 1851 o.add(buildDataDiskAssignment()); |
1852 o.add(buildDataDiskAssignment()); | 1852 o.add(buildDataDiskAssignment()); |
1853 return o; | 1853 return o; |
1854 } | 1854 } |
1855 | 1855 |
1856 checkUnnamed1517(core.List<api.DataDiskAssignment> o) { | 1856 checkUnnamed1584(core.List<api.DataDiskAssignment> o) { |
1857 unittest.expect(o, unittest.hasLength(2)); | 1857 unittest.expect(o, unittest.hasLength(2)); |
1858 checkDataDiskAssignment(o[0]); | 1858 checkDataDiskAssignment(o[0]); |
1859 checkDataDiskAssignment(o[1]); | 1859 checkDataDiskAssignment(o[1]); |
1860 } | 1860 } |
1861 | 1861 |
1862 core.int buildCounterTopologyConfig = 0; | 1862 core.int buildCounterTopologyConfig = 0; |
1863 buildTopologyConfig() { | 1863 buildTopologyConfig() { |
1864 var o = new api.TopologyConfig(); | 1864 var o = new api.TopologyConfig(); |
1865 buildCounterTopologyConfig++; | 1865 buildCounterTopologyConfig++; |
1866 if (buildCounterTopologyConfig < 3) { | 1866 if (buildCounterTopologyConfig < 3) { |
1867 o.computations = buildUnnamed1516(); | 1867 o.computations = buildUnnamed1583(); |
1868 o.dataDiskAssignments = buildUnnamed1517(); | 1868 o.dataDiskAssignments = buildUnnamed1584(); |
1869 } | 1869 } |
1870 buildCounterTopologyConfig--; | 1870 buildCounterTopologyConfig--; |
1871 return o; | 1871 return o; |
1872 } | 1872 } |
1873 | 1873 |
1874 checkTopologyConfig(api.TopologyConfig o) { | 1874 checkTopologyConfig(api.TopologyConfig o) { |
1875 buildCounterTopologyConfig++; | 1875 buildCounterTopologyConfig++; |
1876 if (buildCounterTopologyConfig < 3) { | 1876 if (buildCounterTopologyConfig < 3) { |
1877 checkUnnamed1516(o.computations); | 1877 checkUnnamed1583(o.computations); |
1878 checkUnnamed1517(o.dataDiskAssignments); | 1878 checkUnnamed1584(o.dataDiskAssignments); |
1879 } | 1879 } |
1880 buildCounterTopologyConfig--; | 1880 buildCounterTopologyConfig--; |
1881 } | 1881 } |
1882 | 1882 |
1883 buildUnnamed1518() { | 1883 buildUnnamed1585() { |
1884 var o = new core.List<api.Package>(); | 1884 var o = new core.List<api.Package>(); |
1885 o.add(buildPackage()); | 1885 o.add(buildPackage()); |
1886 o.add(buildPackage()); | 1886 o.add(buildPackage()); |
1887 return o; | 1887 return o; |
1888 } | 1888 } |
1889 | 1889 |
1890 checkUnnamed1518(core.List<api.Package> o) { | 1890 checkUnnamed1585(core.List<api.Package> o) { |
1891 unittest.expect(o, unittest.hasLength(2)); | 1891 unittest.expect(o, unittest.hasLength(2)); |
1892 checkPackage(o[0]); | 1892 checkPackage(o[0]); |
1893 checkPackage(o[1]); | 1893 checkPackage(o[1]); |
1894 } | 1894 } |
1895 | 1895 |
1896 core.int buildCounterWorkItem = 0; | 1896 core.int buildCounterWorkItem = 0; |
1897 buildWorkItem() { | 1897 buildWorkItem() { |
1898 var o = new api.WorkItem(); | 1898 var o = new api.WorkItem(); |
1899 buildCounterWorkItem++; | 1899 buildCounterWorkItem++; |
1900 if (buildCounterWorkItem < 3) { | 1900 if (buildCounterWorkItem < 3) { |
1901 o.configuration = "foo"; | 1901 o.configuration = "foo"; |
1902 o.id = "foo"; | 1902 o.id = "foo"; |
1903 o.jobId = "foo"; | 1903 o.jobId = "foo"; |
1904 o.leaseExpireTime = "foo"; | 1904 o.leaseExpireTime = "foo"; |
1905 o.mapTask = buildMapTask(); | 1905 o.mapTask = buildMapTask(); |
1906 o.packages = buildUnnamed1518(); | 1906 o.packages = buildUnnamed1585(); |
1907 o.projectId = "foo"; | 1907 o.projectId = "foo"; |
1908 o.reportStatusInterval = "foo"; | 1908 o.reportStatusInterval = "foo"; |
1909 o.seqMapTask = buildSeqMapTask(); | 1909 o.seqMapTask = buildSeqMapTask(); |
1910 o.shellTask = buildShellTask(); | 1910 o.shellTask = buildShellTask(); |
1911 o.sourceOperationTask = buildSourceOperationRequest(); | 1911 o.sourceOperationTask = buildSourceOperationRequest(); |
1912 o.streamingSetupTask = buildStreamingSetupTask(); | 1912 o.streamingSetupTask = buildStreamingSetupTask(); |
1913 } | 1913 } |
1914 buildCounterWorkItem--; | 1914 buildCounterWorkItem--; |
1915 return o; | 1915 return o; |
1916 } | 1916 } |
1917 | 1917 |
1918 checkWorkItem(api.WorkItem o) { | 1918 checkWorkItem(api.WorkItem o) { |
1919 buildCounterWorkItem++; | 1919 buildCounterWorkItem++; |
1920 if (buildCounterWorkItem < 3) { | 1920 if (buildCounterWorkItem < 3) { |
1921 unittest.expect(o.configuration, unittest.equals('foo')); | 1921 unittest.expect(o.configuration, unittest.equals('foo')); |
1922 unittest.expect(o.id, unittest.equals('foo')); | 1922 unittest.expect(o.id, unittest.equals('foo')); |
1923 unittest.expect(o.jobId, unittest.equals('foo')); | 1923 unittest.expect(o.jobId, unittest.equals('foo')); |
1924 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 1924 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
1925 checkMapTask(o.mapTask); | 1925 checkMapTask(o.mapTask); |
1926 checkUnnamed1518(o.packages); | 1926 checkUnnamed1585(o.packages); |
1927 unittest.expect(o.projectId, unittest.equals('foo')); | 1927 unittest.expect(o.projectId, unittest.equals('foo')); |
1928 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 1928 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
1929 checkSeqMapTask(o.seqMapTask); | 1929 checkSeqMapTask(o.seqMapTask); |
1930 checkShellTask(o.shellTask); | 1930 checkShellTask(o.shellTask); |
1931 checkSourceOperationRequest(o.sourceOperationTask); | 1931 checkSourceOperationRequest(o.sourceOperationTask); |
1932 checkStreamingSetupTask(o.streamingSetupTask); | 1932 checkStreamingSetupTask(o.streamingSetupTask); |
1933 } | 1933 } |
1934 buildCounterWorkItem--; | 1934 buildCounterWorkItem--; |
1935 } | 1935 } |
1936 | 1936 |
1937 buildUnnamed1519() { | 1937 buildUnnamed1586() { |
1938 var o = new core.Map<core.String, core.Object>(); | 1938 var o = new core.Map<core.String, core.Object>(); |
1939 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1939 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1940 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1940 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1941 return o; | 1941 return o; |
1942 } | 1942 } |
1943 | 1943 |
1944 checkUnnamed1519(core.Map<core.String, core.Object> o) { | 1944 checkUnnamed1586(core.Map<core.String, core.Object> o) { |
1945 unittest.expect(o, unittest.hasLength(2)); | 1945 unittest.expect(o, unittest.hasLength(2)); |
1946 var casted34 = (o["x"]) as core.Map; unittest.expect(casted34, unittest.hasLen
gth(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["stri
ng"], unittest.equals('foo')); | 1946 var casted34 = (o["x"]) as core.Map; unittest.expect(casted34, unittest.hasLen
gth(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["stri
ng"], unittest.equals('foo')); |
1947 var casted35 = (o["y"]) as core.Map; unittest.expect(casted35, unittest.hasLen
gth(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["stri
ng"], unittest.equals('foo')); | 1947 var casted35 = (o["y"]) as core.Map; unittest.expect(casted35, unittest.hasLen
gth(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["stri
ng"], unittest.equals('foo')); |
1948 } | 1948 } |
1949 | 1949 |
1950 core.int buildCounterWorkItemServiceState = 0; | 1950 core.int buildCounterWorkItemServiceState = 0; |
1951 buildWorkItemServiceState() { | 1951 buildWorkItemServiceState() { |
1952 var o = new api.WorkItemServiceState(); | 1952 var o = new api.WorkItemServiceState(); |
1953 buildCounterWorkItemServiceState++; | 1953 buildCounterWorkItemServiceState++; |
1954 if (buildCounterWorkItemServiceState < 3) { | 1954 if (buildCounterWorkItemServiceState < 3) { |
1955 o.harnessData = buildUnnamed1519(); | 1955 o.harnessData = buildUnnamed1586(); |
1956 o.leaseExpireTime = "foo"; | 1956 o.leaseExpireTime = "foo"; |
1957 o.reportStatusInterval = "foo"; | 1957 o.reportStatusInterval = "foo"; |
1958 o.suggestedStopPoint = buildApproximateProgress(); | 1958 o.suggestedStopPoint = buildApproximateProgress(); |
1959 o.suggestedStopPosition = buildPosition(); | 1959 o.suggestedStopPosition = buildPosition(); |
1960 } | 1960 } |
1961 buildCounterWorkItemServiceState--; | 1961 buildCounterWorkItemServiceState--; |
1962 return o; | 1962 return o; |
1963 } | 1963 } |
1964 | 1964 |
1965 checkWorkItemServiceState(api.WorkItemServiceState o) { | 1965 checkWorkItemServiceState(api.WorkItemServiceState o) { |
1966 buildCounterWorkItemServiceState++; | 1966 buildCounterWorkItemServiceState++; |
1967 if (buildCounterWorkItemServiceState < 3) { | 1967 if (buildCounterWorkItemServiceState < 3) { |
1968 checkUnnamed1519(o.harnessData); | 1968 checkUnnamed1586(o.harnessData); |
1969 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); | 1969 unittest.expect(o.leaseExpireTime, unittest.equals('foo')); |
1970 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); | 1970 unittest.expect(o.reportStatusInterval, unittest.equals('foo')); |
1971 checkApproximateProgress(o.suggestedStopPoint); | 1971 checkApproximateProgress(o.suggestedStopPoint); |
1972 checkPosition(o.suggestedStopPosition); | 1972 checkPosition(o.suggestedStopPosition); |
1973 } | 1973 } |
1974 buildCounterWorkItemServiceState--; | 1974 buildCounterWorkItemServiceState--; |
1975 } | 1975 } |
1976 | 1976 |
1977 buildUnnamed1520() { | 1977 buildUnnamed1587() { |
1978 var o = new core.List<api.Status>(); | 1978 var o = new core.List<api.Status>(); |
1979 o.add(buildStatus()); | 1979 o.add(buildStatus()); |
1980 o.add(buildStatus()); | 1980 o.add(buildStatus()); |
1981 return o; | 1981 return o; |
1982 } | 1982 } |
1983 | 1983 |
1984 checkUnnamed1520(core.List<api.Status> o) { | 1984 checkUnnamed1587(core.List<api.Status> o) { |
1985 unittest.expect(o, unittest.hasLength(2)); | 1985 unittest.expect(o, unittest.hasLength(2)); |
1986 checkStatus(o[0]); | 1986 checkStatus(o[0]); |
1987 checkStatus(o[1]); | 1987 checkStatus(o[1]); |
1988 } | 1988 } |
1989 | 1989 |
1990 buildUnnamed1521() { | 1990 buildUnnamed1588() { |
1991 var o = new core.List<api.MetricUpdate>(); | 1991 var o = new core.List<api.MetricUpdate>(); |
1992 o.add(buildMetricUpdate()); | 1992 o.add(buildMetricUpdate()); |
1993 o.add(buildMetricUpdate()); | 1993 o.add(buildMetricUpdate()); |
1994 return o; | 1994 return o; |
1995 } | 1995 } |
1996 | 1996 |
1997 checkUnnamed1521(core.List<api.MetricUpdate> o) { | 1997 checkUnnamed1588(core.List<api.MetricUpdate> o) { |
1998 unittest.expect(o, unittest.hasLength(2)); | 1998 unittest.expect(o, unittest.hasLength(2)); |
1999 checkMetricUpdate(o[0]); | 1999 checkMetricUpdate(o[0]); |
2000 checkMetricUpdate(o[1]); | 2000 checkMetricUpdate(o[1]); |
2001 } | 2001 } |
2002 | 2002 |
2003 core.int buildCounterWorkItemStatus = 0; | 2003 core.int buildCounterWorkItemStatus = 0; |
2004 buildWorkItemStatus() { | 2004 buildWorkItemStatus() { |
2005 var o = new api.WorkItemStatus(); | 2005 var o = new api.WorkItemStatus(); |
2006 buildCounterWorkItemStatus++; | 2006 buildCounterWorkItemStatus++; |
2007 if (buildCounterWorkItemStatus < 3) { | 2007 if (buildCounterWorkItemStatus < 3) { |
2008 o.completed = true; | 2008 o.completed = true; |
2009 o.errors = buildUnnamed1520(); | 2009 o.errors = buildUnnamed1587(); |
2010 o.metricUpdates = buildUnnamed1521(); | 2010 o.metricUpdates = buildUnnamed1588(); |
2011 o.progress = buildApproximateProgress(); | 2011 o.progress = buildApproximateProgress(); |
2012 o.reportIndex = "foo"; | 2012 o.reportIndex = "foo"; |
2013 o.requestedLeaseDuration = "foo"; | 2013 o.requestedLeaseDuration = "foo"; |
2014 o.sourceOperationResponse = buildSourceOperationResponse(); | 2014 o.sourceOperationResponse = buildSourceOperationResponse(); |
2015 o.stopPosition = buildPosition(); | 2015 o.stopPosition = buildPosition(); |
2016 o.workItemId = "foo"; | 2016 o.workItemId = "foo"; |
2017 } | 2017 } |
2018 buildCounterWorkItemStatus--; | 2018 buildCounterWorkItemStatus--; |
2019 return o; | 2019 return o; |
2020 } | 2020 } |
2021 | 2021 |
2022 checkWorkItemStatus(api.WorkItemStatus o) { | 2022 checkWorkItemStatus(api.WorkItemStatus o) { |
2023 buildCounterWorkItemStatus++; | 2023 buildCounterWorkItemStatus++; |
2024 if (buildCounterWorkItemStatus < 3) { | 2024 if (buildCounterWorkItemStatus < 3) { |
2025 unittest.expect(o.completed, unittest.isTrue); | 2025 unittest.expect(o.completed, unittest.isTrue); |
2026 checkUnnamed1520(o.errors); | 2026 checkUnnamed1587(o.errors); |
2027 checkUnnamed1521(o.metricUpdates); | 2027 checkUnnamed1588(o.metricUpdates); |
2028 checkApproximateProgress(o.progress); | 2028 checkApproximateProgress(o.progress); |
2029 unittest.expect(o.reportIndex, unittest.equals('foo')); | 2029 unittest.expect(o.reportIndex, unittest.equals('foo')); |
2030 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); | 2030 unittest.expect(o.requestedLeaseDuration, unittest.equals('foo')); |
2031 checkSourceOperationResponse(o.sourceOperationResponse); | 2031 checkSourceOperationResponse(o.sourceOperationResponse); |
2032 checkPosition(o.stopPosition); | 2032 checkPosition(o.stopPosition); |
2033 unittest.expect(o.workItemId, unittest.equals('foo')); | 2033 unittest.expect(o.workItemId, unittest.equals('foo')); |
2034 } | 2034 } |
2035 buildCounterWorkItemStatus--; | 2035 buildCounterWorkItemStatus--; |
2036 } | 2036 } |
2037 | 2037 |
2038 buildUnnamed1522() { | 2038 buildUnnamed1589() { |
2039 var o = new core.List<api.Disk>(); | 2039 var o = new core.List<api.Disk>(); |
2040 o.add(buildDisk()); | 2040 o.add(buildDisk()); |
2041 o.add(buildDisk()); | 2041 o.add(buildDisk()); |
2042 return o; | 2042 return o; |
2043 } | 2043 } |
2044 | 2044 |
2045 checkUnnamed1522(core.List<api.Disk> o) { | 2045 checkUnnamed1589(core.List<api.Disk> o) { |
2046 unittest.expect(o, unittest.hasLength(2)); | 2046 unittest.expect(o, unittest.hasLength(2)); |
2047 checkDisk(o[0]); | 2047 checkDisk(o[0]); |
2048 checkDisk(o[1]); | 2048 checkDisk(o[1]); |
2049 } | 2049 } |
2050 | 2050 |
2051 buildUnnamed1523() { | 2051 buildUnnamed1590() { |
2052 var o = new core.Map<core.String, core.String>(); | 2052 var o = new core.Map<core.String, core.String>(); |
2053 o["x"] = "foo"; | 2053 o["x"] = "foo"; |
2054 o["y"] = "foo"; | 2054 o["y"] = "foo"; |
2055 return o; | 2055 return o; |
2056 } | 2056 } |
2057 | 2057 |
2058 checkUnnamed1523(core.Map<core.String, core.String> o) { | 2058 checkUnnamed1590(core.Map<core.String, core.String> o) { |
2059 unittest.expect(o, unittest.hasLength(2)); | 2059 unittest.expect(o, unittest.hasLength(2)); |
2060 unittest.expect(o["x"], unittest.equals('foo')); | 2060 unittest.expect(o["x"], unittest.equals('foo')); |
2061 unittest.expect(o["y"], unittest.equals('foo')); | 2061 unittest.expect(o["y"], unittest.equals('foo')); |
2062 } | 2062 } |
2063 | 2063 |
2064 buildUnnamed1524() { | 2064 buildUnnamed1591() { |
2065 var o = new core.List<api.Package>(); | 2065 var o = new core.List<api.Package>(); |
2066 o.add(buildPackage()); | 2066 o.add(buildPackage()); |
2067 o.add(buildPackage()); | 2067 o.add(buildPackage()); |
2068 return o; | 2068 return o; |
2069 } | 2069 } |
2070 | 2070 |
2071 checkUnnamed1524(core.List<api.Package> o) { | 2071 checkUnnamed1591(core.List<api.Package> o) { |
2072 unittest.expect(o, unittest.hasLength(2)); | 2072 unittest.expect(o, unittest.hasLength(2)); |
2073 checkPackage(o[0]); | 2073 checkPackage(o[0]); |
2074 checkPackage(o[1]); | 2074 checkPackage(o[1]); |
2075 } | 2075 } |
2076 | 2076 |
2077 core.int buildCounterWorkerPool = 0; | 2077 core.int buildCounterWorkerPool = 0; |
2078 buildWorkerPool() { | 2078 buildWorkerPool() { |
2079 var o = new api.WorkerPool(); | 2079 var o = new api.WorkerPool(); |
2080 buildCounterWorkerPool++; | 2080 buildCounterWorkerPool++; |
2081 if (buildCounterWorkerPool < 3) { | 2081 if (buildCounterWorkerPool < 3) { |
2082 o.autoscalingSettings = buildAutoscalingSettings(); | 2082 o.autoscalingSettings = buildAutoscalingSettings(); |
2083 o.dataDisks = buildUnnamed1522(); | 2083 o.dataDisks = buildUnnamed1589(); |
2084 o.defaultPackageSet = "foo"; | 2084 o.defaultPackageSet = "foo"; |
2085 o.diskSizeGb = 42; | 2085 o.diskSizeGb = 42; |
2086 o.diskSourceImage = "foo"; | 2086 o.diskSourceImage = "foo"; |
2087 o.kind = "foo"; | 2087 o.kind = "foo"; |
2088 o.machineType = "foo"; | 2088 o.machineType = "foo"; |
2089 o.metadata = buildUnnamed1523(); | 2089 o.metadata = buildUnnamed1590(); |
2090 o.numWorkers = 42; | 2090 o.numWorkers = 42; |
2091 o.onHostMaintenance = "foo"; | 2091 o.onHostMaintenance = "foo"; |
2092 o.packages = buildUnnamed1524(); | 2092 o.packages = buildUnnamed1591(); |
2093 o.taskrunnerSettings = buildTaskRunnerSettings(); | 2093 o.taskrunnerSettings = buildTaskRunnerSettings(); |
2094 o.teardownPolicy = "foo"; | 2094 o.teardownPolicy = "foo"; |
2095 o.zone = "foo"; | 2095 o.zone = "foo"; |
2096 } | 2096 } |
2097 buildCounterWorkerPool--; | 2097 buildCounterWorkerPool--; |
2098 return o; | 2098 return o; |
2099 } | 2099 } |
2100 | 2100 |
2101 checkWorkerPool(api.WorkerPool o) { | 2101 checkWorkerPool(api.WorkerPool o) { |
2102 buildCounterWorkerPool++; | 2102 buildCounterWorkerPool++; |
2103 if (buildCounterWorkerPool < 3) { | 2103 if (buildCounterWorkerPool < 3) { |
2104 checkAutoscalingSettings(o.autoscalingSettings); | 2104 checkAutoscalingSettings(o.autoscalingSettings); |
2105 checkUnnamed1522(o.dataDisks); | 2105 checkUnnamed1589(o.dataDisks); |
2106 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); | 2106 unittest.expect(o.defaultPackageSet, unittest.equals('foo')); |
2107 unittest.expect(o.diskSizeGb, unittest.equals(42)); | 2107 unittest.expect(o.diskSizeGb, unittest.equals(42)); |
2108 unittest.expect(o.diskSourceImage, unittest.equals('foo')); | 2108 unittest.expect(o.diskSourceImage, unittest.equals('foo')); |
2109 unittest.expect(o.kind, unittest.equals('foo')); | 2109 unittest.expect(o.kind, unittest.equals('foo')); |
2110 unittest.expect(o.machineType, unittest.equals('foo')); | 2110 unittest.expect(o.machineType, unittest.equals('foo')); |
2111 checkUnnamed1523(o.metadata); | 2111 checkUnnamed1590(o.metadata); |
2112 unittest.expect(o.numWorkers, unittest.equals(42)); | 2112 unittest.expect(o.numWorkers, unittest.equals(42)); |
2113 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); | 2113 unittest.expect(o.onHostMaintenance, unittest.equals('foo')); |
2114 checkUnnamed1524(o.packages); | 2114 checkUnnamed1591(o.packages); |
2115 checkTaskRunnerSettings(o.taskrunnerSettings); | 2115 checkTaskRunnerSettings(o.taskrunnerSettings); |
2116 unittest.expect(o.teardownPolicy, unittest.equals('foo')); | 2116 unittest.expect(o.teardownPolicy, unittest.equals('foo')); |
2117 unittest.expect(o.zone, unittest.equals('foo')); | 2117 unittest.expect(o.zone, unittest.equals('foo')); |
2118 } | 2118 } |
2119 buildCounterWorkerPool--; | 2119 buildCounterWorkerPool--; |
2120 } | 2120 } |
2121 | 2121 |
2122 core.int buildCounterWorkerSettings = 0; | 2122 core.int buildCounterWorkerSettings = 0; |
2123 buildWorkerSettings() { | 2123 buildWorkerSettings() { |
2124 var o = new api.WorkerSettings(); | 2124 var o = new api.WorkerSettings(); |
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3145 res.reportStatus(arg_request, arg_projectId, arg_jobId).then(unittest.expe
ctAsync(((api.ReportWorkItemStatusResponse response) { | 3145 res.reportStatus(arg_request, arg_projectId, arg_jobId).then(unittest.expe
ctAsync(((api.ReportWorkItemStatusResponse response) { |
3146 checkReportWorkItemStatusResponse(response); | 3146 checkReportWorkItemStatusResponse(response); |
3147 }))); | 3147 }))); |
3148 }); | 3148 }); |
3149 | 3149 |
3150 }); | 3150 }); |
3151 | 3151 |
3152 | 3152 |
3153 } | 3153 } |
3154 | 3154 |
OLD | NEW |