Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: generated/googleapis/test/androidenterprise/v1_test.dart

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 checkAdministrator(api.Administrator o) { 65 checkAdministrator(api.Administrator o) {
66 buildCounterAdministrator++; 66 buildCounterAdministrator++;
67 if (buildCounterAdministrator < 3) { 67 if (buildCounterAdministrator < 3) {
68 unittest.expect(o.email, unittest.equals('foo')); 68 unittest.expect(o.email, unittest.equals('foo'));
69 } 69 }
70 buildCounterAdministrator--; 70 buildCounterAdministrator--;
71 } 71 }
72 72
73 buildUnnamed396() { 73 buildUnnamed2372() {
74 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); 74 var o = new core.List<api.AppRestrictionsSchemaRestriction>();
75 o.add(buildAppRestrictionsSchemaRestriction()); 75 o.add(buildAppRestrictionsSchemaRestriction());
76 o.add(buildAppRestrictionsSchemaRestriction()); 76 o.add(buildAppRestrictionsSchemaRestriction());
77 return o; 77 return o;
78 } 78 }
79 79
80 checkUnnamed396(core.List<api.AppRestrictionsSchemaRestriction> o) { 80 checkUnnamed2372(core.List<api.AppRestrictionsSchemaRestriction> o) {
81 unittest.expect(o, unittest.hasLength(2)); 81 unittest.expect(o, unittest.hasLength(2));
82 checkAppRestrictionsSchemaRestriction(o[0]); 82 checkAppRestrictionsSchemaRestriction(o[0]);
83 checkAppRestrictionsSchemaRestriction(o[1]); 83 checkAppRestrictionsSchemaRestriction(o[1]);
84 } 84 }
85 85
86 core.int buildCounterAppRestrictionsSchema = 0; 86 core.int buildCounterAppRestrictionsSchema = 0;
87 buildAppRestrictionsSchema() { 87 buildAppRestrictionsSchema() {
88 var o = new api.AppRestrictionsSchema(); 88 var o = new api.AppRestrictionsSchema();
89 buildCounterAppRestrictionsSchema++; 89 buildCounterAppRestrictionsSchema++;
90 if (buildCounterAppRestrictionsSchema < 3) { 90 if (buildCounterAppRestrictionsSchema < 3) {
91 o.kind = "foo"; 91 o.kind = "foo";
92 o.restrictions = buildUnnamed396(); 92 o.restrictions = buildUnnamed2372();
93 } 93 }
94 buildCounterAppRestrictionsSchema--; 94 buildCounterAppRestrictionsSchema--;
95 return o; 95 return o;
96 } 96 }
97 97
98 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { 98 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) {
99 buildCounterAppRestrictionsSchema++; 99 buildCounterAppRestrictionsSchema++;
100 if (buildCounterAppRestrictionsSchema < 3) { 100 if (buildCounterAppRestrictionsSchema < 3) {
101 unittest.expect(o.kind, unittest.equals('foo')); 101 unittest.expect(o.kind, unittest.equals('foo'));
102 checkUnnamed396(o.restrictions); 102 checkUnnamed2372(o.restrictions);
103 } 103 }
104 buildCounterAppRestrictionsSchema--; 104 buildCounterAppRestrictionsSchema--;
105 } 105 }
106 106
107 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0; 107 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0;
108 buildAppRestrictionsSchemaChangeEvent() { 108 buildAppRestrictionsSchemaChangeEvent() {
109 var o = new api.AppRestrictionsSchemaChangeEvent(); 109 var o = new api.AppRestrictionsSchemaChangeEvent();
110 buildCounterAppRestrictionsSchemaChangeEvent++; 110 buildCounterAppRestrictionsSchemaChangeEvent++;
111 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { 111 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) {
112 o.productId = "foo"; 112 o.productId = "foo";
113 } 113 }
114 buildCounterAppRestrictionsSchemaChangeEvent--; 114 buildCounterAppRestrictionsSchemaChangeEvent--;
115 return o; 115 return o;
116 } 116 }
117 117
118 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) { 118 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) {
119 buildCounterAppRestrictionsSchemaChangeEvent++; 119 buildCounterAppRestrictionsSchemaChangeEvent++;
120 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { 120 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) {
121 unittest.expect(o.productId, unittest.equals('foo')); 121 unittest.expect(o.productId, unittest.equals('foo'));
122 } 122 }
123 buildCounterAppRestrictionsSchemaChangeEvent--; 123 buildCounterAppRestrictionsSchemaChangeEvent--;
124 } 124 }
125 125
126 buildUnnamed397() { 126 buildUnnamed2373() {
127 var o = new core.List<core.String>(); 127 var o = new core.List<core.String>();
128 o.add("foo"); 128 o.add("foo");
129 o.add("foo"); 129 o.add("foo");
130 return o; 130 return o;
131 } 131 }
132 132
133 checkUnnamed397(core.List<core.String> o) { 133 checkUnnamed2373(core.List<core.String> o) {
134 unittest.expect(o, unittest.hasLength(2)); 134 unittest.expect(o, unittest.hasLength(2));
135 unittest.expect(o[0], unittest.equals('foo')); 135 unittest.expect(o[0], unittest.equals('foo'));
136 unittest.expect(o[1], unittest.equals('foo')); 136 unittest.expect(o[1], unittest.equals('foo'));
137 } 137 }
138 138
139 buildUnnamed398() { 139 buildUnnamed2374() {
140 var o = new core.List<core.String>(); 140 var o = new core.List<core.String>();
141 o.add("foo"); 141 o.add("foo");
142 o.add("foo"); 142 o.add("foo");
143 return o; 143 return o;
144 } 144 }
145 145
146 checkUnnamed398(core.List<core.String> o) { 146 checkUnnamed2374(core.List<core.String> o) {
147 unittest.expect(o, unittest.hasLength(2)); 147 unittest.expect(o, unittest.hasLength(2));
148 unittest.expect(o[0], unittest.equals('foo')); 148 unittest.expect(o[0], unittest.equals('foo'));
149 unittest.expect(o[1], unittest.equals('foo')); 149 unittest.expect(o[1], unittest.equals('foo'));
150 } 150 }
151 151
152 buildUnnamed399() { 152 buildUnnamed2375() {
153 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); 153 var o = new core.List<api.AppRestrictionsSchemaRestriction>();
154 o.add(buildAppRestrictionsSchemaRestriction()); 154 o.add(buildAppRestrictionsSchemaRestriction());
155 o.add(buildAppRestrictionsSchemaRestriction()); 155 o.add(buildAppRestrictionsSchemaRestriction());
156 return o; 156 return o;
157 } 157 }
158 158
159 checkUnnamed399(core.List<api.AppRestrictionsSchemaRestriction> o) { 159 checkUnnamed2375(core.List<api.AppRestrictionsSchemaRestriction> o) {
160 unittest.expect(o, unittest.hasLength(2)); 160 unittest.expect(o, unittest.hasLength(2));
161 checkAppRestrictionsSchemaRestriction(o[0]); 161 checkAppRestrictionsSchemaRestriction(o[0]);
162 checkAppRestrictionsSchemaRestriction(o[1]); 162 checkAppRestrictionsSchemaRestriction(o[1]);
163 } 163 }
164 164
165 core.int buildCounterAppRestrictionsSchemaRestriction = 0; 165 core.int buildCounterAppRestrictionsSchemaRestriction = 0;
166 buildAppRestrictionsSchemaRestriction() { 166 buildAppRestrictionsSchemaRestriction() {
167 var o = new api.AppRestrictionsSchemaRestriction(); 167 var o = new api.AppRestrictionsSchemaRestriction();
168 buildCounterAppRestrictionsSchemaRestriction++; 168 buildCounterAppRestrictionsSchemaRestriction++;
169 if (buildCounterAppRestrictionsSchemaRestriction < 3) { 169 if (buildCounterAppRestrictionsSchemaRestriction < 3) {
170 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); 170 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
171 o.description = "foo"; 171 o.description = "foo";
172 o.entry = buildUnnamed397(); 172 o.entry = buildUnnamed2373();
173 o.entryValue = buildUnnamed398(); 173 o.entryValue = buildUnnamed2374();
174 o.key = "foo"; 174 o.key = "foo";
175 o.nestedRestriction = buildUnnamed399(); 175 o.nestedRestriction = buildUnnamed2375();
176 o.restrictionType = "foo"; 176 o.restrictionType = "foo";
177 o.title = "foo"; 177 o.title = "foo";
178 } 178 }
179 buildCounterAppRestrictionsSchemaRestriction--; 179 buildCounterAppRestrictionsSchemaRestriction--;
180 return o; 180 return o;
181 } 181 }
182 182
183 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) { 183 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) {
184 buildCounterAppRestrictionsSchemaRestriction++; 184 buildCounterAppRestrictionsSchemaRestriction++;
185 if (buildCounterAppRestrictionsSchemaRestriction < 3) { 185 if (buildCounterAppRestrictionsSchemaRestriction < 3) {
186 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue); 186 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
187 unittest.expect(o.description, unittest.equals('foo')); 187 unittest.expect(o.description, unittest.equals('foo'));
188 checkUnnamed397(o.entry); 188 checkUnnamed2373(o.entry);
189 checkUnnamed398(o.entryValue); 189 checkUnnamed2374(o.entryValue);
190 unittest.expect(o.key, unittest.equals('foo')); 190 unittest.expect(o.key, unittest.equals('foo'));
191 checkUnnamed399(o.nestedRestriction); 191 checkUnnamed2375(o.nestedRestriction);
192 unittest.expect(o.restrictionType, unittest.equals('foo')); 192 unittest.expect(o.restrictionType, unittest.equals('foo'));
193 unittest.expect(o.title, unittest.equals('foo')); 193 unittest.expect(o.title, unittest.equals('foo'));
194 } 194 }
195 buildCounterAppRestrictionsSchemaRestriction--; 195 buildCounterAppRestrictionsSchemaRestriction--;
196 } 196 }
197 197
198 buildUnnamed400() { 198 buildUnnamed2376() {
199 var o = new core.List<core.String>(); 199 var o = new core.List<core.String>();
200 o.add("foo"); 200 o.add("foo");
201 o.add("foo"); 201 o.add("foo");
202 return o; 202 return o;
203 } 203 }
204 204
205 checkUnnamed400(core.List<core.String> o) { 205 checkUnnamed2376(core.List<core.String> o) {
206 unittest.expect(o, unittest.hasLength(2)); 206 unittest.expect(o, unittest.hasLength(2));
207 unittest.expect(o[0], unittest.equals('foo')); 207 unittest.expect(o[0], unittest.equals('foo'));
208 unittest.expect(o[1], unittest.equals('foo')); 208 unittest.expect(o[1], unittest.equals('foo'));
209 } 209 }
210 210
211 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0; 211 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0;
212 buildAppRestrictionsSchemaRestrictionRestrictionValue() { 212 buildAppRestrictionsSchemaRestrictionRestrictionValue() {
213 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue(); 213 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue();
214 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; 214 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++;
215 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { 215 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) {
216 o.type = "foo"; 216 o.type = "foo";
217 o.valueBool = true; 217 o.valueBool = true;
218 o.valueInteger = 42; 218 o.valueInteger = 42;
219 o.valueMultiselect = buildUnnamed400(); 219 o.valueMultiselect = buildUnnamed2376();
220 o.valueString = "foo"; 220 o.valueString = "foo";
221 } 221 }
222 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; 222 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
223 return o; 223 return o;
224 } 224 }
225 225
226 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR estrictionRestrictionValue o) { 226 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR estrictionRestrictionValue o) {
227 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; 227 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++;
228 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { 228 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) {
229 unittest.expect(o.type, unittest.equals('foo')); 229 unittest.expect(o.type, unittest.equals('foo'));
230 unittest.expect(o.valueBool, unittest.isTrue); 230 unittest.expect(o.valueBool, unittest.isTrue);
231 unittest.expect(o.valueInteger, unittest.equals(42)); 231 unittest.expect(o.valueInteger, unittest.equals(42));
232 checkUnnamed400(o.valueMultiselect); 232 checkUnnamed2376(o.valueMultiselect);
233 unittest.expect(o.valueString, unittest.equals('foo')); 233 unittest.expect(o.valueString, unittest.equals('foo'));
234 } 234 }
235 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; 235 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
236 } 236 }
237 237
238 core.int buildCounterAppUpdateEvent = 0; 238 core.int buildCounterAppUpdateEvent = 0;
239 buildAppUpdateEvent() { 239 buildAppUpdateEvent() {
240 var o = new api.AppUpdateEvent(); 240 var o = new api.AppUpdateEvent();
241 buildCounterAppUpdateEvent++; 241 buildCounterAppUpdateEvent++;
242 if (buildCounterAppUpdateEvent < 3) { 242 if (buildCounterAppUpdateEvent < 3) {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 checkAuthenticationToken(api.AuthenticationToken o) { 311 checkAuthenticationToken(api.AuthenticationToken o) {
312 buildCounterAuthenticationToken++; 312 buildCounterAuthenticationToken++;
313 if (buildCounterAuthenticationToken < 3) { 313 if (buildCounterAuthenticationToken < 3) {
314 unittest.expect(o.kind, unittest.equals('foo')); 314 unittest.expect(o.kind, unittest.equals('foo'));
315 unittest.expect(o.token, unittest.equals('foo')); 315 unittest.expect(o.token, unittest.equals('foo'));
316 } 316 }
317 buildCounterAuthenticationToken--; 317 buildCounterAuthenticationToken--;
318 } 318 }
319 319
320 buildUnnamed401() { 320 buildUnnamed2377() {
321 var o = new core.List<core.String>(); 321 var o = new core.List<core.String>();
322 o.add("foo"); 322 o.add("foo");
323 o.add("foo"); 323 o.add("foo");
324 return o; 324 return o;
325 } 325 }
326 326
327 checkUnnamed401(core.List<core.String> o) { 327 checkUnnamed2377(core.List<core.String> o) {
328 unittest.expect(o, unittest.hasLength(2)); 328 unittest.expect(o, unittest.hasLength(2));
329 unittest.expect(o[0], unittest.equals('foo')); 329 unittest.expect(o[0], unittest.equals('foo'));
330 unittest.expect(o[1], unittest.equals('foo')); 330 unittest.expect(o[1], unittest.equals('foo'));
331 } 331 }
332 332
333 core.int buildCounterCollection = 0; 333 core.int buildCounterCollection = 0;
334 buildCollection() { 334 buildCollection() {
335 var o = new api.Collection(); 335 var o = new api.Collection();
336 buildCounterCollection++; 336 buildCounterCollection++;
337 if (buildCounterCollection < 3) { 337 if (buildCounterCollection < 3) {
338 o.collectionId = "foo"; 338 o.collectionId = "foo";
339 o.kind = "foo"; 339 o.kind = "foo";
340 o.name = "foo"; 340 o.name = "foo";
341 o.productId = buildUnnamed401(); 341 o.productId = buildUnnamed2377();
342 o.visibility = "foo"; 342 o.visibility = "foo";
343 } 343 }
344 buildCounterCollection--; 344 buildCounterCollection--;
345 return o; 345 return o;
346 } 346 }
347 347
348 checkCollection(api.Collection o) { 348 checkCollection(api.Collection o) {
349 buildCounterCollection++; 349 buildCounterCollection++;
350 if (buildCounterCollection < 3) { 350 if (buildCounterCollection < 3) {
351 unittest.expect(o.collectionId, unittest.equals('foo')); 351 unittest.expect(o.collectionId, unittest.equals('foo'));
352 unittest.expect(o.kind, unittest.equals('foo')); 352 unittest.expect(o.kind, unittest.equals('foo'));
353 unittest.expect(o.name, unittest.equals('foo')); 353 unittest.expect(o.name, unittest.equals('foo'));
354 checkUnnamed401(o.productId); 354 checkUnnamed2377(o.productId);
355 unittest.expect(o.visibility, unittest.equals('foo')); 355 unittest.expect(o.visibility, unittest.equals('foo'));
356 } 356 }
357 buildCounterCollection--; 357 buildCounterCollection--;
358 } 358 }
359 359
360 buildUnnamed402() { 360 buildUnnamed2378() {
361 var o = new core.List<api.User>(); 361 var o = new core.List<api.User>();
362 o.add(buildUser()); 362 o.add(buildUser());
363 o.add(buildUser()); 363 o.add(buildUser());
364 return o; 364 return o;
365 } 365 }
366 366
367 checkUnnamed402(core.List<api.User> o) { 367 checkUnnamed2378(core.List<api.User> o) {
368 unittest.expect(o, unittest.hasLength(2)); 368 unittest.expect(o, unittest.hasLength(2));
369 checkUser(o[0]); 369 checkUser(o[0]);
370 checkUser(o[1]); 370 checkUser(o[1]);
371 } 371 }
372 372
373 core.int buildCounterCollectionViewersListResponse = 0; 373 core.int buildCounterCollectionViewersListResponse = 0;
374 buildCollectionViewersListResponse() { 374 buildCollectionViewersListResponse() {
375 var o = new api.CollectionViewersListResponse(); 375 var o = new api.CollectionViewersListResponse();
376 buildCounterCollectionViewersListResponse++; 376 buildCounterCollectionViewersListResponse++;
377 if (buildCounterCollectionViewersListResponse < 3) { 377 if (buildCounterCollectionViewersListResponse < 3) {
378 o.kind = "foo"; 378 o.kind = "foo";
379 o.user = buildUnnamed402(); 379 o.user = buildUnnamed2378();
380 } 380 }
381 buildCounterCollectionViewersListResponse--; 381 buildCounterCollectionViewersListResponse--;
382 return o; 382 return o;
383 } 383 }
384 384
385 checkCollectionViewersListResponse(api.CollectionViewersListResponse o) { 385 checkCollectionViewersListResponse(api.CollectionViewersListResponse o) {
386 buildCounterCollectionViewersListResponse++; 386 buildCounterCollectionViewersListResponse++;
387 if (buildCounterCollectionViewersListResponse < 3) { 387 if (buildCounterCollectionViewersListResponse < 3) {
388 unittest.expect(o.kind, unittest.equals('foo')); 388 unittest.expect(o.kind, unittest.equals('foo'));
389 checkUnnamed402(o.user); 389 checkUnnamed2378(o.user);
390 } 390 }
391 buildCounterCollectionViewersListResponse--; 391 buildCounterCollectionViewersListResponse--;
392 } 392 }
393 393
394 buildUnnamed403() { 394 buildUnnamed2379() {
395 var o = new core.List<api.Collection>(); 395 var o = new core.List<api.Collection>();
396 o.add(buildCollection()); 396 o.add(buildCollection());
397 o.add(buildCollection()); 397 o.add(buildCollection());
398 return o; 398 return o;
399 } 399 }
400 400
401 checkUnnamed403(core.List<api.Collection> o) { 401 checkUnnamed2379(core.List<api.Collection> o) {
402 unittest.expect(o, unittest.hasLength(2)); 402 unittest.expect(o, unittest.hasLength(2));
403 checkCollection(o[0]); 403 checkCollection(o[0]);
404 checkCollection(o[1]); 404 checkCollection(o[1]);
405 } 405 }
406 406
407 core.int buildCounterCollectionsListResponse = 0; 407 core.int buildCounterCollectionsListResponse = 0;
408 buildCollectionsListResponse() { 408 buildCollectionsListResponse() {
409 var o = new api.CollectionsListResponse(); 409 var o = new api.CollectionsListResponse();
410 buildCounterCollectionsListResponse++; 410 buildCounterCollectionsListResponse++;
411 if (buildCounterCollectionsListResponse < 3) { 411 if (buildCounterCollectionsListResponse < 3) {
412 o.collection = buildUnnamed403(); 412 o.collection = buildUnnamed2379();
413 o.kind = "foo"; 413 o.kind = "foo";
414 } 414 }
415 buildCounterCollectionsListResponse--; 415 buildCounterCollectionsListResponse--;
416 return o; 416 return o;
417 } 417 }
418 418
419 checkCollectionsListResponse(api.CollectionsListResponse o) { 419 checkCollectionsListResponse(api.CollectionsListResponse o) {
420 buildCounterCollectionsListResponse++; 420 buildCounterCollectionsListResponse++;
421 if (buildCounterCollectionsListResponse < 3) { 421 if (buildCounterCollectionsListResponse < 3) {
422 checkUnnamed403(o.collection); 422 checkUnnamed2379(o.collection);
423 unittest.expect(o.kind, unittest.equals('foo')); 423 unittest.expect(o.kind, unittest.equals('foo'));
424 } 424 }
425 buildCounterCollectionsListResponse--; 425 buildCounterCollectionsListResponse--;
426 } 426 }
427 427
428 core.int buildCounterDevice = 0; 428 core.int buildCounterDevice = 0;
429 buildDevice() { 429 buildDevice() {
430 var o = new api.Device(); 430 var o = new api.Device();
431 buildCounterDevice++; 431 buildCounterDevice++;
432 if (buildCounterDevice < 3) { 432 if (buildCounterDevice < 3) {
(...skipping 29 matching lines...) Expand all
462 462
463 checkDeviceState(api.DeviceState o) { 463 checkDeviceState(api.DeviceState o) {
464 buildCounterDeviceState++; 464 buildCounterDeviceState++;
465 if (buildCounterDeviceState < 3) { 465 if (buildCounterDeviceState < 3) {
466 unittest.expect(o.accountState, unittest.equals('foo')); 466 unittest.expect(o.accountState, unittest.equals('foo'));
467 unittest.expect(o.kind, unittest.equals('foo')); 467 unittest.expect(o.kind, unittest.equals('foo'));
468 } 468 }
469 buildCounterDeviceState--; 469 buildCounterDeviceState--;
470 } 470 }
471 471
472 buildUnnamed404() { 472 buildUnnamed2380() {
473 var o = new core.List<api.Device>(); 473 var o = new core.List<api.Device>();
474 o.add(buildDevice()); 474 o.add(buildDevice());
475 o.add(buildDevice()); 475 o.add(buildDevice());
476 return o; 476 return o;
477 } 477 }
478 478
479 checkUnnamed404(core.List<api.Device> o) { 479 checkUnnamed2380(core.List<api.Device> o) {
480 unittest.expect(o, unittest.hasLength(2)); 480 unittest.expect(o, unittest.hasLength(2));
481 checkDevice(o[0]); 481 checkDevice(o[0]);
482 checkDevice(o[1]); 482 checkDevice(o[1]);
483 } 483 }
484 484
485 core.int buildCounterDevicesListResponse = 0; 485 core.int buildCounterDevicesListResponse = 0;
486 buildDevicesListResponse() { 486 buildDevicesListResponse() {
487 var o = new api.DevicesListResponse(); 487 var o = new api.DevicesListResponse();
488 buildCounterDevicesListResponse++; 488 buildCounterDevicesListResponse++;
489 if (buildCounterDevicesListResponse < 3) { 489 if (buildCounterDevicesListResponse < 3) {
490 o.device = buildUnnamed404(); 490 o.device = buildUnnamed2380();
491 o.kind = "foo"; 491 o.kind = "foo";
492 } 492 }
493 buildCounterDevicesListResponse--; 493 buildCounterDevicesListResponse--;
494 return o; 494 return o;
495 } 495 }
496 496
497 checkDevicesListResponse(api.DevicesListResponse o) { 497 checkDevicesListResponse(api.DevicesListResponse o) {
498 buildCounterDevicesListResponse++; 498 buildCounterDevicesListResponse++;
499 if (buildCounterDevicesListResponse < 3) { 499 if (buildCounterDevicesListResponse < 3) {
500 checkUnnamed404(o.device); 500 checkUnnamed2380(o.device);
501 unittest.expect(o.kind, unittest.equals('foo')); 501 unittest.expect(o.kind, unittest.equals('foo'));
502 } 502 }
503 buildCounterDevicesListResponse--; 503 buildCounterDevicesListResponse--;
504 } 504 }
505 505
506 buildUnnamed405() { 506 buildUnnamed2381() {
507 var o = new core.List<api.Administrator>(); 507 var o = new core.List<api.Administrator>();
508 o.add(buildAdministrator()); 508 o.add(buildAdministrator());
509 o.add(buildAdministrator()); 509 o.add(buildAdministrator());
510 return o; 510 return o;
511 } 511 }
512 512
513 checkUnnamed405(core.List<api.Administrator> o) { 513 checkUnnamed2381(core.List<api.Administrator> o) {
514 unittest.expect(o, unittest.hasLength(2)); 514 unittest.expect(o, unittest.hasLength(2));
515 checkAdministrator(o[0]); 515 checkAdministrator(o[0]);
516 checkAdministrator(o[1]); 516 checkAdministrator(o[1]);
517 } 517 }
518 518
519 core.int buildCounterEnterprise = 0; 519 core.int buildCounterEnterprise = 0;
520 buildEnterprise() { 520 buildEnterprise() {
521 var o = new api.Enterprise(); 521 var o = new api.Enterprise();
522 buildCounterEnterprise++; 522 buildCounterEnterprise++;
523 if (buildCounterEnterprise < 3) { 523 if (buildCounterEnterprise < 3) {
524 o.administrator = buildUnnamed405(); 524 o.administrator = buildUnnamed2381();
525 o.id = "foo"; 525 o.id = "foo";
526 o.kind = "foo"; 526 o.kind = "foo";
527 o.name = "foo"; 527 o.name = "foo";
528 o.primaryDomain = "foo"; 528 o.primaryDomain = "foo";
529 } 529 }
530 buildCounterEnterprise--; 530 buildCounterEnterprise--;
531 return o; 531 return o;
532 } 532 }
533 533
534 checkEnterprise(api.Enterprise o) { 534 checkEnterprise(api.Enterprise o) {
535 buildCounterEnterprise++; 535 buildCounterEnterprise++;
536 if (buildCounterEnterprise < 3) { 536 if (buildCounterEnterprise < 3) {
537 checkUnnamed405(o.administrator); 537 checkUnnamed2381(o.administrator);
538 unittest.expect(o.id, unittest.equals('foo')); 538 unittest.expect(o.id, unittest.equals('foo'));
539 unittest.expect(o.kind, unittest.equals('foo')); 539 unittest.expect(o.kind, unittest.equals('foo'));
540 unittest.expect(o.name, unittest.equals('foo')); 540 unittest.expect(o.name, unittest.equals('foo'));
541 unittest.expect(o.primaryDomain, unittest.equals('foo')); 541 unittest.expect(o.primaryDomain, unittest.equals('foo'));
542 } 542 }
543 buildCounterEnterprise--; 543 buildCounterEnterprise--;
544 } 544 }
545 545
546 core.int buildCounterEnterpriseAccount = 0; 546 core.int buildCounterEnterpriseAccount = 0;
547 buildEnterpriseAccount() { 547 buildEnterpriseAccount() {
548 var o = new api.EnterpriseAccount(); 548 var o = new api.EnterpriseAccount();
549 buildCounterEnterpriseAccount++; 549 buildCounterEnterpriseAccount++;
550 if (buildCounterEnterpriseAccount < 3) { 550 if (buildCounterEnterpriseAccount < 3) {
551 o.accountEmail = "foo"; 551 o.accountEmail = "foo";
552 o.kind = "foo"; 552 o.kind = "foo";
553 } 553 }
554 buildCounterEnterpriseAccount--; 554 buildCounterEnterpriseAccount--;
555 return o; 555 return o;
556 } 556 }
557 557
558 checkEnterpriseAccount(api.EnterpriseAccount o) { 558 checkEnterpriseAccount(api.EnterpriseAccount o) {
559 buildCounterEnterpriseAccount++; 559 buildCounterEnterpriseAccount++;
560 if (buildCounterEnterpriseAccount < 3) { 560 if (buildCounterEnterpriseAccount < 3) {
561 unittest.expect(o.accountEmail, unittest.equals('foo')); 561 unittest.expect(o.accountEmail, unittest.equals('foo'));
562 unittest.expect(o.kind, unittest.equals('foo')); 562 unittest.expect(o.kind, unittest.equals('foo'));
563 } 563 }
564 buildCounterEnterpriseAccount--; 564 buildCounterEnterpriseAccount--;
565 } 565 }
566 566
567 buildUnnamed406() { 567 buildUnnamed2382() {
568 var o = new core.List<api.Enterprise>(); 568 var o = new core.List<api.Enterprise>();
569 o.add(buildEnterprise()); 569 o.add(buildEnterprise());
570 o.add(buildEnterprise()); 570 o.add(buildEnterprise());
571 return o; 571 return o;
572 } 572 }
573 573
574 checkUnnamed406(core.List<api.Enterprise> o) { 574 checkUnnamed2382(core.List<api.Enterprise> o) {
575 unittest.expect(o, unittest.hasLength(2)); 575 unittest.expect(o, unittest.hasLength(2));
576 checkEnterprise(o[0]); 576 checkEnterprise(o[0]);
577 checkEnterprise(o[1]); 577 checkEnterprise(o[1]);
578 } 578 }
579 579
580 core.int buildCounterEnterprisesListResponse = 0; 580 core.int buildCounterEnterprisesListResponse = 0;
581 buildEnterprisesListResponse() { 581 buildEnterprisesListResponse() {
582 var o = new api.EnterprisesListResponse(); 582 var o = new api.EnterprisesListResponse();
583 buildCounterEnterprisesListResponse++; 583 buildCounterEnterprisesListResponse++;
584 if (buildCounterEnterprisesListResponse < 3) { 584 if (buildCounterEnterprisesListResponse < 3) {
585 o.enterprise = buildUnnamed406(); 585 o.enterprise = buildUnnamed2382();
586 o.kind = "foo"; 586 o.kind = "foo";
587 } 587 }
588 buildCounterEnterprisesListResponse--; 588 buildCounterEnterprisesListResponse--;
589 return o; 589 return o;
590 } 590 }
591 591
592 checkEnterprisesListResponse(api.EnterprisesListResponse o) { 592 checkEnterprisesListResponse(api.EnterprisesListResponse o) {
593 buildCounterEnterprisesListResponse++; 593 buildCounterEnterprisesListResponse++;
594 if (buildCounterEnterprisesListResponse < 3) { 594 if (buildCounterEnterprisesListResponse < 3) {
595 checkUnnamed406(o.enterprise); 595 checkUnnamed2382(o.enterprise);
596 unittest.expect(o.kind, unittest.equals('foo')); 596 unittest.expect(o.kind, unittest.equals('foo'));
597 } 597 }
598 buildCounterEnterprisesListResponse--; 598 buildCounterEnterprisesListResponse--;
599 } 599 }
600 600
601 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0; 601 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0;
602 buildEnterprisesSendTestPushNotificationResponse() { 602 buildEnterprisesSendTestPushNotificationResponse() {
603 var o = new api.EnterprisesSendTestPushNotificationResponse(); 603 var o = new api.EnterprisesSendTestPushNotificationResponse();
604 buildCounterEnterprisesSendTestPushNotificationResponse++; 604 buildCounterEnterprisesSendTestPushNotificationResponse++;
605 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) { 605 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) {
(...skipping 29 matching lines...) Expand all
635 checkEntitlement(api.Entitlement o) { 635 checkEntitlement(api.Entitlement o) {
636 buildCounterEntitlement++; 636 buildCounterEntitlement++;
637 if (buildCounterEntitlement < 3) { 637 if (buildCounterEntitlement < 3) {
638 unittest.expect(o.kind, unittest.equals('foo')); 638 unittest.expect(o.kind, unittest.equals('foo'));
639 unittest.expect(o.productId, unittest.equals('foo')); 639 unittest.expect(o.productId, unittest.equals('foo'));
640 unittest.expect(o.reason, unittest.equals('foo')); 640 unittest.expect(o.reason, unittest.equals('foo'));
641 } 641 }
642 buildCounterEntitlement--; 642 buildCounterEntitlement--;
643 } 643 }
644 644
645 buildUnnamed407() { 645 buildUnnamed2383() {
646 var o = new core.List<api.Entitlement>(); 646 var o = new core.List<api.Entitlement>();
647 o.add(buildEntitlement()); 647 o.add(buildEntitlement());
648 o.add(buildEntitlement()); 648 o.add(buildEntitlement());
649 return o; 649 return o;
650 } 650 }
651 651
652 checkUnnamed407(core.List<api.Entitlement> o) { 652 checkUnnamed2383(core.List<api.Entitlement> o) {
653 unittest.expect(o, unittest.hasLength(2)); 653 unittest.expect(o, unittest.hasLength(2));
654 checkEntitlement(o[0]); 654 checkEntitlement(o[0]);
655 checkEntitlement(o[1]); 655 checkEntitlement(o[1]);
656 } 656 }
657 657
658 core.int buildCounterEntitlementsListResponse = 0; 658 core.int buildCounterEntitlementsListResponse = 0;
659 buildEntitlementsListResponse() { 659 buildEntitlementsListResponse() {
660 var o = new api.EntitlementsListResponse(); 660 var o = new api.EntitlementsListResponse();
661 buildCounterEntitlementsListResponse++; 661 buildCounterEntitlementsListResponse++;
662 if (buildCounterEntitlementsListResponse < 3) { 662 if (buildCounterEntitlementsListResponse < 3) {
663 o.entitlement = buildUnnamed407(); 663 o.entitlement = buildUnnamed2383();
664 o.kind = "foo"; 664 o.kind = "foo";
665 } 665 }
666 buildCounterEntitlementsListResponse--; 666 buildCounterEntitlementsListResponse--;
667 return o; 667 return o;
668 } 668 }
669 669
670 checkEntitlementsListResponse(api.EntitlementsListResponse o) { 670 checkEntitlementsListResponse(api.EntitlementsListResponse o) {
671 buildCounterEntitlementsListResponse++; 671 buildCounterEntitlementsListResponse++;
672 if (buildCounterEntitlementsListResponse < 3) { 672 if (buildCounterEntitlementsListResponse < 3) {
673 checkUnnamed407(o.entitlement); 673 checkUnnamed2383(o.entitlement);
674 unittest.expect(o.kind, unittest.equals('foo')); 674 unittest.expect(o.kind, unittest.equals('foo'));
675 } 675 }
676 buildCounterEntitlementsListResponse--; 676 buildCounterEntitlementsListResponse--;
677 } 677 }
678 678
679 core.int buildCounterGroupLicense = 0; 679 core.int buildCounterGroupLicense = 0;
680 buildGroupLicense() { 680 buildGroupLicense() {
681 var o = new api.GroupLicense(); 681 var o = new api.GroupLicense();
682 buildCounterGroupLicense++; 682 buildCounterGroupLicense++;
683 if (buildCounterGroupLicense < 3) { 683 if (buildCounterGroupLicense < 3) {
(...skipping 14 matching lines...) Expand all
698 unittest.expect(o.acquisitionKind, unittest.equals('foo')); 698 unittest.expect(o.acquisitionKind, unittest.equals('foo'));
699 unittest.expect(o.approval, unittest.equals('foo')); 699 unittest.expect(o.approval, unittest.equals('foo'));
700 unittest.expect(o.kind, unittest.equals('foo')); 700 unittest.expect(o.kind, unittest.equals('foo'));
701 unittest.expect(o.numProvisioned, unittest.equals(42)); 701 unittest.expect(o.numProvisioned, unittest.equals(42));
702 unittest.expect(o.numPurchased, unittest.equals(42)); 702 unittest.expect(o.numPurchased, unittest.equals(42));
703 unittest.expect(o.productId, unittest.equals('foo')); 703 unittest.expect(o.productId, unittest.equals('foo'));
704 } 704 }
705 buildCounterGroupLicense--; 705 buildCounterGroupLicense--;
706 } 706 }
707 707
708 buildUnnamed408() { 708 buildUnnamed2384() {
709 var o = new core.List<api.User>(); 709 var o = new core.List<api.User>();
710 o.add(buildUser()); 710 o.add(buildUser());
711 o.add(buildUser()); 711 o.add(buildUser());
712 return o; 712 return o;
713 } 713 }
714 714
715 checkUnnamed408(core.List<api.User> o) { 715 checkUnnamed2384(core.List<api.User> o) {
716 unittest.expect(o, unittest.hasLength(2)); 716 unittest.expect(o, unittest.hasLength(2));
717 checkUser(o[0]); 717 checkUser(o[0]);
718 checkUser(o[1]); 718 checkUser(o[1]);
719 } 719 }
720 720
721 core.int buildCounterGroupLicenseUsersListResponse = 0; 721 core.int buildCounterGroupLicenseUsersListResponse = 0;
722 buildGroupLicenseUsersListResponse() { 722 buildGroupLicenseUsersListResponse() {
723 var o = new api.GroupLicenseUsersListResponse(); 723 var o = new api.GroupLicenseUsersListResponse();
724 buildCounterGroupLicenseUsersListResponse++; 724 buildCounterGroupLicenseUsersListResponse++;
725 if (buildCounterGroupLicenseUsersListResponse < 3) { 725 if (buildCounterGroupLicenseUsersListResponse < 3) {
726 o.kind = "foo"; 726 o.kind = "foo";
727 o.user = buildUnnamed408(); 727 o.user = buildUnnamed2384();
728 } 728 }
729 buildCounterGroupLicenseUsersListResponse--; 729 buildCounterGroupLicenseUsersListResponse--;
730 return o; 730 return o;
731 } 731 }
732 732
733 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { 733 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) {
734 buildCounterGroupLicenseUsersListResponse++; 734 buildCounterGroupLicenseUsersListResponse++;
735 if (buildCounterGroupLicenseUsersListResponse < 3) { 735 if (buildCounterGroupLicenseUsersListResponse < 3) {
736 unittest.expect(o.kind, unittest.equals('foo')); 736 unittest.expect(o.kind, unittest.equals('foo'));
737 checkUnnamed408(o.user); 737 checkUnnamed2384(o.user);
738 } 738 }
739 buildCounterGroupLicenseUsersListResponse--; 739 buildCounterGroupLicenseUsersListResponse--;
740 } 740 }
741 741
742 buildUnnamed409() { 742 buildUnnamed2385() {
743 var o = new core.List<api.GroupLicense>(); 743 var o = new core.List<api.GroupLicense>();
744 o.add(buildGroupLicense()); 744 o.add(buildGroupLicense());
745 o.add(buildGroupLicense()); 745 o.add(buildGroupLicense());
746 return o; 746 return o;
747 } 747 }
748 748
749 checkUnnamed409(core.List<api.GroupLicense> o) { 749 checkUnnamed2385(core.List<api.GroupLicense> o) {
750 unittest.expect(o, unittest.hasLength(2)); 750 unittest.expect(o, unittest.hasLength(2));
751 checkGroupLicense(o[0]); 751 checkGroupLicense(o[0]);
752 checkGroupLicense(o[1]); 752 checkGroupLicense(o[1]);
753 } 753 }
754 754
755 core.int buildCounterGroupLicensesListResponse = 0; 755 core.int buildCounterGroupLicensesListResponse = 0;
756 buildGroupLicensesListResponse() { 756 buildGroupLicensesListResponse() {
757 var o = new api.GroupLicensesListResponse(); 757 var o = new api.GroupLicensesListResponse();
758 buildCounterGroupLicensesListResponse++; 758 buildCounterGroupLicensesListResponse++;
759 if (buildCounterGroupLicensesListResponse < 3) { 759 if (buildCounterGroupLicensesListResponse < 3) {
760 o.groupLicense = buildUnnamed409(); 760 o.groupLicense = buildUnnamed2385();
761 o.kind = "foo"; 761 o.kind = "foo";
762 } 762 }
763 buildCounterGroupLicensesListResponse--; 763 buildCounterGroupLicensesListResponse--;
764 return o; 764 return o;
765 } 765 }
766 766
767 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { 767 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
768 buildCounterGroupLicensesListResponse++; 768 buildCounterGroupLicensesListResponse++;
769 if (buildCounterGroupLicensesListResponse < 3) { 769 if (buildCounterGroupLicensesListResponse < 3) {
770 checkUnnamed409(o.groupLicense); 770 checkUnnamed2385(o.groupLicense);
771 unittest.expect(o.kind, unittest.equals('foo')); 771 unittest.expect(o.kind, unittest.equals('foo'));
772 } 772 }
773 buildCounterGroupLicensesListResponse--; 773 buildCounterGroupLicensesListResponse--;
774 } 774 }
775 775
776 core.int buildCounterInstall = 0; 776 core.int buildCounterInstall = 0;
777 buildInstall() { 777 buildInstall() {
778 var o = new api.Install(); 778 var o = new api.Install();
779 buildCounterInstall++; 779 buildCounterInstall++;
780 if (buildCounterInstall < 3) { 780 if (buildCounterInstall < 3) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 if (buildCounterInstallFailureEvent < 3) { 818 if (buildCounterInstallFailureEvent < 3) {
819 unittest.expect(o.deviceId, unittest.equals('foo')); 819 unittest.expect(o.deviceId, unittest.equals('foo'));
820 unittest.expect(o.failureDetails, unittest.equals('foo')); 820 unittest.expect(o.failureDetails, unittest.equals('foo'));
821 unittest.expect(o.failureReason, unittest.equals('foo')); 821 unittest.expect(o.failureReason, unittest.equals('foo'));
822 unittest.expect(o.productId, unittest.equals('foo')); 822 unittest.expect(o.productId, unittest.equals('foo'));
823 unittest.expect(o.userId, unittest.equals('foo')); 823 unittest.expect(o.userId, unittest.equals('foo'));
824 } 824 }
825 buildCounterInstallFailureEvent--; 825 buildCounterInstallFailureEvent--;
826 } 826 }
827 827
828 buildUnnamed410() { 828 buildUnnamed2386() {
829 var o = new core.List<api.Install>(); 829 var o = new core.List<api.Install>();
830 o.add(buildInstall()); 830 o.add(buildInstall());
831 o.add(buildInstall()); 831 o.add(buildInstall());
832 return o; 832 return o;
833 } 833 }
834 834
835 checkUnnamed410(core.List<api.Install> o) { 835 checkUnnamed2386(core.List<api.Install> o) {
836 unittest.expect(o, unittest.hasLength(2)); 836 unittest.expect(o, unittest.hasLength(2));
837 checkInstall(o[0]); 837 checkInstall(o[0]);
838 checkInstall(o[1]); 838 checkInstall(o[1]);
839 } 839 }
840 840
841 core.int buildCounterInstallsListResponse = 0; 841 core.int buildCounterInstallsListResponse = 0;
842 buildInstallsListResponse() { 842 buildInstallsListResponse() {
843 var o = new api.InstallsListResponse(); 843 var o = new api.InstallsListResponse();
844 buildCounterInstallsListResponse++; 844 buildCounterInstallsListResponse++;
845 if (buildCounterInstallsListResponse < 3) { 845 if (buildCounterInstallsListResponse < 3) {
846 o.install = buildUnnamed410(); 846 o.install = buildUnnamed2386();
847 o.kind = "foo"; 847 o.kind = "foo";
848 } 848 }
849 buildCounterInstallsListResponse--; 849 buildCounterInstallsListResponse--;
850 return o; 850 return o;
851 } 851 }
852 852
853 checkInstallsListResponse(api.InstallsListResponse o) { 853 checkInstallsListResponse(api.InstallsListResponse o) {
854 buildCounterInstallsListResponse++; 854 buildCounterInstallsListResponse++;
855 if (buildCounterInstallsListResponse < 3) { 855 if (buildCounterInstallsListResponse < 3) {
856 checkUnnamed410(o.install); 856 checkUnnamed2386(o.install);
857 unittest.expect(o.kind, unittest.equals('foo')); 857 unittest.expect(o.kind, unittest.equals('foo'));
858 } 858 }
859 buildCounterInstallsListResponse--; 859 buildCounterInstallsListResponse--;
860 } 860 }
861 861
862 core.int buildCounterLocalizedText = 0; 862 core.int buildCounterLocalizedText = 0;
863 buildLocalizedText() { 863 buildLocalizedText() {
864 var o = new api.LocalizedText(); 864 var o = new api.LocalizedText();
865 buildCounterLocalizedText++; 865 buildCounterLocalizedText++;
866 if (buildCounterLocalizedText < 3) { 866 if (buildCounterLocalizedText < 3) {
867 o.locale = "foo"; 867 o.locale = "foo";
868 o.text = "foo"; 868 o.text = "foo";
869 } 869 }
870 buildCounterLocalizedText--; 870 buildCounterLocalizedText--;
871 return o; 871 return o;
872 } 872 }
873 873
874 checkLocalizedText(api.LocalizedText o) { 874 checkLocalizedText(api.LocalizedText o) {
875 buildCounterLocalizedText++; 875 buildCounterLocalizedText++;
876 if (buildCounterLocalizedText < 3) { 876 if (buildCounterLocalizedText < 3) {
877 unittest.expect(o.locale, unittest.equals('foo')); 877 unittest.expect(o.locale, unittest.equals('foo'));
878 unittest.expect(o.text, unittest.equals('foo')); 878 unittest.expect(o.text, unittest.equals('foo'));
879 } 879 }
880 buildCounterLocalizedText--; 880 buildCounterLocalizedText--;
881 } 881 }
882 882
883 buildUnnamed411() { 883 buildUnnamed2387() {
884 var o = new core.List<api.ManagedProperty>(); 884 var o = new core.List<api.ManagedProperty>();
885 o.add(buildManagedProperty()); 885 o.add(buildManagedProperty());
886 o.add(buildManagedProperty()); 886 o.add(buildManagedProperty());
887 return o; 887 return o;
888 } 888 }
889 889
890 checkUnnamed411(core.List<api.ManagedProperty> o) { 890 checkUnnamed2387(core.List<api.ManagedProperty> o) {
891 unittest.expect(o, unittest.hasLength(2)); 891 unittest.expect(o, unittest.hasLength(2));
892 checkManagedProperty(o[0]); 892 checkManagedProperty(o[0]);
893 checkManagedProperty(o[1]); 893 checkManagedProperty(o[1]);
894 } 894 }
895 895
896 core.int buildCounterManagedConfiguration = 0; 896 core.int buildCounterManagedConfiguration = 0;
897 buildManagedConfiguration() { 897 buildManagedConfiguration() {
898 var o = new api.ManagedConfiguration(); 898 var o = new api.ManagedConfiguration();
899 buildCounterManagedConfiguration++; 899 buildCounterManagedConfiguration++;
900 if (buildCounterManagedConfiguration < 3) { 900 if (buildCounterManagedConfiguration < 3) {
901 o.kind = "foo"; 901 o.kind = "foo";
902 o.managedProperty = buildUnnamed411(); 902 o.managedProperty = buildUnnamed2387();
903 o.productId = "foo"; 903 o.productId = "foo";
904 } 904 }
905 buildCounterManagedConfiguration--; 905 buildCounterManagedConfiguration--;
906 return o; 906 return o;
907 } 907 }
908 908
909 checkManagedConfiguration(api.ManagedConfiguration o) { 909 checkManagedConfiguration(api.ManagedConfiguration o) {
910 buildCounterManagedConfiguration++; 910 buildCounterManagedConfiguration++;
911 if (buildCounterManagedConfiguration < 3) { 911 if (buildCounterManagedConfiguration < 3) {
912 unittest.expect(o.kind, unittest.equals('foo')); 912 unittest.expect(o.kind, unittest.equals('foo'));
913 checkUnnamed411(o.managedProperty); 913 checkUnnamed2387(o.managedProperty);
914 unittest.expect(o.productId, unittest.equals('foo')); 914 unittest.expect(o.productId, unittest.equals('foo'));
915 } 915 }
916 buildCounterManagedConfiguration--; 916 buildCounterManagedConfiguration--;
917 } 917 }
918 918
919 buildUnnamed412() { 919 buildUnnamed2388() {
920 var o = new core.List<api.ManagedConfiguration>(); 920 var o = new core.List<api.ManagedConfiguration>();
921 o.add(buildManagedConfiguration()); 921 o.add(buildManagedConfiguration());
922 o.add(buildManagedConfiguration()); 922 o.add(buildManagedConfiguration());
923 return o; 923 return o;
924 } 924 }
925 925
926 checkUnnamed412(core.List<api.ManagedConfiguration> o) { 926 checkUnnamed2388(core.List<api.ManagedConfiguration> o) {
927 unittest.expect(o, unittest.hasLength(2)); 927 unittest.expect(o, unittest.hasLength(2));
928 checkManagedConfiguration(o[0]); 928 checkManagedConfiguration(o[0]);
929 checkManagedConfiguration(o[1]); 929 checkManagedConfiguration(o[1]);
930 } 930 }
931 931
932 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0; 932 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0;
933 buildManagedConfigurationsForDeviceListResponse() { 933 buildManagedConfigurationsForDeviceListResponse() {
934 var o = new api.ManagedConfigurationsForDeviceListResponse(); 934 var o = new api.ManagedConfigurationsForDeviceListResponse();
935 buildCounterManagedConfigurationsForDeviceListResponse++; 935 buildCounterManagedConfigurationsForDeviceListResponse++;
936 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { 936 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
937 o.kind = "foo"; 937 o.kind = "foo";
938 o.managedConfigurationForDevice = buildUnnamed412(); 938 o.managedConfigurationForDevice = buildUnnamed2388();
939 } 939 }
940 buildCounterManagedConfigurationsForDeviceListResponse--; 940 buildCounterManagedConfigurationsForDeviceListResponse--;
941 return o; 941 return o;
942 } 942 }
943 943
944 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi ceListResponse o) { 944 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi ceListResponse o) {
945 buildCounterManagedConfigurationsForDeviceListResponse++; 945 buildCounterManagedConfigurationsForDeviceListResponse++;
946 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { 946 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
947 unittest.expect(o.kind, unittest.equals('foo')); 947 unittest.expect(o.kind, unittest.equals('foo'));
948 checkUnnamed412(o.managedConfigurationForDevice); 948 checkUnnamed2388(o.managedConfigurationForDevice);
949 } 949 }
950 buildCounterManagedConfigurationsForDeviceListResponse--; 950 buildCounterManagedConfigurationsForDeviceListResponse--;
951 } 951 }
952 952
953 buildUnnamed413() { 953 buildUnnamed2389() {
954 var o = new core.List<api.ManagedConfiguration>(); 954 var o = new core.List<api.ManagedConfiguration>();
955 o.add(buildManagedConfiguration()); 955 o.add(buildManagedConfiguration());
956 o.add(buildManagedConfiguration()); 956 o.add(buildManagedConfiguration());
957 return o; 957 return o;
958 } 958 }
959 959
960 checkUnnamed413(core.List<api.ManagedConfiguration> o) { 960 checkUnnamed2389(core.List<api.ManagedConfiguration> o) {
961 unittest.expect(o, unittest.hasLength(2)); 961 unittest.expect(o, unittest.hasLength(2));
962 checkManagedConfiguration(o[0]); 962 checkManagedConfiguration(o[0]);
963 checkManagedConfiguration(o[1]); 963 checkManagedConfiguration(o[1]);
964 } 964 }
965 965
966 core.int buildCounterManagedConfigurationsForUserListResponse = 0; 966 core.int buildCounterManagedConfigurationsForUserListResponse = 0;
967 buildManagedConfigurationsForUserListResponse() { 967 buildManagedConfigurationsForUserListResponse() {
968 var o = new api.ManagedConfigurationsForUserListResponse(); 968 var o = new api.ManagedConfigurationsForUserListResponse();
969 buildCounterManagedConfigurationsForUserListResponse++; 969 buildCounterManagedConfigurationsForUserListResponse++;
970 if (buildCounterManagedConfigurationsForUserListResponse < 3) { 970 if (buildCounterManagedConfigurationsForUserListResponse < 3) {
971 o.kind = "foo"; 971 o.kind = "foo";
972 o.managedConfigurationForUser = buildUnnamed413(); 972 o.managedConfigurationForUser = buildUnnamed2389();
973 } 973 }
974 buildCounterManagedConfigurationsForUserListResponse--; 974 buildCounterManagedConfigurationsForUserListResponse--;
975 return o; 975 return o;
976 } 976 }
977 977
978 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi stResponse o) { 978 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi stResponse o) {
979 buildCounterManagedConfigurationsForUserListResponse++; 979 buildCounterManagedConfigurationsForUserListResponse++;
980 if (buildCounterManagedConfigurationsForUserListResponse < 3) { 980 if (buildCounterManagedConfigurationsForUserListResponse < 3) {
981 unittest.expect(o.kind, unittest.equals('foo')); 981 unittest.expect(o.kind, unittest.equals('foo'));
982 checkUnnamed413(o.managedConfigurationForUser); 982 checkUnnamed2389(o.managedConfigurationForUser);
983 } 983 }
984 buildCounterManagedConfigurationsForUserListResponse--; 984 buildCounterManagedConfigurationsForUserListResponse--;
985 } 985 }
986 986
987 buildUnnamed414() { 987 buildUnnamed2390() {
988 var o = new core.List<api.ManagedPropertyBundle>(); 988 var o = new core.List<api.ManagedPropertyBundle>();
989 o.add(buildManagedPropertyBundle()); 989 o.add(buildManagedPropertyBundle());
990 o.add(buildManagedPropertyBundle()); 990 o.add(buildManagedPropertyBundle());
991 return o; 991 return o;
992 } 992 }
993 993
994 checkUnnamed414(core.List<api.ManagedPropertyBundle> o) { 994 checkUnnamed2390(core.List<api.ManagedPropertyBundle> o) {
995 unittest.expect(o, unittest.hasLength(2)); 995 unittest.expect(o, unittest.hasLength(2));
996 checkManagedPropertyBundle(o[0]); 996 checkManagedPropertyBundle(o[0]);
997 checkManagedPropertyBundle(o[1]); 997 checkManagedPropertyBundle(o[1]);
998 } 998 }
999 999
1000 buildUnnamed415() { 1000 buildUnnamed2391() {
1001 var o = new core.List<core.String>(); 1001 var o = new core.List<core.String>();
1002 o.add("foo"); 1002 o.add("foo");
1003 o.add("foo"); 1003 o.add("foo");
1004 return o; 1004 return o;
1005 } 1005 }
1006 1006
1007 checkUnnamed415(core.List<core.String> o) { 1007 checkUnnamed2391(core.List<core.String> o) {
1008 unittest.expect(o, unittest.hasLength(2)); 1008 unittest.expect(o, unittest.hasLength(2));
1009 unittest.expect(o[0], unittest.equals('foo')); 1009 unittest.expect(o[0], unittest.equals('foo'));
1010 unittest.expect(o[1], unittest.equals('foo')); 1010 unittest.expect(o[1], unittest.equals('foo'));
1011 } 1011 }
1012 1012
1013 core.int buildCounterManagedProperty = 0; 1013 core.int buildCounterManagedProperty = 0;
1014 buildManagedProperty() { 1014 buildManagedProperty() {
1015 var o = new api.ManagedProperty(); 1015 var o = new api.ManagedProperty();
1016 buildCounterManagedProperty++; 1016 buildCounterManagedProperty++;
1017 if (buildCounterManagedProperty < 3) { 1017 if (buildCounterManagedProperty < 3) {
1018 o.key = "foo"; 1018 o.key = "foo";
1019 o.valueBool = true; 1019 o.valueBool = true;
1020 o.valueBundle = buildManagedPropertyBundle(); 1020 o.valueBundle = buildManagedPropertyBundle();
1021 o.valueBundleArray = buildUnnamed414(); 1021 o.valueBundleArray = buildUnnamed2390();
1022 o.valueInteger = 42; 1022 o.valueInteger = 42;
1023 o.valueString = "foo"; 1023 o.valueString = "foo";
1024 o.valueStringArray = buildUnnamed415(); 1024 o.valueStringArray = buildUnnamed2391();
1025 } 1025 }
1026 buildCounterManagedProperty--; 1026 buildCounterManagedProperty--;
1027 return o; 1027 return o;
1028 } 1028 }
1029 1029
1030 checkManagedProperty(api.ManagedProperty o) { 1030 checkManagedProperty(api.ManagedProperty o) {
1031 buildCounterManagedProperty++; 1031 buildCounterManagedProperty++;
1032 if (buildCounterManagedProperty < 3) { 1032 if (buildCounterManagedProperty < 3) {
1033 unittest.expect(o.key, unittest.equals('foo')); 1033 unittest.expect(o.key, unittest.equals('foo'));
1034 unittest.expect(o.valueBool, unittest.isTrue); 1034 unittest.expect(o.valueBool, unittest.isTrue);
1035 checkManagedPropertyBundle(o.valueBundle); 1035 checkManagedPropertyBundle(o.valueBundle);
1036 checkUnnamed414(o.valueBundleArray); 1036 checkUnnamed2390(o.valueBundleArray);
1037 unittest.expect(o.valueInteger, unittest.equals(42)); 1037 unittest.expect(o.valueInteger, unittest.equals(42));
1038 unittest.expect(o.valueString, unittest.equals('foo')); 1038 unittest.expect(o.valueString, unittest.equals('foo'));
1039 checkUnnamed415(o.valueStringArray); 1039 checkUnnamed2391(o.valueStringArray);
1040 } 1040 }
1041 buildCounterManagedProperty--; 1041 buildCounterManagedProperty--;
1042 } 1042 }
1043 1043
1044 buildUnnamed416() { 1044 buildUnnamed2392() {
1045 var o = new core.List<api.ManagedProperty>(); 1045 var o = new core.List<api.ManagedProperty>();
1046 o.add(buildManagedProperty()); 1046 o.add(buildManagedProperty());
1047 o.add(buildManagedProperty()); 1047 o.add(buildManagedProperty());
1048 return o; 1048 return o;
1049 } 1049 }
1050 1050
1051 checkUnnamed416(core.List<api.ManagedProperty> o) { 1051 checkUnnamed2392(core.List<api.ManagedProperty> o) {
1052 unittest.expect(o, unittest.hasLength(2)); 1052 unittest.expect(o, unittest.hasLength(2));
1053 checkManagedProperty(o[0]); 1053 checkManagedProperty(o[0]);
1054 checkManagedProperty(o[1]); 1054 checkManagedProperty(o[1]);
1055 } 1055 }
1056 1056
1057 core.int buildCounterManagedPropertyBundle = 0; 1057 core.int buildCounterManagedPropertyBundle = 0;
1058 buildManagedPropertyBundle() { 1058 buildManagedPropertyBundle() {
1059 var o = new api.ManagedPropertyBundle(); 1059 var o = new api.ManagedPropertyBundle();
1060 buildCounterManagedPropertyBundle++; 1060 buildCounterManagedPropertyBundle++;
1061 if (buildCounterManagedPropertyBundle < 3) { 1061 if (buildCounterManagedPropertyBundle < 3) {
1062 o.managedProperty = buildUnnamed416(); 1062 o.managedProperty = buildUnnamed2392();
1063 } 1063 }
1064 buildCounterManagedPropertyBundle--; 1064 buildCounterManagedPropertyBundle--;
1065 return o; 1065 return o;
1066 } 1066 }
1067 1067
1068 checkManagedPropertyBundle(api.ManagedPropertyBundle o) { 1068 checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
1069 buildCounterManagedPropertyBundle++; 1069 buildCounterManagedPropertyBundle++;
1070 if (buildCounterManagedPropertyBundle < 3) { 1070 if (buildCounterManagedPropertyBundle < 3) {
1071 checkUnnamed416(o.managedProperty); 1071 checkUnnamed2392(o.managedProperty);
1072 } 1072 }
1073 buildCounterManagedPropertyBundle--; 1073 buildCounterManagedPropertyBundle--;
1074 } 1074 }
1075 1075
1076 buildUnnamed417() { 1076 buildUnnamed2393() {
1077 var o = new core.List<core.String>(); 1077 var o = new core.List<core.String>();
1078 o.add("foo"); 1078 o.add("foo");
1079 o.add("foo"); 1079 o.add("foo");
1080 return o; 1080 return o;
1081 } 1081 }
1082 1082
1083 checkUnnamed417(core.List<core.String> o) { 1083 checkUnnamed2393(core.List<core.String> o) {
1084 unittest.expect(o, unittest.hasLength(2)); 1084 unittest.expect(o, unittest.hasLength(2));
1085 unittest.expect(o[0], unittest.equals('foo')); 1085 unittest.expect(o[0], unittest.equals('foo'));
1086 unittest.expect(o[1], unittest.equals('foo')); 1086 unittest.expect(o[1], unittest.equals('foo'));
1087 } 1087 }
1088 1088
1089 buildUnnamed418() { 1089 buildUnnamed2394() {
1090 var o = new core.List<core.String>(); 1090 var o = new core.List<core.String>();
1091 o.add("foo"); 1091 o.add("foo");
1092 o.add("foo"); 1092 o.add("foo");
1093 return o; 1093 return o;
1094 } 1094 }
1095 1095
1096 checkUnnamed418(core.List<core.String> o) { 1096 checkUnnamed2394(core.List<core.String> o) {
1097 unittest.expect(o, unittest.hasLength(2)); 1097 unittest.expect(o, unittest.hasLength(2));
1098 unittest.expect(o[0], unittest.equals('foo')); 1098 unittest.expect(o[0], unittest.equals('foo'));
1099 unittest.expect(o[1], unittest.equals('foo')); 1099 unittest.expect(o[1], unittest.equals('foo'));
1100 } 1100 }
1101 1101
1102 core.int buildCounterNewPermissionsEvent = 0; 1102 core.int buildCounterNewPermissionsEvent = 0;
1103 buildNewPermissionsEvent() { 1103 buildNewPermissionsEvent() {
1104 var o = new api.NewPermissionsEvent(); 1104 var o = new api.NewPermissionsEvent();
1105 buildCounterNewPermissionsEvent++; 1105 buildCounterNewPermissionsEvent++;
1106 if (buildCounterNewPermissionsEvent < 3) { 1106 if (buildCounterNewPermissionsEvent < 3) {
1107 o.approvedPermissions = buildUnnamed417(); 1107 o.approvedPermissions = buildUnnamed2393();
1108 o.productId = "foo"; 1108 o.productId = "foo";
1109 o.requestedPermissions = buildUnnamed418(); 1109 o.requestedPermissions = buildUnnamed2394();
1110 } 1110 }
1111 buildCounterNewPermissionsEvent--; 1111 buildCounterNewPermissionsEvent--;
1112 return o; 1112 return o;
1113 } 1113 }
1114 1114
1115 checkNewPermissionsEvent(api.NewPermissionsEvent o) { 1115 checkNewPermissionsEvent(api.NewPermissionsEvent o) {
1116 buildCounterNewPermissionsEvent++; 1116 buildCounterNewPermissionsEvent++;
1117 if (buildCounterNewPermissionsEvent < 3) { 1117 if (buildCounterNewPermissionsEvent < 3) {
1118 checkUnnamed417(o.approvedPermissions); 1118 checkUnnamed2393(o.approvedPermissions);
1119 unittest.expect(o.productId, unittest.equals('foo')); 1119 unittest.expect(o.productId, unittest.equals('foo'));
1120 checkUnnamed418(o.requestedPermissions); 1120 checkUnnamed2394(o.requestedPermissions);
1121 } 1121 }
1122 buildCounterNewPermissionsEvent--; 1122 buildCounterNewPermissionsEvent--;
1123 } 1123 }
1124 1124
1125 core.int buildCounterNotification = 0; 1125 core.int buildCounterNotification = 0;
1126 buildNotification() { 1126 buildNotification() {
1127 var o = new api.Notification(); 1127 var o = new api.Notification();
1128 buildCounterNotification++; 1128 buildCounterNotification++;
1129 if (buildCounterNotification < 3) { 1129 if (buildCounterNotification < 3) {
1130 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent() ; 1130 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent() ;
(...skipping 17 matching lines...) Expand all
1148 unittest.expect(o.enterpriseId, unittest.equals('foo')); 1148 unittest.expect(o.enterpriseId, unittest.equals('foo'));
1149 checkInstallFailureEvent(o.installFailureEvent); 1149 checkInstallFailureEvent(o.installFailureEvent);
1150 checkNewPermissionsEvent(o.newPermissionsEvent); 1150 checkNewPermissionsEvent(o.newPermissionsEvent);
1151 checkProductApprovalEvent(o.productApprovalEvent); 1151 checkProductApprovalEvent(o.productApprovalEvent);
1152 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent); 1152 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent);
1153 unittest.expect(o.timestampMillis, unittest.equals('foo')); 1153 unittest.expect(o.timestampMillis, unittest.equals('foo'));
1154 } 1154 }
1155 buildCounterNotification--; 1155 buildCounterNotification--;
1156 } 1156 }
1157 1157
1158 buildUnnamed419() { 1158 buildUnnamed2395() {
1159 var o = new core.List<api.Notification>(); 1159 var o = new core.List<api.Notification>();
1160 o.add(buildNotification()); 1160 o.add(buildNotification());
1161 o.add(buildNotification()); 1161 o.add(buildNotification());
1162 return o; 1162 return o;
1163 } 1163 }
1164 1164
1165 checkUnnamed419(core.List<api.Notification> o) { 1165 checkUnnamed2395(core.List<api.Notification> o) {
1166 unittest.expect(o, unittest.hasLength(2)); 1166 unittest.expect(o, unittest.hasLength(2));
1167 checkNotification(o[0]); 1167 checkNotification(o[0]);
1168 checkNotification(o[1]); 1168 checkNotification(o[1]);
1169 } 1169 }
1170 1170
1171 core.int buildCounterNotificationSet = 0; 1171 core.int buildCounterNotificationSet = 0;
1172 buildNotificationSet() { 1172 buildNotificationSet() {
1173 var o = new api.NotificationSet(); 1173 var o = new api.NotificationSet();
1174 buildCounterNotificationSet++; 1174 buildCounterNotificationSet++;
1175 if (buildCounterNotificationSet < 3) { 1175 if (buildCounterNotificationSet < 3) {
1176 o.kind = "foo"; 1176 o.kind = "foo";
1177 o.notification = buildUnnamed419(); 1177 o.notification = buildUnnamed2395();
1178 o.notificationSetId = "foo"; 1178 o.notificationSetId = "foo";
1179 } 1179 }
1180 buildCounterNotificationSet--; 1180 buildCounterNotificationSet--;
1181 return o; 1181 return o;
1182 } 1182 }
1183 1183
1184 checkNotificationSet(api.NotificationSet o) { 1184 checkNotificationSet(api.NotificationSet o) {
1185 buildCounterNotificationSet++; 1185 buildCounterNotificationSet++;
1186 if (buildCounterNotificationSet < 3) { 1186 if (buildCounterNotificationSet < 3) {
1187 unittest.expect(o.kind, unittest.equals('foo')); 1187 unittest.expect(o.kind, unittest.equals('foo'));
1188 checkUnnamed419(o.notification); 1188 checkUnnamed2395(o.notification);
1189 unittest.expect(o.notificationSetId, unittest.equals('foo')); 1189 unittest.expect(o.notificationSetId, unittest.equals('foo'));
1190 } 1190 }
1191 buildCounterNotificationSet--; 1191 buildCounterNotificationSet--;
1192 } 1192 }
1193 1193
1194 core.int buildCounterPageInfo = 0; 1194 core.int buildCounterPageInfo = 0;
1195 buildPageInfo() { 1195 buildPageInfo() {
1196 var o = new api.PageInfo(); 1196 var o = new api.PageInfo();
1197 buildCounterPageInfo++; 1197 buildCounterPageInfo++;
1198 if (buildCounterPageInfo < 3) { 1198 if (buildCounterPageInfo < 3) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 buildCounterPermission++; 1232 buildCounterPermission++;
1233 if (buildCounterPermission < 3) { 1233 if (buildCounterPermission < 3) {
1234 unittest.expect(o.description, unittest.equals('foo')); 1234 unittest.expect(o.description, unittest.equals('foo'));
1235 unittest.expect(o.kind, unittest.equals('foo')); 1235 unittest.expect(o.kind, unittest.equals('foo'));
1236 unittest.expect(o.name, unittest.equals('foo')); 1236 unittest.expect(o.name, unittest.equals('foo'));
1237 unittest.expect(o.permissionId, unittest.equals('foo')); 1237 unittest.expect(o.permissionId, unittest.equals('foo'));
1238 } 1238 }
1239 buildCounterPermission--; 1239 buildCounterPermission--;
1240 } 1240 }
1241 1241
1242 buildUnnamed420() { 1242 buildUnnamed2396() {
1243 var o = new core.List<api.AppVersion>(); 1243 var o = new core.List<api.AppVersion>();
1244 o.add(buildAppVersion()); 1244 o.add(buildAppVersion());
1245 o.add(buildAppVersion()); 1245 o.add(buildAppVersion());
1246 return o; 1246 return o;
1247 } 1247 }
1248 1248
1249 checkUnnamed420(core.List<api.AppVersion> o) { 1249 checkUnnamed2396(core.List<api.AppVersion> o) {
1250 unittest.expect(o, unittest.hasLength(2)); 1250 unittest.expect(o, unittest.hasLength(2));
1251 checkAppVersion(o[0]); 1251 checkAppVersion(o[0]);
1252 checkAppVersion(o[1]); 1252 checkAppVersion(o[1]);
1253 } 1253 }
1254 1254
1255 core.int buildCounterProduct = 0; 1255 core.int buildCounterProduct = 0;
1256 buildProduct() { 1256 buildProduct() {
1257 var o = new api.Product(); 1257 var o = new api.Product();
1258 buildCounterProduct++; 1258 buildCounterProduct++;
1259 if (buildCounterProduct < 3) { 1259 if (buildCounterProduct < 3) {
1260 o.appVersion = buildUnnamed420(); 1260 o.appVersion = buildUnnamed2396();
1261 o.authorName = "foo"; 1261 o.authorName = "foo";
1262 o.detailsUrl = "foo"; 1262 o.detailsUrl = "foo";
1263 o.distributionChannel = "foo"; 1263 o.distributionChannel = "foo";
1264 o.iconUrl = "foo"; 1264 o.iconUrl = "foo";
1265 o.kind = "foo"; 1265 o.kind = "foo";
1266 o.productId = "foo"; 1266 o.productId = "foo";
1267 o.productPricing = "foo"; 1267 o.productPricing = "foo";
1268 o.requiresContainerApp = true; 1268 o.requiresContainerApp = true;
1269 o.smallIconUrl = "foo"; 1269 o.smallIconUrl = "foo";
1270 o.title = "foo"; 1270 o.title = "foo";
1271 o.workDetailsUrl = "foo"; 1271 o.workDetailsUrl = "foo";
1272 } 1272 }
1273 buildCounterProduct--; 1273 buildCounterProduct--;
1274 return o; 1274 return o;
1275 } 1275 }
1276 1276
1277 checkProduct(api.Product o) { 1277 checkProduct(api.Product o) {
1278 buildCounterProduct++; 1278 buildCounterProduct++;
1279 if (buildCounterProduct < 3) { 1279 if (buildCounterProduct < 3) {
1280 checkUnnamed420(o.appVersion); 1280 checkUnnamed2396(o.appVersion);
1281 unittest.expect(o.authorName, unittest.equals('foo')); 1281 unittest.expect(o.authorName, unittest.equals('foo'));
1282 unittest.expect(o.detailsUrl, unittest.equals('foo')); 1282 unittest.expect(o.detailsUrl, unittest.equals('foo'));
1283 unittest.expect(o.distributionChannel, unittest.equals('foo')); 1283 unittest.expect(o.distributionChannel, unittest.equals('foo'));
1284 unittest.expect(o.iconUrl, unittest.equals('foo')); 1284 unittest.expect(o.iconUrl, unittest.equals('foo'));
1285 unittest.expect(o.kind, unittest.equals('foo')); 1285 unittest.expect(o.kind, unittest.equals('foo'));
1286 unittest.expect(o.productId, unittest.equals('foo')); 1286 unittest.expect(o.productId, unittest.equals('foo'));
1287 unittest.expect(o.productPricing, unittest.equals('foo')); 1287 unittest.expect(o.productPricing, unittest.equals('foo'));
1288 unittest.expect(o.requiresContainerApp, unittest.isTrue); 1288 unittest.expect(o.requiresContainerApp, unittest.isTrue);
1289 unittest.expect(o.smallIconUrl, unittest.equals('foo')); 1289 unittest.expect(o.smallIconUrl, unittest.equals('foo'));
1290 unittest.expect(o.title, unittest.equals('foo')); 1290 unittest.expect(o.title, unittest.equals('foo'));
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 1349
1350 checkProductPermission(api.ProductPermission o) { 1350 checkProductPermission(api.ProductPermission o) {
1351 buildCounterProductPermission++; 1351 buildCounterProductPermission++;
1352 if (buildCounterProductPermission < 3) { 1352 if (buildCounterProductPermission < 3) {
1353 unittest.expect(o.permissionId, unittest.equals('foo')); 1353 unittest.expect(o.permissionId, unittest.equals('foo'));
1354 unittest.expect(o.state, unittest.equals('foo')); 1354 unittest.expect(o.state, unittest.equals('foo'));
1355 } 1355 }
1356 buildCounterProductPermission--; 1356 buildCounterProductPermission--;
1357 } 1357 }
1358 1358
1359 buildUnnamed421() { 1359 buildUnnamed2397() {
1360 var o = new core.List<api.ProductPermission>(); 1360 var o = new core.List<api.ProductPermission>();
1361 o.add(buildProductPermission()); 1361 o.add(buildProductPermission());
1362 o.add(buildProductPermission()); 1362 o.add(buildProductPermission());
1363 return o; 1363 return o;
1364 } 1364 }
1365 1365
1366 checkUnnamed421(core.List<api.ProductPermission> o) { 1366 checkUnnamed2397(core.List<api.ProductPermission> o) {
1367 unittest.expect(o, unittest.hasLength(2)); 1367 unittest.expect(o, unittest.hasLength(2));
1368 checkProductPermission(o[0]); 1368 checkProductPermission(o[0]);
1369 checkProductPermission(o[1]); 1369 checkProductPermission(o[1]);
1370 } 1370 }
1371 1371
1372 core.int buildCounterProductPermissions = 0; 1372 core.int buildCounterProductPermissions = 0;
1373 buildProductPermissions() { 1373 buildProductPermissions() {
1374 var o = new api.ProductPermissions(); 1374 var o = new api.ProductPermissions();
1375 buildCounterProductPermissions++; 1375 buildCounterProductPermissions++;
1376 if (buildCounterProductPermissions < 3) { 1376 if (buildCounterProductPermissions < 3) {
1377 o.kind = "foo"; 1377 o.kind = "foo";
1378 o.permission = buildUnnamed421(); 1378 o.permission = buildUnnamed2397();
1379 o.productId = "foo"; 1379 o.productId = "foo";
1380 } 1380 }
1381 buildCounterProductPermissions--; 1381 buildCounterProductPermissions--;
1382 return o; 1382 return o;
1383 } 1383 }
1384 1384
1385 checkProductPermissions(api.ProductPermissions o) { 1385 checkProductPermissions(api.ProductPermissions o) {
1386 buildCounterProductPermissions++; 1386 buildCounterProductPermissions++;
1387 if (buildCounterProductPermissions < 3) { 1387 if (buildCounterProductPermissions < 3) {
1388 unittest.expect(o.kind, unittest.equals('foo')); 1388 unittest.expect(o.kind, unittest.equals('foo'));
1389 checkUnnamed421(o.permission); 1389 checkUnnamed2397(o.permission);
1390 unittest.expect(o.productId, unittest.equals('foo')); 1390 unittest.expect(o.productId, unittest.equals('foo'));
1391 } 1391 }
1392 buildCounterProductPermissions--; 1392 buildCounterProductPermissions--;
1393 } 1393 }
1394 1394
1395 buildUnnamed422() { 1395 buildUnnamed2398() {
1396 var o = new core.List<core.String>(); 1396 var o = new core.List<core.String>();
1397 o.add("foo"); 1397 o.add("foo");
1398 o.add("foo"); 1398 o.add("foo");
1399 return o; 1399 return o;
1400 } 1400 }
1401 1401
1402 checkUnnamed422(core.List<core.String> o) { 1402 checkUnnamed2398(core.List<core.String> o) {
1403 unittest.expect(o, unittest.hasLength(2)); 1403 unittest.expect(o, unittest.hasLength(2));
1404 unittest.expect(o[0], unittest.equals('foo')); 1404 unittest.expect(o[0], unittest.equals('foo'));
1405 unittest.expect(o[1], unittest.equals('foo')); 1405 unittest.expect(o[1], unittest.equals('foo'));
1406 } 1406 }
1407 1407
1408 core.int buildCounterProductSet = 0; 1408 core.int buildCounterProductSet = 0;
1409 buildProductSet() { 1409 buildProductSet() {
1410 var o = new api.ProductSet(); 1410 var o = new api.ProductSet();
1411 buildCounterProductSet++; 1411 buildCounterProductSet++;
1412 if (buildCounterProductSet < 3) { 1412 if (buildCounterProductSet < 3) {
1413 o.kind = "foo"; 1413 o.kind = "foo";
1414 o.productId = buildUnnamed422(); 1414 o.productId = buildUnnamed2398();
1415 } 1415 }
1416 buildCounterProductSet--; 1416 buildCounterProductSet--;
1417 return o; 1417 return o;
1418 } 1418 }
1419 1419
1420 checkProductSet(api.ProductSet o) { 1420 checkProductSet(api.ProductSet o) {
1421 buildCounterProductSet++; 1421 buildCounterProductSet++;
1422 if (buildCounterProductSet < 3) { 1422 if (buildCounterProductSet < 3) {
1423 unittest.expect(o.kind, unittest.equals('foo')); 1423 unittest.expect(o.kind, unittest.equals('foo'));
1424 checkUnnamed422(o.productId); 1424 checkUnnamed2398(o.productId);
1425 } 1425 }
1426 buildCounterProductSet--; 1426 buildCounterProductSet--;
1427 } 1427 }
1428 1428
1429 core.int buildCounterProductsApproveRequest = 0; 1429 core.int buildCounterProductsApproveRequest = 0;
1430 buildProductsApproveRequest() { 1430 buildProductsApproveRequest() {
1431 var o = new api.ProductsApproveRequest(); 1431 var o = new api.ProductsApproveRequest();
1432 buildCounterProductsApproveRequest++; 1432 buildCounterProductsApproveRequest++;
1433 if (buildCounterProductsApproveRequest < 3) { 1433 if (buildCounterProductsApproveRequest < 3) {
1434 o.approvalUrlInfo = buildApprovalUrlInfo(); 1434 o.approvalUrlInfo = buildApprovalUrlInfo();
(...skipping 22 matching lines...) Expand all
1457 } 1457 }
1458 1458
1459 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse o) { 1459 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse o) {
1460 buildCounterProductsGenerateApprovalUrlResponse++; 1460 buildCounterProductsGenerateApprovalUrlResponse++;
1461 if (buildCounterProductsGenerateApprovalUrlResponse < 3) { 1461 if (buildCounterProductsGenerateApprovalUrlResponse < 3) {
1462 unittest.expect(o.url, unittest.equals('foo')); 1462 unittest.expect(o.url, unittest.equals('foo'));
1463 } 1463 }
1464 buildCounterProductsGenerateApprovalUrlResponse--; 1464 buildCounterProductsGenerateApprovalUrlResponse--;
1465 } 1465 }
1466 1466
1467 buildUnnamed423() { 1467 buildUnnamed2399() {
1468 var o = new core.List<api.Product>(); 1468 var o = new core.List<api.Product>();
1469 o.add(buildProduct()); 1469 o.add(buildProduct());
1470 o.add(buildProduct()); 1470 o.add(buildProduct());
1471 return o; 1471 return o;
1472 } 1472 }
1473 1473
1474 checkUnnamed423(core.List<api.Product> o) { 1474 checkUnnamed2399(core.List<api.Product> o) {
1475 unittest.expect(o, unittest.hasLength(2)); 1475 unittest.expect(o, unittest.hasLength(2));
1476 checkProduct(o[0]); 1476 checkProduct(o[0]);
1477 checkProduct(o[1]); 1477 checkProduct(o[1]);
1478 } 1478 }
1479 1479
1480 core.int buildCounterProductsListResponse = 0; 1480 core.int buildCounterProductsListResponse = 0;
1481 buildProductsListResponse() { 1481 buildProductsListResponse() {
1482 var o = new api.ProductsListResponse(); 1482 var o = new api.ProductsListResponse();
1483 buildCounterProductsListResponse++; 1483 buildCounterProductsListResponse++;
1484 if (buildCounterProductsListResponse < 3) { 1484 if (buildCounterProductsListResponse < 3) {
1485 o.kind = "foo"; 1485 o.kind = "foo";
1486 o.pageInfo = buildPageInfo(); 1486 o.pageInfo = buildPageInfo();
1487 o.product = buildUnnamed423(); 1487 o.product = buildUnnamed2399();
1488 o.tokenPagination = buildTokenPagination(); 1488 o.tokenPagination = buildTokenPagination();
1489 } 1489 }
1490 buildCounterProductsListResponse--; 1490 buildCounterProductsListResponse--;
1491 return o; 1491 return o;
1492 } 1492 }
1493 1493
1494 checkProductsListResponse(api.ProductsListResponse o) { 1494 checkProductsListResponse(api.ProductsListResponse o) {
1495 buildCounterProductsListResponse++; 1495 buildCounterProductsListResponse++;
1496 if (buildCounterProductsListResponse < 3) { 1496 if (buildCounterProductsListResponse < 3) {
1497 unittest.expect(o.kind, unittest.equals('foo')); 1497 unittest.expect(o.kind, unittest.equals('foo'));
1498 checkPageInfo(o.pageInfo); 1498 checkPageInfo(o.pageInfo);
1499 checkUnnamed423(o.product); 1499 checkUnnamed2399(o.product);
1500 checkTokenPagination(o.tokenPagination); 1500 checkTokenPagination(o.tokenPagination);
1501 } 1501 }
1502 buildCounterProductsListResponse--; 1502 buildCounterProductsListResponse--;
1503 } 1503 }
1504 1504
1505 core.int buildCounterServiceAccount = 0; 1505 core.int buildCounterServiceAccount = 0;
1506 buildServiceAccount() { 1506 buildServiceAccount() {
1507 var o = new api.ServiceAccount(); 1507 var o = new api.ServiceAccount();
1508 buildCounterServiceAccount++; 1508 buildCounterServiceAccount++;
1509 if (buildCounterServiceAccount < 3) { 1509 if (buildCounterServiceAccount < 3) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 buildCounterServiceAccountKey++; 1543 buildCounterServiceAccountKey++;
1544 if (buildCounterServiceAccountKey < 3) { 1544 if (buildCounterServiceAccountKey < 3) {
1545 unittest.expect(o.data, unittest.equals('foo')); 1545 unittest.expect(o.data, unittest.equals('foo'));
1546 unittest.expect(o.id, unittest.equals('foo')); 1546 unittest.expect(o.id, unittest.equals('foo'));
1547 unittest.expect(o.kind, unittest.equals('foo')); 1547 unittest.expect(o.kind, unittest.equals('foo'));
1548 unittest.expect(o.type, unittest.equals('foo')); 1548 unittest.expect(o.type, unittest.equals('foo'));
1549 } 1549 }
1550 buildCounterServiceAccountKey--; 1550 buildCounterServiceAccountKey--;
1551 } 1551 }
1552 1552
1553 buildUnnamed424() { 1553 buildUnnamed2400() {
1554 var o = new core.List<api.ServiceAccountKey>(); 1554 var o = new core.List<api.ServiceAccountKey>();
1555 o.add(buildServiceAccountKey()); 1555 o.add(buildServiceAccountKey());
1556 o.add(buildServiceAccountKey()); 1556 o.add(buildServiceAccountKey());
1557 return o; 1557 return o;
1558 } 1558 }
1559 1559
1560 checkUnnamed424(core.List<api.ServiceAccountKey> o) { 1560 checkUnnamed2400(core.List<api.ServiceAccountKey> o) {
1561 unittest.expect(o, unittest.hasLength(2)); 1561 unittest.expect(o, unittest.hasLength(2));
1562 checkServiceAccountKey(o[0]); 1562 checkServiceAccountKey(o[0]);
1563 checkServiceAccountKey(o[1]); 1563 checkServiceAccountKey(o[1]);
1564 } 1564 }
1565 1565
1566 core.int buildCounterServiceAccountKeysListResponse = 0; 1566 core.int buildCounterServiceAccountKeysListResponse = 0;
1567 buildServiceAccountKeysListResponse() { 1567 buildServiceAccountKeysListResponse() {
1568 var o = new api.ServiceAccountKeysListResponse(); 1568 var o = new api.ServiceAccountKeysListResponse();
1569 buildCounterServiceAccountKeysListResponse++; 1569 buildCounterServiceAccountKeysListResponse++;
1570 if (buildCounterServiceAccountKeysListResponse < 3) { 1570 if (buildCounterServiceAccountKeysListResponse < 3) {
1571 o.serviceAccountKey = buildUnnamed424(); 1571 o.serviceAccountKey = buildUnnamed2400();
1572 } 1572 }
1573 buildCounterServiceAccountKeysListResponse--; 1573 buildCounterServiceAccountKeysListResponse--;
1574 return o; 1574 return o;
1575 } 1575 }
1576 1576
1577 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) { 1577 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
1578 buildCounterServiceAccountKeysListResponse++; 1578 buildCounterServiceAccountKeysListResponse++;
1579 if (buildCounterServiceAccountKeysListResponse < 3) { 1579 if (buildCounterServiceAccountKeysListResponse < 3) {
1580 checkUnnamed424(o.serviceAccountKey); 1580 checkUnnamed2400(o.serviceAccountKey);
1581 } 1581 }
1582 buildCounterServiceAccountKeysListResponse--; 1582 buildCounterServiceAccountKeysListResponse--;
1583 } 1583 }
1584 1584
1585 core.int buildCounterSignupInfo = 0; 1585 core.int buildCounterSignupInfo = 0;
1586 buildSignupInfo() { 1586 buildSignupInfo() {
1587 var o = new api.SignupInfo(); 1587 var o = new api.SignupInfo();
1588 buildCounterSignupInfo++; 1588 buildCounterSignupInfo++;
1589 if (buildCounterSignupInfo < 3) { 1589 if (buildCounterSignupInfo < 3) {
1590 o.completionToken = "foo"; 1590 o.completionToken = "foo";
1591 o.kind = "foo"; 1591 o.kind = "foo";
1592 o.url = "foo"; 1592 o.url = "foo";
1593 } 1593 }
1594 buildCounterSignupInfo--; 1594 buildCounterSignupInfo--;
1595 return o; 1595 return o;
1596 } 1596 }
1597 1597
1598 checkSignupInfo(api.SignupInfo o) { 1598 checkSignupInfo(api.SignupInfo o) {
1599 buildCounterSignupInfo++; 1599 buildCounterSignupInfo++;
1600 if (buildCounterSignupInfo < 3) { 1600 if (buildCounterSignupInfo < 3) {
1601 unittest.expect(o.completionToken, unittest.equals('foo')); 1601 unittest.expect(o.completionToken, unittest.equals('foo'));
1602 unittest.expect(o.kind, unittest.equals('foo')); 1602 unittest.expect(o.kind, unittest.equals('foo'));
1603 unittest.expect(o.url, unittest.equals('foo')); 1603 unittest.expect(o.url, unittest.equals('foo'));
1604 } 1604 }
1605 buildCounterSignupInfo--; 1605 buildCounterSignupInfo--;
1606 } 1606 }
1607 1607
1608 buildUnnamed425() { 1608 buildUnnamed2401() {
1609 var o = new core.List<api.LocalizedText>(); 1609 var o = new core.List<api.LocalizedText>();
1610 o.add(buildLocalizedText()); 1610 o.add(buildLocalizedText());
1611 o.add(buildLocalizedText()); 1611 o.add(buildLocalizedText());
1612 return o; 1612 return o;
1613 } 1613 }
1614 1614
1615 checkUnnamed425(core.List<api.LocalizedText> o) { 1615 checkUnnamed2401(core.List<api.LocalizedText> o) {
1616 unittest.expect(o, unittest.hasLength(2)); 1616 unittest.expect(o, unittest.hasLength(2));
1617 checkLocalizedText(o[0]); 1617 checkLocalizedText(o[0]);
1618 checkLocalizedText(o[1]); 1618 checkLocalizedText(o[1]);
1619 } 1619 }
1620 1620
1621 buildUnnamed426() { 1621 buildUnnamed2402() {
1622 var o = new core.List<core.String>(); 1622 var o = new core.List<core.String>();
1623 o.add("foo"); 1623 o.add("foo");
1624 o.add("foo"); 1624 o.add("foo");
1625 return o; 1625 return o;
1626 } 1626 }
1627 1627
1628 checkUnnamed426(core.List<core.String> o) { 1628 checkUnnamed2402(core.List<core.String> o) {
1629 unittest.expect(o, unittest.hasLength(2)); 1629 unittest.expect(o, unittest.hasLength(2));
1630 unittest.expect(o[0], unittest.equals('foo')); 1630 unittest.expect(o[0], unittest.equals('foo'));
1631 unittest.expect(o[1], unittest.equals('foo')); 1631 unittest.expect(o[1], unittest.equals('foo'));
1632 } 1632 }
1633 1633
1634 core.int buildCounterStoreCluster = 0; 1634 core.int buildCounterStoreCluster = 0;
1635 buildStoreCluster() { 1635 buildStoreCluster() {
1636 var o = new api.StoreCluster(); 1636 var o = new api.StoreCluster();
1637 buildCounterStoreCluster++; 1637 buildCounterStoreCluster++;
1638 if (buildCounterStoreCluster < 3) { 1638 if (buildCounterStoreCluster < 3) {
1639 o.id = "foo"; 1639 o.id = "foo";
1640 o.kind = "foo"; 1640 o.kind = "foo";
1641 o.name = buildUnnamed425(); 1641 o.name = buildUnnamed2401();
1642 o.orderInPage = "foo"; 1642 o.orderInPage = "foo";
1643 o.productId = buildUnnamed426(); 1643 o.productId = buildUnnamed2402();
1644 } 1644 }
1645 buildCounterStoreCluster--; 1645 buildCounterStoreCluster--;
1646 return o; 1646 return o;
1647 } 1647 }
1648 1648
1649 checkStoreCluster(api.StoreCluster o) { 1649 checkStoreCluster(api.StoreCluster o) {
1650 buildCounterStoreCluster++; 1650 buildCounterStoreCluster++;
1651 if (buildCounterStoreCluster < 3) { 1651 if (buildCounterStoreCluster < 3) {
1652 unittest.expect(o.id, unittest.equals('foo')); 1652 unittest.expect(o.id, unittest.equals('foo'));
1653 unittest.expect(o.kind, unittest.equals('foo')); 1653 unittest.expect(o.kind, unittest.equals('foo'));
1654 checkUnnamed425(o.name); 1654 checkUnnamed2401(o.name);
1655 unittest.expect(o.orderInPage, unittest.equals('foo')); 1655 unittest.expect(o.orderInPage, unittest.equals('foo'));
1656 checkUnnamed426(o.productId); 1656 checkUnnamed2402(o.productId);
1657 } 1657 }
1658 buildCounterStoreCluster--; 1658 buildCounterStoreCluster--;
1659 } 1659 }
1660 1660
1661 core.int buildCounterStoreLayout = 0; 1661 core.int buildCounterStoreLayout = 0;
1662 buildStoreLayout() { 1662 buildStoreLayout() {
1663 var o = new api.StoreLayout(); 1663 var o = new api.StoreLayout();
1664 buildCounterStoreLayout++; 1664 buildCounterStoreLayout++;
1665 if (buildCounterStoreLayout < 3) { 1665 if (buildCounterStoreLayout < 3) {
1666 o.homepageId = "foo"; 1666 o.homepageId = "foo";
1667 o.kind = "foo"; 1667 o.kind = "foo";
1668 } 1668 }
1669 buildCounterStoreLayout--; 1669 buildCounterStoreLayout--;
1670 return o; 1670 return o;
1671 } 1671 }
1672 1672
1673 checkStoreLayout(api.StoreLayout o) { 1673 checkStoreLayout(api.StoreLayout o) {
1674 buildCounterStoreLayout++; 1674 buildCounterStoreLayout++;
1675 if (buildCounterStoreLayout < 3) { 1675 if (buildCounterStoreLayout < 3) {
1676 unittest.expect(o.homepageId, unittest.equals('foo')); 1676 unittest.expect(o.homepageId, unittest.equals('foo'));
1677 unittest.expect(o.kind, unittest.equals('foo')); 1677 unittest.expect(o.kind, unittest.equals('foo'));
1678 } 1678 }
1679 buildCounterStoreLayout--; 1679 buildCounterStoreLayout--;
1680 } 1680 }
1681 1681
1682 buildUnnamed427() { 1682 buildUnnamed2403() {
1683 var o = new core.List<api.StoreCluster>(); 1683 var o = new core.List<api.StoreCluster>();
1684 o.add(buildStoreCluster()); 1684 o.add(buildStoreCluster());
1685 o.add(buildStoreCluster()); 1685 o.add(buildStoreCluster());
1686 return o; 1686 return o;
1687 } 1687 }
1688 1688
1689 checkUnnamed427(core.List<api.StoreCluster> o) { 1689 checkUnnamed2403(core.List<api.StoreCluster> o) {
1690 unittest.expect(o, unittest.hasLength(2)); 1690 unittest.expect(o, unittest.hasLength(2));
1691 checkStoreCluster(o[0]); 1691 checkStoreCluster(o[0]);
1692 checkStoreCluster(o[1]); 1692 checkStoreCluster(o[1]);
1693 } 1693 }
1694 1694
1695 core.int buildCounterStoreLayoutClustersListResponse = 0; 1695 core.int buildCounterStoreLayoutClustersListResponse = 0;
1696 buildStoreLayoutClustersListResponse() { 1696 buildStoreLayoutClustersListResponse() {
1697 var o = new api.StoreLayoutClustersListResponse(); 1697 var o = new api.StoreLayoutClustersListResponse();
1698 buildCounterStoreLayoutClustersListResponse++; 1698 buildCounterStoreLayoutClustersListResponse++;
1699 if (buildCounterStoreLayoutClustersListResponse < 3) { 1699 if (buildCounterStoreLayoutClustersListResponse < 3) {
1700 o.cluster = buildUnnamed427(); 1700 o.cluster = buildUnnamed2403();
1701 o.kind = "foo"; 1701 o.kind = "foo";
1702 } 1702 }
1703 buildCounterStoreLayoutClustersListResponse--; 1703 buildCounterStoreLayoutClustersListResponse--;
1704 return o; 1704 return o;
1705 } 1705 }
1706 1706
1707 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) { 1707 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
1708 buildCounterStoreLayoutClustersListResponse++; 1708 buildCounterStoreLayoutClustersListResponse++;
1709 if (buildCounterStoreLayoutClustersListResponse < 3) { 1709 if (buildCounterStoreLayoutClustersListResponse < 3) {
1710 checkUnnamed427(o.cluster); 1710 checkUnnamed2403(o.cluster);
1711 unittest.expect(o.kind, unittest.equals('foo')); 1711 unittest.expect(o.kind, unittest.equals('foo'));
1712 } 1712 }
1713 buildCounterStoreLayoutClustersListResponse--; 1713 buildCounterStoreLayoutClustersListResponse--;
1714 } 1714 }
1715 1715
1716 buildUnnamed428() { 1716 buildUnnamed2404() {
1717 var o = new core.List<api.StorePage>(); 1717 var o = new core.List<api.StorePage>();
1718 o.add(buildStorePage()); 1718 o.add(buildStorePage());
1719 o.add(buildStorePage()); 1719 o.add(buildStorePage());
1720 return o; 1720 return o;
1721 } 1721 }
1722 1722
1723 checkUnnamed428(core.List<api.StorePage> o) { 1723 checkUnnamed2404(core.List<api.StorePage> o) {
1724 unittest.expect(o, unittest.hasLength(2)); 1724 unittest.expect(o, unittest.hasLength(2));
1725 checkStorePage(o[0]); 1725 checkStorePage(o[0]);
1726 checkStorePage(o[1]); 1726 checkStorePage(o[1]);
1727 } 1727 }
1728 1728
1729 core.int buildCounterStoreLayoutPagesListResponse = 0; 1729 core.int buildCounterStoreLayoutPagesListResponse = 0;
1730 buildStoreLayoutPagesListResponse() { 1730 buildStoreLayoutPagesListResponse() {
1731 var o = new api.StoreLayoutPagesListResponse(); 1731 var o = new api.StoreLayoutPagesListResponse();
1732 buildCounterStoreLayoutPagesListResponse++; 1732 buildCounterStoreLayoutPagesListResponse++;
1733 if (buildCounterStoreLayoutPagesListResponse < 3) { 1733 if (buildCounterStoreLayoutPagesListResponse < 3) {
1734 o.kind = "foo"; 1734 o.kind = "foo";
1735 o.page = buildUnnamed428(); 1735 o.page = buildUnnamed2404();
1736 } 1736 }
1737 buildCounterStoreLayoutPagesListResponse--; 1737 buildCounterStoreLayoutPagesListResponse--;
1738 return o; 1738 return o;
1739 } 1739 }
1740 1740
1741 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { 1741 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) {
1742 buildCounterStoreLayoutPagesListResponse++; 1742 buildCounterStoreLayoutPagesListResponse++;
1743 if (buildCounterStoreLayoutPagesListResponse < 3) { 1743 if (buildCounterStoreLayoutPagesListResponse < 3) {
1744 unittest.expect(o.kind, unittest.equals('foo')); 1744 unittest.expect(o.kind, unittest.equals('foo'));
1745 checkUnnamed428(o.page); 1745 checkUnnamed2404(o.page);
1746 } 1746 }
1747 buildCounterStoreLayoutPagesListResponse--; 1747 buildCounterStoreLayoutPagesListResponse--;
1748 } 1748 }
1749 1749
1750 buildUnnamed429() { 1750 buildUnnamed2405() {
1751 var o = new core.List<core.String>(); 1751 var o = new core.List<core.String>();
1752 o.add("foo"); 1752 o.add("foo");
1753 o.add("foo"); 1753 o.add("foo");
1754 return o; 1754 return o;
1755 } 1755 }
1756 1756
1757 checkUnnamed429(core.List<core.String> o) { 1757 checkUnnamed2405(core.List<core.String> o) {
1758 unittest.expect(o, unittest.hasLength(2)); 1758 unittest.expect(o, unittest.hasLength(2));
1759 unittest.expect(o[0], unittest.equals('foo')); 1759 unittest.expect(o[0], unittest.equals('foo'));
1760 unittest.expect(o[1], unittest.equals('foo')); 1760 unittest.expect(o[1], unittest.equals('foo'));
1761 } 1761 }
1762 1762
1763 buildUnnamed430() { 1763 buildUnnamed2406() {
1764 var o = new core.List<api.LocalizedText>(); 1764 var o = new core.List<api.LocalizedText>();
1765 o.add(buildLocalizedText()); 1765 o.add(buildLocalizedText());
1766 o.add(buildLocalizedText()); 1766 o.add(buildLocalizedText());
1767 return o; 1767 return o;
1768 } 1768 }
1769 1769
1770 checkUnnamed430(core.List<api.LocalizedText> o) { 1770 checkUnnamed2406(core.List<api.LocalizedText> o) {
1771 unittest.expect(o, unittest.hasLength(2)); 1771 unittest.expect(o, unittest.hasLength(2));
1772 checkLocalizedText(o[0]); 1772 checkLocalizedText(o[0]);
1773 checkLocalizedText(o[1]); 1773 checkLocalizedText(o[1]);
1774 } 1774 }
1775 1775
1776 core.int buildCounterStorePage = 0; 1776 core.int buildCounterStorePage = 0;
1777 buildStorePage() { 1777 buildStorePage() {
1778 var o = new api.StorePage(); 1778 var o = new api.StorePage();
1779 buildCounterStorePage++; 1779 buildCounterStorePage++;
1780 if (buildCounterStorePage < 3) { 1780 if (buildCounterStorePage < 3) {
1781 o.id = "foo"; 1781 o.id = "foo";
1782 o.kind = "foo"; 1782 o.kind = "foo";
1783 o.link = buildUnnamed429(); 1783 o.link = buildUnnamed2405();
1784 o.name = buildUnnamed430(); 1784 o.name = buildUnnamed2406();
1785 } 1785 }
1786 buildCounterStorePage--; 1786 buildCounterStorePage--;
1787 return o; 1787 return o;
1788 } 1788 }
1789 1789
1790 checkStorePage(api.StorePage o) { 1790 checkStorePage(api.StorePage o) {
1791 buildCounterStorePage++; 1791 buildCounterStorePage++;
1792 if (buildCounterStorePage < 3) { 1792 if (buildCounterStorePage < 3) {
1793 unittest.expect(o.id, unittest.equals('foo')); 1793 unittest.expect(o.id, unittest.equals('foo'));
1794 unittest.expect(o.kind, unittest.equals('foo')); 1794 unittest.expect(o.kind, unittest.equals('foo'));
1795 checkUnnamed429(o.link); 1795 checkUnnamed2405(o.link);
1796 checkUnnamed430(o.name); 1796 checkUnnamed2406(o.name);
1797 } 1797 }
1798 buildCounterStorePage--; 1798 buildCounterStorePage--;
1799 } 1799 }
1800 1800
1801 core.int buildCounterTokenPagination = 0; 1801 core.int buildCounterTokenPagination = 0;
1802 buildTokenPagination() { 1802 buildTokenPagination() {
1803 var o = new api.TokenPagination(); 1803 var o = new api.TokenPagination();
1804 buildCounterTokenPagination++; 1804 buildCounterTokenPagination++;
1805 if (buildCounterTokenPagination < 3) { 1805 if (buildCounterTokenPagination < 3) {
1806 o.nextPageToken = "foo"; 1806 o.nextPageToken = "foo";
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1866 checkUserToken(api.UserToken o) { 1866 checkUserToken(api.UserToken o) {
1867 buildCounterUserToken++; 1867 buildCounterUserToken++;
1868 if (buildCounterUserToken < 3) { 1868 if (buildCounterUserToken < 3) {
1869 unittest.expect(o.kind, unittest.equals('foo')); 1869 unittest.expect(o.kind, unittest.equals('foo'));
1870 unittest.expect(o.token, unittest.equals('foo')); 1870 unittest.expect(o.token, unittest.equals('foo'));
1871 unittest.expect(o.userId, unittest.equals('foo')); 1871 unittest.expect(o.userId, unittest.equals('foo'));
1872 } 1872 }
1873 buildCounterUserToken--; 1873 buildCounterUserToken--;
1874 } 1874 }
1875 1875
1876 buildUnnamed431() { 1876 buildUnnamed2407() {
1877 var o = new core.List<api.User>(); 1877 var o = new core.List<api.User>();
1878 o.add(buildUser()); 1878 o.add(buildUser());
1879 o.add(buildUser()); 1879 o.add(buildUser());
1880 return o; 1880 return o;
1881 } 1881 }
1882 1882
1883 checkUnnamed431(core.List<api.User> o) { 1883 checkUnnamed2407(core.List<api.User> o) {
1884 unittest.expect(o, unittest.hasLength(2)); 1884 unittest.expect(o, unittest.hasLength(2));
1885 checkUser(o[0]); 1885 checkUser(o[0]);
1886 checkUser(o[1]); 1886 checkUser(o[1]);
1887 } 1887 }
1888 1888
1889 core.int buildCounterUsersListResponse = 0; 1889 core.int buildCounterUsersListResponse = 0;
1890 buildUsersListResponse() { 1890 buildUsersListResponse() {
1891 var o = new api.UsersListResponse(); 1891 var o = new api.UsersListResponse();
1892 buildCounterUsersListResponse++; 1892 buildCounterUsersListResponse++;
1893 if (buildCounterUsersListResponse < 3) { 1893 if (buildCounterUsersListResponse < 3) {
1894 o.kind = "foo"; 1894 o.kind = "foo";
1895 o.user = buildUnnamed431(); 1895 o.user = buildUnnamed2407();
1896 } 1896 }
1897 buildCounterUsersListResponse--; 1897 buildCounterUsersListResponse--;
1898 return o; 1898 return o;
1899 } 1899 }
1900 1900
1901 checkUsersListResponse(api.UsersListResponse o) { 1901 checkUsersListResponse(api.UsersListResponse o) {
1902 buildCounterUsersListResponse++; 1902 buildCounterUsersListResponse++;
1903 if (buildCounterUsersListResponse < 3) { 1903 if (buildCounterUsersListResponse < 3) {
1904 unittest.expect(o.kind, unittest.equals('foo')); 1904 unittest.expect(o.kind, unittest.equals('foo'));
1905 checkUnnamed431(o.user); 1905 checkUnnamed2407(o.user);
1906 } 1906 }
1907 buildCounterUsersListResponse--; 1907 buildCounterUsersListResponse--;
1908 } 1908 }
1909 1909
1910 1910
1911 main() { 1911 main() {
1912 unittest.group("obj-schema-Administrator", () { 1912 unittest.group("obj-schema-Administrator", () {
1913 unittest.test("to-json--from-json", () { 1913 unittest.test("to-json--from-json", () {
1914 var o = buildAdministrator(); 1914 var o = buildAdministrator();
1915 var od = new api.Administrator.fromJson(o.toJson()); 1915 var od = new api.Administrator.fromJson(o.toJson());
(...skipping 5954 matching lines...) Expand 10 before | Expand all | Expand 10 after
7870 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect Async(((api.User response) { 7870 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect Async(((api.User response) {
7871 checkUser(response); 7871 checkUser(response);
7872 }))); 7872 })));
7873 }); 7873 });
7874 7874
7875 }); 7875 });
7876 7876
7877 7877
7878 } 7878 }
7879 7879
OLDNEW
« no previous file with comments | « generated/googleapis/test/analyticsreporting/v4_test.dart ('k') | generated/googleapis/test/androidpublisher/v2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698