OLD | NEW |
1 library googleapis.androidenterprise.v1.test; | 1 library googleapis.androidenterprise.v1.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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 checkAdministratorWebToken(api.AdministratorWebToken o) { | 85 checkAdministratorWebToken(api.AdministratorWebToken o) { |
86 buildCounterAdministratorWebToken++; | 86 buildCounterAdministratorWebToken++; |
87 if (buildCounterAdministratorWebToken < 3) { | 87 if (buildCounterAdministratorWebToken < 3) { |
88 unittest.expect(o.kind, unittest.equals('foo')); | 88 unittest.expect(o.kind, unittest.equals('foo')); |
89 unittest.expect(o.token, unittest.equals('foo')); | 89 unittest.expect(o.token, unittest.equals('foo')); |
90 } | 90 } |
91 buildCounterAdministratorWebToken--; | 91 buildCounterAdministratorWebToken--; |
92 } | 92 } |
93 | 93 |
94 buildUnnamed2020() { | 94 buildUnnamed2106() { |
95 var o = new core.List<core.String>(); | 95 var o = new core.List<core.String>(); |
96 o.add("foo"); | 96 o.add("foo"); |
97 o.add("foo"); | 97 o.add("foo"); |
98 return o; | 98 return o; |
99 } | 99 } |
100 | 100 |
101 checkUnnamed2020(core.List<core.String> o) { | 101 checkUnnamed2106(core.List<core.String> o) { |
102 unittest.expect(o, unittest.hasLength(2)); | 102 unittest.expect(o, unittest.hasLength(2)); |
103 unittest.expect(o[0], unittest.equals('foo')); | 103 unittest.expect(o[0], unittest.equals('foo')); |
104 unittest.expect(o[1], unittest.equals('foo')); | 104 unittest.expect(o[1], unittest.equals('foo')); |
105 } | 105 } |
106 | 106 |
107 core.int buildCounterAdministratorWebTokenSpec = 0; | 107 core.int buildCounterAdministratorWebTokenSpec = 0; |
108 buildAdministratorWebTokenSpec() { | 108 buildAdministratorWebTokenSpec() { |
109 var o = new api.AdministratorWebTokenSpec(); | 109 var o = new api.AdministratorWebTokenSpec(); |
110 buildCounterAdministratorWebTokenSpec++; | 110 buildCounterAdministratorWebTokenSpec++; |
111 if (buildCounterAdministratorWebTokenSpec < 3) { | 111 if (buildCounterAdministratorWebTokenSpec < 3) { |
112 o.kind = "foo"; | 112 o.kind = "foo"; |
113 o.parent = "foo"; | 113 o.parent = "foo"; |
114 o.permission = buildUnnamed2020(); | 114 o.permission = buildUnnamed2106(); |
115 } | 115 } |
116 buildCounterAdministratorWebTokenSpec--; | 116 buildCounterAdministratorWebTokenSpec--; |
117 return o; | 117 return o; |
118 } | 118 } |
119 | 119 |
120 checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) { | 120 checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) { |
121 buildCounterAdministratorWebTokenSpec++; | 121 buildCounterAdministratorWebTokenSpec++; |
122 if (buildCounterAdministratorWebTokenSpec < 3) { | 122 if (buildCounterAdministratorWebTokenSpec < 3) { |
123 unittest.expect(o.kind, unittest.equals('foo')); | 123 unittest.expect(o.kind, unittest.equals('foo')); |
124 unittest.expect(o.parent, unittest.equals('foo')); | 124 unittest.expect(o.parent, unittest.equals('foo')); |
125 checkUnnamed2020(o.permission); | 125 checkUnnamed2106(o.permission); |
126 } | 126 } |
127 buildCounterAdministratorWebTokenSpec--; | 127 buildCounterAdministratorWebTokenSpec--; |
128 } | 128 } |
129 | 129 |
130 buildUnnamed2021() { | 130 buildUnnamed2107() { |
131 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); | 131 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); |
132 o.add(buildAppRestrictionsSchemaRestriction()); | 132 o.add(buildAppRestrictionsSchemaRestriction()); |
133 o.add(buildAppRestrictionsSchemaRestriction()); | 133 o.add(buildAppRestrictionsSchemaRestriction()); |
134 return o; | 134 return o; |
135 } | 135 } |
136 | 136 |
137 checkUnnamed2021(core.List<api.AppRestrictionsSchemaRestriction> o) { | 137 checkUnnamed2107(core.List<api.AppRestrictionsSchemaRestriction> o) { |
138 unittest.expect(o, unittest.hasLength(2)); | 138 unittest.expect(o, unittest.hasLength(2)); |
139 checkAppRestrictionsSchemaRestriction(o[0]); | 139 checkAppRestrictionsSchemaRestriction(o[0]); |
140 checkAppRestrictionsSchemaRestriction(o[1]); | 140 checkAppRestrictionsSchemaRestriction(o[1]); |
141 } | 141 } |
142 | 142 |
143 core.int buildCounterAppRestrictionsSchema = 0; | 143 core.int buildCounterAppRestrictionsSchema = 0; |
144 buildAppRestrictionsSchema() { | 144 buildAppRestrictionsSchema() { |
145 var o = new api.AppRestrictionsSchema(); | 145 var o = new api.AppRestrictionsSchema(); |
146 buildCounterAppRestrictionsSchema++; | 146 buildCounterAppRestrictionsSchema++; |
147 if (buildCounterAppRestrictionsSchema < 3) { | 147 if (buildCounterAppRestrictionsSchema < 3) { |
148 o.kind = "foo"; | 148 o.kind = "foo"; |
149 o.restrictions = buildUnnamed2021(); | 149 o.restrictions = buildUnnamed2107(); |
150 } | 150 } |
151 buildCounterAppRestrictionsSchema--; | 151 buildCounterAppRestrictionsSchema--; |
152 return o; | 152 return o; |
153 } | 153 } |
154 | 154 |
155 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { | 155 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { |
156 buildCounterAppRestrictionsSchema++; | 156 buildCounterAppRestrictionsSchema++; |
157 if (buildCounterAppRestrictionsSchema < 3) { | 157 if (buildCounterAppRestrictionsSchema < 3) { |
158 unittest.expect(o.kind, unittest.equals('foo')); | 158 unittest.expect(o.kind, unittest.equals('foo')); |
159 checkUnnamed2021(o.restrictions); | 159 checkUnnamed2107(o.restrictions); |
160 } | 160 } |
161 buildCounterAppRestrictionsSchema--; | 161 buildCounterAppRestrictionsSchema--; |
162 } | 162 } |
163 | 163 |
164 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0; | 164 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0; |
165 buildAppRestrictionsSchemaChangeEvent() { | 165 buildAppRestrictionsSchemaChangeEvent() { |
166 var o = new api.AppRestrictionsSchemaChangeEvent(); | 166 var o = new api.AppRestrictionsSchemaChangeEvent(); |
167 buildCounterAppRestrictionsSchemaChangeEvent++; | 167 buildCounterAppRestrictionsSchemaChangeEvent++; |
168 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { | 168 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { |
169 o.productId = "foo"; | 169 o.productId = "foo"; |
170 } | 170 } |
171 buildCounterAppRestrictionsSchemaChangeEvent--; | 171 buildCounterAppRestrictionsSchemaChangeEvent--; |
172 return o; | 172 return o; |
173 } | 173 } |
174 | 174 |
175 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) { | 175 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) { |
176 buildCounterAppRestrictionsSchemaChangeEvent++; | 176 buildCounterAppRestrictionsSchemaChangeEvent++; |
177 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { | 177 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { |
178 unittest.expect(o.productId, unittest.equals('foo')); | 178 unittest.expect(o.productId, unittest.equals('foo')); |
179 } | 179 } |
180 buildCounterAppRestrictionsSchemaChangeEvent--; | 180 buildCounterAppRestrictionsSchemaChangeEvent--; |
181 } | 181 } |
182 | 182 |
183 buildUnnamed2022() { | 183 buildUnnamed2108() { |
184 var o = new core.List<core.String>(); | 184 var o = new core.List<core.String>(); |
185 o.add("foo"); | 185 o.add("foo"); |
186 o.add("foo"); | 186 o.add("foo"); |
187 return o; | 187 return o; |
188 } | 188 } |
189 | 189 |
190 checkUnnamed2022(core.List<core.String> o) { | 190 checkUnnamed2108(core.List<core.String> o) { |
191 unittest.expect(o, unittest.hasLength(2)); | 191 unittest.expect(o, unittest.hasLength(2)); |
192 unittest.expect(o[0], unittest.equals('foo')); | 192 unittest.expect(o[0], unittest.equals('foo')); |
193 unittest.expect(o[1], unittest.equals('foo')); | 193 unittest.expect(o[1], unittest.equals('foo')); |
194 } | 194 } |
195 | 195 |
196 buildUnnamed2023() { | 196 buildUnnamed2109() { |
197 var o = new core.List<core.String>(); | 197 var o = new core.List<core.String>(); |
198 o.add("foo"); | 198 o.add("foo"); |
199 o.add("foo"); | 199 o.add("foo"); |
200 return o; | 200 return o; |
201 } | 201 } |
202 | 202 |
203 checkUnnamed2023(core.List<core.String> o) { | 203 checkUnnamed2109(core.List<core.String> o) { |
204 unittest.expect(o, unittest.hasLength(2)); | 204 unittest.expect(o, unittest.hasLength(2)); |
205 unittest.expect(o[0], unittest.equals('foo')); | 205 unittest.expect(o[0], unittest.equals('foo')); |
206 unittest.expect(o[1], unittest.equals('foo')); | 206 unittest.expect(o[1], unittest.equals('foo')); |
207 } | 207 } |
208 | 208 |
209 buildUnnamed2024() { | 209 buildUnnamed2110() { |
210 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); | 210 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); |
211 o.add(buildAppRestrictionsSchemaRestriction()); | 211 o.add(buildAppRestrictionsSchemaRestriction()); |
212 o.add(buildAppRestrictionsSchemaRestriction()); | 212 o.add(buildAppRestrictionsSchemaRestriction()); |
213 return o; | 213 return o; |
214 } | 214 } |
215 | 215 |
216 checkUnnamed2024(core.List<api.AppRestrictionsSchemaRestriction> o) { | 216 checkUnnamed2110(core.List<api.AppRestrictionsSchemaRestriction> o) { |
217 unittest.expect(o, unittest.hasLength(2)); | 217 unittest.expect(o, unittest.hasLength(2)); |
218 checkAppRestrictionsSchemaRestriction(o[0]); | 218 checkAppRestrictionsSchemaRestriction(o[0]); |
219 checkAppRestrictionsSchemaRestriction(o[1]); | 219 checkAppRestrictionsSchemaRestriction(o[1]); |
220 } | 220 } |
221 | 221 |
222 core.int buildCounterAppRestrictionsSchemaRestriction = 0; | 222 core.int buildCounterAppRestrictionsSchemaRestriction = 0; |
223 buildAppRestrictionsSchemaRestriction() { | 223 buildAppRestrictionsSchemaRestriction() { |
224 var o = new api.AppRestrictionsSchemaRestriction(); | 224 var o = new api.AppRestrictionsSchemaRestriction(); |
225 buildCounterAppRestrictionsSchemaRestriction++; | 225 buildCounterAppRestrictionsSchemaRestriction++; |
226 if (buildCounterAppRestrictionsSchemaRestriction < 3) { | 226 if (buildCounterAppRestrictionsSchemaRestriction < 3) { |
227 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); | 227 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); |
228 o.description = "foo"; | 228 o.description = "foo"; |
229 o.entry = buildUnnamed2022(); | 229 o.entry = buildUnnamed2108(); |
230 o.entryValue = buildUnnamed2023(); | 230 o.entryValue = buildUnnamed2109(); |
231 o.key = "foo"; | 231 o.key = "foo"; |
232 o.nestedRestriction = buildUnnamed2024(); | 232 o.nestedRestriction = buildUnnamed2110(); |
233 o.restrictionType = "foo"; | 233 o.restrictionType = "foo"; |
234 o.title = "foo"; | 234 o.title = "foo"; |
235 } | 235 } |
236 buildCounterAppRestrictionsSchemaRestriction--; | 236 buildCounterAppRestrictionsSchemaRestriction--; |
237 return o; | 237 return o; |
238 } | 238 } |
239 | 239 |
240 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) { | 240 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) { |
241 buildCounterAppRestrictionsSchemaRestriction++; | 241 buildCounterAppRestrictionsSchemaRestriction++; |
242 if (buildCounterAppRestrictionsSchemaRestriction < 3) { | 242 if (buildCounterAppRestrictionsSchemaRestriction < 3) { |
243 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue); | 243 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue); |
244 unittest.expect(o.description, unittest.equals('foo')); | 244 unittest.expect(o.description, unittest.equals('foo')); |
245 checkUnnamed2022(o.entry); | 245 checkUnnamed2108(o.entry); |
246 checkUnnamed2023(o.entryValue); | 246 checkUnnamed2109(o.entryValue); |
247 unittest.expect(o.key, unittest.equals('foo')); | 247 unittest.expect(o.key, unittest.equals('foo')); |
248 checkUnnamed2024(o.nestedRestriction); | 248 checkUnnamed2110(o.nestedRestriction); |
249 unittest.expect(o.restrictionType, unittest.equals('foo')); | 249 unittest.expect(o.restrictionType, unittest.equals('foo')); |
250 unittest.expect(o.title, unittest.equals('foo')); | 250 unittest.expect(o.title, unittest.equals('foo')); |
251 } | 251 } |
252 buildCounterAppRestrictionsSchemaRestriction--; | 252 buildCounterAppRestrictionsSchemaRestriction--; |
253 } | 253 } |
254 | 254 |
255 buildUnnamed2025() { | 255 buildUnnamed2111() { |
256 var o = new core.List<core.String>(); | 256 var o = new core.List<core.String>(); |
257 o.add("foo"); | 257 o.add("foo"); |
258 o.add("foo"); | 258 o.add("foo"); |
259 return o; | 259 return o; |
260 } | 260 } |
261 | 261 |
262 checkUnnamed2025(core.List<core.String> o) { | 262 checkUnnamed2111(core.List<core.String> o) { |
263 unittest.expect(o, unittest.hasLength(2)); | 263 unittest.expect(o, unittest.hasLength(2)); |
264 unittest.expect(o[0], unittest.equals('foo')); | 264 unittest.expect(o[0], unittest.equals('foo')); |
265 unittest.expect(o[1], unittest.equals('foo')); | 265 unittest.expect(o[1], unittest.equals('foo')); |
266 } | 266 } |
267 | 267 |
268 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0; | 268 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0; |
269 buildAppRestrictionsSchemaRestrictionRestrictionValue() { | 269 buildAppRestrictionsSchemaRestrictionRestrictionValue() { |
270 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue(); | 270 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue(); |
271 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; | 271 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; |
272 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { | 272 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { |
273 o.type = "foo"; | 273 o.type = "foo"; |
274 o.valueBool = true; | 274 o.valueBool = true; |
275 o.valueInteger = 42; | 275 o.valueInteger = 42; |
276 o.valueMultiselect = buildUnnamed2025(); | 276 o.valueMultiselect = buildUnnamed2111(); |
277 o.valueString = "foo"; | 277 o.valueString = "foo"; |
278 } | 278 } |
279 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; | 279 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; |
280 return o; | 280 return o; |
281 } | 281 } |
282 | 282 |
283 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR
estrictionRestrictionValue o) { | 283 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR
estrictionRestrictionValue o) { |
284 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; | 284 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; |
285 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { | 285 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { |
286 unittest.expect(o.type, unittest.equals('foo')); | 286 unittest.expect(o.type, unittest.equals('foo')); |
287 unittest.expect(o.valueBool, unittest.isTrue); | 287 unittest.expect(o.valueBool, unittest.isTrue); |
288 unittest.expect(o.valueInteger, unittest.equals(42)); | 288 unittest.expect(o.valueInteger, unittest.equals(42)); |
289 checkUnnamed2025(o.valueMultiselect); | 289 checkUnnamed2111(o.valueMultiselect); |
290 unittest.expect(o.valueString, unittest.equals('foo')); | 290 unittest.expect(o.valueString, unittest.equals('foo')); |
291 } | 291 } |
292 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; | 292 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; |
293 } | 293 } |
294 | 294 |
295 core.int buildCounterAppUpdateEvent = 0; | 295 core.int buildCounterAppUpdateEvent = 0; |
296 buildAppUpdateEvent() { | 296 buildAppUpdateEvent() { |
297 var o = new api.AppUpdateEvent(); | 297 var o = new api.AppUpdateEvent(); |
298 buildCounterAppUpdateEvent++; | 298 buildCounterAppUpdateEvent++; |
299 if (buildCounterAppUpdateEvent < 3) { | 299 if (buildCounterAppUpdateEvent < 3) { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 | 411 |
412 checkDeviceState(api.DeviceState o) { | 412 checkDeviceState(api.DeviceState o) { |
413 buildCounterDeviceState++; | 413 buildCounterDeviceState++; |
414 if (buildCounterDeviceState < 3) { | 414 if (buildCounterDeviceState < 3) { |
415 unittest.expect(o.accountState, unittest.equals('foo')); | 415 unittest.expect(o.accountState, unittest.equals('foo')); |
416 unittest.expect(o.kind, unittest.equals('foo')); | 416 unittest.expect(o.kind, unittest.equals('foo')); |
417 } | 417 } |
418 buildCounterDeviceState--; | 418 buildCounterDeviceState--; |
419 } | 419 } |
420 | 420 |
421 buildUnnamed2026() { | 421 buildUnnamed2112() { |
422 var o = new core.List<api.Device>(); | 422 var o = new core.List<api.Device>(); |
423 o.add(buildDevice()); | 423 o.add(buildDevice()); |
424 o.add(buildDevice()); | 424 o.add(buildDevice()); |
425 return o; | 425 return o; |
426 } | 426 } |
427 | 427 |
428 checkUnnamed2026(core.List<api.Device> o) { | 428 checkUnnamed2112(core.List<api.Device> o) { |
429 unittest.expect(o, unittest.hasLength(2)); | 429 unittest.expect(o, unittest.hasLength(2)); |
430 checkDevice(o[0]); | 430 checkDevice(o[0]); |
431 checkDevice(o[1]); | 431 checkDevice(o[1]); |
432 } | 432 } |
433 | 433 |
434 core.int buildCounterDevicesListResponse = 0; | 434 core.int buildCounterDevicesListResponse = 0; |
435 buildDevicesListResponse() { | 435 buildDevicesListResponse() { |
436 var o = new api.DevicesListResponse(); | 436 var o = new api.DevicesListResponse(); |
437 buildCounterDevicesListResponse++; | 437 buildCounterDevicesListResponse++; |
438 if (buildCounterDevicesListResponse < 3) { | 438 if (buildCounterDevicesListResponse < 3) { |
439 o.device = buildUnnamed2026(); | 439 o.device = buildUnnamed2112(); |
440 o.kind = "foo"; | 440 o.kind = "foo"; |
441 } | 441 } |
442 buildCounterDevicesListResponse--; | 442 buildCounterDevicesListResponse--; |
443 return o; | 443 return o; |
444 } | 444 } |
445 | 445 |
446 checkDevicesListResponse(api.DevicesListResponse o) { | 446 checkDevicesListResponse(api.DevicesListResponse o) { |
447 buildCounterDevicesListResponse++; | 447 buildCounterDevicesListResponse++; |
448 if (buildCounterDevicesListResponse < 3) { | 448 if (buildCounterDevicesListResponse < 3) { |
449 checkUnnamed2026(o.device); | 449 checkUnnamed2112(o.device); |
450 unittest.expect(o.kind, unittest.equals('foo')); | 450 unittest.expect(o.kind, unittest.equals('foo')); |
451 } | 451 } |
452 buildCounterDevicesListResponse--; | 452 buildCounterDevicesListResponse--; |
453 } | 453 } |
454 | 454 |
455 buildUnnamed2027() { | 455 buildUnnamed2113() { |
456 var o = new core.List<api.Administrator>(); | 456 var o = new core.List<api.Administrator>(); |
457 o.add(buildAdministrator()); | 457 o.add(buildAdministrator()); |
458 o.add(buildAdministrator()); | 458 o.add(buildAdministrator()); |
459 return o; | 459 return o; |
460 } | 460 } |
461 | 461 |
462 checkUnnamed2027(core.List<api.Administrator> o) { | 462 checkUnnamed2113(core.List<api.Administrator> o) { |
463 unittest.expect(o, unittest.hasLength(2)); | 463 unittest.expect(o, unittest.hasLength(2)); |
464 checkAdministrator(o[0]); | 464 checkAdministrator(o[0]); |
465 checkAdministrator(o[1]); | 465 checkAdministrator(o[1]); |
466 } | 466 } |
467 | 467 |
468 core.int buildCounterEnterprise = 0; | 468 core.int buildCounterEnterprise = 0; |
469 buildEnterprise() { | 469 buildEnterprise() { |
470 var o = new api.Enterprise(); | 470 var o = new api.Enterprise(); |
471 buildCounterEnterprise++; | 471 buildCounterEnterprise++; |
472 if (buildCounterEnterprise < 3) { | 472 if (buildCounterEnterprise < 3) { |
473 o.administrator = buildUnnamed2027(); | 473 o.administrator = buildUnnamed2113(); |
474 o.id = "foo"; | 474 o.id = "foo"; |
475 o.kind = "foo"; | 475 o.kind = "foo"; |
476 o.name = "foo"; | 476 o.name = "foo"; |
477 o.primaryDomain = "foo"; | 477 o.primaryDomain = "foo"; |
478 } | 478 } |
479 buildCounterEnterprise--; | 479 buildCounterEnterprise--; |
480 return o; | 480 return o; |
481 } | 481 } |
482 | 482 |
483 checkEnterprise(api.Enterprise o) { | 483 checkEnterprise(api.Enterprise o) { |
484 buildCounterEnterprise++; | 484 buildCounterEnterprise++; |
485 if (buildCounterEnterprise < 3) { | 485 if (buildCounterEnterprise < 3) { |
486 checkUnnamed2027(o.administrator); | 486 checkUnnamed2113(o.administrator); |
487 unittest.expect(o.id, unittest.equals('foo')); | 487 unittest.expect(o.id, unittest.equals('foo')); |
488 unittest.expect(o.kind, unittest.equals('foo')); | 488 unittest.expect(o.kind, unittest.equals('foo')); |
489 unittest.expect(o.name, unittest.equals('foo')); | 489 unittest.expect(o.name, unittest.equals('foo')); |
490 unittest.expect(o.primaryDomain, unittest.equals('foo')); | 490 unittest.expect(o.primaryDomain, unittest.equals('foo')); |
491 } | 491 } |
492 buildCounterEnterprise--; | 492 buildCounterEnterprise--; |
493 } | 493 } |
494 | 494 |
495 core.int buildCounterEnterpriseAccount = 0; | 495 core.int buildCounterEnterpriseAccount = 0; |
496 buildEnterpriseAccount() { | 496 buildEnterpriseAccount() { |
497 var o = new api.EnterpriseAccount(); | 497 var o = new api.EnterpriseAccount(); |
498 buildCounterEnterpriseAccount++; | 498 buildCounterEnterpriseAccount++; |
499 if (buildCounterEnterpriseAccount < 3) { | 499 if (buildCounterEnterpriseAccount < 3) { |
500 o.accountEmail = "foo"; | 500 o.accountEmail = "foo"; |
501 o.kind = "foo"; | 501 o.kind = "foo"; |
502 } | 502 } |
503 buildCounterEnterpriseAccount--; | 503 buildCounterEnterpriseAccount--; |
504 return o; | 504 return o; |
505 } | 505 } |
506 | 506 |
507 checkEnterpriseAccount(api.EnterpriseAccount o) { | 507 checkEnterpriseAccount(api.EnterpriseAccount o) { |
508 buildCounterEnterpriseAccount++; | 508 buildCounterEnterpriseAccount++; |
509 if (buildCounterEnterpriseAccount < 3) { | 509 if (buildCounterEnterpriseAccount < 3) { |
510 unittest.expect(o.accountEmail, unittest.equals('foo')); | 510 unittest.expect(o.accountEmail, unittest.equals('foo')); |
511 unittest.expect(o.kind, unittest.equals('foo')); | 511 unittest.expect(o.kind, unittest.equals('foo')); |
512 } | 512 } |
513 buildCounterEnterpriseAccount--; | 513 buildCounterEnterpriseAccount--; |
514 } | 514 } |
515 | 515 |
516 buildUnnamed2028() { | 516 buildUnnamed2114() { |
517 var o = new core.List<api.Enterprise>(); | 517 var o = new core.List<api.Enterprise>(); |
518 o.add(buildEnterprise()); | 518 o.add(buildEnterprise()); |
519 o.add(buildEnterprise()); | 519 o.add(buildEnterprise()); |
520 return o; | 520 return o; |
521 } | 521 } |
522 | 522 |
523 checkUnnamed2028(core.List<api.Enterprise> o) { | 523 checkUnnamed2114(core.List<api.Enterprise> o) { |
524 unittest.expect(o, unittest.hasLength(2)); | 524 unittest.expect(o, unittest.hasLength(2)); |
525 checkEnterprise(o[0]); | 525 checkEnterprise(o[0]); |
526 checkEnterprise(o[1]); | 526 checkEnterprise(o[1]); |
527 } | 527 } |
528 | 528 |
529 core.int buildCounterEnterprisesListResponse = 0; | 529 core.int buildCounterEnterprisesListResponse = 0; |
530 buildEnterprisesListResponse() { | 530 buildEnterprisesListResponse() { |
531 var o = new api.EnterprisesListResponse(); | 531 var o = new api.EnterprisesListResponse(); |
532 buildCounterEnterprisesListResponse++; | 532 buildCounterEnterprisesListResponse++; |
533 if (buildCounterEnterprisesListResponse < 3) { | 533 if (buildCounterEnterprisesListResponse < 3) { |
534 o.enterprise = buildUnnamed2028(); | 534 o.enterprise = buildUnnamed2114(); |
535 o.kind = "foo"; | 535 o.kind = "foo"; |
536 } | 536 } |
537 buildCounterEnterprisesListResponse--; | 537 buildCounterEnterprisesListResponse--; |
538 return o; | 538 return o; |
539 } | 539 } |
540 | 540 |
541 checkEnterprisesListResponse(api.EnterprisesListResponse o) { | 541 checkEnterprisesListResponse(api.EnterprisesListResponse o) { |
542 buildCounterEnterprisesListResponse++; | 542 buildCounterEnterprisesListResponse++; |
543 if (buildCounterEnterprisesListResponse < 3) { | 543 if (buildCounterEnterprisesListResponse < 3) { |
544 checkUnnamed2028(o.enterprise); | 544 checkUnnamed2114(o.enterprise); |
545 unittest.expect(o.kind, unittest.equals('foo')); | 545 unittest.expect(o.kind, unittest.equals('foo')); |
546 } | 546 } |
547 buildCounterEnterprisesListResponse--; | 547 buildCounterEnterprisesListResponse--; |
548 } | 548 } |
549 | 549 |
550 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0; | 550 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0; |
551 buildEnterprisesSendTestPushNotificationResponse() { | 551 buildEnterprisesSendTestPushNotificationResponse() { |
552 var o = new api.EnterprisesSendTestPushNotificationResponse(); | 552 var o = new api.EnterprisesSendTestPushNotificationResponse(); |
553 buildCounterEnterprisesSendTestPushNotificationResponse++; | 553 buildCounterEnterprisesSendTestPushNotificationResponse++; |
554 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) { | 554 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) { |
(...skipping 29 matching lines...) Expand all Loading... |
584 checkEntitlement(api.Entitlement o) { | 584 checkEntitlement(api.Entitlement o) { |
585 buildCounterEntitlement++; | 585 buildCounterEntitlement++; |
586 if (buildCounterEntitlement < 3) { | 586 if (buildCounterEntitlement < 3) { |
587 unittest.expect(o.kind, unittest.equals('foo')); | 587 unittest.expect(o.kind, unittest.equals('foo')); |
588 unittest.expect(o.productId, unittest.equals('foo')); | 588 unittest.expect(o.productId, unittest.equals('foo')); |
589 unittest.expect(o.reason, unittest.equals('foo')); | 589 unittest.expect(o.reason, unittest.equals('foo')); |
590 } | 590 } |
591 buildCounterEntitlement--; | 591 buildCounterEntitlement--; |
592 } | 592 } |
593 | 593 |
594 buildUnnamed2029() { | 594 buildUnnamed2115() { |
595 var o = new core.List<api.Entitlement>(); | 595 var o = new core.List<api.Entitlement>(); |
596 o.add(buildEntitlement()); | 596 o.add(buildEntitlement()); |
597 o.add(buildEntitlement()); | 597 o.add(buildEntitlement()); |
598 return o; | 598 return o; |
599 } | 599 } |
600 | 600 |
601 checkUnnamed2029(core.List<api.Entitlement> o) { | 601 checkUnnamed2115(core.List<api.Entitlement> o) { |
602 unittest.expect(o, unittest.hasLength(2)); | 602 unittest.expect(o, unittest.hasLength(2)); |
603 checkEntitlement(o[0]); | 603 checkEntitlement(o[0]); |
604 checkEntitlement(o[1]); | 604 checkEntitlement(o[1]); |
605 } | 605 } |
606 | 606 |
607 core.int buildCounterEntitlementsListResponse = 0; | 607 core.int buildCounterEntitlementsListResponse = 0; |
608 buildEntitlementsListResponse() { | 608 buildEntitlementsListResponse() { |
609 var o = new api.EntitlementsListResponse(); | 609 var o = new api.EntitlementsListResponse(); |
610 buildCounterEntitlementsListResponse++; | 610 buildCounterEntitlementsListResponse++; |
611 if (buildCounterEntitlementsListResponse < 3) { | 611 if (buildCounterEntitlementsListResponse < 3) { |
612 o.entitlement = buildUnnamed2029(); | 612 o.entitlement = buildUnnamed2115(); |
613 o.kind = "foo"; | 613 o.kind = "foo"; |
614 } | 614 } |
615 buildCounterEntitlementsListResponse--; | 615 buildCounterEntitlementsListResponse--; |
616 return o; | 616 return o; |
617 } | 617 } |
618 | 618 |
619 checkEntitlementsListResponse(api.EntitlementsListResponse o) { | 619 checkEntitlementsListResponse(api.EntitlementsListResponse o) { |
620 buildCounterEntitlementsListResponse++; | 620 buildCounterEntitlementsListResponse++; |
621 if (buildCounterEntitlementsListResponse < 3) { | 621 if (buildCounterEntitlementsListResponse < 3) { |
622 checkUnnamed2029(o.entitlement); | 622 checkUnnamed2115(o.entitlement); |
623 unittest.expect(o.kind, unittest.equals('foo')); | 623 unittest.expect(o.kind, unittest.equals('foo')); |
624 } | 624 } |
625 buildCounterEntitlementsListResponse--; | 625 buildCounterEntitlementsListResponse--; |
626 } | 626 } |
627 | 627 |
628 core.int buildCounterGroupLicense = 0; | 628 core.int buildCounterGroupLicense = 0; |
629 buildGroupLicense() { | 629 buildGroupLicense() { |
630 var o = new api.GroupLicense(); | 630 var o = new api.GroupLicense(); |
631 buildCounterGroupLicense++; | 631 buildCounterGroupLicense++; |
632 if (buildCounterGroupLicense < 3) { | 632 if (buildCounterGroupLicense < 3) { |
(...skipping 16 matching lines...) Expand all Loading... |
649 unittest.expect(o.approval, unittest.equals('foo')); | 649 unittest.expect(o.approval, unittest.equals('foo')); |
650 unittest.expect(o.kind, unittest.equals('foo')); | 650 unittest.expect(o.kind, unittest.equals('foo')); |
651 unittest.expect(o.numProvisioned, unittest.equals(42)); | 651 unittest.expect(o.numProvisioned, unittest.equals(42)); |
652 unittest.expect(o.numPurchased, unittest.equals(42)); | 652 unittest.expect(o.numPurchased, unittest.equals(42)); |
653 unittest.expect(o.permissions, unittest.equals('foo')); | 653 unittest.expect(o.permissions, unittest.equals('foo')); |
654 unittest.expect(o.productId, unittest.equals('foo')); | 654 unittest.expect(o.productId, unittest.equals('foo')); |
655 } | 655 } |
656 buildCounterGroupLicense--; | 656 buildCounterGroupLicense--; |
657 } | 657 } |
658 | 658 |
659 buildUnnamed2030() { | 659 buildUnnamed2116() { |
660 var o = new core.List<api.User>(); | 660 var o = new core.List<api.User>(); |
661 o.add(buildUser()); | 661 o.add(buildUser()); |
662 o.add(buildUser()); | 662 o.add(buildUser()); |
663 return o; | 663 return o; |
664 } | 664 } |
665 | 665 |
666 checkUnnamed2030(core.List<api.User> o) { | 666 checkUnnamed2116(core.List<api.User> o) { |
667 unittest.expect(o, unittest.hasLength(2)); | 667 unittest.expect(o, unittest.hasLength(2)); |
668 checkUser(o[0]); | 668 checkUser(o[0]); |
669 checkUser(o[1]); | 669 checkUser(o[1]); |
670 } | 670 } |
671 | 671 |
672 core.int buildCounterGroupLicenseUsersListResponse = 0; | 672 core.int buildCounterGroupLicenseUsersListResponse = 0; |
673 buildGroupLicenseUsersListResponse() { | 673 buildGroupLicenseUsersListResponse() { |
674 var o = new api.GroupLicenseUsersListResponse(); | 674 var o = new api.GroupLicenseUsersListResponse(); |
675 buildCounterGroupLicenseUsersListResponse++; | 675 buildCounterGroupLicenseUsersListResponse++; |
676 if (buildCounterGroupLicenseUsersListResponse < 3) { | 676 if (buildCounterGroupLicenseUsersListResponse < 3) { |
677 o.kind = "foo"; | 677 o.kind = "foo"; |
678 o.user = buildUnnamed2030(); | 678 o.user = buildUnnamed2116(); |
679 } | 679 } |
680 buildCounterGroupLicenseUsersListResponse--; | 680 buildCounterGroupLicenseUsersListResponse--; |
681 return o; | 681 return o; |
682 } | 682 } |
683 | 683 |
684 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { | 684 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { |
685 buildCounterGroupLicenseUsersListResponse++; | 685 buildCounterGroupLicenseUsersListResponse++; |
686 if (buildCounterGroupLicenseUsersListResponse < 3) { | 686 if (buildCounterGroupLicenseUsersListResponse < 3) { |
687 unittest.expect(o.kind, unittest.equals('foo')); | 687 unittest.expect(o.kind, unittest.equals('foo')); |
688 checkUnnamed2030(o.user); | 688 checkUnnamed2116(o.user); |
689 } | 689 } |
690 buildCounterGroupLicenseUsersListResponse--; | 690 buildCounterGroupLicenseUsersListResponse--; |
691 } | 691 } |
692 | 692 |
693 buildUnnamed2031() { | 693 buildUnnamed2117() { |
694 var o = new core.List<api.GroupLicense>(); | 694 var o = new core.List<api.GroupLicense>(); |
695 o.add(buildGroupLicense()); | 695 o.add(buildGroupLicense()); |
696 o.add(buildGroupLicense()); | 696 o.add(buildGroupLicense()); |
697 return o; | 697 return o; |
698 } | 698 } |
699 | 699 |
700 checkUnnamed2031(core.List<api.GroupLicense> o) { | 700 checkUnnamed2117(core.List<api.GroupLicense> o) { |
701 unittest.expect(o, unittest.hasLength(2)); | 701 unittest.expect(o, unittest.hasLength(2)); |
702 checkGroupLicense(o[0]); | 702 checkGroupLicense(o[0]); |
703 checkGroupLicense(o[1]); | 703 checkGroupLicense(o[1]); |
704 } | 704 } |
705 | 705 |
706 core.int buildCounterGroupLicensesListResponse = 0; | 706 core.int buildCounterGroupLicensesListResponse = 0; |
707 buildGroupLicensesListResponse() { | 707 buildGroupLicensesListResponse() { |
708 var o = new api.GroupLicensesListResponse(); | 708 var o = new api.GroupLicensesListResponse(); |
709 buildCounterGroupLicensesListResponse++; | 709 buildCounterGroupLicensesListResponse++; |
710 if (buildCounterGroupLicensesListResponse < 3) { | 710 if (buildCounterGroupLicensesListResponse < 3) { |
711 o.groupLicense = buildUnnamed2031(); | 711 o.groupLicense = buildUnnamed2117(); |
712 o.kind = "foo"; | 712 o.kind = "foo"; |
713 } | 713 } |
714 buildCounterGroupLicensesListResponse--; | 714 buildCounterGroupLicensesListResponse--; |
715 return o; | 715 return o; |
716 } | 716 } |
717 | 717 |
718 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { | 718 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { |
719 buildCounterGroupLicensesListResponse++; | 719 buildCounterGroupLicensesListResponse++; |
720 if (buildCounterGroupLicensesListResponse < 3) { | 720 if (buildCounterGroupLicensesListResponse < 3) { |
721 checkUnnamed2031(o.groupLicense); | 721 checkUnnamed2117(o.groupLicense); |
722 unittest.expect(o.kind, unittest.equals('foo')); | 722 unittest.expect(o.kind, unittest.equals('foo')); |
723 } | 723 } |
724 buildCounterGroupLicensesListResponse--; | 724 buildCounterGroupLicensesListResponse--; |
725 } | 725 } |
726 | 726 |
727 core.int buildCounterInstall = 0; | 727 core.int buildCounterInstall = 0; |
728 buildInstall() { | 728 buildInstall() { |
729 var o = new api.Install(); | 729 var o = new api.Install(); |
730 buildCounterInstall++; | 730 buildCounterInstall++; |
731 if (buildCounterInstall < 3) { | 731 if (buildCounterInstall < 3) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 if (buildCounterInstallFailureEvent < 3) { | 769 if (buildCounterInstallFailureEvent < 3) { |
770 unittest.expect(o.deviceId, unittest.equals('foo')); | 770 unittest.expect(o.deviceId, unittest.equals('foo')); |
771 unittest.expect(o.failureDetails, unittest.equals('foo')); | 771 unittest.expect(o.failureDetails, unittest.equals('foo')); |
772 unittest.expect(o.failureReason, unittest.equals('foo')); | 772 unittest.expect(o.failureReason, unittest.equals('foo')); |
773 unittest.expect(o.productId, unittest.equals('foo')); | 773 unittest.expect(o.productId, unittest.equals('foo')); |
774 unittest.expect(o.userId, unittest.equals('foo')); | 774 unittest.expect(o.userId, unittest.equals('foo')); |
775 } | 775 } |
776 buildCounterInstallFailureEvent--; | 776 buildCounterInstallFailureEvent--; |
777 } | 777 } |
778 | 778 |
779 buildUnnamed2032() { | 779 buildUnnamed2118() { |
780 var o = new core.List<api.Install>(); | 780 var o = new core.List<api.Install>(); |
781 o.add(buildInstall()); | 781 o.add(buildInstall()); |
782 o.add(buildInstall()); | 782 o.add(buildInstall()); |
783 return o; | 783 return o; |
784 } | 784 } |
785 | 785 |
786 checkUnnamed2032(core.List<api.Install> o) { | 786 checkUnnamed2118(core.List<api.Install> o) { |
787 unittest.expect(o, unittest.hasLength(2)); | 787 unittest.expect(o, unittest.hasLength(2)); |
788 checkInstall(o[0]); | 788 checkInstall(o[0]); |
789 checkInstall(o[1]); | 789 checkInstall(o[1]); |
790 } | 790 } |
791 | 791 |
792 core.int buildCounterInstallsListResponse = 0; | 792 core.int buildCounterInstallsListResponse = 0; |
793 buildInstallsListResponse() { | 793 buildInstallsListResponse() { |
794 var o = new api.InstallsListResponse(); | 794 var o = new api.InstallsListResponse(); |
795 buildCounterInstallsListResponse++; | 795 buildCounterInstallsListResponse++; |
796 if (buildCounterInstallsListResponse < 3) { | 796 if (buildCounterInstallsListResponse < 3) { |
797 o.install = buildUnnamed2032(); | 797 o.install = buildUnnamed2118(); |
798 o.kind = "foo"; | 798 o.kind = "foo"; |
799 } | 799 } |
800 buildCounterInstallsListResponse--; | 800 buildCounterInstallsListResponse--; |
801 return o; | 801 return o; |
802 } | 802 } |
803 | 803 |
804 checkInstallsListResponse(api.InstallsListResponse o) { | 804 checkInstallsListResponse(api.InstallsListResponse o) { |
805 buildCounterInstallsListResponse++; | 805 buildCounterInstallsListResponse++; |
806 if (buildCounterInstallsListResponse < 3) { | 806 if (buildCounterInstallsListResponse < 3) { |
807 checkUnnamed2032(o.install); | 807 checkUnnamed2118(o.install); |
808 unittest.expect(o.kind, unittest.equals('foo')); | 808 unittest.expect(o.kind, unittest.equals('foo')); |
809 } | 809 } |
810 buildCounterInstallsListResponse--; | 810 buildCounterInstallsListResponse--; |
811 } | 811 } |
812 | 812 |
813 core.int buildCounterLocalizedText = 0; | 813 core.int buildCounterLocalizedText = 0; |
814 buildLocalizedText() { | 814 buildLocalizedText() { |
815 var o = new api.LocalizedText(); | 815 var o = new api.LocalizedText(); |
816 buildCounterLocalizedText++; | 816 buildCounterLocalizedText++; |
817 if (buildCounterLocalizedText < 3) { | 817 if (buildCounterLocalizedText < 3) { |
818 o.locale = "foo"; | 818 o.locale = "foo"; |
819 o.text = "foo"; | 819 o.text = "foo"; |
820 } | 820 } |
821 buildCounterLocalizedText--; | 821 buildCounterLocalizedText--; |
822 return o; | 822 return o; |
823 } | 823 } |
824 | 824 |
825 checkLocalizedText(api.LocalizedText o) { | 825 checkLocalizedText(api.LocalizedText o) { |
826 buildCounterLocalizedText++; | 826 buildCounterLocalizedText++; |
827 if (buildCounterLocalizedText < 3) { | 827 if (buildCounterLocalizedText < 3) { |
828 unittest.expect(o.locale, unittest.equals('foo')); | 828 unittest.expect(o.locale, unittest.equals('foo')); |
829 unittest.expect(o.text, unittest.equals('foo')); | 829 unittest.expect(o.text, unittest.equals('foo')); |
830 } | 830 } |
831 buildCounterLocalizedText--; | 831 buildCounterLocalizedText--; |
832 } | 832 } |
833 | 833 |
834 buildUnnamed2033() { | 834 buildUnnamed2119() { |
835 var o = new core.List<api.ManagedProperty>(); | 835 var o = new core.List<api.ManagedProperty>(); |
836 o.add(buildManagedProperty()); | 836 o.add(buildManagedProperty()); |
837 o.add(buildManagedProperty()); | 837 o.add(buildManagedProperty()); |
838 return o; | 838 return o; |
839 } | 839 } |
840 | 840 |
841 checkUnnamed2033(core.List<api.ManagedProperty> o) { | 841 checkUnnamed2119(core.List<api.ManagedProperty> o) { |
842 unittest.expect(o, unittest.hasLength(2)); | 842 unittest.expect(o, unittest.hasLength(2)); |
843 checkManagedProperty(o[0]); | 843 checkManagedProperty(o[0]); |
844 checkManagedProperty(o[1]); | 844 checkManagedProperty(o[1]); |
845 } | 845 } |
846 | 846 |
847 core.int buildCounterManagedConfiguration = 0; | 847 core.int buildCounterManagedConfiguration = 0; |
848 buildManagedConfiguration() { | 848 buildManagedConfiguration() { |
849 var o = new api.ManagedConfiguration(); | 849 var o = new api.ManagedConfiguration(); |
850 buildCounterManagedConfiguration++; | 850 buildCounterManagedConfiguration++; |
851 if (buildCounterManagedConfiguration < 3) { | 851 if (buildCounterManagedConfiguration < 3) { |
852 o.kind = "foo"; | 852 o.kind = "foo"; |
853 o.managedProperty = buildUnnamed2033(); | 853 o.managedProperty = buildUnnamed2119(); |
854 o.productId = "foo"; | 854 o.productId = "foo"; |
855 } | 855 } |
856 buildCounterManagedConfiguration--; | 856 buildCounterManagedConfiguration--; |
857 return o; | 857 return o; |
858 } | 858 } |
859 | 859 |
860 checkManagedConfiguration(api.ManagedConfiguration o) { | 860 checkManagedConfiguration(api.ManagedConfiguration o) { |
861 buildCounterManagedConfiguration++; | 861 buildCounterManagedConfiguration++; |
862 if (buildCounterManagedConfiguration < 3) { | 862 if (buildCounterManagedConfiguration < 3) { |
863 unittest.expect(o.kind, unittest.equals('foo')); | 863 unittest.expect(o.kind, unittest.equals('foo')); |
864 checkUnnamed2033(o.managedProperty); | 864 checkUnnamed2119(o.managedProperty); |
865 unittest.expect(o.productId, unittest.equals('foo')); | 865 unittest.expect(o.productId, unittest.equals('foo')); |
866 } | 866 } |
867 buildCounterManagedConfiguration--; | 867 buildCounterManagedConfiguration--; |
868 } | 868 } |
869 | 869 |
870 buildUnnamed2034() { | 870 buildUnnamed2120() { |
871 var o = new core.List<api.ManagedConfiguration>(); | 871 var o = new core.List<api.ManagedConfiguration>(); |
872 o.add(buildManagedConfiguration()); | 872 o.add(buildManagedConfiguration()); |
873 o.add(buildManagedConfiguration()); | 873 o.add(buildManagedConfiguration()); |
874 return o; | 874 return o; |
875 } | 875 } |
876 | 876 |
877 checkUnnamed2034(core.List<api.ManagedConfiguration> o) { | 877 checkUnnamed2120(core.List<api.ManagedConfiguration> o) { |
878 unittest.expect(o, unittest.hasLength(2)); | 878 unittest.expect(o, unittest.hasLength(2)); |
879 checkManagedConfiguration(o[0]); | 879 checkManagedConfiguration(o[0]); |
880 checkManagedConfiguration(o[1]); | 880 checkManagedConfiguration(o[1]); |
881 } | 881 } |
882 | 882 |
883 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0; | 883 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0; |
884 buildManagedConfigurationsForDeviceListResponse() { | 884 buildManagedConfigurationsForDeviceListResponse() { |
885 var o = new api.ManagedConfigurationsForDeviceListResponse(); | 885 var o = new api.ManagedConfigurationsForDeviceListResponse(); |
886 buildCounterManagedConfigurationsForDeviceListResponse++; | 886 buildCounterManagedConfigurationsForDeviceListResponse++; |
887 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { | 887 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { |
888 o.kind = "foo"; | 888 o.kind = "foo"; |
889 o.managedConfigurationForDevice = buildUnnamed2034(); | 889 o.managedConfigurationForDevice = buildUnnamed2120(); |
890 } | 890 } |
891 buildCounterManagedConfigurationsForDeviceListResponse--; | 891 buildCounterManagedConfigurationsForDeviceListResponse--; |
892 return o; | 892 return o; |
893 } | 893 } |
894 | 894 |
895 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi
ceListResponse o) { | 895 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi
ceListResponse o) { |
896 buildCounterManagedConfigurationsForDeviceListResponse++; | 896 buildCounterManagedConfigurationsForDeviceListResponse++; |
897 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { | 897 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { |
898 unittest.expect(o.kind, unittest.equals('foo')); | 898 unittest.expect(o.kind, unittest.equals('foo')); |
899 checkUnnamed2034(o.managedConfigurationForDevice); | 899 checkUnnamed2120(o.managedConfigurationForDevice); |
900 } | 900 } |
901 buildCounterManagedConfigurationsForDeviceListResponse--; | 901 buildCounterManagedConfigurationsForDeviceListResponse--; |
902 } | 902 } |
903 | 903 |
904 buildUnnamed2035() { | 904 buildUnnamed2121() { |
905 var o = new core.List<api.ManagedConfiguration>(); | 905 var o = new core.List<api.ManagedConfiguration>(); |
906 o.add(buildManagedConfiguration()); | 906 o.add(buildManagedConfiguration()); |
907 o.add(buildManagedConfiguration()); | 907 o.add(buildManagedConfiguration()); |
908 return o; | 908 return o; |
909 } | 909 } |
910 | 910 |
911 checkUnnamed2035(core.List<api.ManagedConfiguration> o) { | 911 checkUnnamed2121(core.List<api.ManagedConfiguration> o) { |
912 unittest.expect(o, unittest.hasLength(2)); | 912 unittest.expect(o, unittest.hasLength(2)); |
913 checkManagedConfiguration(o[0]); | 913 checkManagedConfiguration(o[0]); |
914 checkManagedConfiguration(o[1]); | 914 checkManagedConfiguration(o[1]); |
915 } | 915 } |
916 | 916 |
917 core.int buildCounterManagedConfigurationsForUserListResponse = 0; | 917 core.int buildCounterManagedConfigurationsForUserListResponse = 0; |
918 buildManagedConfigurationsForUserListResponse() { | 918 buildManagedConfigurationsForUserListResponse() { |
919 var o = new api.ManagedConfigurationsForUserListResponse(); | 919 var o = new api.ManagedConfigurationsForUserListResponse(); |
920 buildCounterManagedConfigurationsForUserListResponse++; | 920 buildCounterManagedConfigurationsForUserListResponse++; |
921 if (buildCounterManagedConfigurationsForUserListResponse < 3) { | 921 if (buildCounterManagedConfigurationsForUserListResponse < 3) { |
922 o.kind = "foo"; | 922 o.kind = "foo"; |
923 o.managedConfigurationForUser = buildUnnamed2035(); | 923 o.managedConfigurationForUser = buildUnnamed2121(); |
924 } | 924 } |
925 buildCounterManagedConfigurationsForUserListResponse--; | 925 buildCounterManagedConfigurationsForUserListResponse--; |
926 return o; | 926 return o; |
927 } | 927 } |
928 | 928 |
929 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi
stResponse o) { | 929 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi
stResponse o) { |
930 buildCounterManagedConfigurationsForUserListResponse++; | 930 buildCounterManagedConfigurationsForUserListResponse++; |
931 if (buildCounterManagedConfigurationsForUserListResponse < 3) { | 931 if (buildCounterManagedConfigurationsForUserListResponse < 3) { |
932 unittest.expect(o.kind, unittest.equals('foo')); | 932 unittest.expect(o.kind, unittest.equals('foo')); |
933 checkUnnamed2035(o.managedConfigurationForUser); | 933 checkUnnamed2121(o.managedConfigurationForUser); |
934 } | 934 } |
935 buildCounterManagedConfigurationsForUserListResponse--; | 935 buildCounterManagedConfigurationsForUserListResponse--; |
936 } | 936 } |
937 | 937 |
938 buildUnnamed2036() { | 938 buildUnnamed2122() { |
939 var o = new core.List<api.ManagedPropertyBundle>(); | 939 var o = new core.List<api.ManagedPropertyBundle>(); |
940 o.add(buildManagedPropertyBundle()); | 940 o.add(buildManagedPropertyBundle()); |
941 o.add(buildManagedPropertyBundle()); | 941 o.add(buildManagedPropertyBundle()); |
942 return o; | 942 return o; |
943 } | 943 } |
944 | 944 |
945 checkUnnamed2036(core.List<api.ManagedPropertyBundle> o) { | 945 checkUnnamed2122(core.List<api.ManagedPropertyBundle> o) { |
946 unittest.expect(o, unittest.hasLength(2)); | 946 unittest.expect(o, unittest.hasLength(2)); |
947 checkManagedPropertyBundle(o[0]); | 947 checkManagedPropertyBundle(o[0]); |
948 checkManagedPropertyBundle(o[1]); | 948 checkManagedPropertyBundle(o[1]); |
949 } | 949 } |
950 | 950 |
951 buildUnnamed2037() { | 951 buildUnnamed2123() { |
952 var o = new core.List<core.String>(); | 952 var o = new core.List<core.String>(); |
953 o.add("foo"); | 953 o.add("foo"); |
954 o.add("foo"); | 954 o.add("foo"); |
955 return o; | 955 return o; |
956 } | 956 } |
957 | 957 |
958 checkUnnamed2037(core.List<core.String> o) { | 958 checkUnnamed2123(core.List<core.String> o) { |
959 unittest.expect(o, unittest.hasLength(2)); | 959 unittest.expect(o, unittest.hasLength(2)); |
960 unittest.expect(o[0], unittest.equals('foo')); | 960 unittest.expect(o[0], unittest.equals('foo')); |
961 unittest.expect(o[1], unittest.equals('foo')); | 961 unittest.expect(o[1], unittest.equals('foo')); |
962 } | 962 } |
963 | 963 |
964 core.int buildCounterManagedProperty = 0; | 964 core.int buildCounterManagedProperty = 0; |
965 buildManagedProperty() { | 965 buildManagedProperty() { |
966 var o = new api.ManagedProperty(); | 966 var o = new api.ManagedProperty(); |
967 buildCounterManagedProperty++; | 967 buildCounterManagedProperty++; |
968 if (buildCounterManagedProperty < 3) { | 968 if (buildCounterManagedProperty < 3) { |
969 o.key = "foo"; | 969 o.key = "foo"; |
970 o.valueBool = true; | 970 o.valueBool = true; |
971 o.valueBundle = buildManagedPropertyBundle(); | 971 o.valueBundle = buildManagedPropertyBundle(); |
972 o.valueBundleArray = buildUnnamed2036(); | 972 o.valueBundleArray = buildUnnamed2122(); |
973 o.valueInteger = 42; | 973 o.valueInteger = 42; |
974 o.valueString = "foo"; | 974 o.valueString = "foo"; |
975 o.valueStringArray = buildUnnamed2037(); | 975 o.valueStringArray = buildUnnamed2123(); |
976 } | 976 } |
977 buildCounterManagedProperty--; | 977 buildCounterManagedProperty--; |
978 return o; | 978 return o; |
979 } | 979 } |
980 | 980 |
981 checkManagedProperty(api.ManagedProperty o) { | 981 checkManagedProperty(api.ManagedProperty o) { |
982 buildCounterManagedProperty++; | 982 buildCounterManagedProperty++; |
983 if (buildCounterManagedProperty < 3) { | 983 if (buildCounterManagedProperty < 3) { |
984 unittest.expect(o.key, unittest.equals('foo')); | 984 unittest.expect(o.key, unittest.equals('foo')); |
985 unittest.expect(o.valueBool, unittest.isTrue); | 985 unittest.expect(o.valueBool, unittest.isTrue); |
986 checkManagedPropertyBundle(o.valueBundle); | 986 checkManagedPropertyBundle(o.valueBundle); |
987 checkUnnamed2036(o.valueBundleArray); | 987 checkUnnamed2122(o.valueBundleArray); |
988 unittest.expect(o.valueInteger, unittest.equals(42)); | 988 unittest.expect(o.valueInteger, unittest.equals(42)); |
989 unittest.expect(o.valueString, unittest.equals('foo')); | 989 unittest.expect(o.valueString, unittest.equals('foo')); |
990 checkUnnamed2037(o.valueStringArray); | 990 checkUnnamed2123(o.valueStringArray); |
991 } | 991 } |
992 buildCounterManagedProperty--; | 992 buildCounterManagedProperty--; |
993 } | 993 } |
994 | 994 |
995 buildUnnamed2038() { | 995 buildUnnamed2124() { |
996 var o = new core.List<api.ManagedProperty>(); | 996 var o = new core.List<api.ManagedProperty>(); |
997 o.add(buildManagedProperty()); | 997 o.add(buildManagedProperty()); |
998 o.add(buildManagedProperty()); | 998 o.add(buildManagedProperty()); |
999 return o; | 999 return o; |
1000 } | 1000 } |
1001 | 1001 |
1002 checkUnnamed2038(core.List<api.ManagedProperty> o) { | 1002 checkUnnamed2124(core.List<api.ManagedProperty> o) { |
1003 unittest.expect(o, unittest.hasLength(2)); | 1003 unittest.expect(o, unittest.hasLength(2)); |
1004 checkManagedProperty(o[0]); | 1004 checkManagedProperty(o[0]); |
1005 checkManagedProperty(o[1]); | 1005 checkManagedProperty(o[1]); |
1006 } | 1006 } |
1007 | 1007 |
1008 core.int buildCounterManagedPropertyBundle = 0; | 1008 core.int buildCounterManagedPropertyBundle = 0; |
1009 buildManagedPropertyBundle() { | 1009 buildManagedPropertyBundle() { |
1010 var o = new api.ManagedPropertyBundle(); | 1010 var o = new api.ManagedPropertyBundle(); |
1011 buildCounterManagedPropertyBundle++; | 1011 buildCounterManagedPropertyBundle++; |
1012 if (buildCounterManagedPropertyBundle < 3) { | 1012 if (buildCounterManagedPropertyBundle < 3) { |
1013 o.managedProperty = buildUnnamed2038(); | 1013 o.managedProperty = buildUnnamed2124(); |
1014 } | 1014 } |
1015 buildCounterManagedPropertyBundle--; | 1015 buildCounterManagedPropertyBundle--; |
1016 return o; | 1016 return o; |
1017 } | 1017 } |
1018 | 1018 |
1019 checkManagedPropertyBundle(api.ManagedPropertyBundle o) { | 1019 checkManagedPropertyBundle(api.ManagedPropertyBundle o) { |
1020 buildCounterManagedPropertyBundle++; | 1020 buildCounterManagedPropertyBundle++; |
1021 if (buildCounterManagedPropertyBundle < 3) { | 1021 if (buildCounterManagedPropertyBundle < 3) { |
1022 checkUnnamed2038(o.managedProperty); | 1022 checkUnnamed2124(o.managedProperty); |
1023 } | 1023 } |
1024 buildCounterManagedPropertyBundle--; | 1024 buildCounterManagedPropertyBundle--; |
1025 } | 1025 } |
1026 | 1026 |
1027 core.int buildCounterNewDeviceEvent = 0; | 1027 core.int buildCounterNewDeviceEvent = 0; |
1028 buildNewDeviceEvent() { | 1028 buildNewDeviceEvent() { |
1029 var o = new api.NewDeviceEvent(); | 1029 var o = new api.NewDeviceEvent(); |
1030 buildCounterNewDeviceEvent++; | 1030 buildCounterNewDeviceEvent++; |
1031 if (buildCounterNewDeviceEvent < 3) { | 1031 if (buildCounterNewDeviceEvent < 3) { |
1032 o.deviceId = "foo"; | 1032 o.deviceId = "foo"; |
1033 o.managementType = "foo"; | 1033 o.managementType = "foo"; |
1034 o.userId = "foo"; | 1034 o.userId = "foo"; |
1035 } | 1035 } |
1036 buildCounterNewDeviceEvent--; | 1036 buildCounterNewDeviceEvent--; |
1037 return o; | 1037 return o; |
1038 } | 1038 } |
1039 | 1039 |
1040 checkNewDeviceEvent(api.NewDeviceEvent o) { | 1040 checkNewDeviceEvent(api.NewDeviceEvent o) { |
1041 buildCounterNewDeviceEvent++; | 1041 buildCounterNewDeviceEvent++; |
1042 if (buildCounterNewDeviceEvent < 3) { | 1042 if (buildCounterNewDeviceEvent < 3) { |
1043 unittest.expect(o.deviceId, unittest.equals('foo')); | 1043 unittest.expect(o.deviceId, unittest.equals('foo')); |
1044 unittest.expect(o.managementType, unittest.equals('foo')); | 1044 unittest.expect(o.managementType, unittest.equals('foo')); |
1045 unittest.expect(o.userId, unittest.equals('foo')); | 1045 unittest.expect(o.userId, unittest.equals('foo')); |
1046 } | 1046 } |
1047 buildCounterNewDeviceEvent--; | 1047 buildCounterNewDeviceEvent--; |
1048 } | 1048 } |
1049 | 1049 |
1050 buildUnnamed2039() { | 1050 buildUnnamed2125() { |
1051 var o = new core.List<core.String>(); | 1051 var o = new core.List<core.String>(); |
1052 o.add("foo"); | 1052 o.add("foo"); |
1053 o.add("foo"); | 1053 o.add("foo"); |
1054 return o; | 1054 return o; |
1055 } | 1055 } |
1056 | 1056 |
1057 checkUnnamed2039(core.List<core.String> o) { | 1057 checkUnnamed2125(core.List<core.String> o) { |
1058 unittest.expect(o, unittest.hasLength(2)); | 1058 unittest.expect(o, unittest.hasLength(2)); |
1059 unittest.expect(o[0], unittest.equals('foo')); | 1059 unittest.expect(o[0], unittest.equals('foo')); |
1060 unittest.expect(o[1], unittest.equals('foo')); | 1060 unittest.expect(o[1], unittest.equals('foo')); |
1061 } | 1061 } |
1062 | 1062 |
1063 buildUnnamed2040() { | 1063 buildUnnamed2126() { |
1064 var o = new core.List<core.String>(); | 1064 var o = new core.List<core.String>(); |
1065 o.add("foo"); | 1065 o.add("foo"); |
1066 o.add("foo"); | 1066 o.add("foo"); |
1067 return o; | 1067 return o; |
1068 } | 1068 } |
1069 | 1069 |
1070 checkUnnamed2040(core.List<core.String> o) { | 1070 checkUnnamed2126(core.List<core.String> o) { |
1071 unittest.expect(o, unittest.hasLength(2)); | 1071 unittest.expect(o, unittest.hasLength(2)); |
1072 unittest.expect(o[0], unittest.equals('foo')); | 1072 unittest.expect(o[0], unittest.equals('foo')); |
1073 unittest.expect(o[1], unittest.equals('foo')); | 1073 unittest.expect(o[1], unittest.equals('foo')); |
1074 } | 1074 } |
1075 | 1075 |
1076 core.int buildCounterNewPermissionsEvent = 0; | 1076 core.int buildCounterNewPermissionsEvent = 0; |
1077 buildNewPermissionsEvent() { | 1077 buildNewPermissionsEvent() { |
1078 var o = new api.NewPermissionsEvent(); | 1078 var o = new api.NewPermissionsEvent(); |
1079 buildCounterNewPermissionsEvent++; | 1079 buildCounterNewPermissionsEvent++; |
1080 if (buildCounterNewPermissionsEvent < 3) { | 1080 if (buildCounterNewPermissionsEvent < 3) { |
1081 o.approvedPermissions = buildUnnamed2039(); | 1081 o.approvedPermissions = buildUnnamed2125(); |
1082 o.productId = "foo"; | 1082 o.productId = "foo"; |
1083 o.requestedPermissions = buildUnnamed2040(); | 1083 o.requestedPermissions = buildUnnamed2126(); |
1084 } | 1084 } |
1085 buildCounterNewPermissionsEvent--; | 1085 buildCounterNewPermissionsEvent--; |
1086 return o; | 1086 return o; |
1087 } | 1087 } |
1088 | 1088 |
1089 checkNewPermissionsEvent(api.NewPermissionsEvent o) { | 1089 checkNewPermissionsEvent(api.NewPermissionsEvent o) { |
1090 buildCounterNewPermissionsEvent++; | 1090 buildCounterNewPermissionsEvent++; |
1091 if (buildCounterNewPermissionsEvent < 3) { | 1091 if (buildCounterNewPermissionsEvent < 3) { |
1092 checkUnnamed2039(o.approvedPermissions); | 1092 checkUnnamed2125(o.approvedPermissions); |
1093 unittest.expect(o.productId, unittest.equals('foo')); | 1093 unittest.expect(o.productId, unittest.equals('foo')); |
1094 checkUnnamed2040(o.requestedPermissions); | 1094 checkUnnamed2126(o.requestedPermissions); |
1095 } | 1095 } |
1096 buildCounterNewPermissionsEvent--; | 1096 buildCounterNewPermissionsEvent--; |
1097 } | 1097 } |
1098 | 1098 |
1099 core.int buildCounterNotification = 0; | 1099 core.int buildCounterNotification = 0; |
1100 buildNotification() { | 1100 buildNotification() { |
1101 var o = new api.Notification(); | 1101 var o = new api.Notification(); |
1102 buildCounterNotification++; | 1102 buildCounterNotification++; |
1103 if (buildCounterNotification < 3) { | 1103 if (buildCounterNotification < 3) { |
1104 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent()
; | 1104 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent()
; |
(...skipping 21 matching lines...) Expand all Loading... |
1126 checkNewDeviceEvent(o.newDeviceEvent); | 1126 checkNewDeviceEvent(o.newDeviceEvent); |
1127 checkNewPermissionsEvent(o.newPermissionsEvent); | 1127 checkNewPermissionsEvent(o.newPermissionsEvent); |
1128 unittest.expect(o.notificationType, unittest.equals('foo')); | 1128 unittest.expect(o.notificationType, unittest.equals('foo')); |
1129 checkProductApprovalEvent(o.productApprovalEvent); | 1129 checkProductApprovalEvent(o.productApprovalEvent); |
1130 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent); | 1130 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent); |
1131 unittest.expect(o.timestampMillis, unittest.equals('foo')); | 1131 unittest.expect(o.timestampMillis, unittest.equals('foo')); |
1132 } | 1132 } |
1133 buildCounterNotification--; | 1133 buildCounterNotification--; |
1134 } | 1134 } |
1135 | 1135 |
1136 buildUnnamed2041() { | 1136 buildUnnamed2127() { |
1137 var o = new core.List<api.Notification>(); | 1137 var o = new core.List<api.Notification>(); |
1138 o.add(buildNotification()); | 1138 o.add(buildNotification()); |
1139 o.add(buildNotification()); | 1139 o.add(buildNotification()); |
1140 return o; | 1140 return o; |
1141 } | 1141 } |
1142 | 1142 |
1143 checkUnnamed2041(core.List<api.Notification> o) { | 1143 checkUnnamed2127(core.List<api.Notification> o) { |
1144 unittest.expect(o, unittest.hasLength(2)); | 1144 unittest.expect(o, unittest.hasLength(2)); |
1145 checkNotification(o[0]); | 1145 checkNotification(o[0]); |
1146 checkNotification(o[1]); | 1146 checkNotification(o[1]); |
1147 } | 1147 } |
1148 | 1148 |
1149 core.int buildCounterNotificationSet = 0; | 1149 core.int buildCounterNotificationSet = 0; |
1150 buildNotificationSet() { | 1150 buildNotificationSet() { |
1151 var o = new api.NotificationSet(); | 1151 var o = new api.NotificationSet(); |
1152 buildCounterNotificationSet++; | 1152 buildCounterNotificationSet++; |
1153 if (buildCounterNotificationSet < 3) { | 1153 if (buildCounterNotificationSet < 3) { |
1154 o.kind = "foo"; | 1154 o.kind = "foo"; |
1155 o.notification = buildUnnamed2041(); | 1155 o.notification = buildUnnamed2127(); |
1156 o.notificationSetId = "foo"; | 1156 o.notificationSetId = "foo"; |
1157 } | 1157 } |
1158 buildCounterNotificationSet--; | 1158 buildCounterNotificationSet--; |
1159 return o; | 1159 return o; |
1160 } | 1160 } |
1161 | 1161 |
1162 checkNotificationSet(api.NotificationSet o) { | 1162 checkNotificationSet(api.NotificationSet o) { |
1163 buildCounterNotificationSet++; | 1163 buildCounterNotificationSet++; |
1164 if (buildCounterNotificationSet < 3) { | 1164 if (buildCounterNotificationSet < 3) { |
1165 unittest.expect(o.kind, unittest.equals('foo')); | 1165 unittest.expect(o.kind, unittest.equals('foo')); |
1166 checkUnnamed2041(o.notification); | 1166 checkUnnamed2127(o.notification); |
1167 unittest.expect(o.notificationSetId, unittest.equals('foo')); | 1167 unittest.expect(o.notificationSetId, unittest.equals('foo')); |
1168 } | 1168 } |
1169 buildCounterNotificationSet--; | 1169 buildCounterNotificationSet--; |
1170 } | 1170 } |
1171 | 1171 |
1172 core.int buildCounterPageInfo = 0; | 1172 core.int buildCounterPageInfo = 0; |
1173 buildPageInfo() { | 1173 buildPageInfo() { |
1174 var o = new api.PageInfo(); | 1174 var o = new api.PageInfo(); |
1175 buildCounterPageInfo++; | 1175 buildCounterPageInfo++; |
1176 if (buildCounterPageInfo < 3) { | 1176 if (buildCounterPageInfo < 3) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 buildCounterPermission++; | 1210 buildCounterPermission++; |
1211 if (buildCounterPermission < 3) { | 1211 if (buildCounterPermission < 3) { |
1212 unittest.expect(o.description, unittest.equals('foo')); | 1212 unittest.expect(o.description, unittest.equals('foo')); |
1213 unittest.expect(o.kind, unittest.equals('foo')); | 1213 unittest.expect(o.kind, unittest.equals('foo')); |
1214 unittest.expect(o.name, unittest.equals('foo')); | 1214 unittest.expect(o.name, unittest.equals('foo')); |
1215 unittest.expect(o.permissionId, unittest.equals('foo')); | 1215 unittest.expect(o.permissionId, unittest.equals('foo')); |
1216 } | 1216 } |
1217 buildCounterPermission--; | 1217 buildCounterPermission--; |
1218 } | 1218 } |
1219 | 1219 |
1220 buildUnnamed2042() { | 1220 buildUnnamed2128() { |
1221 var o = new core.List<api.AppVersion>(); | 1221 var o = new core.List<api.AppVersion>(); |
1222 o.add(buildAppVersion()); | 1222 o.add(buildAppVersion()); |
1223 o.add(buildAppVersion()); | 1223 o.add(buildAppVersion()); |
1224 return o; | 1224 return o; |
1225 } | 1225 } |
1226 | 1226 |
1227 checkUnnamed2042(core.List<api.AppVersion> o) { | 1227 checkUnnamed2128(core.List<api.AppVersion> o) { |
1228 unittest.expect(o, unittest.hasLength(2)); | 1228 unittest.expect(o, unittest.hasLength(2)); |
1229 checkAppVersion(o[0]); | 1229 checkAppVersion(o[0]); |
1230 checkAppVersion(o[1]); | 1230 checkAppVersion(o[1]); |
1231 } | 1231 } |
1232 | 1232 |
1233 core.int buildCounterProduct = 0; | 1233 core.int buildCounterProduct = 0; |
1234 buildProduct() { | 1234 buildProduct() { |
1235 var o = new api.Product(); | 1235 var o = new api.Product(); |
1236 buildCounterProduct++; | 1236 buildCounterProduct++; |
1237 if (buildCounterProduct < 3) { | 1237 if (buildCounterProduct < 3) { |
1238 o.appVersion = buildUnnamed2042(); | 1238 o.appVersion = buildUnnamed2128(); |
1239 o.authorName = "foo"; | 1239 o.authorName = "foo"; |
1240 o.detailsUrl = "foo"; | 1240 o.detailsUrl = "foo"; |
1241 o.distributionChannel = "foo"; | 1241 o.distributionChannel = "foo"; |
1242 o.iconUrl = "foo"; | 1242 o.iconUrl = "foo"; |
1243 o.kind = "foo"; | 1243 o.kind = "foo"; |
1244 o.productId = "foo"; | 1244 o.productId = "foo"; |
1245 o.productPricing = "foo"; | 1245 o.productPricing = "foo"; |
1246 o.requiresContainerApp = true; | 1246 o.requiresContainerApp = true; |
1247 o.smallIconUrl = "foo"; | 1247 o.smallIconUrl = "foo"; |
1248 o.title = "foo"; | 1248 o.title = "foo"; |
1249 o.workDetailsUrl = "foo"; | 1249 o.workDetailsUrl = "foo"; |
1250 } | 1250 } |
1251 buildCounterProduct--; | 1251 buildCounterProduct--; |
1252 return o; | 1252 return o; |
1253 } | 1253 } |
1254 | 1254 |
1255 checkProduct(api.Product o) { | 1255 checkProduct(api.Product o) { |
1256 buildCounterProduct++; | 1256 buildCounterProduct++; |
1257 if (buildCounterProduct < 3) { | 1257 if (buildCounterProduct < 3) { |
1258 checkUnnamed2042(o.appVersion); | 1258 checkUnnamed2128(o.appVersion); |
1259 unittest.expect(o.authorName, unittest.equals('foo')); | 1259 unittest.expect(o.authorName, unittest.equals('foo')); |
1260 unittest.expect(o.detailsUrl, unittest.equals('foo')); | 1260 unittest.expect(o.detailsUrl, unittest.equals('foo')); |
1261 unittest.expect(o.distributionChannel, unittest.equals('foo')); | 1261 unittest.expect(o.distributionChannel, unittest.equals('foo')); |
1262 unittest.expect(o.iconUrl, unittest.equals('foo')); | 1262 unittest.expect(o.iconUrl, unittest.equals('foo')); |
1263 unittest.expect(o.kind, unittest.equals('foo')); | 1263 unittest.expect(o.kind, unittest.equals('foo')); |
1264 unittest.expect(o.productId, unittest.equals('foo')); | 1264 unittest.expect(o.productId, unittest.equals('foo')); |
1265 unittest.expect(o.productPricing, unittest.equals('foo')); | 1265 unittest.expect(o.productPricing, unittest.equals('foo')); |
1266 unittest.expect(o.requiresContainerApp, unittest.isTrue); | 1266 unittest.expect(o.requiresContainerApp, unittest.isTrue); |
1267 unittest.expect(o.smallIconUrl, unittest.equals('foo')); | 1267 unittest.expect(o.smallIconUrl, unittest.equals('foo')); |
1268 unittest.expect(o.title, unittest.equals('foo')); | 1268 unittest.expect(o.title, unittest.equals('foo')); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1327 | 1327 |
1328 checkProductPermission(api.ProductPermission o) { | 1328 checkProductPermission(api.ProductPermission o) { |
1329 buildCounterProductPermission++; | 1329 buildCounterProductPermission++; |
1330 if (buildCounterProductPermission < 3) { | 1330 if (buildCounterProductPermission < 3) { |
1331 unittest.expect(o.permissionId, unittest.equals('foo')); | 1331 unittest.expect(o.permissionId, unittest.equals('foo')); |
1332 unittest.expect(o.state, unittest.equals('foo')); | 1332 unittest.expect(o.state, unittest.equals('foo')); |
1333 } | 1333 } |
1334 buildCounterProductPermission--; | 1334 buildCounterProductPermission--; |
1335 } | 1335 } |
1336 | 1336 |
1337 buildUnnamed2043() { | 1337 buildUnnamed2129() { |
1338 var o = new core.List<api.ProductPermission>(); | 1338 var o = new core.List<api.ProductPermission>(); |
1339 o.add(buildProductPermission()); | 1339 o.add(buildProductPermission()); |
1340 o.add(buildProductPermission()); | 1340 o.add(buildProductPermission()); |
1341 return o; | 1341 return o; |
1342 } | 1342 } |
1343 | 1343 |
1344 checkUnnamed2043(core.List<api.ProductPermission> o) { | 1344 checkUnnamed2129(core.List<api.ProductPermission> o) { |
1345 unittest.expect(o, unittest.hasLength(2)); | 1345 unittest.expect(o, unittest.hasLength(2)); |
1346 checkProductPermission(o[0]); | 1346 checkProductPermission(o[0]); |
1347 checkProductPermission(o[1]); | 1347 checkProductPermission(o[1]); |
1348 } | 1348 } |
1349 | 1349 |
1350 core.int buildCounterProductPermissions = 0; | 1350 core.int buildCounterProductPermissions = 0; |
1351 buildProductPermissions() { | 1351 buildProductPermissions() { |
1352 var o = new api.ProductPermissions(); | 1352 var o = new api.ProductPermissions(); |
1353 buildCounterProductPermissions++; | 1353 buildCounterProductPermissions++; |
1354 if (buildCounterProductPermissions < 3) { | 1354 if (buildCounterProductPermissions < 3) { |
1355 o.kind = "foo"; | 1355 o.kind = "foo"; |
1356 o.permission = buildUnnamed2043(); | 1356 o.permission = buildUnnamed2129(); |
1357 o.productId = "foo"; | 1357 o.productId = "foo"; |
1358 } | 1358 } |
1359 buildCounterProductPermissions--; | 1359 buildCounterProductPermissions--; |
1360 return o; | 1360 return o; |
1361 } | 1361 } |
1362 | 1362 |
1363 checkProductPermissions(api.ProductPermissions o) { | 1363 checkProductPermissions(api.ProductPermissions o) { |
1364 buildCounterProductPermissions++; | 1364 buildCounterProductPermissions++; |
1365 if (buildCounterProductPermissions < 3) { | 1365 if (buildCounterProductPermissions < 3) { |
1366 unittest.expect(o.kind, unittest.equals('foo')); | 1366 unittest.expect(o.kind, unittest.equals('foo')); |
1367 checkUnnamed2043(o.permission); | 1367 checkUnnamed2129(o.permission); |
1368 unittest.expect(o.productId, unittest.equals('foo')); | 1368 unittest.expect(o.productId, unittest.equals('foo')); |
1369 } | 1369 } |
1370 buildCounterProductPermissions--; | 1370 buildCounterProductPermissions--; |
1371 } | 1371 } |
1372 | 1372 |
1373 buildUnnamed2044() { | 1373 buildUnnamed2130() { |
1374 var o = new core.List<core.String>(); | 1374 var o = new core.List<core.String>(); |
1375 o.add("foo"); | 1375 o.add("foo"); |
1376 o.add("foo"); | 1376 o.add("foo"); |
1377 return o; | 1377 return o; |
1378 } | 1378 } |
1379 | 1379 |
1380 checkUnnamed2044(core.List<core.String> o) { | 1380 checkUnnamed2130(core.List<core.String> o) { |
1381 unittest.expect(o, unittest.hasLength(2)); | 1381 unittest.expect(o, unittest.hasLength(2)); |
1382 unittest.expect(o[0], unittest.equals('foo')); | 1382 unittest.expect(o[0], unittest.equals('foo')); |
1383 unittest.expect(o[1], unittest.equals('foo')); | 1383 unittest.expect(o[1], unittest.equals('foo')); |
1384 } | 1384 } |
1385 | 1385 |
1386 core.int buildCounterProductSet = 0; | 1386 core.int buildCounterProductSet = 0; |
1387 buildProductSet() { | 1387 buildProductSet() { |
1388 var o = new api.ProductSet(); | 1388 var o = new api.ProductSet(); |
1389 buildCounterProductSet++; | 1389 buildCounterProductSet++; |
1390 if (buildCounterProductSet < 3) { | 1390 if (buildCounterProductSet < 3) { |
1391 o.kind = "foo"; | 1391 o.kind = "foo"; |
1392 o.productId = buildUnnamed2044(); | 1392 o.productId = buildUnnamed2130(); |
1393 o.productSetBehavior = "foo"; | 1393 o.productSetBehavior = "foo"; |
1394 } | 1394 } |
1395 buildCounterProductSet--; | 1395 buildCounterProductSet--; |
1396 return o; | 1396 return o; |
1397 } | 1397 } |
1398 | 1398 |
1399 checkProductSet(api.ProductSet o) { | 1399 checkProductSet(api.ProductSet o) { |
1400 buildCounterProductSet++; | 1400 buildCounterProductSet++; |
1401 if (buildCounterProductSet < 3) { | 1401 if (buildCounterProductSet < 3) { |
1402 unittest.expect(o.kind, unittest.equals('foo')); | 1402 unittest.expect(o.kind, unittest.equals('foo')); |
1403 checkUnnamed2044(o.productId); | 1403 checkUnnamed2130(o.productId); |
1404 unittest.expect(o.productSetBehavior, unittest.equals('foo')); | 1404 unittest.expect(o.productSetBehavior, unittest.equals('foo')); |
1405 } | 1405 } |
1406 buildCounterProductSet--; | 1406 buildCounterProductSet--; |
1407 } | 1407 } |
1408 | 1408 |
1409 core.int buildCounterProductsApproveRequest = 0; | 1409 core.int buildCounterProductsApproveRequest = 0; |
1410 buildProductsApproveRequest() { | 1410 buildProductsApproveRequest() { |
1411 var o = new api.ProductsApproveRequest(); | 1411 var o = new api.ProductsApproveRequest(); |
1412 buildCounterProductsApproveRequest++; | 1412 buildCounterProductsApproveRequest++; |
1413 if (buildCounterProductsApproveRequest < 3) { | 1413 if (buildCounterProductsApproveRequest < 3) { |
(...skipping 25 matching lines...) Expand all Loading... |
1439 } | 1439 } |
1440 | 1440 |
1441 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse
o) { | 1441 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse
o) { |
1442 buildCounterProductsGenerateApprovalUrlResponse++; | 1442 buildCounterProductsGenerateApprovalUrlResponse++; |
1443 if (buildCounterProductsGenerateApprovalUrlResponse < 3) { | 1443 if (buildCounterProductsGenerateApprovalUrlResponse < 3) { |
1444 unittest.expect(o.url, unittest.equals('foo')); | 1444 unittest.expect(o.url, unittest.equals('foo')); |
1445 } | 1445 } |
1446 buildCounterProductsGenerateApprovalUrlResponse--; | 1446 buildCounterProductsGenerateApprovalUrlResponse--; |
1447 } | 1447 } |
1448 | 1448 |
1449 buildUnnamed2045() { | 1449 buildUnnamed2131() { |
1450 var o = new core.List<api.Product>(); | 1450 var o = new core.List<api.Product>(); |
1451 o.add(buildProduct()); | 1451 o.add(buildProduct()); |
1452 o.add(buildProduct()); | 1452 o.add(buildProduct()); |
1453 return o; | 1453 return o; |
1454 } | 1454 } |
1455 | 1455 |
1456 checkUnnamed2045(core.List<api.Product> o) { | 1456 checkUnnamed2131(core.List<api.Product> o) { |
1457 unittest.expect(o, unittest.hasLength(2)); | 1457 unittest.expect(o, unittest.hasLength(2)); |
1458 checkProduct(o[0]); | 1458 checkProduct(o[0]); |
1459 checkProduct(o[1]); | 1459 checkProduct(o[1]); |
1460 } | 1460 } |
1461 | 1461 |
1462 core.int buildCounterProductsListResponse = 0; | 1462 core.int buildCounterProductsListResponse = 0; |
1463 buildProductsListResponse() { | 1463 buildProductsListResponse() { |
1464 var o = new api.ProductsListResponse(); | 1464 var o = new api.ProductsListResponse(); |
1465 buildCounterProductsListResponse++; | 1465 buildCounterProductsListResponse++; |
1466 if (buildCounterProductsListResponse < 3) { | 1466 if (buildCounterProductsListResponse < 3) { |
1467 o.kind = "foo"; | 1467 o.kind = "foo"; |
1468 o.pageInfo = buildPageInfo(); | 1468 o.pageInfo = buildPageInfo(); |
1469 o.product = buildUnnamed2045(); | 1469 o.product = buildUnnamed2131(); |
1470 o.tokenPagination = buildTokenPagination(); | 1470 o.tokenPagination = buildTokenPagination(); |
1471 } | 1471 } |
1472 buildCounterProductsListResponse--; | 1472 buildCounterProductsListResponse--; |
1473 return o; | 1473 return o; |
1474 } | 1474 } |
1475 | 1475 |
1476 checkProductsListResponse(api.ProductsListResponse o) { | 1476 checkProductsListResponse(api.ProductsListResponse o) { |
1477 buildCounterProductsListResponse++; | 1477 buildCounterProductsListResponse++; |
1478 if (buildCounterProductsListResponse < 3) { | 1478 if (buildCounterProductsListResponse < 3) { |
1479 unittest.expect(o.kind, unittest.equals('foo')); | 1479 unittest.expect(o.kind, unittest.equals('foo')); |
1480 checkPageInfo(o.pageInfo); | 1480 checkPageInfo(o.pageInfo); |
1481 checkUnnamed2045(o.product); | 1481 checkUnnamed2131(o.product); |
1482 checkTokenPagination(o.tokenPagination); | 1482 checkTokenPagination(o.tokenPagination); |
1483 } | 1483 } |
1484 buildCounterProductsListResponse--; | 1484 buildCounterProductsListResponse--; |
1485 } | 1485 } |
1486 | 1486 |
1487 core.int buildCounterServiceAccount = 0; | 1487 core.int buildCounterServiceAccount = 0; |
1488 buildServiceAccount() { | 1488 buildServiceAccount() { |
1489 var o = new api.ServiceAccount(); | 1489 var o = new api.ServiceAccount(); |
1490 buildCounterServiceAccount++; | 1490 buildCounterServiceAccount++; |
1491 if (buildCounterServiceAccount < 3) { | 1491 if (buildCounterServiceAccount < 3) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1527 if (buildCounterServiceAccountKey < 3) { | 1527 if (buildCounterServiceAccountKey < 3) { |
1528 unittest.expect(o.data, unittest.equals('foo')); | 1528 unittest.expect(o.data, unittest.equals('foo')); |
1529 unittest.expect(o.id, unittest.equals('foo')); | 1529 unittest.expect(o.id, unittest.equals('foo')); |
1530 unittest.expect(o.kind, unittest.equals('foo')); | 1530 unittest.expect(o.kind, unittest.equals('foo')); |
1531 unittest.expect(o.publicData, unittest.equals('foo')); | 1531 unittest.expect(o.publicData, unittest.equals('foo')); |
1532 unittest.expect(o.type, unittest.equals('foo')); | 1532 unittest.expect(o.type, unittest.equals('foo')); |
1533 } | 1533 } |
1534 buildCounterServiceAccountKey--; | 1534 buildCounterServiceAccountKey--; |
1535 } | 1535 } |
1536 | 1536 |
1537 buildUnnamed2046() { | 1537 buildUnnamed2132() { |
1538 var o = new core.List<api.ServiceAccountKey>(); | 1538 var o = new core.List<api.ServiceAccountKey>(); |
1539 o.add(buildServiceAccountKey()); | 1539 o.add(buildServiceAccountKey()); |
1540 o.add(buildServiceAccountKey()); | 1540 o.add(buildServiceAccountKey()); |
1541 return o; | 1541 return o; |
1542 } | 1542 } |
1543 | 1543 |
1544 checkUnnamed2046(core.List<api.ServiceAccountKey> o) { | 1544 checkUnnamed2132(core.List<api.ServiceAccountKey> o) { |
1545 unittest.expect(o, unittest.hasLength(2)); | 1545 unittest.expect(o, unittest.hasLength(2)); |
1546 checkServiceAccountKey(o[0]); | 1546 checkServiceAccountKey(o[0]); |
1547 checkServiceAccountKey(o[1]); | 1547 checkServiceAccountKey(o[1]); |
1548 } | 1548 } |
1549 | 1549 |
1550 core.int buildCounterServiceAccountKeysListResponse = 0; | 1550 core.int buildCounterServiceAccountKeysListResponse = 0; |
1551 buildServiceAccountKeysListResponse() { | 1551 buildServiceAccountKeysListResponse() { |
1552 var o = new api.ServiceAccountKeysListResponse(); | 1552 var o = new api.ServiceAccountKeysListResponse(); |
1553 buildCounterServiceAccountKeysListResponse++; | 1553 buildCounterServiceAccountKeysListResponse++; |
1554 if (buildCounterServiceAccountKeysListResponse < 3) { | 1554 if (buildCounterServiceAccountKeysListResponse < 3) { |
1555 o.serviceAccountKey = buildUnnamed2046(); | 1555 o.serviceAccountKey = buildUnnamed2132(); |
1556 } | 1556 } |
1557 buildCounterServiceAccountKeysListResponse--; | 1557 buildCounterServiceAccountKeysListResponse--; |
1558 return o; | 1558 return o; |
1559 } | 1559 } |
1560 | 1560 |
1561 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) { | 1561 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) { |
1562 buildCounterServiceAccountKeysListResponse++; | 1562 buildCounterServiceAccountKeysListResponse++; |
1563 if (buildCounterServiceAccountKeysListResponse < 3) { | 1563 if (buildCounterServiceAccountKeysListResponse < 3) { |
1564 checkUnnamed2046(o.serviceAccountKey); | 1564 checkUnnamed2132(o.serviceAccountKey); |
1565 } | 1565 } |
1566 buildCounterServiceAccountKeysListResponse--; | 1566 buildCounterServiceAccountKeysListResponse--; |
1567 } | 1567 } |
1568 | 1568 |
1569 core.int buildCounterSignupInfo = 0; | 1569 core.int buildCounterSignupInfo = 0; |
1570 buildSignupInfo() { | 1570 buildSignupInfo() { |
1571 var o = new api.SignupInfo(); | 1571 var o = new api.SignupInfo(); |
1572 buildCounterSignupInfo++; | 1572 buildCounterSignupInfo++; |
1573 if (buildCounterSignupInfo < 3) { | 1573 if (buildCounterSignupInfo < 3) { |
1574 o.completionToken = "foo"; | 1574 o.completionToken = "foo"; |
1575 o.kind = "foo"; | 1575 o.kind = "foo"; |
1576 o.url = "foo"; | 1576 o.url = "foo"; |
1577 } | 1577 } |
1578 buildCounterSignupInfo--; | 1578 buildCounterSignupInfo--; |
1579 return o; | 1579 return o; |
1580 } | 1580 } |
1581 | 1581 |
1582 checkSignupInfo(api.SignupInfo o) { | 1582 checkSignupInfo(api.SignupInfo o) { |
1583 buildCounterSignupInfo++; | 1583 buildCounterSignupInfo++; |
1584 if (buildCounterSignupInfo < 3) { | 1584 if (buildCounterSignupInfo < 3) { |
1585 unittest.expect(o.completionToken, unittest.equals('foo')); | 1585 unittest.expect(o.completionToken, unittest.equals('foo')); |
1586 unittest.expect(o.kind, unittest.equals('foo')); | 1586 unittest.expect(o.kind, unittest.equals('foo')); |
1587 unittest.expect(o.url, unittest.equals('foo')); | 1587 unittest.expect(o.url, unittest.equals('foo')); |
1588 } | 1588 } |
1589 buildCounterSignupInfo--; | 1589 buildCounterSignupInfo--; |
1590 } | 1590 } |
1591 | 1591 |
1592 buildUnnamed2047() { | 1592 buildUnnamed2133() { |
1593 var o = new core.List<api.LocalizedText>(); | 1593 var o = new core.List<api.LocalizedText>(); |
1594 o.add(buildLocalizedText()); | 1594 o.add(buildLocalizedText()); |
1595 o.add(buildLocalizedText()); | 1595 o.add(buildLocalizedText()); |
1596 return o; | 1596 return o; |
1597 } | 1597 } |
1598 | 1598 |
1599 checkUnnamed2047(core.List<api.LocalizedText> o) { | 1599 checkUnnamed2133(core.List<api.LocalizedText> o) { |
1600 unittest.expect(o, unittest.hasLength(2)); | 1600 unittest.expect(o, unittest.hasLength(2)); |
1601 checkLocalizedText(o[0]); | 1601 checkLocalizedText(o[0]); |
1602 checkLocalizedText(o[1]); | 1602 checkLocalizedText(o[1]); |
1603 } | 1603 } |
1604 | 1604 |
1605 buildUnnamed2048() { | 1605 buildUnnamed2134() { |
1606 var o = new core.List<core.String>(); | 1606 var o = new core.List<core.String>(); |
1607 o.add("foo"); | 1607 o.add("foo"); |
1608 o.add("foo"); | 1608 o.add("foo"); |
1609 return o; | 1609 return o; |
1610 } | 1610 } |
1611 | 1611 |
1612 checkUnnamed2048(core.List<core.String> o) { | 1612 checkUnnamed2134(core.List<core.String> o) { |
1613 unittest.expect(o, unittest.hasLength(2)); | 1613 unittest.expect(o, unittest.hasLength(2)); |
1614 unittest.expect(o[0], unittest.equals('foo')); | 1614 unittest.expect(o[0], unittest.equals('foo')); |
1615 unittest.expect(o[1], unittest.equals('foo')); | 1615 unittest.expect(o[1], unittest.equals('foo')); |
1616 } | 1616 } |
1617 | 1617 |
1618 core.int buildCounterStoreCluster = 0; | 1618 core.int buildCounterStoreCluster = 0; |
1619 buildStoreCluster() { | 1619 buildStoreCluster() { |
1620 var o = new api.StoreCluster(); | 1620 var o = new api.StoreCluster(); |
1621 buildCounterStoreCluster++; | 1621 buildCounterStoreCluster++; |
1622 if (buildCounterStoreCluster < 3) { | 1622 if (buildCounterStoreCluster < 3) { |
1623 o.id = "foo"; | 1623 o.id = "foo"; |
1624 o.kind = "foo"; | 1624 o.kind = "foo"; |
1625 o.name = buildUnnamed2047(); | 1625 o.name = buildUnnamed2133(); |
1626 o.orderInPage = "foo"; | 1626 o.orderInPage = "foo"; |
1627 o.productId = buildUnnamed2048(); | 1627 o.productId = buildUnnamed2134(); |
1628 } | 1628 } |
1629 buildCounterStoreCluster--; | 1629 buildCounterStoreCluster--; |
1630 return o; | 1630 return o; |
1631 } | 1631 } |
1632 | 1632 |
1633 checkStoreCluster(api.StoreCluster o) { | 1633 checkStoreCluster(api.StoreCluster o) { |
1634 buildCounterStoreCluster++; | 1634 buildCounterStoreCluster++; |
1635 if (buildCounterStoreCluster < 3) { | 1635 if (buildCounterStoreCluster < 3) { |
1636 unittest.expect(o.id, unittest.equals('foo')); | 1636 unittest.expect(o.id, unittest.equals('foo')); |
1637 unittest.expect(o.kind, unittest.equals('foo')); | 1637 unittest.expect(o.kind, unittest.equals('foo')); |
1638 checkUnnamed2047(o.name); | 1638 checkUnnamed2133(o.name); |
1639 unittest.expect(o.orderInPage, unittest.equals('foo')); | 1639 unittest.expect(o.orderInPage, unittest.equals('foo')); |
1640 checkUnnamed2048(o.productId); | 1640 checkUnnamed2134(o.productId); |
1641 } | 1641 } |
1642 buildCounterStoreCluster--; | 1642 buildCounterStoreCluster--; |
1643 } | 1643 } |
1644 | 1644 |
1645 core.int buildCounterStoreLayout = 0; | 1645 core.int buildCounterStoreLayout = 0; |
1646 buildStoreLayout() { | 1646 buildStoreLayout() { |
1647 var o = new api.StoreLayout(); | 1647 var o = new api.StoreLayout(); |
1648 buildCounterStoreLayout++; | 1648 buildCounterStoreLayout++; |
1649 if (buildCounterStoreLayout < 3) { | 1649 if (buildCounterStoreLayout < 3) { |
1650 o.homepageId = "foo"; | 1650 o.homepageId = "foo"; |
1651 o.kind = "foo"; | 1651 o.kind = "foo"; |
1652 o.storeLayoutType = "foo"; | 1652 o.storeLayoutType = "foo"; |
1653 } | 1653 } |
1654 buildCounterStoreLayout--; | 1654 buildCounterStoreLayout--; |
1655 return o; | 1655 return o; |
1656 } | 1656 } |
1657 | 1657 |
1658 checkStoreLayout(api.StoreLayout o) { | 1658 checkStoreLayout(api.StoreLayout o) { |
1659 buildCounterStoreLayout++; | 1659 buildCounterStoreLayout++; |
1660 if (buildCounterStoreLayout < 3) { | 1660 if (buildCounterStoreLayout < 3) { |
1661 unittest.expect(o.homepageId, unittest.equals('foo')); | 1661 unittest.expect(o.homepageId, unittest.equals('foo')); |
1662 unittest.expect(o.kind, unittest.equals('foo')); | 1662 unittest.expect(o.kind, unittest.equals('foo')); |
1663 unittest.expect(o.storeLayoutType, unittest.equals('foo')); | 1663 unittest.expect(o.storeLayoutType, unittest.equals('foo')); |
1664 } | 1664 } |
1665 buildCounterStoreLayout--; | 1665 buildCounterStoreLayout--; |
1666 } | 1666 } |
1667 | 1667 |
1668 buildUnnamed2049() { | 1668 buildUnnamed2135() { |
1669 var o = new core.List<api.StoreCluster>(); | 1669 var o = new core.List<api.StoreCluster>(); |
1670 o.add(buildStoreCluster()); | 1670 o.add(buildStoreCluster()); |
1671 o.add(buildStoreCluster()); | 1671 o.add(buildStoreCluster()); |
1672 return o; | 1672 return o; |
1673 } | 1673 } |
1674 | 1674 |
1675 checkUnnamed2049(core.List<api.StoreCluster> o) { | 1675 checkUnnamed2135(core.List<api.StoreCluster> o) { |
1676 unittest.expect(o, unittest.hasLength(2)); | 1676 unittest.expect(o, unittest.hasLength(2)); |
1677 checkStoreCluster(o[0]); | 1677 checkStoreCluster(o[0]); |
1678 checkStoreCluster(o[1]); | 1678 checkStoreCluster(o[1]); |
1679 } | 1679 } |
1680 | 1680 |
1681 core.int buildCounterStoreLayoutClustersListResponse = 0; | 1681 core.int buildCounterStoreLayoutClustersListResponse = 0; |
1682 buildStoreLayoutClustersListResponse() { | 1682 buildStoreLayoutClustersListResponse() { |
1683 var o = new api.StoreLayoutClustersListResponse(); | 1683 var o = new api.StoreLayoutClustersListResponse(); |
1684 buildCounterStoreLayoutClustersListResponse++; | 1684 buildCounterStoreLayoutClustersListResponse++; |
1685 if (buildCounterStoreLayoutClustersListResponse < 3) { | 1685 if (buildCounterStoreLayoutClustersListResponse < 3) { |
1686 o.cluster = buildUnnamed2049(); | 1686 o.cluster = buildUnnamed2135(); |
1687 o.kind = "foo"; | 1687 o.kind = "foo"; |
1688 } | 1688 } |
1689 buildCounterStoreLayoutClustersListResponse--; | 1689 buildCounterStoreLayoutClustersListResponse--; |
1690 return o; | 1690 return o; |
1691 } | 1691 } |
1692 | 1692 |
1693 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) { | 1693 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) { |
1694 buildCounterStoreLayoutClustersListResponse++; | 1694 buildCounterStoreLayoutClustersListResponse++; |
1695 if (buildCounterStoreLayoutClustersListResponse < 3) { | 1695 if (buildCounterStoreLayoutClustersListResponse < 3) { |
1696 checkUnnamed2049(o.cluster); | 1696 checkUnnamed2135(o.cluster); |
1697 unittest.expect(o.kind, unittest.equals('foo')); | 1697 unittest.expect(o.kind, unittest.equals('foo')); |
1698 } | 1698 } |
1699 buildCounterStoreLayoutClustersListResponse--; | 1699 buildCounterStoreLayoutClustersListResponse--; |
1700 } | 1700 } |
1701 | 1701 |
1702 buildUnnamed2050() { | 1702 buildUnnamed2136() { |
1703 var o = new core.List<api.StorePage>(); | 1703 var o = new core.List<api.StorePage>(); |
1704 o.add(buildStorePage()); | 1704 o.add(buildStorePage()); |
1705 o.add(buildStorePage()); | 1705 o.add(buildStorePage()); |
1706 return o; | 1706 return o; |
1707 } | 1707 } |
1708 | 1708 |
1709 checkUnnamed2050(core.List<api.StorePage> o) { | 1709 checkUnnamed2136(core.List<api.StorePage> o) { |
1710 unittest.expect(o, unittest.hasLength(2)); | 1710 unittest.expect(o, unittest.hasLength(2)); |
1711 checkStorePage(o[0]); | 1711 checkStorePage(o[0]); |
1712 checkStorePage(o[1]); | 1712 checkStorePage(o[1]); |
1713 } | 1713 } |
1714 | 1714 |
1715 core.int buildCounterStoreLayoutPagesListResponse = 0; | 1715 core.int buildCounterStoreLayoutPagesListResponse = 0; |
1716 buildStoreLayoutPagesListResponse() { | 1716 buildStoreLayoutPagesListResponse() { |
1717 var o = new api.StoreLayoutPagesListResponse(); | 1717 var o = new api.StoreLayoutPagesListResponse(); |
1718 buildCounterStoreLayoutPagesListResponse++; | 1718 buildCounterStoreLayoutPagesListResponse++; |
1719 if (buildCounterStoreLayoutPagesListResponse < 3) { | 1719 if (buildCounterStoreLayoutPagesListResponse < 3) { |
1720 o.kind = "foo"; | 1720 o.kind = "foo"; |
1721 o.page = buildUnnamed2050(); | 1721 o.page = buildUnnamed2136(); |
1722 } | 1722 } |
1723 buildCounterStoreLayoutPagesListResponse--; | 1723 buildCounterStoreLayoutPagesListResponse--; |
1724 return o; | 1724 return o; |
1725 } | 1725 } |
1726 | 1726 |
1727 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { | 1727 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { |
1728 buildCounterStoreLayoutPagesListResponse++; | 1728 buildCounterStoreLayoutPagesListResponse++; |
1729 if (buildCounterStoreLayoutPagesListResponse < 3) { | 1729 if (buildCounterStoreLayoutPagesListResponse < 3) { |
1730 unittest.expect(o.kind, unittest.equals('foo')); | 1730 unittest.expect(o.kind, unittest.equals('foo')); |
1731 checkUnnamed2050(o.page); | 1731 checkUnnamed2136(o.page); |
1732 } | 1732 } |
1733 buildCounterStoreLayoutPagesListResponse--; | 1733 buildCounterStoreLayoutPagesListResponse--; |
1734 } | 1734 } |
1735 | 1735 |
1736 buildUnnamed2051() { | 1736 buildUnnamed2137() { |
1737 var o = new core.List<core.String>(); | 1737 var o = new core.List<core.String>(); |
1738 o.add("foo"); | 1738 o.add("foo"); |
1739 o.add("foo"); | 1739 o.add("foo"); |
1740 return o; | 1740 return o; |
1741 } | 1741 } |
1742 | 1742 |
1743 checkUnnamed2051(core.List<core.String> o) { | 1743 checkUnnamed2137(core.List<core.String> o) { |
1744 unittest.expect(o, unittest.hasLength(2)); | 1744 unittest.expect(o, unittest.hasLength(2)); |
1745 unittest.expect(o[0], unittest.equals('foo')); | 1745 unittest.expect(o[0], unittest.equals('foo')); |
1746 unittest.expect(o[1], unittest.equals('foo')); | 1746 unittest.expect(o[1], unittest.equals('foo')); |
1747 } | 1747 } |
1748 | 1748 |
1749 buildUnnamed2052() { | 1749 buildUnnamed2138() { |
1750 var o = new core.List<api.LocalizedText>(); | 1750 var o = new core.List<api.LocalizedText>(); |
1751 o.add(buildLocalizedText()); | 1751 o.add(buildLocalizedText()); |
1752 o.add(buildLocalizedText()); | 1752 o.add(buildLocalizedText()); |
1753 return o; | 1753 return o; |
1754 } | 1754 } |
1755 | 1755 |
1756 checkUnnamed2052(core.List<api.LocalizedText> o) { | 1756 checkUnnamed2138(core.List<api.LocalizedText> o) { |
1757 unittest.expect(o, unittest.hasLength(2)); | 1757 unittest.expect(o, unittest.hasLength(2)); |
1758 checkLocalizedText(o[0]); | 1758 checkLocalizedText(o[0]); |
1759 checkLocalizedText(o[1]); | 1759 checkLocalizedText(o[1]); |
1760 } | 1760 } |
1761 | 1761 |
1762 core.int buildCounterStorePage = 0; | 1762 core.int buildCounterStorePage = 0; |
1763 buildStorePage() { | 1763 buildStorePage() { |
1764 var o = new api.StorePage(); | 1764 var o = new api.StorePage(); |
1765 buildCounterStorePage++; | 1765 buildCounterStorePage++; |
1766 if (buildCounterStorePage < 3) { | 1766 if (buildCounterStorePage < 3) { |
1767 o.id = "foo"; | 1767 o.id = "foo"; |
1768 o.kind = "foo"; | 1768 o.kind = "foo"; |
1769 o.link = buildUnnamed2051(); | 1769 o.link = buildUnnamed2137(); |
1770 o.name = buildUnnamed2052(); | 1770 o.name = buildUnnamed2138(); |
1771 } | 1771 } |
1772 buildCounterStorePage--; | 1772 buildCounterStorePage--; |
1773 return o; | 1773 return o; |
1774 } | 1774 } |
1775 | 1775 |
1776 checkStorePage(api.StorePage o) { | 1776 checkStorePage(api.StorePage o) { |
1777 buildCounterStorePage++; | 1777 buildCounterStorePage++; |
1778 if (buildCounterStorePage < 3) { | 1778 if (buildCounterStorePage < 3) { |
1779 unittest.expect(o.id, unittest.equals('foo')); | 1779 unittest.expect(o.id, unittest.equals('foo')); |
1780 unittest.expect(o.kind, unittest.equals('foo')); | 1780 unittest.expect(o.kind, unittest.equals('foo')); |
1781 checkUnnamed2051(o.link); | 1781 checkUnnamed2137(o.link); |
1782 checkUnnamed2052(o.name); | 1782 checkUnnamed2138(o.name); |
1783 } | 1783 } |
1784 buildCounterStorePage--; | 1784 buildCounterStorePage--; |
1785 } | 1785 } |
1786 | 1786 |
1787 core.int buildCounterTokenPagination = 0; | 1787 core.int buildCounterTokenPagination = 0; |
1788 buildTokenPagination() { | 1788 buildTokenPagination() { |
1789 var o = new api.TokenPagination(); | 1789 var o = new api.TokenPagination(); |
1790 buildCounterTokenPagination++; | 1790 buildCounterTokenPagination++; |
1791 if (buildCounterTokenPagination < 3) { | 1791 if (buildCounterTokenPagination < 3) { |
1792 o.nextPageToken = "foo"; | 1792 o.nextPageToken = "foo"; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1852 checkUserToken(api.UserToken o) { | 1852 checkUserToken(api.UserToken o) { |
1853 buildCounterUserToken++; | 1853 buildCounterUserToken++; |
1854 if (buildCounterUserToken < 3) { | 1854 if (buildCounterUserToken < 3) { |
1855 unittest.expect(o.kind, unittest.equals('foo')); | 1855 unittest.expect(o.kind, unittest.equals('foo')); |
1856 unittest.expect(o.token, unittest.equals('foo')); | 1856 unittest.expect(o.token, unittest.equals('foo')); |
1857 unittest.expect(o.userId, unittest.equals('foo')); | 1857 unittest.expect(o.userId, unittest.equals('foo')); |
1858 } | 1858 } |
1859 buildCounterUserToken--; | 1859 buildCounterUserToken--; |
1860 } | 1860 } |
1861 | 1861 |
1862 buildUnnamed2053() { | 1862 buildUnnamed2139() { |
1863 var o = new core.List<api.User>(); | 1863 var o = new core.List<api.User>(); |
1864 o.add(buildUser()); | 1864 o.add(buildUser()); |
1865 o.add(buildUser()); | 1865 o.add(buildUser()); |
1866 return o; | 1866 return o; |
1867 } | 1867 } |
1868 | 1868 |
1869 checkUnnamed2053(core.List<api.User> o) { | 1869 checkUnnamed2139(core.List<api.User> o) { |
1870 unittest.expect(o, unittest.hasLength(2)); | 1870 unittest.expect(o, unittest.hasLength(2)); |
1871 checkUser(o[0]); | 1871 checkUser(o[0]); |
1872 checkUser(o[1]); | 1872 checkUser(o[1]); |
1873 } | 1873 } |
1874 | 1874 |
1875 core.int buildCounterUsersListResponse = 0; | 1875 core.int buildCounterUsersListResponse = 0; |
1876 buildUsersListResponse() { | 1876 buildUsersListResponse() { |
1877 var o = new api.UsersListResponse(); | 1877 var o = new api.UsersListResponse(); |
1878 buildCounterUsersListResponse++; | 1878 buildCounterUsersListResponse++; |
1879 if (buildCounterUsersListResponse < 3) { | 1879 if (buildCounterUsersListResponse < 3) { |
1880 o.kind = "foo"; | 1880 o.kind = "foo"; |
1881 o.user = buildUnnamed2053(); | 1881 o.user = buildUnnamed2139(); |
1882 } | 1882 } |
1883 buildCounterUsersListResponse--; | 1883 buildCounterUsersListResponse--; |
1884 return o; | 1884 return o; |
1885 } | 1885 } |
1886 | 1886 |
1887 checkUsersListResponse(api.UsersListResponse o) { | 1887 checkUsersListResponse(api.UsersListResponse o) { |
1888 buildCounterUsersListResponse++; | 1888 buildCounterUsersListResponse++; |
1889 if (buildCounterUsersListResponse < 3) { | 1889 if (buildCounterUsersListResponse < 3) { |
1890 unittest.expect(o.kind, unittest.equals('foo')); | 1890 unittest.expect(o.kind, unittest.equals('foo')); |
1891 checkUnnamed2053(o.user); | 1891 checkUnnamed2139(o.user); |
1892 } | 1892 } |
1893 buildCounterUsersListResponse--; | 1893 buildCounterUsersListResponse--; |
1894 } | 1894 } |
1895 | 1895 |
1896 | 1896 |
1897 main() { | 1897 main() { |
1898 unittest.group("obj-schema-Administrator", () { | 1898 unittest.group("obj-schema-Administrator", () { |
1899 unittest.test("to-json--from-json", () { | 1899 unittest.test("to-json--from-json", () { |
1900 var o = buildAdministrator(); | 1900 var o = buildAdministrator(); |
1901 var od = new api.Administrator.fromJson(o.toJson()); | 1901 var od = new api.Administrator.fromJson(o.toJson()); |
(...skipping 5267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7169 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect
Async1(((api.User response) { | 7169 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect
Async1(((api.User response) { |
7170 checkUser(response); | 7170 checkUser(response); |
7171 }))); | 7171 }))); |
7172 }); | 7172 }); |
7173 | 7173 |
7174 }); | 7174 }); |
7175 | 7175 |
7176 | 7176 |
7177 } | 7177 } |
7178 | 7178 |
OLD | NEW |