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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 checkAdministratorWebToken(api.AdministratorWebToken o) { 85 checkAdministratorWebToken(api.AdministratorWebToken o) {
86 buildCounterAdministratorWebToken++; 86 buildCounterAdministratorWebToken++;
87 if (buildCounterAdministratorWebToken < 3) { 87 if (buildCounterAdministratorWebToken < 3) {
88 unittest.expect(o.kind, unittest.equals('foo')); 88 unittest.expect(o.kind, unittest.equals('foo'));
89 unittest.expect(o.token, unittest.equals('foo')); 89 unittest.expect(o.token, unittest.equals('foo'));
90 } 90 }
91 buildCounterAdministratorWebToken--; 91 buildCounterAdministratorWebToken--;
92 } 92 }
93 93
94 buildUnnamed1905() { 94 buildUnnamed1999() {
95 var o = new core.List<core.String>(); 95 var o = new core.List<core.String>();
96 o.add("foo"); 96 o.add("foo");
97 o.add("foo"); 97 o.add("foo");
98 return o; 98 return o;
99 } 99 }
100 100
101 checkUnnamed1905(core.List<core.String> o) { 101 checkUnnamed1999(core.List<core.String> o) {
102 unittest.expect(o, unittest.hasLength(2)); 102 unittest.expect(o, unittest.hasLength(2));
103 unittest.expect(o[0], unittest.equals('foo')); 103 unittest.expect(o[0], unittest.equals('foo'));
104 unittest.expect(o[1], unittest.equals('foo')); 104 unittest.expect(o[1], unittest.equals('foo'));
105 } 105 }
106 106
107 core.int buildCounterAdministratorWebTokenSpec = 0; 107 core.int buildCounterAdministratorWebTokenSpec = 0;
108 buildAdministratorWebTokenSpec() { 108 buildAdministratorWebTokenSpec() {
109 var o = new api.AdministratorWebTokenSpec(); 109 var o = new api.AdministratorWebTokenSpec();
110 buildCounterAdministratorWebTokenSpec++; 110 buildCounterAdministratorWebTokenSpec++;
111 if (buildCounterAdministratorWebTokenSpec < 3) { 111 if (buildCounterAdministratorWebTokenSpec < 3) {
112 o.kind = "foo"; 112 o.kind = "foo";
113 o.parent = "foo"; 113 o.parent = "foo";
114 o.permission = buildUnnamed1905(); 114 o.permission = buildUnnamed1999();
115 } 115 }
116 buildCounterAdministratorWebTokenSpec--; 116 buildCounterAdministratorWebTokenSpec--;
117 return o; 117 return o;
118 } 118 }
119 119
120 checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) { 120 checkAdministratorWebTokenSpec(api.AdministratorWebTokenSpec o) {
121 buildCounterAdministratorWebTokenSpec++; 121 buildCounterAdministratorWebTokenSpec++;
122 if (buildCounterAdministratorWebTokenSpec < 3) { 122 if (buildCounterAdministratorWebTokenSpec < 3) {
123 unittest.expect(o.kind, unittest.equals('foo')); 123 unittest.expect(o.kind, unittest.equals('foo'));
124 unittest.expect(o.parent, unittest.equals('foo')); 124 unittest.expect(o.parent, unittest.equals('foo'));
125 checkUnnamed1905(o.permission); 125 checkUnnamed1999(o.permission);
126 } 126 }
127 buildCounterAdministratorWebTokenSpec--; 127 buildCounterAdministratorWebTokenSpec--;
128 } 128 }
129 129
130 buildUnnamed1906() { 130 buildUnnamed2000() {
131 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); 131 var o = new core.List<api.AppRestrictionsSchemaRestriction>();
132 o.add(buildAppRestrictionsSchemaRestriction()); 132 o.add(buildAppRestrictionsSchemaRestriction());
133 o.add(buildAppRestrictionsSchemaRestriction()); 133 o.add(buildAppRestrictionsSchemaRestriction());
134 return o; 134 return o;
135 } 135 }
136 136
137 checkUnnamed1906(core.List<api.AppRestrictionsSchemaRestriction> o) { 137 checkUnnamed2000(core.List<api.AppRestrictionsSchemaRestriction> o) {
138 unittest.expect(o, unittest.hasLength(2)); 138 unittest.expect(o, unittest.hasLength(2));
139 checkAppRestrictionsSchemaRestriction(o[0]); 139 checkAppRestrictionsSchemaRestriction(o[0]);
140 checkAppRestrictionsSchemaRestriction(o[1]); 140 checkAppRestrictionsSchemaRestriction(o[1]);
141 } 141 }
142 142
143 core.int buildCounterAppRestrictionsSchema = 0; 143 core.int buildCounterAppRestrictionsSchema = 0;
144 buildAppRestrictionsSchema() { 144 buildAppRestrictionsSchema() {
145 var o = new api.AppRestrictionsSchema(); 145 var o = new api.AppRestrictionsSchema();
146 buildCounterAppRestrictionsSchema++; 146 buildCounterAppRestrictionsSchema++;
147 if (buildCounterAppRestrictionsSchema < 3) { 147 if (buildCounterAppRestrictionsSchema < 3) {
148 o.kind = "foo"; 148 o.kind = "foo";
149 o.restrictions = buildUnnamed1906(); 149 o.restrictions = buildUnnamed2000();
150 } 150 }
151 buildCounterAppRestrictionsSchema--; 151 buildCounterAppRestrictionsSchema--;
152 return o; 152 return o;
153 } 153 }
154 154
155 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { 155 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) {
156 buildCounterAppRestrictionsSchema++; 156 buildCounterAppRestrictionsSchema++;
157 if (buildCounterAppRestrictionsSchema < 3) { 157 if (buildCounterAppRestrictionsSchema < 3) {
158 unittest.expect(o.kind, unittest.equals('foo')); 158 unittest.expect(o.kind, unittest.equals('foo'));
159 checkUnnamed1906(o.restrictions); 159 checkUnnamed2000(o.restrictions);
160 } 160 }
161 buildCounterAppRestrictionsSchema--; 161 buildCounterAppRestrictionsSchema--;
162 } 162 }
163 163
164 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0; 164 core.int buildCounterAppRestrictionsSchemaChangeEvent = 0;
165 buildAppRestrictionsSchemaChangeEvent() { 165 buildAppRestrictionsSchemaChangeEvent() {
166 var o = new api.AppRestrictionsSchemaChangeEvent(); 166 var o = new api.AppRestrictionsSchemaChangeEvent();
167 buildCounterAppRestrictionsSchemaChangeEvent++; 167 buildCounterAppRestrictionsSchemaChangeEvent++;
168 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { 168 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) {
169 o.productId = "foo"; 169 o.productId = "foo";
170 } 170 }
171 buildCounterAppRestrictionsSchemaChangeEvent--; 171 buildCounterAppRestrictionsSchemaChangeEvent--;
172 return o; 172 return o;
173 } 173 }
174 174
175 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) { 175 checkAppRestrictionsSchemaChangeEvent(api.AppRestrictionsSchemaChangeEvent o) {
176 buildCounterAppRestrictionsSchemaChangeEvent++; 176 buildCounterAppRestrictionsSchemaChangeEvent++;
177 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) { 177 if (buildCounterAppRestrictionsSchemaChangeEvent < 3) {
178 unittest.expect(o.productId, unittest.equals('foo')); 178 unittest.expect(o.productId, unittest.equals('foo'));
179 } 179 }
180 buildCounterAppRestrictionsSchemaChangeEvent--; 180 buildCounterAppRestrictionsSchemaChangeEvent--;
181 } 181 }
182 182
183 buildUnnamed1907() { 183 buildUnnamed2001() {
184 var o = new core.List<core.String>(); 184 var o = new core.List<core.String>();
185 o.add("foo"); 185 o.add("foo");
186 o.add("foo"); 186 o.add("foo");
187 return o; 187 return o;
188 } 188 }
189 189
190 checkUnnamed1907(core.List<core.String> o) { 190 checkUnnamed2001(core.List<core.String> o) {
191 unittest.expect(o, unittest.hasLength(2)); 191 unittest.expect(o, unittest.hasLength(2));
192 unittest.expect(o[0], unittest.equals('foo')); 192 unittest.expect(o[0], unittest.equals('foo'));
193 unittest.expect(o[1], unittest.equals('foo')); 193 unittest.expect(o[1], unittest.equals('foo'));
194 } 194 }
195 195
196 buildUnnamed1908() { 196 buildUnnamed2002() {
197 var o = new core.List<core.String>(); 197 var o = new core.List<core.String>();
198 o.add("foo"); 198 o.add("foo");
199 o.add("foo"); 199 o.add("foo");
200 return o; 200 return o;
201 } 201 }
202 202
203 checkUnnamed1908(core.List<core.String> o) { 203 checkUnnamed2002(core.List<core.String> o) {
204 unittest.expect(o, unittest.hasLength(2)); 204 unittest.expect(o, unittest.hasLength(2));
205 unittest.expect(o[0], unittest.equals('foo')); 205 unittest.expect(o[0], unittest.equals('foo'));
206 unittest.expect(o[1], unittest.equals('foo')); 206 unittest.expect(o[1], unittest.equals('foo'));
207 } 207 }
208 208
209 buildUnnamed1909() { 209 buildUnnamed2003() {
210 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); 210 var o = new core.List<api.AppRestrictionsSchemaRestriction>();
211 o.add(buildAppRestrictionsSchemaRestriction()); 211 o.add(buildAppRestrictionsSchemaRestriction());
212 o.add(buildAppRestrictionsSchemaRestriction()); 212 o.add(buildAppRestrictionsSchemaRestriction());
213 return o; 213 return o;
214 } 214 }
215 215
216 checkUnnamed1909(core.List<api.AppRestrictionsSchemaRestriction> o) { 216 checkUnnamed2003(core.List<api.AppRestrictionsSchemaRestriction> o) {
217 unittest.expect(o, unittest.hasLength(2)); 217 unittest.expect(o, unittest.hasLength(2));
218 checkAppRestrictionsSchemaRestriction(o[0]); 218 checkAppRestrictionsSchemaRestriction(o[0]);
219 checkAppRestrictionsSchemaRestriction(o[1]); 219 checkAppRestrictionsSchemaRestriction(o[1]);
220 } 220 }
221 221
222 core.int buildCounterAppRestrictionsSchemaRestriction = 0; 222 core.int buildCounterAppRestrictionsSchemaRestriction = 0;
223 buildAppRestrictionsSchemaRestriction() { 223 buildAppRestrictionsSchemaRestriction() {
224 var o = new api.AppRestrictionsSchemaRestriction(); 224 var o = new api.AppRestrictionsSchemaRestriction();
225 buildCounterAppRestrictionsSchemaRestriction++; 225 buildCounterAppRestrictionsSchemaRestriction++;
226 if (buildCounterAppRestrictionsSchemaRestriction < 3) { 226 if (buildCounterAppRestrictionsSchemaRestriction < 3) {
227 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); 227 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
228 o.description = "foo"; 228 o.description = "foo";
229 o.entry = buildUnnamed1907(); 229 o.entry = buildUnnamed2001();
230 o.entryValue = buildUnnamed1908(); 230 o.entryValue = buildUnnamed2002();
231 o.key = "foo"; 231 o.key = "foo";
232 o.nestedRestriction = buildUnnamed1909(); 232 o.nestedRestriction = buildUnnamed2003();
233 o.restrictionType = "foo"; 233 o.restrictionType = "foo";
234 o.title = "foo"; 234 o.title = "foo";
235 } 235 }
236 buildCounterAppRestrictionsSchemaRestriction--; 236 buildCounterAppRestrictionsSchemaRestriction--;
237 return o; 237 return o;
238 } 238 }
239 239
240 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) { 240 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) {
241 buildCounterAppRestrictionsSchemaRestriction++; 241 buildCounterAppRestrictionsSchemaRestriction++;
242 if (buildCounterAppRestrictionsSchemaRestriction < 3) { 242 if (buildCounterAppRestrictionsSchemaRestriction < 3) {
243 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue); 243 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
244 unittest.expect(o.description, unittest.equals('foo')); 244 unittest.expect(o.description, unittest.equals('foo'));
245 checkUnnamed1907(o.entry); 245 checkUnnamed2001(o.entry);
246 checkUnnamed1908(o.entryValue); 246 checkUnnamed2002(o.entryValue);
247 unittest.expect(o.key, unittest.equals('foo')); 247 unittest.expect(o.key, unittest.equals('foo'));
248 checkUnnamed1909(o.nestedRestriction); 248 checkUnnamed2003(o.nestedRestriction);
249 unittest.expect(o.restrictionType, unittest.equals('foo')); 249 unittest.expect(o.restrictionType, unittest.equals('foo'));
250 unittest.expect(o.title, unittest.equals('foo')); 250 unittest.expect(o.title, unittest.equals('foo'));
251 } 251 }
252 buildCounterAppRestrictionsSchemaRestriction--; 252 buildCounterAppRestrictionsSchemaRestriction--;
253 } 253 }
254 254
255 buildUnnamed1910() { 255 buildUnnamed2004() {
256 var o = new core.List<core.String>(); 256 var o = new core.List<core.String>();
257 o.add("foo"); 257 o.add("foo");
258 o.add("foo"); 258 o.add("foo");
259 return o; 259 return o;
260 } 260 }
261 261
262 checkUnnamed1910(core.List<core.String> o) { 262 checkUnnamed2004(core.List<core.String> o) {
263 unittest.expect(o, unittest.hasLength(2)); 263 unittest.expect(o, unittest.hasLength(2));
264 unittest.expect(o[0], unittest.equals('foo')); 264 unittest.expect(o[0], unittest.equals('foo'));
265 unittest.expect(o[1], unittest.equals('foo')); 265 unittest.expect(o[1], unittest.equals('foo'));
266 } 266 }
267 267
268 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0; 268 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0;
269 buildAppRestrictionsSchemaRestrictionRestrictionValue() { 269 buildAppRestrictionsSchemaRestrictionRestrictionValue() {
270 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue(); 270 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue();
271 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; 271 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++;
272 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { 272 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) {
273 o.type = "foo"; 273 o.type = "foo";
274 o.valueBool = true; 274 o.valueBool = true;
275 o.valueInteger = 42; 275 o.valueInteger = 42;
276 o.valueMultiselect = buildUnnamed1910(); 276 o.valueMultiselect = buildUnnamed2004();
277 o.valueString = "foo"; 277 o.valueString = "foo";
278 } 278 }
279 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; 279 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
280 return o; 280 return o;
281 } 281 }
282 282
283 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR estrictionRestrictionValue o) { 283 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR estrictionRestrictionValue o) {
284 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; 284 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++;
285 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { 285 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) {
286 unittest.expect(o.type, unittest.equals('foo')); 286 unittest.expect(o.type, unittest.equals('foo'));
287 unittest.expect(o.valueBool, unittest.isTrue); 287 unittest.expect(o.valueBool, unittest.isTrue);
288 unittest.expect(o.valueInteger, unittest.equals(42)); 288 unittest.expect(o.valueInteger, unittest.equals(42));
289 checkUnnamed1910(o.valueMultiselect); 289 checkUnnamed2004(o.valueMultiselect);
290 unittest.expect(o.valueString, unittest.equals('foo')); 290 unittest.expect(o.valueString, unittest.equals('foo'));
291 } 291 }
292 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; 292 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
293 } 293 }
294 294
295 core.int buildCounterAppUpdateEvent = 0; 295 core.int buildCounterAppUpdateEvent = 0;
296 buildAppUpdateEvent() { 296 buildAppUpdateEvent() {
297 var o = new api.AppUpdateEvent(); 297 var o = new api.AppUpdateEvent();
298 buildCounterAppUpdateEvent++; 298 buildCounterAppUpdateEvent++;
299 if (buildCounterAppUpdateEvent < 3) { 299 if (buildCounterAppUpdateEvent < 3) {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 411
412 checkDeviceState(api.DeviceState o) { 412 checkDeviceState(api.DeviceState o) {
413 buildCounterDeviceState++; 413 buildCounterDeviceState++;
414 if (buildCounterDeviceState < 3) { 414 if (buildCounterDeviceState < 3) {
415 unittest.expect(o.accountState, unittest.equals('foo')); 415 unittest.expect(o.accountState, unittest.equals('foo'));
416 unittest.expect(o.kind, unittest.equals('foo')); 416 unittest.expect(o.kind, unittest.equals('foo'));
417 } 417 }
418 buildCounterDeviceState--; 418 buildCounterDeviceState--;
419 } 419 }
420 420
421 buildUnnamed1911() { 421 buildUnnamed2005() {
422 var o = new core.List<api.Device>(); 422 var o = new core.List<api.Device>();
423 o.add(buildDevice()); 423 o.add(buildDevice());
424 o.add(buildDevice()); 424 o.add(buildDevice());
425 return o; 425 return o;
426 } 426 }
427 427
428 checkUnnamed1911(core.List<api.Device> o) { 428 checkUnnamed2005(core.List<api.Device> o) {
429 unittest.expect(o, unittest.hasLength(2)); 429 unittest.expect(o, unittest.hasLength(2));
430 checkDevice(o[0]); 430 checkDevice(o[0]);
431 checkDevice(o[1]); 431 checkDevice(o[1]);
432 } 432 }
433 433
434 core.int buildCounterDevicesListResponse = 0; 434 core.int buildCounterDevicesListResponse = 0;
435 buildDevicesListResponse() { 435 buildDevicesListResponse() {
436 var o = new api.DevicesListResponse(); 436 var o = new api.DevicesListResponse();
437 buildCounterDevicesListResponse++; 437 buildCounterDevicesListResponse++;
438 if (buildCounterDevicesListResponse < 3) { 438 if (buildCounterDevicesListResponse < 3) {
439 o.device = buildUnnamed1911(); 439 o.device = buildUnnamed2005();
440 o.kind = "foo"; 440 o.kind = "foo";
441 } 441 }
442 buildCounterDevicesListResponse--; 442 buildCounterDevicesListResponse--;
443 return o; 443 return o;
444 } 444 }
445 445
446 checkDevicesListResponse(api.DevicesListResponse o) { 446 checkDevicesListResponse(api.DevicesListResponse o) {
447 buildCounterDevicesListResponse++; 447 buildCounterDevicesListResponse++;
448 if (buildCounterDevicesListResponse < 3) { 448 if (buildCounterDevicesListResponse < 3) {
449 checkUnnamed1911(o.device); 449 checkUnnamed2005(o.device);
450 unittest.expect(o.kind, unittest.equals('foo')); 450 unittest.expect(o.kind, unittest.equals('foo'));
451 } 451 }
452 buildCounterDevicesListResponse--; 452 buildCounterDevicesListResponse--;
453 } 453 }
454 454
455 buildUnnamed1912() { 455 buildUnnamed2006() {
456 var o = new core.List<api.Administrator>(); 456 var o = new core.List<api.Administrator>();
457 o.add(buildAdministrator()); 457 o.add(buildAdministrator());
458 o.add(buildAdministrator()); 458 o.add(buildAdministrator());
459 return o; 459 return o;
460 } 460 }
461 461
462 checkUnnamed1912(core.List<api.Administrator> o) { 462 checkUnnamed2006(core.List<api.Administrator> o) {
463 unittest.expect(o, unittest.hasLength(2)); 463 unittest.expect(o, unittest.hasLength(2));
464 checkAdministrator(o[0]); 464 checkAdministrator(o[0]);
465 checkAdministrator(o[1]); 465 checkAdministrator(o[1]);
466 } 466 }
467 467
468 core.int buildCounterEnterprise = 0; 468 core.int buildCounterEnterprise = 0;
469 buildEnterprise() { 469 buildEnterprise() {
470 var o = new api.Enterprise(); 470 var o = new api.Enterprise();
471 buildCounterEnterprise++; 471 buildCounterEnterprise++;
472 if (buildCounterEnterprise < 3) { 472 if (buildCounterEnterprise < 3) {
473 o.administrator = buildUnnamed1912(); 473 o.administrator = buildUnnamed2006();
474 o.id = "foo"; 474 o.id = "foo";
475 o.kind = "foo"; 475 o.kind = "foo";
476 o.name = "foo"; 476 o.name = "foo";
477 o.primaryDomain = "foo"; 477 o.primaryDomain = "foo";
478 } 478 }
479 buildCounterEnterprise--; 479 buildCounterEnterprise--;
480 return o; 480 return o;
481 } 481 }
482 482
483 checkEnterprise(api.Enterprise o) { 483 checkEnterprise(api.Enterprise o) {
484 buildCounterEnterprise++; 484 buildCounterEnterprise++;
485 if (buildCounterEnterprise < 3) { 485 if (buildCounterEnterprise < 3) {
486 checkUnnamed1912(o.administrator); 486 checkUnnamed2006(o.administrator);
487 unittest.expect(o.id, unittest.equals('foo')); 487 unittest.expect(o.id, unittest.equals('foo'));
488 unittest.expect(o.kind, unittest.equals('foo')); 488 unittest.expect(o.kind, unittest.equals('foo'));
489 unittest.expect(o.name, unittest.equals('foo')); 489 unittest.expect(o.name, unittest.equals('foo'));
490 unittest.expect(o.primaryDomain, unittest.equals('foo')); 490 unittest.expect(o.primaryDomain, unittest.equals('foo'));
491 } 491 }
492 buildCounterEnterprise--; 492 buildCounterEnterprise--;
493 } 493 }
494 494
495 core.int buildCounterEnterpriseAccount = 0; 495 core.int buildCounterEnterpriseAccount = 0;
496 buildEnterpriseAccount() { 496 buildEnterpriseAccount() {
497 var o = new api.EnterpriseAccount(); 497 var o = new api.EnterpriseAccount();
498 buildCounterEnterpriseAccount++; 498 buildCounterEnterpriseAccount++;
499 if (buildCounterEnterpriseAccount < 3) { 499 if (buildCounterEnterpriseAccount < 3) {
500 o.accountEmail = "foo"; 500 o.accountEmail = "foo";
501 o.kind = "foo"; 501 o.kind = "foo";
502 } 502 }
503 buildCounterEnterpriseAccount--; 503 buildCounterEnterpriseAccount--;
504 return o; 504 return o;
505 } 505 }
506 506
507 checkEnterpriseAccount(api.EnterpriseAccount o) { 507 checkEnterpriseAccount(api.EnterpriseAccount o) {
508 buildCounterEnterpriseAccount++; 508 buildCounterEnterpriseAccount++;
509 if (buildCounterEnterpriseAccount < 3) { 509 if (buildCounterEnterpriseAccount < 3) {
510 unittest.expect(o.accountEmail, unittest.equals('foo')); 510 unittest.expect(o.accountEmail, unittest.equals('foo'));
511 unittest.expect(o.kind, unittest.equals('foo')); 511 unittest.expect(o.kind, unittest.equals('foo'));
512 } 512 }
513 buildCounterEnterpriseAccount--; 513 buildCounterEnterpriseAccount--;
514 } 514 }
515 515
516 buildUnnamed1913() { 516 buildUnnamed2007() {
517 var o = new core.List<api.Enterprise>(); 517 var o = new core.List<api.Enterprise>();
518 o.add(buildEnterprise()); 518 o.add(buildEnterprise());
519 o.add(buildEnterprise()); 519 o.add(buildEnterprise());
520 return o; 520 return o;
521 } 521 }
522 522
523 checkUnnamed1913(core.List<api.Enterprise> o) { 523 checkUnnamed2007(core.List<api.Enterprise> o) {
524 unittest.expect(o, unittest.hasLength(2)); 524 unittest.expect(o, unittest.hasLength(2));
525 checkEnterprise(o[0]); 525 checkEnterprise(o[0]);
526 checkEnterprise(o[1]); 526 checkEnterprise(o[1]);
527 } 527 }
528 528
529 core.int buildCounterEnterprisesListResponse = 0; 529 core.int buildCounterEnterprisesListResponse = 0;
530 buildEnterprisesListResponse() { 530 buildEnterprisesListResponse() {
531 var o = new api.EnterprisesListResponse(); 531 var o = new api.EnterprisesListResponse();
532 buildCounterEnterprisesListResponse++; 532 buildCounterEnterprisesListResponse++;
533 if (buildCounterEnterprisesListResponse < 3) { 533 if (buildCounterEnterprisesListResponse < 3) {
534 o.enterprise = buildUnnamed1913(); 534 o.enterprise = buildUnnamed2007();
535 o.kind = "foo"; 535 o.kind = "foo";
536 } 536 }
537 buildCounterEnterprisesListResponse--; 537 buildCounterEnterprisesListResponse--;
538 return o; 538 return o;
539 } 539 }
540 540
541 checkEnterprisesListResponse(api.EnterprisesListResponse o) { 541 checkEnterprisesListResponse(api.EnterprisesListResponse o) {
542 buildCounterEnterprisesListResponse++; 542 buildCounterEnterprisesListResponse++;
543 if (buildCounterEnterprisesListResponse < 3) { 543 if (buildCounterEnterprisesListResponse < 3) {
544 checkUnnamed1913(o.enterprise); 544 checkUnnamed2007(o.enterprise);
545 unittest.expect(o.kind, unittest.equals('foo')); 545 unittest.expect(o.kind, unittest.equals('foo'));
546 } 546 }
547 buildCounterEnterprisesListResponse--; 547 buildCounterEnterprisesListResponse--;
548 } 548 }
549 549
550 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0; 550 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0;
551 buildEnterprisesSendTestPushNotificationResponse() { 551 buildEnterprisesSendTestPushNotificationResponse() {
552 var o = new api.EnterprisesSendTestPushNotificationResponse(); 552 var o = new api.EnterprisesSendTestPushNotificationResponse();
553 buildCounterEnterprisesSendTestPushNotificationResponse++; 553 buildCounterEnterprisesSendTestPushNotificationResponse++;
554 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) { 554 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) {
(...skipping 29 matching lines...) Expand all
584 checkEntitlement(api.Entitlement o) { 584 checkEntitlement(api.Entitlement o) {
585 buildCounterEntitlement++; 585 buildCounterEntitlement++;
586 if (buildCounterEntitlement < 3) { 586 if (buildCounterEntitlement < 3) {
587 unittest.expect(o.kind, unittest.equals('foo')); 587 unittest.expect(o.kind, unittest.equals('foo'));
588 unittest.expect(o.productId, unittest.equals('foo')); 588 unittest.expect(o.productId, unittest.equals('foo'));
589 unittest.expect(o.reason, unittest.equals('foo')); 589 unittest.expect(o.reason, unittest.equals('foo'));
590 } 590 }
591 buildCounterEntitlement--; 591 buildCounterEntitlement--;
592 } 592 }
593 593
594 buildUnnamed1914() { 594 buildUnnamed2008() {
595 var o = new core.List<api.Entitlement>(); 595 var o = new core.List<api.Entitlement>();
596 o.add(buildEntitlement()); 596 o.add(buildEntitlement());
597 o.add(buildEntitlement()); 597 o.add(buildEntitlement());
598 return o; 598 return o;
599 } 599 }
600 600
601 checkUnnamed1914(core.List<api.Entitlement> o) { 601 checkUnnamed2008(core.List<api.Entitlement> o) {
602 unittest.expect(o, unittest.hasLength(2)); 602 unittest.expect(o, unittest.hasLength(2));
603 checkEntitlement(o[0]); 603 checkEntitlement(o[0]);
604 checkEntitlement(o[1]); 604 checkEntitlement(o[1]);
605 } 605 }
606 606
607 core.int buildCounterEntitlementsListResponse = 0; 607 core.int buildCounterEntitlementsListResponse = 0;
608 buildEntitlementsListResponse() { 608 buildEntitlementsListResponse() {
609 var o = new api.EntitlementsListResponse(); 609 var o = new api.EntitlementsListResponse();
610 buildCounterEntitlementsListResponse++; 610 buildCounterEntitlementsListResponse++;
611 if (buildCounterEntitlementsListResponse < 3) { 611 if (buildCounterEntitlementsListResponse < 3) {
612 o.entitlement = buildUnnamed1914(); 612 o.entitlement = buildUnnamed2008();
613 o.kind = "foo"; 613 o.kind = "foo";
614 } 614 }
615 buildCounterEntitlementsListResponse--; 615 buildCounterEntitlementsListResponse--;
616 return o; 616 return o;
617 } 617 }
618 618
619 checkEntitlementsListResponse(api.EntitlementsListResponse o) { 619 checkEntitlementsListResponse(api.EntitlementsListResponse o) {
620 buildCounterEntitlementsListResponse++; 620 buildCounterEntitlementsListResponse++;
621 if (buildCounterEntitlementsListResponse < 3) { 621 if (buildCounterEntitlementsListResponse < 3) {
622 checkUnnamed1914(o.entitlement); 622 checkUnnamed2008(o.entitlement);
623 unittest.expect(o.kind, unittest.equals('foo')); 623 unittest.expect(o.kind, unittest.equals('foo'));
624 } 624 }
625 buildCounterEntitlementsListResponse--; 625 buildCounterEntitlementsListResponse--;
626 } 626 }
627 627
628 core.int buildCounterGroupLicense = 0; 628 core.int buildCounterGroupLicense = 0;
629 buildGroupLicense() { 629 buildGroupLicense() {
630 var o = new api.GroupLicense(); 630 var o = new api.GroupLicense();
631 buildCounterGroupLicense++; 631 buildCounterGroupLicense++;
632 if (buildCounterGroupLicense < 3) { 632 if (buildCounterGroupLicense < 3) {
(...skipping 14 matching lines...) Expand all
647 unittest.expect(o.acquisitionKind, unittest.equals('foo')); 647 unittest.expect(o.acquisitionKind, unittest.equals('foo'));
648 unittest.expect(o.approval, unittest.equals('foo')); 648 unittest.expect(o.approval, unittest.equals('foo'));
649 unittest.expect(o.kind, unittest.equals('foo')); 649 unittest.expect(o.kind, unittest.equals('foo'));
650 unittest.expect(o.numProvisioned, unittest.equals(42)); 650 unittest.expect(o.numProvisioned, unittest.equals(42));
651 unittest.expect(o.numPurchased, unittest.equals(42)); 651 unittest.expect(o.numPurchased, unittest.equals(42));
652 unittest.expect(o.productId, unittest.equals('foo')); 652 unittest.expect(o.productId, unittest.equals('foo'));
653 } 653 }
654 buildCounterGroupLicense--; 654 buildCounterGroupLicense--;
655 } 655 }
656 656
657 buildUnnamed1915() { 657 buildUnnamed2009() {
658 var o = new core.List<api.User>(); 658 var o = new core.List<api.User>();
659 o.add(buildUser()); 659 o.add(buildUser());
660 o.add(buildUser()); 660 o.add(buildUser());
661 return o; 661 return o;
662 } 662 }
663 663
664 checkUnnamed1915(core.List<api.User> o) { 664 checkUnnamed2009(core.List<api.User> o) {
665 unittest.expect(o, unittest.hasLength(2)); 665 unittest.expect(o, unittest.hasLength(2));
666 checkUser(o[0]); 666 checkUser(o[0]);
667 checkUser(o[1]); 667 checkUser(o[1]);
668 } 668 }
669 669
670 core.int buildCounterGroupLicenseUsersListResponse = 0; 670 core.int buildCounterGroupLicenseUsersListResponse = 0;
671 buildGroupLicenseUsersListResponse() { 671 buildGroupLicenseUsersListResponse() {
672 var o = new api.GroupLicenseUsersListResponse(); 672 var o = new api.GroupLicenseUsersListResponse();
673 buildCounterGroupLicenseUsersListResponse++; 673 buildCounterGroupLicenseUsersListResponse++;
674 if (buildCounterGroupLicenseUsersListResponse < 3) { 674 if (buildCounterGroupLicenseUsersListResponse < 3) {
675 o.kind = "foo"; 675 o.kind = "foo";
676 o.user = buildUnnamed1915(); 676 o.user = buildUnnamed2009();
677 } 677 }
678 buildCounterGroupLicenseUsersListResponse--; 678 buildCounterGroupLicenseUsersListResponse--;
679 return o; 679 return o;
680 } 680 }
681 681
682 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { 682 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) {
683 buildCounterGroupLicenseUsersListResponse++; 683 buildCounterGroupLicenseUsersListResponse++;
684 if (buildCounterGroupLicenseUsersListResponse < 3) { 684 if (buildCounterGroupLicenseUsersListResponse < 3) {
685 unittest.expect(o.kind, unittest.equals('foo')); 685 unittest.expect(o.kind, unittest.equals('foo'));
686 checkUnnamed1915(o.user); 686 checkUnnamed2009(o.user);
687 } 687 }
688 buildCounterGroupLicenseUsersListResponse--; 688 buildCounterGroupLicenseUsersListResponse--;
689 } 689 }
690 690
691 buildUnnamed1916() { 691 buildUnnamed2010() {
692 var o = new core.List<api.GroupLicense>(); 692 var o = new core.List<api.GroupLicense>();
693 o.add(buildGroupLicense()); 693 o.add(buildGroupLicense());
694 o.add(buildGroupLicense()); 694 o.add(buildGroupLicense());
695 return o; 695 return o;
696 } 696 }
697 697
698 checkUnnamed1916(core.List<api.GroupLicense> o) { 698 checkUnnamed2010(core.List<api.GroupLicense> o) {
699 unittest.expect(o, unittest.hasLength(2)); 699 unittest.expect(o, unittest.hasLength(2));
700 checkGroupLicense(o[0]); 700 checkGroupLicense(o[0]);
701 checkGroupLicense(o[1]); 701 checkGroupLicense(o[1]);
702 } 702 }
703 703
704 core.int buildCounterGroupLicensesListResponse = 0; 704 core.int buildCounterGroupLicensesListResponse = 0;
705 buildGroupLicensesListResponse() { 705 buildGroupLicensesListResponse() {
706 var o = new api.GroupLicensesListResponse(); 706 var o = new api.GroupLicensesListResponse();
707 buildCounterGroupLicensesListResponse++; 707 buildCounterGroupLicensesListResponse++;
708 if (buildCounterGroupLicensesListResponse < 3) { 708 if (buildCounterGroupLicensesListResponse < 3) {
709 o.groupLicense = buildUnnamed1916(); 709 o.groupLicense = buildUnnamed2010();
710 o.kind = "foo"; 710 o.kind = "foo";
711 } 711 }
712 buildCounterGroupLicensesListResponse--; 712 buildCounterGroupLicensesListResponse--;
713 return o; 713 return o;
714 } 714 }
715 715
716 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { 716 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
717 buildCounterGroupLicensesListResponse++; 717 buildCounterGroupLicensesListResponse++;
718 if (buildCounterGroupLicensesListResponse < 3) { 718 if (buildCounterGroupLicensesListResponse < 3) {
719 checkUnnamed1916(o.groupLicense); 719 checkUnnamed2010(o.groupLicense);
720 unittest.expect(o.kind, unittest.equals('foo')); 720 unittest.expect(o.kind, unittest.equals('foo'));
721 } 721 }
722 buildCounterGroupLicensesListResponse--; 722 buildCounterGroupLicensesListResponse--;
723 } 723 }
724 724
725 core.int buildCounterInstall = 0; 725 core.int buildCounterInstall = 0;
726 buildInstall() { 726 buildInstall() {
727 var o = new api.Install(); 727 var o = new api.Install();
728 buildCounterInstall++; 728 buildCounterInstall++;
729 if (buildCounterInstall < 3) { 729 if (buildCounterInstall < 3) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 if (buildCounterInstallFailureEvent < 3) { 767 if (buildCounterInstallFailureEvent < 3) {
768 unittest.expect(o.deviceId, unittest.equals('foo')); 768 unittest.expect(o.deviceId, unittest.equals('foo'));
769 unittest.expect(o.failureDetails, unittest.equals('foo')); 769 unittest.expect(o.failureDetails, unittest.equals('foo'));
770 unittest.expect(o.failureReason, unittest.equals('foo')); 770 unittest.expect(o.failureReason, unittest.equals('foo'));
771 unittest.expect(o.productId, unittest.equals('foo')); 771 unittest.expect(o.productId, unittest.equals('foo'));
772 unittest.expect(o.userId, unittest.equals('foo')); 772 unittest.expect(o.userId, unittest.equals('foo'));
773 } 773 }
774 buildCounterInstallFailureEvent--; 774 buildCounterInstallFailureEvent--;
775 } 775 }
776 776
777 buildUnnamed1917() { 777 buildUnnamed2011() {
778 var o = new core.List<api.Install>(); 778 var o = new core.List<api.Install>();
779 o.add(buildInstall()); 779 o.add(buildInstall());
780 o.add(buildInstall()); 780 o.add(buildInstall());
781 return o; 781 return o;
782 } 782 }
783 783
784 checkUnnamed1917(core.List<api.Install> o) { 784 checkUnnamed2011(core.List<api.Install> o) {
785 unittest.expect(o, unittest.hasLength(2)); 785 unittest.expect(o, unittest.hasLength(2));
786 checkInstall(o[0]); 786 checkInstall(o[0]);
787 checkInstall(o[1]); 787 checkInstall(o[1]);
788 } 788 }
789 789
790 core.int buildCounterInstallsListResponse = 0; 790 core.int buildCounterInstallsListResponse = 0;
791 buildInstallsListResponse() { 791 buildInstallsListResponse() {
792 var o = new api.InstallsListResponse(); 792 var o = new api.InstallsListResponse();
793 buildCounterInstallsListResponse++; 793 buildCounterInstallsListResponse++;
794 if (buildCounterInstallsListResponse < 3) { 794 if (buildCounterInstallsListResponse < 3) {
795 o.install = buildUnnamed1917(); 795 o.install = buildUnnamed2011();
796 o.kind = "foo"; 796 o.kind = "foo";
797 } 797 }
798 buildCounterInstallsListResponse--; 798 buildCounterInstallsListResponse--;
799 return o; 799 return o;
800 } 800 }
801 801
802 checkInstallsListResponse(api.InstallsListResponse o) { 802 checkInstallsListResponse(api.InstallsListResponse o) {
803 buildCounterInstallsListResponse++; 803 buildCounterInstallsListResponse++;
804 if (buildCounterInstallsListResponse < 3) { 804 if (buildCounterInstallsListResponse < 3) {
805 checkUnnamed1917(o.install); 805 checkUnnamed2011(o.install);
806 unittest.expect(o.kind, unittest.equals('foo')); 806 unittest.expect(o.kind, unittest.equals('foo'));
807 } 807 }
808 buildCounterInstallsListResponse--; 808 buildCounterInstallsListResponse--;
809 } 809 }
810 810
811 core.int buildCounterLocalizedText = 0; 811 core.int buildCounterLocalizedText = 0;
812 buildLocalizedText() { 812 buildLocalizedText() {
813 var o = new api.LocalizedText(); 813 var o = new api.LocalizedText();
814 buildCounterLocalizedText++; 814 buildCounterLocalizedText++;
815 if (buildCounterLocalizedText < 3) { 815 if (buildCounterLocalizedText < 3) {
816 o.locale = "foo"; 816 o.locale = "foo";
817 o.text = "foo"; 817 o.text = "foo";
818 } 818 }
819 buildCounterLocalizedText--; 819 buildCounterLocalizedText--;
820 return o; 820 return o;
821 } 821 }
822 822
823 checkLocalizedText(api.LocalizedText o) { 823 checkLocalizedText(api.LocalizedText o) {
824 buildCounterLocalizedText++; 824 buildCounterLocalizedText++;
825 if (buildCounterLocalizedText < 3) { 825 if (buildCounterLocalizedText < 3) {
826 unittest.expect(o.locale, unittest.equals('foo')); 826 unittest.expect(o.locale, unittest.equals('foo'));
827 unittest.expect(o.text, unittest.equals('foo')); 827 unittest.expect(o.text, unittest.equals('foo'));
828 } 828 }
829 buildCounterLocalizedText--; 829 buildCounterLocalizedText--;
830 } 830 }
831 831
832 buildUnnamed1918() { 832 buildUnnamed2012() {
833 var o = new core.List<api.ManagedProperty>(); 833 var o = new core.List<api.ManagedProperty>();
834 o.add(buildManagedProperty()); 834 o.add(buildManagedProperty());
835 o.add(buildManagedProperty()); 835 o.add(buildManagedProperty());
836 return o; 836 return o;
837 } 837 }
838 838
839 checkUnnamed1918(core.List<api.ManagedProperty> o) { 839 checkUnnamed2012(core.List<api.ManagedProperty> o) {
840 unittest.expect(o, unittest.hasLength(2)); 840 unittest.expect(o, unittest.hasLength(2));
841 checkManagedProperty(o[0]); 841 checkManagedProperty(o[0]);
842 checkManagedProperty(o[1]); 842 checkManagedProperty(o[1]);
843 } 843 }
844 844
845 core.int buildCounterManagedConfiguration = 0; 845 core.int buildCounterManagedConfiguration = 0;
846 buildManagedConfiguration() { 846 buildManagedConfiguration() {
847 var o = new api.ManagedConfiguration(); 847 var o = new api.ManagedConfiguration();
848 buildCounterManagedConfiguration++; 848 buildCounterManagedConfiguration++;
849 if (buildCounterManagedConfiguration < 3) { 849 if (buildCounterManagedConfiguration < 3) {
850 o.kind = "foo"; 850 o.kind = "foo";
851 o.managedProperty = buildUnnamed1918(); 851 o.managedProperty = buildUnnamed2012();
852 o.productId = "foo"; 852 o.productId = "foo";
853 } 853 }
854 buildCounterManagedConfiguration--; 854 buildCounterManagedConfiguration--;
855 return o; 855 return o;
856 } 856 }
857 857
858 checkManagedConfiguration(api.ManagedConfiguration o) { 858 checkManagedConfiguration(api.ManagedConfiguration o) {
859 buildCounterManagedConfiguration++; 859 buildCounterManagedConfiguration++;
860 if (buildCounterManagedConfiguration < 3) { 860 if (buildCounterManagedConfiguration < 3) {
861 unittest.expect(o.kind, unittest.equals('foo')); 861 unittest.expect(o.kind, unittest.equals('foo'));
862 checkUnnamed1918(o.managedProperty); 862 checkUnnamed2012(o.managedProperty);
863 unittest.expect(o.productId, unittest.equals('foo')); 863 unittest.expect(o.productId, unittest.equals('foo'));
864 } 864 }
865 buildCounterManagedConfiguration--; 865 buildCounterManagedConfiguration--;
866 } 866 }
867 867
868 buildUnnamed1919() { 868 buildUnnamed2013() {
869 var o = new core.List<api.ManagedConfiguration>(); 869 var o = new core.List<api.ManagedConfiguration>();
870 o.add(buildManagedConfiguration()); 870 o.add(buildManagedConfiguration());
871 o.add(buildManagedConfiguration()); 871 o.add(buildManagedConfiguration());
872 return o; 872 return o;
873 } 873 }
874 874
875 checkUnnamed1919(core.List<api.ManagedConfiguration> o) { 875 checkUnnamed2013(core.List<api.ManagedConfiguration> o) {
876 unittest.expect(o, unittest.hasLength(2)); 876 unittest.expect(o, unittest.hasLength(2));
877 checkManagedConfiguration(o[0]); 877 checkManagedConfiguration(o[0]);
878 checkManagedConfiguration(o[1]); 878 checkManagedConfiguration(o[1]);
879 } 879 }
880 880
881 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0; 881 core.int buildCounterManagedConfigurationsForDeviceListResponse = 0;
882 buildManagedConfigurationsForDeviceListResponse() { 882 buildManagedConfigurationsForDeviceListResponse() {
883 var o = new api.ManagedConfigurationsForDeviceListResponse(); 883 var o = new api.ManagedConfigurationsForDeviceListResponse();
884 buildCounterManagedConfigurationsForDeviceListResponse++; 884 buildCounterManagedConfigurationsForDeviceListResponse++;
885 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { 885 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
886 o.kind = "foo"; 886 o.kind = "foo";
887 o.managedConfigurationForDevice = buildUnnamed1919(); 887 o.managedConfigurationForDevice = buildUnnamed2013();
888 } 888 }
889 buildCounterManagedConfigurationsForDeviceListResponse--; 889 buildCounterManagedConfigurationsForDeviceListResponse--;
890 return o; 890 return o;
891 } 891 }
892 892
893 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi ceListResponse o) { 893 checkManagedConfigurationsForDeviceListResponse(api.ManagedConfigurationsForDevi ceListResponse o) {
894 buildCounterManagedConfigurationsForDeviceListResponse++; 894 buildCounterManagedConfigurationsForDeviceListResponse++;
895 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) { 895 if (buildCounterManagedConfigurationsForDeviceListResponse < 3) {
896 unittest.expect(o.kind, unittest.equals('foo')); 896 unittest.expect(o.kind, unittest.equals('foo'));
897 checkUnnamed1919(o.managedConfigurationForDevice); 897 checkUnnamed2013(o.managedConfigurationForDevice);
898 } 898 }
899 buildCounterManagedConfigurationsForDeviceListResponse--; 899 buildCounterManagedConfigurationsForDeviceListResponse--;
900 } 900 }
901 901
902 buildUnnamed1920() { 902 buildUnnamed2014() {
903 var o = new core.List<api.ManagedConfiguration>(); 903 var o = new core.List<api.ManagedConfiguration>();
904 o.add(buildManagedConfiguration()); 904 o.add(buildManagedConfiguration());
905 o.add(buildManagedConfiguration()); 905 o.add(buildManagedConfiguration());
906 return o; 906 return o;
907 } 907 }
908 908
909 checkUnnamed1920(core.List<api.ManagedConfiguration> o) { 909 checkUnnamed2014(core.List<api.ManagedConfiguration> o) {
910 unittest.expect(o, unittest.hasLength(2)); 910 unittest.expect(o, unittest.hasLength(2));
911 checkManagedConfiguration(o[0]); 911 checkManagedConfiguration(o[0]);
912 checkManagedConfiguration(o[1]); 912 checkManagedConfiguration(o[1]);
913 } 913 }
914 914
915 core.int buildCounterManagedConfigurationsForUserListResponse = 0; 915 core.int buildCounterManagedConfigurationsForUserListResponse = 0;
916 buildManagedConfigurationsForUserListResponse() { 916 buildManagedConfigurationsForUserListResponse() {
917 var o = new api.ManagedConfigurationsForUserListResponse(); 917 var o = new api.ManagedConfigurationsForUserListResponse();
918 buildCounterManagedConfigurationsForUserListResponse++; 918 buildCounterManagedConfigurationsForUserListResponse++;
919 if (buildCounterManagedConfigurationsForUserListResponse < 3) { 919 if (buildCounterManagedConfigurationsForUserListResponse < 3) {
920 o.kind = "foo"; 920 o.kind = "foo";
921 o.managedConfigurationForUser = buildUnnamed1920(); 921 o.managedConfigurationForUser = buildUnnamed2014();
922 } 922 }
923 buildCounterManagedConfigurationsForUserListResponse--; 923 buildCounterManagedConfigurationsForUserListResponse--;
924 return o; 924 return o;
925 } 925 }
926 926
927 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi stResponse o) { 927 checkManagedConfigurationsForUserListResponse(api.ManagedConfigurationsForUserLi stResponse o) {
928 buildCounterManagedConfigurationsForUserListResponse++; 928 buildCounterManagedConfigurationsForUserListResponse++;
929 if (buildCounterManagedConfigurationsForUserListResponse < 3) { 929 if (buildCounterManagedConfigurationsForUserListResponse < 3) {
930 unittest.expect(o.kind, unittest.equals('foo')); 930 unittest.expect(o.kind, unittest.equals('foo'));
931 checkUnnamed1920(o.managedConfigurationForUser); 931 checkUnnamed2014(o.managedConfigurationForUser);
932 } 932 }
933 buildCounterManagedConfigurationsForUserListResponse--; 933 buildCounterManagedConfigurationsForUserListResponse--;
934 } 934 }
935 935
936 buildUnnamed1921() { 936 buildUnnamed2015() {
937 var o = new core.List<api.ManagedPropertyBundle>(); 937 var o = new core.List<api.ManagedPropertyBundle>();
938 o.add(buildManagedPropertyBundle()); 938 o.add(buildManagedPropertyBundle());
939 o.add(buildManagedPropertyBundle()); 939 o.add(buildManagedPropertyBundle());
940 return o; 940 return o;
941 } 941 }
942 942
943 checkUnnamed1921(core.List<api.ManagedPropertyBundle> o) { 943 checkUnnamed2015(core.List<api.ManagedPropertyBundle> o) {
944 unittest.expect(o, unittest.hasLength(2)); 944 unittest.expect(o, unittest.hasLength(2));
945 checkManagedPropertyBundle(o[0]); 945 checkManagedPropertyBundle(o[0]);
946 checkManagedPropertyBundle(o[1]); 946 checkManagedPropertyBundle(o[1]);
947 } 947 }
948 948
949 buildUnnamed1922() { 949 buildUnnamed2016() {
950 var o = new core.List<core.String>(); 950 var o = new core.List<core.String>();
951 o.add("foo"); 951 o.add("foo");
952 o.add("foo"); 952 o.add("foo");
953 return o; 953 return o;
954 } 954 }
955 955
956 checkUnnamed1922(core.List<core.String> o) { 956 checkUnnamed2016(core.List<core.String> o) {
957 unittest.expect(o, unittest.hasLength(2)); 957 unittest.expect(o, unittest.hasLength(2));
958 unittest.expect(o[0], unittest.equals('foo')); 958 unittest.expect(o[0], unittest.equals('foo'));
959 unittest.expect(o[1], unittest.equals('foo')); 959 unittest.expect(o[1], unittest.equals('foo'));
960 } 960 }
961 961
962 core.int buildCounterManagedProperty = 0; 962 core.int buildCounterManagedProperty = 0;
963 buildManagedProperty() { 963 buildManagedProperty() {
964 var o = new api.ManagedProperty(); 964 var o = new api.ManagedProperty();
965 buildCounterManagedProperty++; 965 buildCounterManagedProperty++;
966 if (buildCounterManagedProperty < 3) { 966 if (buildCounterManagedProperty < 3) {
967 o.key = "foo"; 967 o.key = "foo";
968 o.valueBool = true; 968 o.valueBool = true;
969 o.valueBundle = buildManagedPropertyBundle(); 969 o.valueBundle = buildManagedPropertyBundle();
970 o.valueBundleArray = buildUnnamed1921(); 970 o.valueBundleArray = buildUnnamed2015();
971 o.valueInteger = 42; 971 o.valueInteger = 42;
972 o.valueString = "foo"; 972 o.valueString = "foo";
973 o.valueStringArray = buildUnnamed1922(); 973 o.valueStringArray = buildUnnamed2016();
974 } 974 }
975 buildCounterManagedProperty--; 975 buildCounterManagedProperty--;
976 return o; 976 return o;
977 } 977 }
978 978
979 checkManagedProperty(api.ManagedProperty o) { 979 checkManagedProperty(api.ManagedProperty o) {
980 buildCounterManagedProperty++; 980 buildCounterManagedProperty++;
981 if (buildCounterManagedProperty < 3) { 981 if (buildCounterManagedProperty < 3) {
982 unittest.expect(o.key, unittest.equals('foo')); 982 unittest.expect(o.key, unittest.equals('foo'));
983 unittest.expect(o.valueBool, unittest.isTrue); 983 unittest.expect(o.valueBool, unittest.isTrue);
984 checkManagedPropertyBundle(o.valueBundle); 984 checkManagedPropertyBundle(o.valueBundle);
985 checkUnnamed1921(o.valueBundleArray); 985 checkUnnamed2015(o.valueBundleArray);
986 unittest.expect(o.valueInteger, unittest.equals(42)); 986 unittest.expect(o.valueInteger, unittest.equals(42));
987 unittest.expect(o.valueString, unittest.equals('foo')); 987 unittest.expect(o.valueString, unittest.equals('foo'));
988 checkUnnamed1922(o.valueStringArray); 988 checkUnnamed2016(o.valueStringArray);
989 } 989 }
990 buildCounterManagedProperty--; 990 buildCounterManagedProperty--;
991 } 991 }
992 992
993 buildUnnamed1923() { 993 buildUnnamed2017() {
994 var o = new core.List<api.ManagedProperty>(); 994 var o = new core.List<api.ManagedProperty>();
995 o.add(buildManagedProperty()); 995 o.add(buildManagedProperty());
996 o.add(buildManagedProperty()); 996 o.add(buildManagedProperty());
997 return o; 997 return o;
998 } 998 }
999 999
1000 checkUnnamed1923(core.List<api.ManagedProperty> o) { 1000 checkUnnamed2017(core.List<api.ManagedProperty> o) {
1001 unittest.expect(o, unittest.hasLength(2)); 1001 unittest.expect(o, unittest.hasLength(2));
1002 checkManagedProperty(o[0]); 1002 checkManagedProperty(o[0]);
1003 checkManagedProperty(o[1]); 1003 checkManagedProperty(o[1]);
1004 } 1004 }
1005 1005
1006 core.int buildCounterManagedPropertyBundle = 0; 1006 core.int buildCounterManagedPropertyBundle = 0;
1007 buildManagedPropertyBundle() { 1007 buildManagedPropertyBundle() {
1008 var o = new api.ManagedPropertyBundle(); 1008 var o = new api.ManagedPropertyBundle();
1009 buildCounterManagedPropertyBundle++; 1009 buildCounterManagedPropertyBundle++;
1010 if (buildCounterManagedPropertyBundle < 3) { 1010 if (buildCounterManagedPropertyBundle < 3) {
1011 o.managedProperty = buildUnnamed1923(); 1011 o.managedProperty = buildUnnamed2017();
1012 } 1012 }
1013 buildCounterManagedPropertyBundle--; 1013 buildCounterManagedPropertyBundle--;
1014 return o; 1014 return o;
1015 } 1015 }
1016 1016
1017 checkManagedPropertyBundle(api.ManagedPropertyBundle o) { 1017 checkManagedPropertyBundle(api.ManagedPropertyBundle o) {
1018 buildCounterManagedPropertyBundle++; 1018 buildCounterManagedPropertyBundle++;
1019 if (buildCounterManagedPropertyBundle < 3) { 1019 if (buildCounterManagedPropertyBundle < 3) {
1020 checkUnnamed1923(o.managedProperty); 1020 checkUnnamed2017(o.managedProperty);
1021 } 1021 }
1022 buildCounterManagedPropertyBundle--; 1022 buildCounterManagedPropertyBundle--;
1023 } 1023 }
1024 1024
1025 core.int buildCounterNewDeviceEvent = 0; 1025 core.int buildCounterNewDeviceEvent = 0;
1026 buildNewDeviceEvent() { 1026 buildNewDeviceEvent() {
1027 var o = new api.NewDeviceEvent(); 1027 var o = new api.NewDeviceEvent();
1028 buildCounterNewDeviceEvent++; 1028 buildCounterNewDeviceEvent++;
1029 if (buildCounterNewDeviceEvent < 3) { 1029 if (buildCounterNewDeviceEvent < 3) {
1030 o.deviceId = "foo"; 1030 o.deviceId = "foo";
1031 o.managementType = "foo"; 1031 o.managementType = "foo";
1032 o.userId = "foo"; 1032 o.userId = "foo";
1033 } 1033 }
1034 buildCounterNewDeviceEvent--; 1034 buildCounterNewDeviceEvent--;
1035 return o; 1035 return o;
1036 } 1036 }
1037 1037
1038 checkNewDeviceEvent(api.NewDeviceEvent o) { 1038 checkNewDeviceEvent(api.NewDeviceEvent o) {
1039 buildCounterNewDeviceEvent++; 1039 buildCounterNewDeviceEvent++;
1040 if (buildCounterNewDeviceEvent < 3) { 1040 if (buildCounterNewDeviceEvent < 3) {
1041 unittest.expect(o.deviceId, unittest.equals('foo')); 1041 unittest.expect(o.deviceId, unittest.equals('foo'));
1042 unittest.expect(o.managementType, unittest.equals('foo')); 1042 unittest.expect(o.managementType, unittest.equals('foo'));
1043 unittest.expect(o.userId, unittest.equals('foo')); 1043 unittest.expect(o.userId, unittest.equals('foo'));
1044 } 1044 }
1045 buildCounterNewDeviceEvent--; 1045 buildCounterNewDeviceEvent--;
1046 } 1046 }
1047 1047
1048 buildUnnamed1924() { 1048 buildUnnamed2018() {
1049 var o = new core.List<core.String>(); 1049 var o = new core.List<core.String>();
1050 o.add("foo"); 1050 o.add("foo");
1051 o.add("foo"); 1051 o.add("foo");
1052 return o; 1052 return o;
1053 } 1053 }
1054 1054
1055 checkUnnamed1924(core.List<core.String> o) { 1055 checkUnnamed2018(core.List<core.String> o) {
1056 unittest.expect(o, unittest.hasLength(2)); 1056 unittest.expect(o, unittest.hasLength(2));
1057 unittest.expect(o[0], unittest.equals('foo')); 1057 unittest.expect(o[0], unittest.equals('foo'));
1058 unittest.expect(o[1], unittest.equals('foo')); 1058 unittest.expect(o[1], unittest.equals('foo'));
1059 } 1059 }
1060 1060
1061 buildUnnamed1925() { 1061 buildUnnamed2019() {
1062 var o = new core.List<core.String>(); 1062 var o = new core.List<core.String>();
1063 o.add("foo"); 1063 o.add("foo");
1064 o.add("foo"); 1064 o.add("foo");
1065 return o; 1065 return o;
1066 } 1066 }
1067 1067
1068 checkUnnamed1925(core.List<core.String> o) { 1068 checkUnnamed2019(core.List<core.String> o) {
1069 unittest.expect(o, unittest.hasLength(2)); 1069 unittest.expect(o, unittest.hasLength(2));
1070 unittest.expect(o[0], unittest.equals('foo')); 1070 unittest.expect(o[0], unittest.equals('foo'));
1071 unittest.expect(o[1], unittest.equals('foo')); 1071 unittest.expect(o[1], unittest.equals('foo'));
1072 } 1072 }
1073 1073
1074 core.int buildCounterNewPermissionsEvent = 0; 1074 core.int buildCounterNewPermissionsEvent = 0;
1075 buildNewPermissionsEvent() { 1075 buildNewPermissionsEvent() {
1076 var o = new api.NewPermissionsEvent(); 1076 var o = new api.NewPermissionsEvent();
1077 buildCounterNewPermissionsEvent++; 1077 buildCounterNewPermissionsEvent++;
1078 if (buildCounterNewPermissionsEvent < 3) { 1078 if (buildCounterNewPermissionsEvent < 3) {
1079 o.approvedPermissions = buildUnnamed1924(); 1079 o.approvedPermissions = buildUnnamed2018();
1080 o.productId = "foo"; 1080 o.productId = "foo";
1081 o.requestedPermissions = buildUnnamed1925(); 1081 o.requestedPermissions = buildUnnamed2019();
1082 } 1082 }
1083 buildCounterNewPermissionsEvent--; 1083 buildCounterNewPermissionsEvent--;
1084 return o; 1084 return o;
1085 } 1085 }
1086 1086
1087 checkNewPermissionsEvent(api.NewPermissionsEvent o) { 1087 checkNewPermissionsEvent(api.NewPermissionsEvent o) {
1088 buildCounterNewPermissionsEvent++; 1088 buildCounterNewPermissionsEvent++;
1089 if (buildCounterNewPermissionsEvent < 3) { 1089 if (buildCounterNewPermissionsEvent < 3) {
1090 checkUnnamed1924(o.approvedPermissions); 1090 checkUnnamed2018(o.approvedPermissions);
1091 unittest.expect(o.productId, unittest.equals('foo')); 1091 unittest.expect(o.productId, unittest.equals('foo'));
1092 checkUnnamed1925(o.requestedPermissions); 1092 checkUnnamed2019(o.requestedPermissions);
1093 } 1093 }
1094 buildCounterNewPermissionsEvent--; 1094 buildCounterNewPermissionsEvent--;
1095 } 1095 }
1096 1096
1097 core.int buildCounterNotification = 0; 1097 core.int buildCounterNotification = 0;
1098 buildNotification() { 1098 buildNotification() {
1099 var o = new api.Notification(); 1099 var o = new api.Notification();
1100 buildCounterNotification++; 1100 buildCounterNotification++;
1101 if (buildCounterNotification < 3) { 1101 if (buildCounterNotification < 3) {
1102 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent() ; 1102 o.appRestrictionsSchemaChangeEvent = buildAppRestrictionsSchemaChangeEvent() ;
(...skipping 19 matching lines...) Expand all
1122 checkInstallFailureEvent(o.installFailureEvent); 1122 checkInstallFailureEvent(o.installFailureEvent);
1123 checkNewDeviceEvent(o.newDeviceEvent); 1123 checkNewDeviceEvent(o.newDeviceEvent);
1124 checkNewPermissionsEvent(o.newPermissionsEvent); 1124 checkNewPermissionsEvent(o.newPermissionsEvent);
1125 checkProductApprovalEvent(o.productApprovalEvent); 1125 checkProductApprovalEvent(o.productApprovalEvent);
1126 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent); 1126 checkProductAvailabilityChangeEvent(o.productAvailabilityChangeEvent);
1127 unittest.expect(o.timestampMillis, unittest.equals('foo')); 1127 unittest.expect(o.timestampMillis, unittest.equals('foo'));
1128 } 1128 }
1129 buildCounterNotification--; 1129 buildCounterNotification--;
1130 } 1130 }
1131 1131
1132 buildUnnamed1926() { 1132 buildUnnamed2020() {
1133 var o = new core.List<api.Notification>(); 1133 var o = new core.List<api.Notification>();
1134 o.add(buildNotification()); 1134 o.add(buildNotification());
1135 o.add(buildNotification()); 1135 o.add(buildNotification());
1136 return o; 1136 return o;
1137 } 1137 }
1138 1138
1139 checkUnnamed1926(core.List<api.Notification> o) { 1139 checkUnnamed2020(core.List<api.Notification> o) {
1140 unittest.expect(o, unittest.hasLength(2)); 1140 unittest.expect(o, unittest.hasLength(2));
1141 checkNotification(o[0]); 1141 checkNotification(o[0]);
1142 checkNotification(o[1]); 1142 checkNotification(o[1]);
1143 } 1143 }
1144 1144
1145 core.int buildCounterNotificationSet = 0; 1145 core.int buildCounterNotificationSet = 0;
1146 buildNotificationSet() { 1146 buildNotificationSet() {
1147 var o = new api.NotificationSet(); 1147 var o = new api.NotificationSet();
1148 buildCounterNotificationSet++; 1148 buildCounterNotificationSet++;
1149 if (buildCounterNotificationSet < 3) { 1149 if (buildCounterNotificationSet < 3) {
1150 o.kind = "foo"; 1150 o.kind = "foo";
1151 o.notification = buildUnnamed1926(); 1151 o.notification = buildUnnamed2020();
1152 o.notificationSetId = "foo"; 1152 o.notificationSetId = "foo";
1153 } 1153 }
1154 buildCounterNotificationSet--; 1154 buildCounterNotificationSet--;
1155 return o; 1155 return o;
1156 } 1156 }
1157 1157
1158 checkNotificationSet(api.NotificationSet o) { 1158 checkNotificationSet(api.NotificationSet o) {
1159 buildCounterNotificationSet++; 1159 buildCounterNotificationSet++;
1160 if (buildCounterNotificationSet < 3) { 1160 if (buildCounterNotificationSet < 3) {
1161 unittest.expect(o.kind, unittest.equals('foo')); 1161 unittest.expect(o.kind, unittest.equals('foo'));
1162 checkUnnamed1926(o.notification); 1162 checkUnnamed2020(o.notification);
1163 unittest.expect(o.notificationSetId, unittest.equals('foo')); 1163 unittest.expect(o.notificationSetId, unittest.equals('foo'));
1164 } 1164 }
1165 buildCounterNotificationSet--; 1165 buildCounterNotificationSet--;
1166 } 1166 }
1167 1167
1168 core.int buildCounterPageInfo = 0; 1168 core.int buildCounterPageInfo = 0;
1169 buildPageInfo() { 1169 buildPageInfo() {
1170 var o = new api.PageInfo(); 1170 var o = new api.PageInfo();
1171 buildCounterPageInfo++; 1171 buildCounterPageInfo++;
1172 if (buildCounterPageInfo < 3) { 1172 if (buildCounterPageInfo < 3) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 buildCounterPermission++; 1206 buildCounterPermission++;
1207 if (buildCounterPermission < 3) { 1207 if (buildCounterPermission < 3) {
1208 unittest.expect(o.description, unittest.equals('foo')); 1208 unittest.expect(o.description, unittest.equals('foo'));
1209 unittest.expect(o.kind, unittest.equals('foo')); 1209 unittest.expect(o.kind, unittest.equals('foo'));
1210 unittest.expect(o.name, unittest.equals('foo')); 1210 unittest.expect(o.name, unittest.equals('foo'));
1211 unittest.expect(o.permissionId, unittest.equals('foo')); 1211 unittest.expect(o.permissionId, unittest.equals('foo'));
1212 } 1212 }
1213 buildCounterPermission--; 1213 buildCounterPermission--;
1214 } 1214 }
1215 1215
1216 buildUnnamed1927() { 1216 buildUnnamed2021() {
1217 var o = new core.List<api.AppVersion>(); 1217 var o = new core.List<api.AppVersion>();
1218 o.add(buildAppVersion()); 1218 o.add(buildAppVersion());
1219 o.add(buildAppVersion()); 1219 o.add(buildAppVersion());
1220 return o; 1220 return o;
1221 } 1221 }
1222 1222
1223 checkUnnamed1927(core.List<api.AppVersion> o) { 1223 checkUnnamed2021(core.List<api.AppVersion> o) {
1224 unittest.expect(o, unittest.hasLength(2)); 1224 unittest.expect(o, unittest.hasLength(2));
1225 checkAppVersion(o[0]); 1225 checkAppVersion(o[0]);
1226 checkAppVersion(o[1]); 1226 checkAppVersion(o[1]);
1227 } 1227 }
1228 1228
1229 core.int buildCounterProduct = 0; 1229 core.int buildCounterProduct = 0;
1230 buildProduct() { 1230 buildProduct() {
1231 var o = new api.Product(); 1231 var o = new api.Product();
1232 buildCounterProduct++; 1232 buildCounterProduct++;
1233 if (buildCounterProduct < 3) { 1233 if (buildCounterProduct < 3) {
1234 o.appVersion = buildUnnamed1927(); 1234 o.appVersion = buildUnnamed2021();
1235 o.authorName = "foo"; 1235 o.authorName = "foo";
1236 o.detailsUrl = "foo"; 1236 o.detailsUrl = "foo";
1237 o.distributionChannel = "foo"; 1237 o.distributionChannel = "foo";
1238 o.iconUrl = "foo"; 1238 o.iconUrl = "foo";
1239 o.kind = "foo"; 1239 o.kind = "foo";
1240 o.productId = "foo"; 1240 o.productId = "foo";
1241 o.productPricing = "foo"; 1241 o.productPricing = "foo";
1242 o.requiresContainerApp = true; 1242 o.requiresContainerApp = true;
1243 o.smallIconUrl = "foo"; 1243 o.smallIconUrl = "foo";
1244 o.title = "foo"; 1244 o.title = "foo";
1245 o.workDetailsUrl = "foo"; 1245 o.workDetailsUrl = "foo";
1246 } 1246 }
1247 buildCounterProduct--; 1247 buildCounterProduct--;
1248 return o; 1248 return o;
1249 } 1249 }
1250 1250
1251 checkProduct(api.Product o) { 1251 checkProduct(api.Product o) {
1252 buildCounterProduct++; 1252 buildCounterProduct++;
1253 if (buildCounterProduct < 3) { 1253 if (buildCounterProduct < 3) {
1254 checkUnnamed1927(o.appVersion); 1254 checkUnnamed2021(o.appVersion);
1255 unittest.expect(o.authorName, unittest.equals('foo')); 1255 unittest.expect(o.authorName, unittest.equals('foo'));
1256 unittest.expect(o.detailsUrl, unittest.equals('foo')); 1256 unittest.expect(o.detailsUrl, unittest.equals('foo'));
1257 unittest.expect(o.distributionChannel, unittest.equals('foo')); 1257 unittest.expect(o.distributionChannel, unittest.equals('foo'));
1258 unittest.expect(o.iconUrl, unittest.equals('foo')); 1258 unittest.expect(o.iconUrl, unittest.equals('foo'));
1259 unittest.expect(o.kind, unittest.equals('foo')); 1259 unittest.expect(o.kind, unittest.equals('foo'));
1260 unittest.expect(o.productId, unittest.equals('foo')); 1260 unittest.expect(o.productId, unittest.equals('foo'));
1261 unittest.expect(o.productPricing, unittest.equals('foo')); 1261 unittest.expect(o.productPricing, unittest.equals('foo'));
1262 unittest.expect(o.requiresContainerApp, unittest.isTrue); 1262 unittest.expect(o.requiresContainerApp, unittest.isTrue);
1263 unittest.expect(o.smallIconUrl, unittest.equals('foo')); 1263 unittest.expect(o.smallIconUrl, unittest.equals('foo'));
1264 unittest.expect(o.title, unittest.equals('foo')); 1264 unittest.expect(o.title, unittest.equals('foo'));
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 1323
1324 checkProductPermission(api.ProductPermission o) { 1324 checkProductPermission(api.ProductPermission o) {
1325 buildCounterProductPermission++; 1325 buildCounterProductPermission++;
1326 if (buildCounterProductPermission < 3) { 1326 if (buildCounterProductPermission < 3) {
1327 unittest.expect(o.permissionId, unittest.equals('foo')); 1327 unittest.expect(o.permissionId, unittest.equals('foo'));
1328 unittest.expect(o.state, unittest.equals('foo')); 1328 unittest.expect(o.state, unittest.equals('foo'));
1329 } 1329 }
1330 buildCounterProductPermission--; 1330 buildCounterProductPermission--;
1331 } 1331 }
1332 1332
1333 buildUnnamed1928() { 1333 buildUnnamed2022() {
1334 var o = new core.List<api.ProductPermission>(); 1334 var o = new core.List<api.ProductPermission>();
1335 o.add(buildProductPermission()); 1335 o.add(buildProductPermission());
1336 o.add(buildProductPermission()); 1336 o.add(buildProductPermission());
1337 return o; 1337 return o;
1338 } 1338 }
1339 1339
1340 checkUnnamed1928(core.List<api.ProductPermission> o) { 1340 checkUnnamed2022(core.List<api.ProductPermission> o) {
1341 unittest.expect(o, unittest.hasLength(2)); 1341 unittest.expect(o, unittest.hasLength(2));
1342 checkProductPermission(o[0]); 1342 checkProductPermission(o[0]);
1343 checkProductPermission(o[1]); 1343 checkProductPermission(o[1]);
1344 } 1344 }
1345 1345
1346 core.int buildCounterProductPermissions = 0; 1346 core.int buildCounterProductPermissions = 0;
1347 buildProductPermissions() { 1347 buildProductPermissions() {
1348 var o = new api.ProductPermissions(); 1348 var o = new api.ProductPermissions();
1349 buildCounterProductPermissions++; 1349 buildCounterProductPermissions++;
1350 if (buildCounterProductPermissions < 3) { 1350 if (buildCounterProductPermissions < 3) {
1351 o.kind = "foo"; 1351 o.kind = "foo";
1352 o.permission = buildUnnamed1928(); 1352 o.permission = buildUnnamed2022();
1353 o.productId = "foo"; 1353 o.productId = "foo";
1354 } 1354 }
1355 buildCounterProductPermissions--; 1355 buildCounterProductPermissions--;
1356 return o; 1356 return o;
1357 } 1357 }
1358 1358
1359 checkProductPermissions(api.ProductPermissions o) { 1359 checkProductPermissions(api.ProductPermissions o) {
1360 buildCounterProductPermissions++; 1360 buildCounterProductPermissions++;
1361 if (buildCounterProductPermissions < 3) { 1361 if (buildCounterProductPermissions < 3) {
1362 unittest.expect(o.kind, unittest.equals('foo')); 1362 unittest.expect(o.kind, unittest.equals('foo'));
1363 checkUnnamed1928(o.permission); 1363 checkUnnamed2022(o.permission);
1364 unittest.expect(o.productId, unittest.equals('foo')); 1364 unittest.expect(o.productId, unittest.equals('foo'));
1365 } 1365 }
1366 buildCounterProductPermissions--; 1366 buildCounterProductPermissions--;
1367 } 1367 }
1368 1368
1369 buildUnnamed1929() { 1369 buildUnnamed2023() {
1370 var o = new core.List<core.String>(); 1370 var o = new core.List<core.String>();
1371 o.add("foo"); 1371 o.add("foo");
1372 o.add("foo"); 1372 o.add("foo");
1373 return o; 1373 return o;
1374 } 1374 }
1375 1375
1376 checkUnnamed1929(core.List<core.String> o) { 1376 checkUnnamed2023(core.List<core.String> o) {
1377 unittest.expect(o, unittest.hasLength(2)); 1377 unittest.expect(o, unittest.hasLength(2));
1378 unittest.expect(o[0], unittest.equals('foo')); 1378 unittest.expect(o[0], unittest.equals('foo'));
1379 unittest.expect(o[1], unittest.equals('foo')); 1379 unittest.expect(o[1], unittest.equals('foo'));
1380 } 1380 }
1381 1381
1382 core.int buildCounterProductSet = 0; 1382 core.int buildCounterProductSet = 0;
1383 buildProductSet() { 1383 buildProductSet() {
1384 var o = new api.ProductSet(); 1384 var o = new api.ProductSet();
1385 buildCounterProductSet++; 1385 buildCounterProductSet++;
1386 if (buildCounterProductSet < 3) { 1386 if (buildCounterProductSet < 3) {
1387 o.kind = "foo"; 1387 o.kind = "foo";
1388 o.productId = buildUnnamed1929(); 1388 o.productId = buildUnnamed2023();
1389 o.productSetBehavior = "foo"; 1389 o.productSetBehavior = "foo";
1390 } 1390 }
1391 buildCounterProductSet--; 1391 buildCounterProductSet--;
1392 return o; 1392 return o;
1393 } 1393 }
1394 1394
1395 checkProductSet(api.ProductSet o) { 1395 checkProductSet(api.ProductSet o) {
1396 buildCounterProductSet++; 1396 buildCounterProductSet++;
1397 if (buildCounterProductSet < 3) { 1397 if (buildCounterProductSet < 3) {
1398 unittest.expect(o.kind, unittest.equals('foo')); 1398 unittest.expect(o.kind, unittest.equals('foo'));
1399 checkUnnamed1929(o.productId); 1399 checkUnnamed2023(o.productId);
1400 unittest.expect(o.productSetBehavior, unittest.equals('foo')); 1400 unittest.expect(o.productSetBehavior, unittest.equals('foo'));
1401 } 1401 }
1402 buildCounterProductSet--; 1402 buildCounterProductSet--;
1403 } 1403 }
1404 1404
1405 core.int buildCounterProductsApproveRequest = 0; 1405 core.int buildCounterProductsApproveRequest = 0;
1406 buildProductsApproveRequest() { 1406 buildProductsApproveRequest() {
1407 var o = new api.ProductsApproveRequest(); 1407 var o = new api.ProductsApproveRequest();
1408 buildCounterProductsApproveRequest++; 1408 buildCounterProductsApproveRequest++;
1409 if (buildCounterProductsApproveRequest < 3) { 1409 if (buildCounterProductsApproveRequest < 3) {
(...skipping 23 matching lines...) Expand all
1433 } 1433 }
1434 1434
1435 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse o) { 1435 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse o) {
1436 buildCounterProductsGenerateApprovalUrlResponse++; 1436 buildCounterProductsGenerateApprovalUrlResponse++;
1437 if (buildCounterProductsGenerateApprovalUrlResponse < 3) { 1437 if (buildCounterProductsGenerateApprovalUrlResponse < 3) {
1438 unittest.expect(o.url, unittest.equals('foo')); 1438 unittest.expect(o.url, unittest.equals('foo'));
1439 } 1439 }
1440 buildCounterProductsGenerateApprovalUrlResponse--; 1440 buildCounterProductsGenerateApprovalUrlResponse--;
1441 } 1441 }
1442 1442
1443 buildUnnamed1930() { 1443 buildUnnamed2024() {
1444 var o = new core.List<api.Product>(); 1444 var o = new core.List<api.Product>();
1445 o.add(buildProduct()); 1445 o.add(buildProduct());
1446 o.add(buildProduct()); 1446 o.add(buildProduct());
1447 return o; 1447 return o;
1448 } 1448 }
1449 1449
1450 checkUnnamed1930(core.List<api.Product> o) { 1450 checkUnnamed2024(core.List<api.Product> o) {
1451 unittest.expect(o, unittest.hasLength(2)); 1451 unittest.expect(o, unittest.hasLength(2));
1452 checkProduct(o[0]); 1452 checkProduct(o[0]);
1453 checkProduct(o[1]); 1453 checkProduct(o[1]);
1454 } 1454 }
1455 1455
1456 core.int buildCounterProductsListResponse = 0; 1456 core.int buildCounterProductsListResponse = 0;
1457 buildProductsListResponse() { 1457 buildProductsListResponse() {
1458 var o = new api.ProductsListResponse(); 1458 var o = new api.ProductsListResponse();
1459 buildCounterProductsListResponse++; 1459 buildCounterProductsListResponse++;
1460 if (buildCounterProductsListResponse < 3) { 1460 if (buildCounterProductsListResponse < 3) {
1461 o.kind = "foo"; 1461 o.kind = "foo";
1462 o.pageInfo = buildPageInfo(); 1462 o.pageInfo = buildPageInfo();
1463 o.product = buildUnnamed1930(); 1463 o.product = buildUnnamed2024();
1464 o.tokenPagination = buildTokenPagination(); 1464 o.tokenPagination = buildTokenPagination();
1465 } 1465 }
1466 buildCounterProductsListResponse--; 1466 buildCounterProductsListResponse--;
1467 return o; 1467 return o;
1468 } 1468 }
1469 1469
1470 checkProductsListResponse(api.ProductsListResponse o) { 1470 checkProductsListResponse(api.ProductsListResponse o) {
1471 buildCounterProductsListResponse++; 1471 buildCounterProductsListResponse++;
1472 if (buildCounterProductsListResponse < 3) { 1472 if (buildCounterProductsListResponse < 3) {
1473 unittest.expect(o.kind, unittest.equals('foo')); 1473 unittest.expect(o.kind, unittest.equals('foo'));
1474 checkPageInfo(o.pageInfo); 1474 checkPageInfo(o.pageInfo);
1475 checkUnnamed1930(o.product); 1475 checkUnnamed2024(o.product);
1476 checkTokenPagination(o.tokenPagination); 1476 checkTokenPagination(o.tokenPagination);
1477 } 1477 }
1478 buildCounterProductsListResponse--; 1478 buildCounterProductsListResponse--;
1479 } 1479 }
1480 1480
1481 core.int buildCounterServiceAccount = 0; 1481 core.int buildCounterServiceAccount = 0;
1482 buildServiceAccount() { 1482 buildServiceAccount() {
1483 var o = new api.ServiceAccount(); 1483 var o = new api.ServiceAccount();
1484 buildCounterServiceAccount++; 1484 buildCounterServiceAccount++;
1485 if (buildCounterServiceAccount < 3) { 1485 if (buildCounterServiceAccount < 3) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 if (buildCounterServiceAccountKey < 3) { 1521 if (buildCounterServiceAccountKey < 3) {
1522 unittest.expect(o.data, unittest.equals('foo')); 1522 unittest.expect(o.data, unittest.equals('foo'));
1523 unittest.expect(o.id, unittest.equals('foo')); 1523 unittest.expect(o.id, unittest.equals('foo'));
1524 unittest.expect(o.kind, unittest.equals('foo')); 1524 unittest.expect(o.kind, unittest.equals('foo'));
1525 unittest.expect(o.publicData, unittest.equals('foo')); 1525 unittest.expect(o.publicData, unittest.equals('foo'));
1526 unittest.expect(o.type, unittest.equals('foo')); 1526 unittest.expect(o.type, unittest.equals('foo'));
1527 } 1527 }
1528 buildCounterServiceAccountKey--; 1528 buildCounterServiceAccountKey--;
1529 } 1529 }
1530 1530
1531 buildUnnamed1931() { 1531 buildUnnamed2025() {
1532 var o = new core.List<api.ServiceAccountKey>(); 1532 var o = new core.List<api.ServiceAccountKey>();
1533 o.add(buildServiceAccountKey()); 1533 o.add(buildServiceAccountKey());
1534 o.add(buildServiceAccountKey()); 1534 o.add(buildServiceAccountKey());
1535 return o; 1535 return o;
1536 } 1536 }
1537 1537
1538 checkUnnamed1931(core.List<api.ServiceAccountKey> o) { 1538 checkUnnamed2025(core.List<api.ServiceAccountKey> o) {
1539 unittest.expect(o, unittest.hasLength(2)); 1539 unittest.expect(o, unittest.hasLength(2));
1540 checkServiceAccountKey(o[0]); 1540 checkServiceAccountKey(o[0]);
1541 checkServiceAccountKey(o[1]); 1541 checkServiceAccountKey(o[1]);
1542 } 1542 }
1543 1543
1544 core.int buildCounterServiceAccountKeysListResponse = 0; 1544 core.int buildCounterServiceAccountKeysListResponse = 0;
1545 buildServiceAccountKeysListResponse() { 1545 buildServiceAccountKeysListResponse() {
1546 var o = new api.ServiceAccountKeysListResponse(); 1546 var o = new api.ServiceAccountKeysListResponse();
1547 buildCounterServiceAccountKeysListResponse++; 1547 buildCounterServiceAccountKeysListResponse++;
1548 if (buildCounterServiceAccountKeysListResponse < 3) { 1548 if (buildCounterServiceAccountKeysListResponse < 3) {
1549 o.serviceAccountKey = buildUnnamed1931(); 1549 o.serviceAccountKey = buildUnnamed2025();
1550 } 1550 }
1551 buildCounterServiceAccountKeysListResponse--; 1551 buildCounterServiceAccountKeysListResponse--;
1552 return o; 1552 return o;
1553 } 1553 }
1554 1554
1555 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) { 1555 checkServiceAccountKeysListResponse(api.ServiceAccountKeysListResponse o) {
1556 buildCounterServiceAccountKeysListResponse++; 1556 buildCounterServiceAccountKeysListResponse++;
1557 if (buildCounterServiceAccountKeysListResponse < 3) { 1557 if (buildCounterServiceAccountKeysListResponse < 3) {
1558 checkUnnamed1931(o.serviceAccountKey); 1558 checkUnnamed2025(o.serviceAccountKey);
1559 } 1559 }
1560 buildCounterServiceAccountKeysListResponse--; 1560 buildCounterServiceAccountKeysListResponse--;
1561 } 1561 }
1562 1562
1563 core.int buildCounterSignupInfo = 0; 1563 core.int buildCounterSignupInfo = 0;
1564 buildSignupInfo() { 1564 buildSignupInfo() {
1565 var o = new api.SignupInfo(); 1565 var o = new api.SignupInfo();
1566 buildCounterSignupInfo++; 1566 buildCounterSignupInfo++;
1567 if (buildCounterSignupInfo < 3) { 1567 if (buildCounterSignupInfo < 3) {
1568 o.completionToken = "foo"; 1568 o.completionToken = "foo";
1569 o.kind = "foo"; 1569 o.kind = "foo";
1570 o.url = "foo"; 1570 o.url = "foo";
1571 } 1571 }
1572 buildCounterSignupInfo--; 1572 buildCounterSignupInfo--;
1573 return o; 1573 return o;
1574 } 1574 }
1575 1575
1576 checkSignupInfo(api.SignupInfo o) { 1576 checkSignupInfo(api.SignupInfo o) {
1577 buildCounterSignupInfo++; 1577 buildCounterSignupInfo++;
1578 if (buildCounterSignupInfo < 3) { 1578 if (buildCounterSignupInfo < 3) {
1579 unittest.expect(o.completionToken, unittest.equals('foo')); 1579 unittest.expect(o.completionToken, unittest.equals('foo'));
1580 unittest.expect(o.kind, unittest.equals('foo')); 1580 unittest.expect(o.kind, unittest.equals('foo'));
1581 unittest.expect(o.url, unittest.equals('foo')); 1581 unittest.expect(o.url, unittest.equals('foo'));
1582 } 1582 }
1583 buildCounterSignupInfo--; 1583 buildCounterSignupInfo--;
1584 } 1584 }
1585 1585
1586 buildUnnamed1932() { 1586 buildUnnamed2026() {
1587 var o = new core.List<api.LocalizedText>(); 1587 var o = new core.List<api.LocalizedText>();
1588 o.add(buildLocalizedText()); 1588 o.add(buildLocalizedText());
1589 o.add(buildLocalizedText()); 1589 o.add(buildLocalizedText());
1590 return o; 1590 return o;
1591 } 1591 }
1592 1592
1593 checkUnnamed1932(core.List<api.LocalizedText> o) { 1593 checkUnnamed2026(core.List<api.LocalizedText> o) {
1594 unittest.expect(o, unittest.hasLength(2)); 1594 unittest.expect(o, unittest.hasLength(2));
1595 checkLocalizedText(o[0]); 1595 checkLocalizedText(o[0]);
1596 checkLocalizedText(o[1]); 1596 checkLocalizedText(o[1]);
1597 } 1597 }
1598 1598
1599 buildUnnamed1933() { 1599 buildUnnamed2027() {
1600 var o = new core.List<core.String>(); 1600 var o = new core.List<core.String>();
1601 o.add("foo"); 1601 o.add("foo");
1602 o.add("foo"); 1602 o.add("foo");
1603 return o; 1603 return o;
1604 } 1604 }
1605 1605
1606 checkUnnamed1933(core.List<core.String> o) { 1606 checkUnnamed2027(core.List<core.String> o) {
1607 unittest.expect(o, unittest.hasLength(2)); 1607 unittest.expect(o, unittest.hasLength(2));
1608 unittest.expect(o[0], unittest.equals('foo')); 1608 unittest.expect(o[0], unittest.equals('foo'));
1609 unittest.expect(o[1], unittest.equals('foo')); 1609 unittest.expect(o[1], unittest.equals('foo'));
1610 } 1610 }
1611 1611
1612 core.int buildCounterStoreCluster = 0; 1612 core.int buildCounterStoreCluster = 0;
1613 buildStoreCluster() { 1613 buildStoreCluster() {
1614 var o = new api.StoreCluster(); 1614 var o = new api.StoreCluster();
1615 buildCounterStoreCluster++; 1615 buildCounterStoreCluster++;
1616 if (buildCounterStoreCluster < 3) { 1616 if (buildCounterStoreCluster < 3) {
1617 o.id = "foo"; 1617 o.id = "foo";
1618 o.kind = "foo"; 1618 o.kind = "foo";
1619 o.name = buildUnnamed1932(); 1619 o.name = buildUnnamed2026();
1620 o.orderInPage = "foo"; 1620 o.orderInPage = "foo";
1621 o.productId = buildUnnamed1933(); 1621 o.productId = buildUnnamed2027();
1622 } 1622 }
1623 buildCounterStoreCluster--; 1623 buildCounterStoreCluster--;
1624 return o; 1624 return o;
1625 } 1625 }
1626 1626
1627 checkStoreCluster(api.StoreCluster o) { 1627 checkStoreCluster(api.StoreCluster o) {
1628 buildCounterStoreCluster++; 1628 buildCounterStoreCluster++;
1629 if (buildCounterStoreCluster < 3) { 1629 if (buildCounterStoreCluster < 3) {
1630 unittest.expect(o.id, unittest.equals('foo')); 1630 unittest.expect(o.id, unittest.equals('foo'));
1631 unittest.expect(o.kind, unittest.equals('foo')); 1631 unittest.expect(o.kind, unittest.equals('foo'));
1632 checkUnnamed1932(o.name); 1632 checkUnnamed2026(o.name);
1633 unittest.expect(o.orderInPage, unittest.equals('foo')); 1633 unittest.expect(o.orderInPage, unittest.equals('foo'));
1634 checkUnnamed1933(o.productId); 1634 checkUnnamed2027(o.productId);
1635 } 1635 }
1636 buildCounterStoreCluster--; 1636 buildCounterStoreCluster--;
1637 } 1637 }
1638 1638
1639 core.int buildCounterStoreLayout = 0; 1639 core.int buildCounterStoreLayout = 0;
1640 buildStoreLayout() { 1640 buildStoreLayout() {
1641 var o = new api.StoreLayout(); 1641 var o = new api.StoreLayout();
1642 buildCounterStoreLayout++; 1642 buildCounterStoreLayout++;
1643 if (buildCounterStoreLayout < 3) { 1643 if (buildCounterStoreLayout < 3) {
1644 o.homepageId = "foo"; 1644 o.homepageId = "foo";
1645 o.kind = "foo"; 1645 o.kind = "foo";
1646 o.storeLayoutType = "foo"; 1646 o.storeLayoutType = "foo";
1647 } 1647 }
1648 buildCounterStoreLayout--; 1648 buildCounterStoreLayout--;
1649 return o; 1649 return o;
1650 } 1650 }
1651 1651
1652 checkStoreLayout(api.StoreLayout o) { 1652 checkStoreLayout(api.StoreLayout o) {
1653 buildCounterStoreLayout++; 1653 buildCounterStoreLayout++;
1654 if (buildCounterStoreLayout < 3) { 1654 if (buildCounterStoreLayout < 3) {
1655 unittest.expect(o.homepageId, unittest.equals('foo')); 1655 unittest.expect(o.homepageId, unittest.equals('foo'));
1656 unittest.expect(o.kind, unittest.equals('foo')); 1656 unittest.expect(o.kind, unittest.equals('foo'));
1657 unittest.expect(o.storeLayoutType, unittest.equals('foo')); 1657 unittest.expect(o.storeLayoutType, unittest.equals('foo'));
1658 } 1658 }
1659 buildCounterStoreLayout--; 1659 buildCounterStoreLayout--;
1660 } 1660 }
1661 1661
1662 buildUnnamed1934() { 1662 buildUnnamed2028() {
1663 var o = new core.List<api.StoreCluster>(); 1663 var o = new core.List<api.StoreCluster>();
1664 o.add(buildStoreCluster()); 1664 o.add(buildStoreCluster());
1665 o.add(buildStoreCluster()); 1665 o.add(buildStoreCluster());
1666 return o; 1666 return o;
1667 } 1667 }
1668 1668
1669 checkUnnamed1934(core.List<api.StoreCluster> o) { 1669 checkUnnamed2028(core.List<api.StoreCluster> o) {
1670 unittest.expect(o, unittest.hasLength(2)); 1670 unittest.expect(o, unittest.hasLength(2));
1671 checkStoreCluster(o[0]); 1671 checkStoreCluster(o[0]);
1672 checkStoreCluster(o[1]); 1672 checkStoreCluster(o[1]);
1673 } 1673 }
1674 1674
1675 core.int buildCounterStoreLayoutClustersListResponse = 0; 1675 core.int buildCounterStoreLayoutClustersListResponse = 0;
1676 buildStoreLayoutClustersListResponse() { 1676 buildStoreLayoutClustersListResponse() {
1677 var o = new api.StoreLayoutClustersListResponse(); 1677 var o = new api.StoreLayoutClustersListResponse();
1678 buildCounterStoreLayoutClustersListResponse++; 1678 buildCounterStoreLayoutClustersListResponse++;
1679 if (buildCounterStoreLayoutClustersListResponse < 3) { 1679 if (buildCounterStoreLayoutClustersListResponse < 3) {
1680 o.cluster = buildUnnamed1934(); 1680 o.cluster = buildUnnamed2028();
1681 o.kind = "foo"; 1681 o.kind = "foo";
1682 } 1682 }
1683 buildCounterStoreLayoutClustersListResponse--; 1683 buildCounterStoreLayoutClustersListResponse--;
1684 return o; 1684 return o;
1685 } 1685 }
1686 1686
1687 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) { 1687 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
1688 buildCounterStoreLayoutClustersListResponse++; 1688 buildCounterStoreLayoutClustersListResponse++;
1689 if (buildCounterStoreLayoutClustersListResponse < 3) { 1689 if (buildCounterStoreLayoutClustersListResponse < 3) {
1690 checkUnnamed1934(o.cluster); 1690 checkUnnamed2028(o.cluster);
1691 unittest.expect(o.kind, unittest.equals('foo')); 1691 unittest.expect(o.kind, unittest.equals('foo'));
1692 } 1692 }
1693 buildCounterStoreLayoutClustersListResponse--; 1693 buildCounterStoreLayoutClustersListResponse--;
1694 } 1694 }
1695 1695
1696 buildUnnamed1935() { 1696 buildUnnamed2029() {
1697 var o = new core.List<api.StorePage>(); 1697 var o = new core.List<api.StorePage>();
1698 o.add(buildStorePage()); 1698 o.add(buildStorePage());
1699 o.add(buildStorePage()); 1699 o.add(buildStorePage());
1700 return o; 1700 return o;
1701 } 1701 }
1702 1702
1703 checkUnnamed1935(core.List<api.StorePage> o) { 1703 checkUnnamed2029(core.List<api.StorePage> o) {
1704 unittest.expect(o, unittest.hasLength(2)); 1704 unittest.expect(o, unittest.hasLength(2));
1705 checkStorePage(o[0]); 1705 checkStorePage(o[0]);
1706 checkStorePage(o[1]); 1706 checkStorePage(o[1]);
1707 } 1707 }
1708 1708
1709 core.int buildCounterStoreLayoutPagesListResponse = 0; 1709 core.int buildCounterStoreLayoutPagesListResponse = 0;
1710 buildStoreLayoutPagesListResponse() { 1710 buildStoreLayoutPagesListResponse() {
1711 var o = new api.StoreLayoutPagesListResponse(); 1711 var o = new api.StoreLayoutPagesListResponse();
1712 buildCounterStoreLayoutPagesListResponse++; 1712 buildCounterStoreLayoutPagesListResponse++;
1713 if (buildCounterStoreLayoutPagesListResponse < 3) { 1713 if (buildCounterStoreLayoutPagesListResponse < 3) {
1714 o.kind = "foo"; 1714 o.kind = "foo";
1715 o.page = buildUnnamed1935(); 1715 o.page = buildUnnamed2029();
1716 } 1716 }
1717 buildCounterStoreLayoutPagesListResponse--; 1717 buildCounterStoreLayoutPagesListResponse--;
1718 return o; 1718 return o;
1719 } 1719 }
1720 1720
1721 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { 1721 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) {
1722 buildCounterStoreLayoutPagesListResponse++; 1722 buildCounterStoreLayoutPagesListResponse++;
1723 if (buildCounterStoreLayoutPagesListResponse < 3) { 1723 if (buildCounterStoreLayoutPagesListResponse < 3) {
1724 unittest.expect(o.kind, unittest.equals('foo')); 1724 unittest.expect(o.kind, unittest.equals('foo'));
1725 checkUnnamed1935(o.page); 1725 checkUnnamed2029(o.page);
1726 } 1726 }
1727 buildCounterStoreLayoutPagesListResponse--; 1727 buildCounterStoreLayoutPagesListResponse--;
1728 } 1728 }
1729 1729
1730 buildUnnamed1936() { 1730 buildUnnamed2030() {
1731 var o = new core.List<core.String>(); 1731 var o = new core.List<core.String>();
1732 o.add("foo"); 1732 o.add("foo");
1733 o.add("foo"); 1733 o.add("foo");
1734 return o; 1734 return o;
1735 } 1735 }
1736 1736
1737 checkUnnamed1936(core.List<core.String> o) { 1737 checkUnnamed2030(core.List<core.String> o) {
1738 unittest.expect(o, unittest.hasLength(2)); 1738 unittest.expect(o, unittest.hasLength(2));
1739 unittest.expect(o[0], unittest.equals('foo')); 1739 unittest.expect(o[0], unittest.equals('foo'));
1740 unittest.expect(o[1], unittest.equals('foo')); 1740 unittest.expect(o[1], unittest.equals('foo'));
1741 } 1741 }
1742 1742
1743 buildUnnamed1937() { 1743 buildUnnamed2031() {
1744 var o = new core.List<api.LocalizedText>(); 1744 var o = new core.List<api.LocalizedText>();
1745 o.add(buildLocalizedText()); 1745 o.add(buildLocalizedText());
1746 o.add(buildLocalizedText()); 1746 o.add(buildLocalizedText());
1747 return o; 1747 return o;
1748 } 1748 }
1749 1749
1750 checkUnnamed1937(core.List<api.LocalizedText> o) { 1750 checkUnnamed2031(core.List<api.LocalizedText> o) {
1751 unittest.expect(o, unittest.hasLength(2)); 1751 unittest.expect(o, unittest.hasLength(2));
1752 checkLocalizedText(o[0]); 1752 checkLocalizedText(o[0]);
1753 checkLocalizedText(o[1]); 1753 checkLocalizedText(o[1]);
1754 } 1754 }
1755 1755
1756 core.int buildCounterStorePage = 0; 1756 core.int buildCounterStorePage = 0;
1757 buildStorePage() { 1757 buildStorePage() {
1758 var o = new api.StorePage(); 1758 var o = new api.StorePage();
1759 buildCounterStorePage++; 1759 buildCounterStorePage++;
1760 if (buildCounterStorePage < 3) { 1760 if (buildCounterStorePage < 3) {
1761 o.id = "foo"; 1761 o.id = "foo";
1762 o.kind = "foo"; 1762 o.kind = "foo";
1763 o.link = buildUnnamed1936(); 1763 o.link = buildUnnamed2030();
1764 o.name = buildUnnamed1937(); 1764 o.name = buildUnnamed2031();
1765 } 1765 }
1766 buildCounterStorePage--; 1766 buildCounterStorePage--;
1767 return o; 1767 return o;
1768 } 1768 }
1769 1769
1770 checkStorePage(api.StorePage o) { 1770 checkStorePage(api.StorePage o) {
1771 buildCounterStorePage++; 1771 buildCounterStorePage++;
1772 if (buildCounterStorePage < 3) { 1772 if (buildCounterStorePage < 3) {
1773 unittest.expect(o.id, unittest.equals('foo')); 1773 unittest.expect(o.id, unittest.equals('foo'));
1774 unittest.expect(o.kind, unittest.equals('foo')); 1774 unittest.expect(o.kind, unittest.equals('foo'));
1775 checkUnnamed1936(o.link); 1775 checkUnnamed2030(o.link);
1776 checkUnnamed1937(o.name); 1776 checkUnnamed2031(o.name);
1777 } 1777 }
1778 buildCounterStorePage--; 1778 buildCounterStorePage--;
1779 } 1779 }
1780 1780
1781 core.int buildCounterTokenPagination = 0; 1781 core.int buildCounterTokenPagination = 0;
1782 buildTokenPagination() { 1782 buildTokenPagination() {
1783 var o = new api.TokenPagination(); 1783 var o = new api.TokenPagination();
1784 buildCounterTokenPagination++; 1784 buildCounterTokenPagination++;
1785 if (buildCounterTokenPagination < 3) { 1785 if (buildCounterTokenPagination < 3) {
1786 o.nextPageToken = "foo"; 1786 o.nextPageToken = "foo";
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 checkUserToken(api.UserToken o) { 1846 checkUserToken(api.UserToken o) {
1847 buildCounterUserToken++; 1847 buildCounterUserToken++;
1848 if (buildCounterUserToken < 3) { 1848 if (buildCounterUserToken < 3) {
1849 unittest.expect(o.kind, unittest.equals('foo')); 1849 unittest.expect(o.kind, unittest.equals('foo'));
1850 unittest.expect(o.token, unittest.equals('foo')); 1850 unittest.expect(o.token, unittest.equals('foo'));
1851 unittest.expect(o.userId, unittest.equals('foo')); 1851 unittest.expect(o.userId, unittest.equals('foo'));
1852 } 1852 }
1853 buildCounterUserToken--; 1853 buildCounterUserToken--;
1854 } 1854 }
1855 1855
1856 buildUnnamed1938() { 1856 buildUnnamed2032() {
1857 var o = new core.List<api.User>(); 1857 var o = new core.List<api.User>();
1858 o.add(buildUser()); 1858 o.add(buildUser());
1859 o.add(buildUser()); 1859 o.add(buildUser());
1860 return o; 1860 return o;
1861 } 1861 }
1862 1862
1863 checkUnnamed1938(core.List<api.User> o) { 1863 checkUnnamed2032(core.List<api.User> o) {
1864 unittest.expect(o, unittest.hasLength(2)); 1864 unittest.expect(o, unittest.hasLength(2));
1865 checkUser(o[0]); 1865 checkUser(o[0]);
1866 checkUser(o[1]); 1866 checkUser(o[1]);
1867 } 1867 }
1868 1868
1869 core.int buildCounterUsersListResponse = 0; 1869 core.int buildCounterUsersListResponse = 0;
1870 buildUsersListResponse() { 1870 buildUsersListResponse() {
1871 var o = new api.UsersListResponse(); 1871 var o = new api.UsersListResponse();
1872 buildCounterUsersListResponse++; 1872 buildCounterUsersListResponse++;
1873 if (buildCounterUsersListResponse < 3) { 1873 if (buildCounterUsersListResponse < 3) {
1874 o.kind = "foo"; 1874 o.kind = "foo";
1875 o.user = buildUnnamed1938(); 1875 o.user = buildUnnamed2032();
1876 } 1876 }
1877 buildCounterUsersListResponse--; 1877 buildCounterUsersListResponse--;
1878 return o; 1878 return o;
1879 } 1879 }
1880 1880
1881 checkUsersListResponse(api.UsersListResponse o) { 1881 checkUsersListResponse(api.UsersListResponse o) {
1882 buildCounterUsersListResponse++; 1882 buildCounterUsersListResponse++;
1883 if (buildCounterUsersListResponse < 3) { 1883 if (buildCounterUsersListResponse < 3) {
1884 unittest.expect(o.kind, unittest.equals('foo')); 1884 unittest.expect(o.kind, unittest.equals('foo'));
1885 checkUnnamed1938(o.user); 1885 checkUnnamed2032(o.user);
1886 } 1886 }
1887 buildCounterUsersListResponse--; 1887 buildCounterUsersListResponse--;
1888 } 1888 }
1889 1889
1890 1890
1891 main() { 1891 main() {
1892 unittest.group("obj-schema-Administrator", () { 1892 unittest.group("obj-schema-Administrator", () {
1893 unittest.test("to-json--from-json", () { 1893 unittest.test("to-json--from-json", () {
1894 var o = buildAdministrator(); 1894 var o = buildAdministrator();
1895 var od = new api.Administrator.fromJson(o.toJson()); 1895 var od = new api.Administrator.fromJson(o.toJson());
(...skipping 3692 matching lines...) Expand 10 before | Expand all | Expand 10 after
5588 5588
5589 var h = { 5589 var h = {
5590 "content-type" : "application/json; charset=utf-8", 5590 "content-type" : "application/json; charset=utf-8",
5591 }; 5591 };
5592 var resp = ""; 5592 var resp = "";
5593 return new async.Future.value(stringResponse(200, h, resp)); 5593 return new async.Future.value(stringResponse(200, h, resp));
5594 }), true); 5594 }), true);
5595 res.unapprove(arg_enterpriseId, arg_productId).then(unittest.expectAsync(( _) {})); 5595 res.unapprove(arg_enterpriseId, arg_productId).then(unittest.expectAsync(( _) {}));
5596 }); 5596 });
5597 5597
5598 unittest.test("method--updatePermissions", () {
5599
5600 var mock = new HttpServerMock();
5601 api.ProductsResourceApi res = new api.AndroidenterpriseApi(mock).products;
5602 var arg_request = buildProductPermissions();
5603 var arg_enterpriseId = "foo";
5604 var arg_productId = "foo";
5605 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5606 var obj = new api.ProductPermissions.fromJson(json);
5607 checkProductPermissions(obj);
5608
5609 var path = (req.url).path;
5610 var pathOffset = 0;
5611 var index;
5612 var subPart;
5613 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5614 pathOffset += 1;
5615 unittest.expect(path.substring(pathOffset, pathOffset + 21), unittest.eq uals("androidenterprise/v1/"));
5616 pathOffset += 21;
5617 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("enterprises/"));
5618 pathOffset += 12;
5619 index = path.indexOf("/products/", pathOffset);
5620 unittest.expect(index >= 0, unittest.isTrue);
5621 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
5622 pathOffset = index;
5623 unittest.expect(subPart, unittest.equals("$arg_enterpriseId"));
5624 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("/products/"));
5625 pathOffset += 10;
5626 index = path.indexOf("/permissions", pathOffset);
5627 unittest.expect(index >= 0, unittest.isTrue);
5628 subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index ));
5629 pathOffset = index;
5630 unittest.expect(subPart, unittest.equals("$arg_productId"));
5631 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("/permissions"));
5632 pathOffset += 12;
5633
5634 var query = (req.url).query;
5635 var queryOffset = 0;
5636 var queryMap = {};
5637 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
5638 parseBool(n) {
5639 if (n == "true") return true;
5640 if (n == "false") return false;
5641 if (n == null) return null;
5642 throw new core.ArgumentError("Invalid boolean: $n");
5643 }
5644 if (query.length > 0) {
5645 for (var part in query.split("&")) {
5646 var keyvalue = part.split("=");
5647 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5648 }
5649 }
5650
5651
5652 var h = {
5653 "content-type" : "application/json; charset=utf-8",
5654 };
5655 var resp = convert.JSON.encode(buildProductPermissions());
5656 return new async.Future.value(stringResponse(200, h, resp));
5657 }), true);
5658 res.updatePermissions(arg_request, arg_enterpriseId, arg_productId).then(u nittest.expectAsync(((api.ProductPermissions response) {
5659 checkProductPermissions(response);
5660 })));
5661 });
5662
5663 }); 5598 });
5664 5599
5665 5600
5666 unittest.group("resource-ServiceaccountkeysResourceApi", () { 5601 unittest.group("resource-ServiceaccountkeysResourceApi", () {
5667 unittest.test("method--delete", () { 5602 unittest.test("method--delete", () {
5668 5603
5669 var mock = new HttpServerMock(); 5604 var mock = new HttpServerMock();
5670 api.ServiceaccountkeysResourceApi res = new api.AndroidenterpriseApi(mock) .serviceaccountkeys; 5605 api.ServiceaccountkeysResourceApi res = new api.AndroidenterpriseApi(mock) .serviceaccountkeys;
5671 var arg_enterpriseId = "foo"; 5606 var arg_enterpriseId = "foo";
5672 var arg_keyId = "foo"; 5607 var arg_keyId = "foo";
(...skipping 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after
7228 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect Async(((api.User response) { 7163 res.update(arg_request, arg_enterpriseId, arg_userId).then(unittest.expect Async(((api.User response) {
7229 checkUser(response); 7164 checkUser(response);
7230 }))); 7165 })));
7231 }); 7166 });
7232 7167
7233 }); 7168 });
7234 7169
7235 7170
7236 } 7171 }
7237 7172
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