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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 } 45 }
46 } 46 }
47 47
48 http.StreamedResponse stringResponse( 48 http.StreamedResponse stringResponse(
49 core.int status, core.Map headers, core.String body) { 49 core.int status, core.Map headers, core.String body) {
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
51 return new http.StreamedResponse(stream, status, headers: headers); 51 return new http.StreamedResponse(stream, status, headers: headers);
52 } 52 }
53 53
54 buildUnnamed2001() { 54 buildUnnamed2316() {
55 var o = new core.List<api.AppRestrictionsSchemaRestriction>(); 55 var o = new core.List<api.AppRestrictionsSchemaRestriction>();
56 o.add(buildAppRestrictionsSchemaRestriction()); 56 o.add(buildAppRestrictionsSchemaRestriction());
57 o.add(buildAppRestrictionsSchemaRestriction()); 57 o.add(buildAppRestrictionsSchemaRestriction());
58 return o; 58 return o;
59 } 59 }
60 60
61 checkUnnamed2001(core.List<api.AppRestrictionsSchemaRestriction> o) { 61 checkUnnamed2316(core.List<api.AppRestrictionsSchemaRestriction> o) {
62 unittest.expect(o, unittest.hasLength(2)); 62 unittest.expect(o, unittest.hasLength(2));
63 checkAppRestrictionsSchemaRestriction(o[0]); 63 checkAppRestrictionsSchemaRestriction(o[0]);
64 checkAppRestrictionsSchemaRestriction(o[1]); 64 checkAppRestrictionsSchemaRestriction(o[1]);
65 } 65 }
66 66
67 core.int buildCounterAppRestrictionsSchema = 0; 67 core.int buildCounterAppRestrictionsSchema = 0;
68 buildAppRestrictionsSchema() { 68 buildAppRestrictionsSchema() {
69 var o = new api.AppRestrictionsSchema(); 69 var o = new api.AppRestrictionsSchema();
70 buildCounterAppRestrictionsSchema++; 70 buildCounterAppRestrictionsSchema++;
71 if (buildCounterAppRestrictionsSchema < 3) { 71 if (buildCounterAppRestrictionsSchema < 3) {
72 o.kind = "foo"; 72 o.kind = "foo";
73 o.restrictions = buildUnnamed2001(); 73 o.restrictions = buildUnnamed2316();
74 } 74 }
75 buildCounterAppRestrictionsSchema--; 75 buildCounterAppRestrictionsSchema--;
76 return o; 76 return o;
77 } 77 }
78 78
79 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) { 79 checkAppRestrictionsSchema(api.AppRestrictionsSchema o) {
80 buildCounterAppRestrictionsSchema++; 80 buildCounterAppRestrictionsSchema++;
81 if (buildCounterAppRestrictionsSchema < 3) { 81 if (buildCounterAppRestrictionsSchema < 3) {
82 unittest.expect(o.kind, unittest.equals('foo')); 82 unittest.expect(o.kind, unittest.equals('foo'));
83 checkUnnamed2001(o.restrictions); 83 checkUnnamed2316(o.restrictions);
84 } 84 }
85 buildCounterAppRestrictionsSchema--; 85 buildCounterAppRestrictionsSchema--;
86 } 86 }
87 87
88 buildUnnamed2002() { 88 buildUnnamed2317() {
89 var o = new core.List<core.String>(); 89 var o = new core.List<core.String>();
90 o.add("foo"); 90 o.add("foo");
91 o.add("foo"); 91 o.add("foo");
92 return o; 92 return o;
93 } 93 }
94 94
95 checkUnnamed2002(core.List<core.String> o) { 95 checkUnnamed2317(core.List<core.String> o) {
96 unittest.expect(o, unittest.hasLength(2)); 96 unittest.expect(o, unittest.hasLength(2));
97 unittest.expect(o[0], unittest.equals('foo')); 97 unittest.expect(o[0], unittest.equals('foo'));
98 unittest.expect(o[1], unittest.equals('foo')); 98 unittest.expect(o[1], unittest.equals('foo'));
99 } 99 }
100 100
101 buildUnnamed2003() { 101 buildUnnamed2318() {
102 var o = new core.List<core.String>(); 102 var o = new core.List<core.String>();
103 o.add("foo"); 103 o.add("foo");
104 o.add("foo"); 104 o.add("foo");
105 return o; 105 return o;
106 } 106 }
107 107
108 checkUnnamed2003(core.List<core.String> o) { 108 checkUnnamed2318(core.List<core.String> o) {
109 unittest.expect(o, unittest.hasLength(2)); 109 unittest.expect(o, unittest.hasLength(2));
110 unittest.expect(o[0], unittest.equals('foo')); 110 unittest.expect(o[0], unittest.equals('foo'));
111 unittest.expect(o[1], unittest.equals('foo')); 111 unittest.expect(o[1], unittest.equals('foo'));
112 } 112 }
113 113
114 core.int buildCounterAppRestrictionsSchemaRestriction = 0; 114 core.int buildCounterAppRestrictionsSchemaRestriction = 0;
115 buildAppRestrictionsSchemaRestriction() { 115 buildAppRestrictionsSchemaRestriction() {
116 var o = new api.AppRestrictionsSchemaRestriction(); 116 var o = new api.AppRestrictionsSchemaRestriction();
117 buildCounterAppRestrictionsSchemaRestriction++; 117 buildCounterAppRestrictionsSchemaRestriction++;
118 if (buildCounterAppRestrictionsSchemaRestriction < 3) { 118 if (buildCounterAppRestrictionsSchemaRestriction < 3) {
119 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue(); 119 o.defaultValue = buildAppRestrictionsSchemaRestrictionRestrictionValue();
120 o.description = "foo"; 120 o.description = "foo";
121 o.entry = buildUnnamed2002(); 121 o.entry = buildUnnamed2317();
122 o.entryValue = buildUnnamed2003(); 122 o.entryValue = buildUnnamed2318();
123 o.key = "foo"; 123 o.key = "foo";
124 o.restrictionType = "foo"; 124 o.restrictionType = "foo";
125 o.title = "foo"; 125 o.title = "foo";
126 } 126 }
127 buildCounterAppRestrictionsSchemaRestriction--; 127 buildCounterAppRestrictionsSchemaRestriction--;
128 return o; 128 return o;
129 } 129 }
130 130
131 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) { 131 checkAppRestrictionsSchemaRestriction(api.AppRestrictionsSchemaRestriction o) {
132 buildCounterAppRestrictionsSchemaRestriction++; 132 buildCounterAppRestrictionsSchemaRestriction++;
133 if (buildCounterAppRestrictionsSchemaRestriction < 3) { 133 if (buildCounterAppRestrictionsSchemaRestriction < 3) {
134 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue); 134 checkAppRestrictionsSchemaRestrictionRestrictionValue(o.defaultValue);
135 unittest.expect(o.description, unittest.equals('foo')); 135 unittest.expect(o.description, unittest.equals('foo'));
136 checkUnnamed2002(o.entry); 136 checkUnnamed2317(o.entry);
137 checkUnnamed2003(o.entryValue); 137 checkUnnamed2318(o.entryValue);
138 unittest.expect(o.key, unittest.equals('foo')); 138 unittest.expect(o.key, unittest.equals('foo'));
139 unittest.expect(o.restrictionType, unittest.equals('foo')); 139 unittest.expect(o.restrictionType, unittest.equals('foo'));
140 unittest.expect(o.title, unittest.equals('foo')); 140 unittest.expect(o.title, unittest.equals('foo'));
141 } 141 }
142 buildCounterAppRestrictionsSchemaRestriction--; 142 buildCounterAppRestrictionsSchemaRestriction--;
143 } 143 }
144 144
145 buildUnnamed2004() { 145 buildUnnamed2319() {
146 var o = new core.List<core.String>(); 146 var o = new core.List<core.String>();
147 o.add("foo"); 147 o.add("foo");
148 o.add("foo"); 148 o.add("foo");
149 return o; 149 return o;
150 } 150 }
151 151
152 checkUnnamed2004(core.List<core.String> o) { 152 checkUnnamed2319(core.List<core.String> o) {
153 unittest.expect(o, unittest.hasLength(2)); 153 unittest.expect(o, unittest.hasLength(2));
154 unittest.expect(o[0], unittest.equals('foo')); 154 unittest.expect(o[0], unittest.equals('foo'));
155 unittest.expect(o[1], unittest.equals('foo')); 155 unittest.expect(o[1], unittest.equals('foo'));
156 } 156 }
157 157
158 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0; 158 core.int buildCounterAppRestrictionsSchemaRestrictionRestrictionValue = 0;
159 buildAppRestrictionsSchemaRestrictionRestrictionValue() { 159 buildAppRestrictionsSchemaRestrictionRestrictionValue() {
160 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue(); 160 var o = new api.AppRestrictionsSchemaRestrictionRestrictionValue();
161 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; 161 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++;
162 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { 162 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) {
163 o.type = "foo"; 163 o.type = "foo";
164 o.valueBool = true; 164 o.valueBool = true;
165 o.valueInteger = 42; 165 o.valueInteger = 42;
166 o.valueMultiselect = buildUnnamed2004(); 166 o.valueMultiselect = buildUnnamed2319();
167 o.valueString = "foo"; 167 o.valueString = "foo";
168 } 168 }
169 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; 169 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
170 return o; 170 return o;
171 } 171 }
172 172
173 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR estrictionRestrictionValue o) { 173 checkAppRestrictionsSchemaRestrictionRestrictionValue(api.AppRestrictionsSchemaR estrictionRestrictionValue o) {
174 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++; 174 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue++;
175 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) { 175 if (buildCounterAppRestrictionsSchemaRestrictionRestrictionValue < 3) {
176 unittest.expect(o.type, unittest.equals('foo')); 176 unittest.expect(o.type, unittest.equals('foo'));
177 unittest.expect(o.valueBool, unittest.isTrue); 177 unittest.expect(o.valueBool, unittest.isTrue);
178 unittest.expect(o.valueInteger, unittest.equals(42)); 178 unittest.expect(o.valueInteger, unittest.equals(42));
179 checkUnnamed2004(o.valueMultiselect); 179 checkUnnamed2319(o.valueMultiselect);
180 unittest.expect(o.valueString, unittest.equals('foo')); 180 unittest.expect(o.valueString, unittest.equals('foo'));
181 } 181 }
182 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--; 182 buildCounterAppRestrictionsSchemaRestrictionRestrictionValue--;
183 } 183 }
184 184
185 core.int buildCounterAppVersion = 0; 185 core.int buildCounterAppVersion = 0;
186 buildAppVersion() { 186 buildAppVersion() {
187 var o = new api.AppVersion(); 187 var o = new api.AppVersion();
188 buildCounterAppVersion++; 188 buildCounterAppVersion++;
189 if (buildCounterAppVersion < 3) { 189 if (buildCounterAppVersion < 3) {
(...skipping 27 matching lines...) Expand all
217 217
218 checkApprovalUrlInfo(api.ApprovalUrlInfo o) { 218 checkApprovalUrlInfo(api.ApprovalUrlInfo o) {
219 buildCounterApprovalUrlInfo++; 219 buildCounterApprovalUrlInfo++;
220 if (buildCounterApprovalUrlInfo < 3) { 220 if (buildCounterApprovalUrlInfo < 3) {
221 unittest.expect(o.approvalUrl, unittest.equals('foo')); 221 unittest.expect(o.approvalUrl, unittest.equals('foo'));
222 unittest.expect(o.kind, unittest.equals('foo')); 222 unittest.expect(o.kind, unittest.equals('foo'));
223 } 223 }
224 buildCounterApprovalUrlInfo--; 224 buildCounterApprovalUrlInfo--;
225 } 225 }
226 226
227 buildUnnamed2005() { 227 buildUnnamed2320() {
228 var o = new core.List<core.String>(); 228 var o = new core.List<core.String>();
229 o.add("foo"); 229 o.add("foo");
230 o.add("foo"); 230 o.add("foo");
231 return o; 231 return o;
232 } 232 }
233 233
234 checkUnnamed2005(core.List<core.String> o) { 234 checkUnnamed2320(core.List<core.String> o) {
235 unittest.expect(o, unittest.hasLength(2)); 235 unittest.expect(o, unittest.hasLength(2));
236 unittest.expect(o[0], unittest.equals('foo')); 236 unittest.expect(o[0], unittest.equals('foo'));
237 unittest.expect(o[1], unittest.equals('foo')); 237 unittest.expect(o[1], unittest.equals('foo'));
238 } 238 }
239 239
240 core.int buildCounterCollection = 0; 240 core.int buildCounterCollection = 0;
241 buildCollection() { 241 buildCollection() {
242 var o = new api.Collection(); 242 var o = new api.Collection();
243 buildCounterCollection++; 243 buildCounterCollection++;
244 if (buildCounterCollection < 3) { 244 if (buildCounterCollection < 3) {
245 o.collectionId = "foo"; 245 o.collectionId = "foo";
246 o.kind = "foo"; 246 o.kind = "foo";
247 o.name = "foo"; 247 o.name = "foo";
248 o.productId = buildUnnamed2005(); 248 o.productId = buildUnnamed2320();
249 o.visibility = "foo"; 249 o.visibility = "foo";
250 } 250 }
251 buildCounterCollection--; 251 buildCounterCollection--;
252 return o; 252 return o;
253 } 253 }
254 254
255 checkCollection(api.Collection o) { 255 checkCollection(api.Collection o) {
256 buildCounterCollection++; 256 buildCounterCollection++;
257 if (buildCounterCollection < 3) { 257 if (buildCounterCollection < 3) {
258 unittest.expect(o.collectionId, unittest.equals('foo')); 258 unittest.expect(o.collectionId, unittest.equals('foo'));
259 unittest.expect(o.kind, unittest.equals('foo')); 259 unittest.expect(o.kind, unittest.equals('foo'));
260 unittest.expect(o.name, unittest.equals('foo')); 260 unittest.expect(o.name, unittest.equals('foo'));
261 checkUnnamed2005(o.productId); 261 checkUnnamed2320(o.productId);
262 unittest.expect(o.visibility, unittest.equals('foo')); 262 unittest.expect(o.visibility, unittest.equals('foo'));
263 } 263 }
264 buildCounterCollection--; 264 buildCounterCollection--;
265 } 265 }
266 266
267 buildUnnamed2006() { 267 buildUnnamed2321() {
268 var o = new core.List<api.User>(); 268 var o = new core.List<api.User>();
269 o.add(buildUser()); 269 o.add(buildUser());
270 o.add(buildUser()); 270 o.add(buildUser());
271 return o; 271 return o;
272 } 272 }
273 273
274 checkUnnamed2006(core.List<api.User> o) { 274 checkUnnamed2321(core.List<api.User> o) {
275 unittest.expect(o, unittest.hasLength(2)); 275 unittest.expect(o, unittest.hasLength(2));
276 checkUser(o[0]); 276 checkUser(o[0]);
277 checkUser(o[1]); 277 checkUser(o[1]);
278 } 278 }
279 279
280 core.int buildCounterCollectionViewersListResponse = 0; 280 core.int buildCounterCollectionViewersListResponse = 0;
281 buildCollectionViewersListResponse() { 281 buildCollectionViewersListResponse() {
282 var o = new api.CollectionViewersListResponse(); 282 var o = new api.CollectionViewersListResponse();
283 buildCounterCollectionViewersListResponse++; 283 buildCounterCollectionViewersListResponse++;
284 if (buildCounterCollectionViewersListResponse < 3) { 284 if (buildCounterCollectionViewersListResponse < 3) {
285 o.kind = "foo"; 285 o.kind = "foo";
286 o.user = buildUnnamed2006(); 286 o.user = buildUnnamed2321();
287 } 287 }
288 buildCounterCollectionViewersListResponse--; 288 buildCounterCollectionViewersListResponse--;
289 return o; 289 return o;
290 } 290 }
291 291
292 checkCollectionViewersListResponse(api.CollectionViewersListResponse o) { 292 checkCollectionViewersListResponse(api.CollectionViewersListResponse o) {
293 buildCounterCollectionViewersListResponse++; 293 buildCounterCollectionViewersListResponse++;
294 if (buildCounterCollectionViewersListResponse < 3) { 294 if (buildCounterCollectionViewersListResponse < 3) {
295 unittest.expect(o.kind, unittest.equals('foo')); 295 unittest.expect(o.kind, unittest.equals('foo'));
296 checkUnnamed2006(o.user); 296 checkUnnamed2321(o.user);
297 } 297 }
298 buildCounterCollectionViewersListResponse--; 298 buildCounterCollectionViewersListResponse--;
299 } 299 }
300 300
301 buildUnnamed2007() { 301 buildUnnamed2322() {
302 var o = new core.List<api.Collection>(); 302 var o = new core.List<api.Collection>();
303 o.add(buildCollection()); 303 o.add(buildCollection());
304 o.add(buildCollection()); 304 o.add(buildCollection());
305 return o; 305 return o;
306 } 306 }
307 307
308 checkUnnamed2007(core.List<api.Collection> o) { 308 checkUnnamed2322(core.List<api.Collection> o) {
309 unittest.expect(o, unittest.hasLength(2)); 309 unittest.expect(o, unittest.hasLength(2));
310 checkCollection(o[0]); 310 checkCollection(o[0]);
311 checkCollection(o[1]); 311 checkCollection(o[1]);
312 } 312 }
313 313
314 core.int buildCounterCollectionsListResponse = 0; 314 core.int buildCounterCollectionsListResponse = 0;
315 buildCollectionsListResponse() { 315 buildCollectionsListResponse() {
316 var o = new api.CollectionsListResponse(); 316 var o = new api.CollectionsListResponse();
317 buildCounterCollectionsListResponse++; 317 buildCounterCollectionsListResponse++;
318 if (buildCounterCollectionsListResponse < 3) { 318 if (buildCounterCollectionsListResponse < 3) {
319 o.collection = buildUnnamed2007(); 319 o.collection = buildUnnamed2322();
320 o.kind = "foo"; 320 o.kind = "foo";
321 } 321 }
322 buildCounterCollectionsListResponse--; 322 buildCounterCollectionsListResponse--;
323 return o; 323 return o;
324 } 324 }
325 325
326 checkCollectionsListResponse(api.CollectionsListResponse o) { 326 checkCollectionsListResponse(api.CollectionsListResponse o) {
327 buildCounterCollectionsListResponse++; 327 buildCounterCollectionsListResponse++;
328 if (buildCounterCollectionsListResponse < 3) { 328 if (buildCounterCollectionsListResponse < 3) {
329 checkUnnamed2007(o.collection); 329 checkUnnamed2322(o.collection);
330 unittest.expect(o.kind, unittest.equals('foo')); 330 unittest.expect(o.kind, unittest.equals('foo'));
331 } 331 }
332 buildCounterCollectionsListResponse--; 332 buildCounterCollectionsListResponse--;
333 } 333 }
334 334
335 core.int buildCounterDevice = 0; 335 core.int buildCounterDevice = 0;
336 buildDevice() { 336 buildDevice() {
337 var o = new api.Device(); 337 var o = new api.Device();
338 buildCounterDevice++; 338 buildCounterDevice++;
339 if (buildCounterDevice < 3) { 339 if (buildCounterDevice < 3) {
(...skipping 29 matching lines...) Expand all
369 369
370 checkDeviceState(api.DeviceState o) { 370 checkDeviceState(api.DeviceState o) {
371 buildCounterDeviceState++; 371 buildCounterDeviceState++;
372 if (buildCounterDeviceState < 3) { 372 if (buildCounterDeviceState < 3) {
373 unittest.expect(o.accountState, unittest.equals('foo')); 373 unittest.expect(o.accountState, unittest.equals('foo'));
374 unittest.expect(o.kind, unittest.equals('foo')); 374 unittest.expect(o.kind, unittest.equals('foo'));
375 } 375 }
376 buildCounterDeviceState--; 376 buildCounterDeviceState--;
377 } 377 }
378 378
379 buildUnnamed2008() { 379 buildUnnamed2323() {
380 var o = new core.List<api.Device>(); 380 var o = new core.List<api.Device>();
381 o.add(buildDevice()); 381 o.add(buildDevice());
382 o.add(buildDevice()); 382 o.add(buildDevice());
383 return o; 383 return o;
384 } 384 }
385 385
386 checkUnnamed2008(core.List<api.Device> o) { 386 checkUnnamed2323(core.List<api.Device> o) {
387 unittest.expect(o, unittest.hasLength(2)); 387 unittest.expect(o, unittest.hasLength(2));
388 checkDevice(o[0]); 388 checkDevice(o[0]);
389 checkDevice(o[1]); 389 checkDevice(o[1]);
390 } 390 }
391 391
392 core.int buildCounterDevicesListResponse = 0; 392 core.int buildCounterDevicesListResponse = 0;
393 buildDevicesListResponse() { 393 buildDevicesListResponse() {
394 var o = new api.DevicesListResponse(); 394 var o = new api.DevicesListResponse();
395 buildCounterDevicesListResponse++; 395 buildCounterDevicesListResponse++;
396 if (buildCounterDevicesListResponse < 3) { 396 if (buildCounterDevicesListResponse < 3) {
397 o.device = buildUnnamed2008(); 397 o.device = buildUnnamed2323();
398 o.kind = "foo"; 398 o.kind = "foo";
399 } 399 }
400 buildCounterDevicesListResponse--; 400 buildCounterDevicesListResponse--;
401 return o; 401 return o;
402 } 402 }
403 403
404 checkDevicesListResponse(api.DevicesListResponse o) { 404 checkDevicesListResponse(api.DevicesListResponse o) {
405 buildCounterDevicesListResponse++; 405 buildCounterDevicesListResponse++;
406 if (buildCounterDevicesListResponse < 3) { 406 if (buildCounterDevicesListResponse < 3) {
407 checkUnnamed2008(o.device); 407 checkUnnamed2323(o.device);
408 unittest.expect(o.kind, unittest.equals('foo')); 408 unittest.expect(o.kind, unittest.equals('foo'));
409 } 409 }
410 buildCounterDevicesListResponse--; 410 buildCounterDevicesListResponse--;
411 } 411 }
412 412
413 core.int buildCounterEnterprise = 0; 413 core.int buildCounterEnterprise = 0;
414 buildEnterprise() { 414 buildEnterprise() {
415 var o = new api.Enterprise(); 415 var o = new api.Enterprise();
416 buildCounterEnterprise++; 416 buildCounterEnterprise++;
417 if (buildCounterEnterprise < 3) { 417 if (buildCounterEnterprise < 3) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 449
450 checkEnterpriseAccount(api.EnterpriseAccount o) { 450 checkEnterpriseAccount(api.EnterpriseAccount o) {
451 buildCounterEnterpriseAccount++; 451 buildCounterEnterpriseAccount++;
452 if (buildCounterEnterpriseAccount < 3) { 452 if (buildCounterEnterpriseAccount < 3) {
453 unittest.expect(o.accountEmail, unittest.equals('foo')); 453 unittest.expect(o.accountEmail, unittest.equals('foo'));
454 unittest.expect(o.kind, unittest.equals('foo')); 454 unittest.expect(o.kind, unittest.equals('foo'));
455 } 455 }
456 buildCounterEnterpriseAccount--; 456 buildCounterEnterpriseAccount--;
457 } 457 }
458 458
459 buildUnnamed2009() { 459 buildUnnamed2324() {
460 var o = new core.List<api.Enterprise>(); 460 var o = new core.List<api.Enterprise>();
461 o.add(buildEnterprise()); 461 o.add(buildEnterprise());
462 o.add(buildEnterprise()); 462 o.add(buildEnterprise());
463 return o; 463 return o;
464 } 464 }
465 465
466 checkUnnamed2009(core.List<api.Enterprise> o) { 466 checkUnnamed2324(core.List<api.Enterprise> o) {
467 unittest.expect(o, unittest.hasLength(2)); 467 unittest.expect(o, unittest.hasLength(2));
468 checkEnterprise(o[0]); 468 checkEnterprise(o[0]);
469 checkEnterprise(o[1]); 469 checkEnterprise(o[1]);
470 } 470 }
471 471
472 core.int buildCounterEnterprisesListResponse = 0; 472 core.int buildCounterEnterprisesListResponse = 0;
473 buildEnterprisesListResponse() { 473 buildEnterprisesListResponse() {
474 var o = new api.EnterprisesListResponse(); 474 var o = new api.EnterprisesListResponse();
475 buildCounterEnterprisesListResponse++; 475 buildCounterEnterprisesListResponse++;
476 if (buildCounterEnterprisesListResponse < 3) { 476 if (buildCounterEnterprisesListResponse < 3) {
477 o.enterprise = buildUnnamed2009(); 477 o.enterprise = buildUnnamed2324();
478 o.kind = "foo"; 478 o.kind = "foo";
479 } 479 }
480 buildCounterEnterprisesListResponse--; 480 buildCounterEnterprisesListResponse--;
481 return o; 481 return o;
482 } 482 }
483 483
484 checkEnterprisesListResponse(api.EnterprisesListResponse o) { 484 checkEnterprisesListResponse(api.EnterprisesListResponse o) {
485 buildCounterEnterprisesListResponse++; 485 buildCounterEnterprisesListResponse++;
486 if (buildCounterEnterprisesListResponse < 3) { 486 if (buildCounterEnterprisesListResponse < 3) {
487 checkUnnamed2009(o.enterprise); 487 checkUnnamed2324(o.enterprise);
488 unittest.expect(o.kind, unittest.equals('foo')); 488 unittest.expect(o.kind, unittest.equals('foo'));
489 } 489 }
490 buildCounterEnterprisesListResponse--; 490 buildCounterEnterprisesListResponse--;
491 } 491 }
492 492
493 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0; 493 core.int buildCounterEnterprisesSendTestPushNotificationResponse = 0;
494 buildEnterprisesSendTestPushNotificationResponse() { 494 buildEnterprisesSendTestPushNotificationResponse() {
495 var o = new api.EnterprisesSendTestPushNotificationResponse(); 495 var o = new api.EnterprisesSendTestPushNotificationResponse();
496 buildCounterEnterprisesSendTestPushNotificationResponse++; 496 buildCounterEnterprisesSendTestPushNotificationResponse++;
497 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) { 497 if (buildCounterEnterprisesSendTestPushNotificationResponse < 3) {
(...skipping 29 matching lines...) Expand all
527 checkEntitlement(api.Entitlement o) { 527 checkEntitlement(api.Entitlement o) {
528 buildCounterEntitlement++; 528 buildCounterEntitlement++;
529 if (buildCounterEntitlement < 3) { 529 if (buildCounterEntitlement < 3) {
530 unittest.expect(o.kind, unittest.equals('foo')); 530 unittest.expect(o.kind, unittest.equals('foo'));
531 unittest.expect(o.productId, unittest.equals('foo')); 531 unittest.expect(o.productId, unittest.equals('foo'));
532 unittest.expect(o.reason, unittest.equals('foo')); 532 unittest.expect(o.reason, unittest.equals('foo'));
533 } 533 }
534 buildCounterEntitlement--; 534 buildCounterEntitlement--;
535 } 535 }
536 536
537 buildUnnamed2010() { 537 buildUnnamed2325() {
538 var o = new core.List<api.Entitlement>(); 538 var o = new core.List<api.Entitlement>();
539 o.add(buildEntitlement()); 539 o.add(buildEntitlement());
540 o.add(buildEntitlement()); 540 o.add(buildEntitlement());
541 return o; 541 return o;
542 } 542 }
543 543
544 checkUnnamed2010(core.List<api.Entitlement> o) { 544 checkUnnamed2325(core.List<api.Entitlement> o) {
545 unittest.expect(o, unittest.hasLength(2)); 545 unittest.expect(o, unittest.hasLength(2));
546 checkEntitlement(o[0]); 546 checkEntitlement(o[0]);
547 checkEntitlement(o[1]); 547 checkEntitlement(o[1]);
548 } 548 }
549 549
550 core.int buildCounterEntitlementsListResponse = 0; 550 core.int buildCounterEntitlementsListResponse = 0;
551 buildEntitlementsListResponse() { 551 buildEntitlementsListResponse() {
552 var o = new api.EntitlementsListResponse(); 552 var o = new api.EntitlementsListResponse();
553 buildCounterEntitlementsListResponse++; 553 buildCounterEntitlementsListResponse++;
554 if (buildCounterEntitlementsListResponse < 3) { 554 if (buildCounterEntitlementsListResponse < 3) {
555 o.entitlement = buildUnnamed2010(); 555 o.entitlement = buildUnnamed2325();
556 o.kind = "foo"; 556 o.kind = "foo";
557 } 557 }
558 buildCounterEntitlementsListResponse--; 558 buildCounterEntitlementsListResponse--;
559 return o; 559 return o;
560 } 560 }
561 561
562 checkEntitlementsListResponse(api.EntitlementsListResponse o) { 562 checkEntitlementsListResponse(api.EntitlementsListResponse o) {
563 buildCounterEntitlementsListResponse++; 563 buildCounterEntitlementsListResponse++;
564 if (buildCounterEntitlementsListResponse < 3) { 564 if (buildCounterEntitlementsListResponse < 3) {
565 checkUnnamed2010(o.entitlement); 565 checkUnnamed2325(o.entitlement);
566 unittest.expect(o.kind, unittest.equals('foo')); 566 unittest.expect(o.kind, unittest.equals('foo'));
567 } 567 }
568 buildCounterEntitlementsListResponse--; 568 buildCounterEntitlementsListResponse--;
569 } 569 }
570 570
571 core.int buildCounterGroupLicense = 0; 571 core.int buildCounterGroupLicense = 0;
572 buildGroupLicense() { 572 buildGroupLicense() {
573 var o = new api.GroupLicense(); 573 var o = new api.GroupLicense();
574 buildCounterGroupLicense++; 574 buildCounterGroupLicense++;
575 if (buildCounterGroupLicense < 3) { 575 if (buildCounterGroupLicense < 3) {
(...skipping 14 matching lines...) Expand all
590 unittest.expect(o.acquisitionKind, unittest.equals('foo')); 590 unittest.expect(o.acquisitionKind, unittest.equals('foo'));
591 unittest.expect(o.approval, unittest.equals('foo')); 591 unittest.expect(o.approval, unittest.equals('foo'));
592 unittest.expect(o.kind, unittest.equals('foo')); 592 unittest.expect(o.kind, unittest.equals('foo'));
593 unittest.expect(o.numProvisioned, unittest.equals(42)); 593 unittest.expect(o.numProvisioned, unittest.equals(42));
594 unittest.expect(o.numPurchased, unittest.equals(42)); 594 unittest.expect(o.numPurchased, unittest.equals(42));
595 unittest.expect(o.productId, unittest.equals('foo')); 595 unittest.expect(o.productId, unittest.equals('foo'));
596 } 596 }
597 buildCounterGroupLicense--; 597 buildCounterGroupLicense--;
598 } 598 }
599 599
600 buildUnnamed2011() { 600 buildUnnamed2326() {
601 var o = new core.List<api.User>(); 601 var o = new core.List<api.User>();
602 o.add(buildUser()); 602 o.add(buildUser());
603 o.add(buildUser()); 603 o.add(buildUser());
604 return o; 604 return o;
605 } 605 }
606 606
607 checkUnnamed2011(core.List<api.User> o) { 607 checkUnnamed2326(core.List<api.User> o) {
608 unittest.expect(o, unittest.hasLength(2)); 608 unittest.expect(o, unittest.hasLength(2));
609 checkUser(o[0]); 609 checkUser(o[0]);
610 checkUser(o[1]); 610 checkUser(o[1]);
611 } 611 }
612 612
613 core.int buildCounterGroupLicenseUsersListResponse = 0; 613 core.int buildCounterGroupLicenseUsersListResponse = 0;
614 buildGroupLicenseUsersListResponse() { 614 buildGroupLicenseUsersListResponse() {
615 var o = new api.GroupLicenseUsersListResponse(); 615 var o = new api.GroupLicenseUsersListResponse();
616 buildCounterGroupLicenseUsersListResponse++; 616 buildCounterGroupLicenseUsersListResponse++;
617 if (buildCounterGroupLicenseUsersListResponse < 3) { 617 if (buildCounterGroupLicenseUsersListResponse < 3) {
618 o.kind = "foo"; 618 o.kind = "foo";
619 o.user = buildUnnamed2011(); 619 o.user = buildUnnamed2326();
620 } 620 }
621 buildCounterGroupLicenseUsersListResponse--; 621 buildCounterGroupLicenseUsersListResponse--;
622 return o; 622 return o;
623 } 623 }
624 624
625 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) { 625 checkGroupLicenseUsersListResponse(api.GroupLicenseUsersListResponse o) {
626 buildCounterGroupLicenseUsersListResponse++; 626 buildCounterGroupLicenseUsersListResponse++;
627 if (buildCounterGroupLicenseUsersListResponse < 3) { 627 if (buildCounterGroupLicenseUsersListResponse < 3) {
628 unittest.expect(o.kind, unittest.equals('foo')); 628 unittest.expect(o.kind, unittest.equals('foo'));
629 checkUnnamed2011(o.user); 629 checkUnnamed2326(o.user);
630 } 630 }
631 buildCounterGroupLicenseUsersListResponse--; 631 buildCounterGroupLicenseUsersListResponse--;
632 } 632 }
633 633
634 buildUnnamed2012() { 634 buildUnnamed2327() {
635 var o = new core.List<api.GroupLicense>(); 635 var o = new core.List<api.GroupLicense>();
636 o.add(buildGroupLicense()); 636 o.add(buildGroupLicense());
637 o.add(buildGroupLicense()); 637 o.add(buildGroupLicense());
638 return o; 638 return o;
639 } 639 }
640 640
641 checkUnnamed2012(core.List<api.GroupLicense> o) { 641 checkUnnamed2327(core.List<api.GroupLicense> o) {
642 unittest.expect(o, unittest.hasLength(2)); 642 unittest.expect(o, unittest.hasLength(2));
643 checkGroupLicense(o[0]); 643 checkGroupLicense(o[0]);
644 checkGroupLicense(o[1]); 644 checkGroupLicense(o[1]);
645 } 645 }
646 646
647 core.int buildCounterGroupLicensesListResponse = 0; 647 core.int buildCounterGroupLicensesListResponse = 0;
648 buildGroupLicensesListResponse() { 648 buildGroupLicensesListResponse() {
649 var o = new api.GroupLicensesListResponse(); 649 var o = new api.GroupLicensesListResponse();
650 buildCounterGroupLicensesListResponse++; 650 buildCounterGroupLicensesListResponse++;
651 if (buildCounterGroupLicensesListResponse < 3) { 651 if (buildCounterGroupLicensesListResponse < 3) {
652 o.groupLicense = buildUnnamed2012(); 652 o.groupLicense = buildUnnamed2327();
653 o.kind = "foo"; 653 o.kind = "foo";
654 } 654 }
655 buildCounterGroupLicensesListResponse--; 655 buildCounterGroupLicensesListResponse--;
656 return o; 656 return o;
657 } 657 }
658 658
659 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) { 659 checkGroupLicensesListResponse(api.GroupLicensesListResponse o) {
660 buildCounterGroupLicensesListResponse++; 660 buildCounterGroupLicensesListResponse++;
661 if (buildCounterGroupLicensesListResponse < 3) { 661 if (buildCounterGroupLicensesListResponse < 3) {
662 checkUnnamed2012(o.groupLicense); 662 checkUnnamed2327(o.groupLicense);
663 unittest.expect(o.kind, unittest.equals('foo')); 663 unittest.expect(o.kind, unittest.equals('foo'));
664 } 664 }
665 buildCounterGroupLicensesListResponse--; 665 buildCounterGroupLicensesListResponse--;
666 } 666 }
667 667
668 core.int buildCounterInstall = 0; 668 core.int buildCounterInstall = 0;
669 buildInstall() { 669 buildInstall() {
670 var o = new api.Install(); 670 var o = new api.Install();
671 buildCounterInstall++; 671 buildCounterInstall++;
672 if (buildCounterInstall < 3) { 672 if (buildCounterInstall < 3) {
(...skipping 10 matching lines...) Expand all
683 buildCounterInstall++; 683 buildCounterInstall++;
684 if (buildCounterInstall < 3) { 684 if (buildCounterInstall < 3) {
685 unittest.expect(o.installState, unittest.equals('foo')); 685 unittest.expect(o.installState, unittest.equals('foo'));
686 unittest.expect(o.kind, unittest.equals('foo')); 686 unittest.expect(o.kind, unittest.equals('foo'));
687 unittest.expect(o.productId, unittest.equals('foo')); 687 unittest.expect(o.productId, unittest.equals('foo'));
688 unittest.expect(o.versionCode, unittest.equals(42)); 688 unittest.expect(o.versionCode, unittest.equals(42));
689 } 689 }
690 buildCounterInstall--; 690 buildCounterInstall--;
691 } 691 }
692 692
693 buildUnnamed2013() { 693 buildUnnamed2328() {
694 var o = new core.List<api.Install>(); 694 var o = new core.List<api.Install>();
695 o.add(buildInstall()); 695 o.add(buildInstall());
696 o.add(buildInstall()); 696 o.add(buildInstall());
697 return o; 697 return o;
698 } 698 }
699 699
700 checkUnnamed2013(core.List<api.Install> o) { 700 checkUnnamed2328(core.List<api.Install> o) {
701 unittest.expect(o, unittest.hasLength(2)); 701 unittest.expect(o, unittest.hasLength(2));
702 checkInstall(o[0]); 702 checkInstall(o[0]);
703 checkInstall(o[1]); 703 checkInstall(o[1]);
704 } 704 }
705 705
706 core.int buildCounterInstallsListResponse = 0; 706 core.int buildCounterInstallsListResponse = 0;
707 buildInstallsListResponse() { 707 buildInstallsListResponse() {
708 var o = new api.InstallsListResponse(); 708 var o = new api.InstallsListResponse();
709 buildCounterInstallsListResponse++; 709 buildCounterInstallsListResponse++;
710 if (buildCounterInstallsListResponse < 3) { 710 if (buildCounterInstallsListResponse < 3) {
711 o.install = buildUnnamed2013(); 711 o.install = buildUnnamed2328();
712 o.kind = "foo"; 712 o.kind = "foo";
713 } 713 }
714 buildCounterInstallsListResponse--; 714 buildCounterInstallsListResponse--;
715 return o; 715 return o;
716 } 716 }
717 717
718 checkInstallsListResponse(api.InstallsListResponse o) { 718 checkInstallsListResponse(api.InstallsListResponse o) {
719 buildCounterInstallsListResponse++; 719 buildCounterInstallsListResponse++;
720 if (buildCounterInstallsListResponse < 3) { 720 if (buildCounterInstallsListResponse < 3) {
721 checkUnnamed2013(o.install); 721 checkUnnamed2328(o.install);
722 unittest.expect(o.kind, unittest.equals('foo')); 722 unittest.expect(o.kind, unittest.equals('foo'));
723 } 723 }
724 buildCounterInstallsListResponse--; 724 buildCounterInstallsListResponse--;
725 } 725 }
726 726
727 core.int buildCounterLocalizedText = 0; 727 core.int buildCounterLocalizedText = 0;
728 buildLocalizedText() { 728 buildLocalizedText() {
729 var o = new api.LocalizedText(); 729 var o = new api.LocalizedText();
730 buildCounterLocalizedText++; 730 buildCounterLocalizedText++;
731 if (buildCounterLocalizedText < 3) { 731 if (buildCounterLocalizedText < 3) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 buildCounterPermission++; 763 buildCounterPermission++;
764 if (buildCounterPermission < 3) { 764 if (buildCounterPermission < 3) {
765 unittest.expect(o.description, unittest.equals('foo')); 765 unittest.expect(o.description, unittest.equals('foo'));
766 unittest.expect(o.kind, unittest.equals('foo')); 766 unittest.expect(o.kind, unittest.equals('foo'));
767 unittest.expect(o.name, unittest.equals('foo')); 767 unittest.expect(o.name, unittest.equals('foo'));
768 unittest.expect(o.permissionId, unittest.equals('foo')); 768 unittest.expect(o.permissionId, unittest.equals('foo'));
769 } 769 }
770 buildCounterPermission--; 770 buildCounterPermission--;
771 } 771 }
772 772
773 buildUnnamed2014() { 773 buildUnnamed2329() {
774 var o = new core.List<api.AppVersion>(); 774 var o = new core.List<api.AppVersion>();
775 o.add(buildAppVersion()); 775 o.add(buildAppVersion());
776 o.add(buildAppVersion()); 776 o.add(buildAppVersion());
777 return o; 777 return o;
778 } 778 }
779 779
780 checkUnnamed2014(core.List<api.AppVersion> o) { 780 checkUnnamed2329(core.List<api.AppVersion> o) {
781 unittest.expect(o, unittest.hasLength(2)); 781 unittest.expect(o, unittest.hasLength(2));
782 checkAppVersion(o[0]); 782 checkAppVersion(o[0]);
783 checkAppVersion(o[1]); 783 checkAppVersion(o[1]);
784 } 784 }
785 785
786 core.int buildCounterProduct = 0; 786 core.int buildCounterProduct = 0;
787 buildProduct() { 787 buildProduct() {
788 var o = new api.Product(); 788 var o = new api.Product();
789 buildCounterProduct++; 789 buildCounterProduct++;
790 if (buildCounterProduct < 3) { 790 if (buildCounterProduct < 3) {
791 o.appVersion = buildUnnamed2014(); 791 o.appVersion = buildUnnamed2329();
792 o.authorName = "foo"; 792 o.authorName = "foo";
793 o.detailsUrl = "foo"; 793 o.detailsUrl = "foo";
794 o.distributionChannel = "foo"; 794 o.distributionChannel = "foo";
795 o.iconUrl = "foo"; 795 o.iconUrl = "foo";
796 o.kind = "foo"; 796 o.kind = "foo";
797 o.productId = "foo"; 797 o.productId = "foo";
798 o.productPricing = "foo"; 798 o.productPricing = "foo";
799 o.requiresContainerApp = true; 799 o.requiresContainerApp = true;
800 o.title = "foo"; 800 o.title = "foo";
801 o.workDetailsUrl = "foo"; 801 o.workDetailsUrl = "foo";
802 } 802 }
803 buildCounterProduct--; 803 buildCounterProduct--;
804 return o; 804 return o;
805 } 805 }
806 806
807 checkProduct(api.Product o) { 807 checkProduct(api.Product o) {
808 buildCounterProduct++; 808 buildCounterProduct++;
809 if (buildCounterProduct < 3) { 809 if (buildCounterProduct < 3) {
810 checkUnnamed2014(o.appVersion); 810 checkUnnamed2329(o.appVersion);
811 unittest.expect(o.authorName, unittest.equals('foo')); 811 unittest.expect(o.authorName, unittest.equals('foo'));
812 unittest.expect(o.detailsUrl, unittest.equals('foo')); 812 unittest.expect(o.detailsUrl, unittest.equals('foo'));
813 unittest.expect(o.distributionChannel, unittest.equals('foo')); 813 unittest.expect(o.distributionChannel, unittest.equals('foo'));
814 unittest.expect(o.iconUrl, unittest.equals('foo')); 814 unittest.expect(o.iconUrl, unittest.equals('foo'));
815 unittest.expect(o.kind, unittest.equals('foo')); 815 unittest.expect(o.kind, unittest.equals('foo'));
816 unittest.expect(o.productId, unittest.equals('foo')); 816 unittest.expect(o.productId, unittest.equals('foo'));
817 unittest.expect(o.productPricing, unittest.equals('foo')); 817 unittest.expect(o.productPricing, unittest.equals('foo'));
818 unittest.expect(o.requiresContainerApp, unittest.isTrue); 818 unittest.expect(o.requiresContainerApp, unittest.isTrue);
819 unittest.expect(o.title, unittest.equals('foo')); 819 unittest.expect(o.title, unittest.equals('foo'));
820 unittest.expect(o.workDetailsUrl, unittest.equals('foo')); 820 unittest.expect(o.workDetailsUrl, unittest.equals('foo'));
(...skipping 15 matching lines...) Expand all
836 836
837 checkProductPermission(api.ProductPermission o) { 837 checkProductPermission(api.ProductPermission o) {
838 buildCounterProductPermission++; 838 buildCounterProductPermission++;
839 if (buildCounterProductPermission < 3) { 839 if (buildCounterProductPermission < 3) {
840 unittest.expect(o.permissionId, unittest.equals('foo')); 840 unittest.expect(o.permissionId, unittest.equals('foo'));
841 unittest.expect(o.state, unittest.equals('foo')); 841 unittest.expect(o.state, unittest.equals('foo'));
842 } 842 }
843 buildCounterProductPermission--; 843 buildCounterProductPermission--;
844 } 844 }
845 845
846 buildUnnamed2015() { 846 buildUnnamed2330() {
847 var o = new core.List<api.ProductPermission>(); 847 var o = new core.List<api.ProductPermission>();
848 o.add(buildProductPermission()); 848 o.add(buildProductPermission());
849 o.add(buildProductPermission()); 849 o.add(buildProductPermission());
850 return o; 850 return o;
851 } 851 }
852 852
853 checkUnnamed2015(core.List<api.ProductPermission> o) { 853 checkUnnamed2330(core.List<api.ProductPermission> o) {
854 unittest.expect(o, unittest.hasLength(2)); 854 unittest.expect(o, unittest.hasLength(2));
855 checkProductPermission(o[0]); 855 checkProductPermission(o[0]);
856 checkProductPermission(o[1]); 856 checkProductPermission(o[1]);
857 } 857 }
858 858
859 core.int buildCounterProductPermissions = 0; 859 core.int buildCounterProductPermissions = 0;
860 buildProductPermissions() { 860 buildProductPermissions() {
861 var o = new api.ProductPermissions(); 861 var o = new api.ProductPermissions();
862 buildCounterProductPermissions++; 862 buildCounterProductPermissions++;
863 if (buildCounterProductPermissions < 3) { 863 if (buildCounterProductPermissions < 3) {
864 o.kind = "foo"; 864 o.kind = "foo";
865 o.permission = buildUnnamed2015(); 865 o.permission = buildUnnamed2330();
866 o.productId = "foo"; 866 o.productId = "foo";
867 } 867 }
868 buildCounterProductPermissions--; 868 buildCounterProductPermissions--;
869 return o; 869 return o;
870 } 870 }
871 871
872 checkProductPermissions(api.ProductPermissions o) { 872 checkProductPermissions(api.ProductPermissions o) {
873 buildCounterProductPermissions++; 873 buildCounterProductPermissions++;
874 if (buildCounterProductPermissions < 3) { 874 if (buildCounterProductPermissions < 3) {
875 unittest.expect(o.kind, unittest.equals('foo')); 875 unittest.expect(o.kind, unittest.equals('foo'));
876 checkUnnamed2015(o.permission); 876 checkUnnamed2330(o.permission);
877 unittest.expect(o.productId, unittest.equals('foo')); 877 unittest.expect(o.productId, unittest.equals('foo'));
878 } 878 }
879 buildCounterProductPermissions--; 879 buildCounterProductPermissions--;
880 } 880 }
881 881
882 buildUnnamed2016() { 882 buildUnnamed2331() {
883 var o = new core.List<core.String>(); 883 var o = new core.List<core.String>();
884 o.add("foo"); 884 o.add("foo");
885 o.add("foo"); 885 o.add("foo");
886 return o; 886 return o;
887 } 887 }
888 888
889 checkUnnamed2016(core.List<core.String> o) { 889 checkUnnamed2331(core.List<core.String> o) {
890 unittest.expect(o, unittest.hasLength(2)); 890 unittest.expect(o, unittest.hasLength(2));
891 unittest.expect(o[0], unittest.equals('foo')); 891 unittest.expect(o[0], unittest.equals('foo'));
892 unittest.expect(o[1], unittest.equals('foo')); 892 unittest.expect(o[1], unittest.equals('foo'));
893 } 893 }
894 894
895 core.int buildCounterProductSet = 0; 895 core.int buildCounterProductSet = 0;
896 buildProductSet() { 896 buildProductSet() {
897 var o = new api.ProductSet(); 897 var o = new api.ProductSet();
898 buildCounterProductSet++; 898 buildCounterProductSet++;
899 if (buildCounterProductSet < 3) { 899 if (buildCounterProductSet < 3) {
900 o.kind = "foo"; 900 o.kind = "foo";
901 o.productId = buildUnnamed2016(); 901 o.productId = buildUnnamed2331();
902 } 902 }
903 buildCounterProductSet--; 903 buildCounterProductSet--;
904 return o; 904 return o;
905 } 905 }
906 906
907 checkProductSet(api.ProductSet o) { 907 checkProductSet(api.ProductSet o) {
908 buildCounterProductSet++; 908 buildCounterProductSet++;
909 if (buildCounterProductSet < 3) { 909 if (buildCounterProductSet < 3) {
910 unittest.expect(o.kind, unittest.equals('foo')); 910 unittest.expect(o.kind, unittest.equals('foo'));
911 checkUnnamed2016(o.productId); 911 checkUnnamed2331(o.productId);
912 } 912 }
913 buildCounterProductSet--; 913 buildCounterProductSet--;
914 } 914 }
915 915
916 core.int buildCounterProductsApproveRequest = 0; 916 core.int buildCounterProductsApproveRequest = 0;
917 buildProductsApproveRequest() { 917 buildProductsApproveRequest() {
918 var o = new api.ProductsApproveRequest(); 918 var o = new api.ProductsApproveRequest();
919 buildCounterProductsApproveRequest++; 919 buildCounterProductsApproveRequest++;
920 if (buildCounterProductsApproveRequest < 3) { 920 if (buildCounterProductsApproveRequest < 3) {
921 o.approvalUrlInfo = buildApprovalUrlInfo(); 921 o.approvalUrlInfo = buildApprovalUrlInfo();
(...skipping 22 matching lines...) Expand all
944 } 944 }
945 945
946 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse o) { 946 checkProductsGenerateApprovalUrlResponse(api.ProductsGenerateApprovalUrlResponse o) {
947 buildCounterProductsGenerateApprovalUrlResponse++; 947 buildCounterProductsGenerateApprovalUrlResponse++;
948 if (buildCounterProductsGenerateApprovalUrlResponse < 3) { 948 if (buildCounterProductsGenerateApprovalUrlResponse < 3) {
949 unittest.expect(o.url, unittest.equals('foo')); 949 unittest.expect(o.url, unittest.equals('foo'));
950 } 950 }
951 buildCounterProductsGenerateApprovalUrlResponse--; 951 buildCounterProductsGenerateApprovalUrlResponse--;
952 } 952 }
953 953
954 buildUnnamed2017() { 954 buildUnnamed2332() {
955 var o = new core.List<api.LocalizedText>(); 955 var o = new core.List<api.LocalizedText>();
956 o.add(buildLocalizedText()); 956 o.add(buildLocalizedText());
957 o.add(buildLocalizedText()); 957 o.add(buildLocalizedText());
958 return o; 958 return o;
959 } 959 }
960 960
961 checkUnnamed2017(core.List<api.LocalizedText> o) { 961 checkUnnamed2332(core.List<api.LocalizedText> o) {
962 unittest.expect(o, unittest.hasLength(2)); 962 unittest.expect(o, unittest.hasLength(2));
963 checkLocalizedText(o[0]); 963 checkLocalizedText(o[0]);
964 checkLocalizedText(o[1]); 964 checkLocalizedText(o[1]);
965 } 965 }
966 966
967 buildUnnamed2018() { 967 buildUnnamed2333() {
968 var o = new core.List<core.String>(); 968 var o = new core.List<core.String>();
969 o.add("foo"); 969 o.add("foo");
970 o.add("foo"); 970 o.add("foo");
971 return o; 971 return o;
972 } 972 }
973 973
974 checkUnnamed2018(core.List<core.String> o) { 974 checkUnnamed2333(core.List<core.String> o) {
975 unittest.expect(o, unittest.hasLength(2)); 975 unittest.expect(o, unittest.hasLength(2));
976 unittest.expect(o[0], unittest.equals('foo')); 976 unittest.expect(o[0], unittest.equals('foo'));
977 unittest.expect(o[1], unittest.equals('foo')); 977 unittest.expect(o[1], unittest.equals('foo'));
978 } 978 }
979 979
980 core.int buildCounterStoreCluster = 0; 980 core.int buildCounterStoreCluster = 0;
981 buildStoreCluster() { 981 buildStoreCluster() {
982 var o = new api.StoreCluster(); 982 var o = new api.StoreCluster();
983 buildCounterStoreCluster++; 983 buildCounterStoreCluster++;
984 if (buildCounterStoreCluster < 3) { 984 if (buildCounterStoreCluster < 3) {
985 o.id = "foo"; 985 o.id = "foo";
986 o.kind = "foo"; 986 o.kind = "foo";
987 o.name = buildUnnamed2017(); 987 o.name = buildUnnamed2332();
988 o.orderInPage = "foo"; 988 o.orderInPage = "foo";
989 o.productId = buildUnnamed2018(); 989 o.productId = buildUnnamed2333();
990 } 990 }
991 buildCounterStoreCluster--; 991 buildCounterStoreCluster--;
992 return o; 992 return o;
993 } 993 }
994 994
995 checkStoreCluster(api.StoreCluster o) { 995 checkStoreCluster(api.StoreCluster o) {
996 buildCounterStoreCluster++; 996 buildCounterStoreCluster++;
997 if (buildCounterStoreCluster < 3) { 997 if (buildCounterStoreCluster < 3) {
998 unittest.expect(o.id, unittest.equals('foo')); 998 unittest.expect(o.id, unittest.equals('foo'));
999 unittest.expect(o.kind, unittest.equals('foo')); 999 unittest.expect(o.kind, unittest.equals('foo'));
1000 checkUnnamed2017(o.name); 1000 checkUnnamed2332(o.name);
1001 unittest.expect(o.orderInPage, unittest.equals('foo')); 1001 unittest.expect(o.orderInPage, unittest.equals('foo'));
1002 checkUnnamed2018(o.productId); 1002 checkUnnamed2333(o.productId);
1003 } 1003 }
1004 buildCounterStoreCluster--; 1004 buildCounterStoreCluster--;
1005 } 1005 }
1006 1006
1007 core.int buildCounterStoreLayout = 0; 1007 core.int buildCounterStoreLayout = 0;
1008 buildStoreLayout() { 1008 buildStoreLayout() {
1009 var o = new api.StoreLayout(); 1009 var o = new api.StoreLayout();
1010 buildCounterStoreLayout++; 1010 buildCounterStoreLayout++;
1011 if (buildCounterStoreLayout < 3) { 1011 if (buildCounterStoreLayout < 3) {
1012 o.homepageId = "foo"; 1012 o.homepageId = "foo";
1013 o.kind = "foo"; 1013 o.kind = "foo";
1014 } 1014 }
1015 buildCounterStoreLayout--; 1015 buildCounterStoreLayout--;
1016 return o; 1016 return o;
1017 } 1017 }
1018 1018
1019 checkStoreLayout(api.StoreLayout o) { 1019 checkStoreLayout(api.StoreLayout o) {
1020 buildCounterStoreLayout++; 1020 buildCounterStoreLayout++;
1021 if (buildCounterStoreLayout < 3) { 1021 if (buildCounterStoreLayout < 3) {
1022 unittest.expect(o.homepageId, unittest.equals('foo')); 1022 unittest.expect(o.homepageId, unittest.equals('foo'));
1023 unittest.expect(o.kind, unittest.equals('foo')); 1023 unittest.expect(o.kind, unittest.equals('foo'));
1024 } 1024 }
1025 buildCounterStoreLayout--; 1025 buildCounterStoreLayout--;
1026 } 1026 }
1027 1027
1028 buildUnnamed2019() { 1028 buildUnnamed2334() {
1029 var o = new core.List<api.StoreCluster>(); 1029 var o = new core.List<api.StoreCluster>();
1030 o.add(buildStoreCluster()); 1030 o.add(buildStoreCluster());
1031 o.add(buildStoreCluster()); 1031 o.add(buildStoreCluster());
1032 return o; 1032 return o;
1033 } 1033 }
1034 1034
1035 checkUnnamed2019(core.List<api.StoreCluster> o) { 1035 checkUnnamed2334(core.List<api.StoreCluster> o) {
1036 unittest.expect(o, unittest.hasLength(2)); 1036 unittest.expect(o, unittest.hasLength(2));
1037 checkStoreCluster(o[0]); 1037 checkStoreCluster(o[0]);
1038 checkStoreCluster(o[1]); 1038 checkStoreCluster(o[1]);
1039 } 1039 }
1040 1040
1041 core.int buildCounterStoreLayoutClustersListResponse = 0; 1041 core.int buildCounterStoreLayoutClustersListResponse = 0;
1042 buildStoreLayoutClustersListResponse() { 1042 buildStoreLayoutClustersListResponse() {
1043 var o = new api.StoreLayoutClustersListResponse(); 1043 var o = new api.StoreLayoutClustersListResponse();
1044 buildCounterStoreLayoutClustersListResponse++; 1044 buildCounterStoreLayoutClustersListResponse++;
1045 if (buildCounterStoreLayoutClustersListResponse < 3) { 1045 if (buildCounterStoreLayoutClustersListResponse < 3) {
1046 o.cluster = buildUnnamed2019(); 1046 o.cluster = buildUnnamed2334();
1047 o.kind = "foo"; 1047 o.kind = "foo";
1048 } 1048 }
1049 buildCounterStoreLayoutClustersListResponse--; 1049 buildCounterStoreLayoutClustersListResponse--;
1050 return o; 1050 return o;
1051 } 1051 }
1052 1052
1053 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) { 1053 checkStoreLayoutClustersListResponse(api.StoreLayoutClustersListResponse o) {
1054 buildCounterStoreLayoutClustersListResponse++; 1054 buildCounterStoreLayoutClustersListResponse++;
1055 if (buildCounterStoreLayoutClustersListResponse < 3) { 1055 if (buildCounterStoreLayoutClustersListResponse < 3) {
1056 checkUnnamed2019(o.cluster); 1056 checkUnnamed2334(o.cluster);
1057 unittest.expect(o.kind, unittest.equals('foo')); 1057 unittest.expect(o.kind, unittest.equals('foo'));
1058 } 1058 }
1059 buildCounterStoreLayoutClustersListResponse--; 1059 buildCounterStoreLayoutClustersListResponse--;
1060 } 1060 }
1061 1061
1062 buildUnnamed2020() { 1062 buildUnnamed2335() {
1063 var o = new core.List<api.StorePage>(); 1063 var o = new core.List<api.StorePage>();
1064 o.add(buildStorePage()); 1064 o.add(buildStorePage());
1065 o.add(buildStorePage()); 1065 o.add(buildStorePage());
1066 return o; 1066 return o;
1067 } 1067 }
1068 1068
1069 checkUnnamed2020(core.List<api.StorePage> o) { 1069 checkUnnamed2335(core.List<api.StorePage> o) {
1070 unittest.expect(o, unittest.hasLength(2)); 1070 unittest.expect(o, unittest.hasLength(2));
1071 checkStorePage(o[0]); 1071 checkStorePage(o[0]);
1072 checkStorePage(o[1]); 1072 checkStorePage(o[1]);
1073 } 1073 }
1074 1074
1075 core.int buildCounterStoreLayoutPagesListResponse = 0; 1075 core.int buildCounterStoreLayoutPagesListResponse = 0;
1076 buildStoreLayoutPagesListResponse() { 1076 buildStoreLayoutPagesListResponse() {
1077 var o = new api.StoreLayoutPagesListResponse(); 1077 var o = new api.StoreLayoutPagesListResponse();
1078 buildCounterStoreLayoutPagesListResponse++; 1078 buildCounterStoreLayoutPagesListResponse++;
1079 if (buildCounterStoreLayoutPagesListResponse < 3) { 1079 if (buildCounterStoreLayoutPagesListResponse < 3) {
1080 o.kind = "foo"; 1080 o.kind = "foo";
1081 o.page = buildUnnamed2020(); 1081 o.page = buildUnnamed2335();
1082 } 1082 }
1083 buildCounterStoreLayoutPagesListResponse--; 1083 buildCounterStoreLayoutPagesListResponse--;
1084 return o; 1084 return o;
1085 } 1085 }
1086 1086
1087 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) { 1087 checkStoreLayoutPagesListResponse(api.StoreLayoutPagesListResponse o) {
1088 buildCounterStoreLayoutPagesListResponse++; 1088 buildCounterStoreLayoutPagesListResponse++;
1089 if (buildCounterStoreLayoutPagesListResponse < 3) { 1089 if (buildCounterStoreLayoutPagesListResponse < 3) {
1090 unittest.expect(o.kind, unittest.equals('foo')); 1090 unittest.expect(o.kind, unittest.equals('foo'));
1091 checkUnnamed2020(o.page); 1091 checkUnnamed2335(o.page);
1092 } 1092 }
1093 buildCounterStoreLayoutPagesListResponse--; 1093 buildCounterStoreLayoutPagesListResponse--;
1094 } 1094 }
1095 1095
1096 buildUnnamed2021() { 1096 buildUnnamed2336() {
1097 var o = new core.List<core.String>(); 1097 var o = new core.List<core.String>();
1098 o.add("foo"); 1098 o.add("foo");
1099 o.add("foo"); 1099 o.add("foo");
1100 return o; 1100 return o;
1101 } 1101 }
1102 1102
1103 checkUnnamed2021(core.List<core.String> o) { 1103 checkUnnamed2336(core.List<core.String> o) {
1104 unittest.expect(o, unittest.hasLength(2)); 1104 unittest.expect(o, unittest.hasLength(2));
1105 unittest.expect(o[0], unittest.equals('foo')); 1105 unittest.expect(o[0], unittest.equals('foo'));
1106 unittest.expect(o[1], unittest.equals('foo')); 1106 unittest.expect(o[1], unittest.equals('foo'));
1107 } 1107 }
1108 1108
1109 buildUnnamed2022() { 1109 buildUnnamed2337() {
1110 var o = new core.List<api.LocalizedText>(); 1110 var o = new core.List<api.LocalizedText>();
1111 o.add(buildLocalizedText()); 1111 o.add(buildLocalizedText());
1112 o.add(buildLocalizedText()); 1112 o.add(buildLocalizedText());
1113 return o; 1113 return o;
1114 } 1114 }
1115 1115
1116 checkUnnamed2022(core.List<api.LocalizedText> o) { 1116 checkUnnamed2337(core.List<api.LocalizedText> o) {
1117 unittest.expect(o, unittest.hasLength(2)); 1117 unittest.expect(o, unittest.hasLength(2));
1118 checkLocalizedText(o[0]); 1118 checkLocalizedText(o[0]);
1119 checkLocalizedText(o[1]); 1119 checkLocalizedText(o[1]);
1120 } 1120 }
1121 1121
1122 core.int buildCounterStorePage = 0; 1122 core.int buildCounterStorePage = 0;
1123 buildStorePage() { 1123 buildStorePage() {
1124 var o = new api.StorePage(); 1124 var o = new api.StorePage();
1125 buildCounterStorePage++; 1125 buildCounterStorePage++;
1126 if (buildCounterStorePage < 3) { 1126 if (buildCounterStorePage < 3) {
1127 o.id = "foo"; 1127 o.id = "foo";
1128 o.kind = "foo"; 1128 o.kind = "foo";
1129 o.link = buildUnnamed2021(); 1129 o.link = buildUnnamed2336();
1130 o.name = buildUnnamed2022(); 1130 o.name = buildUnnamed2337();
1131 } 1131 }
1132 buildCounterStorePage--; 1132 buildCounterStorePage--;
1133 return o; 1133 return o;
1134 } 1134 }
1135 1135
1136 checkStorePage(api.StorePage o) { 1136 checkStorePage(api.StorePage o) {
1137 buildCounterStorePage++; 1137 buildCounterStorePage++;
1138 if (buildCounterStorePage < 3) { 1138 if (buildCounterStorePage < 3) {
1139 unittest.expect(o.id, unittest.equals('foo')); 1139 unittest.expect(o.id, unittest.equals('foo'));
1140 unittest.expect(o.kind, unittest.equals('foo')); 1140 unittest.expect(o.kind, unittest.equals('foo'));
1141 checkUnnamed2021(o.link); 1141 checkUnnamed2336(o.link);
1142 checkUnnamed2022(o.name); 1142 checkUnnamed2337(o.name);
1143 } 1143 }
1144 buildCounterStorePage--; 1144 buildCounterStorePage--;
1145 } 1145 }
1146 1146
1147 core.int buildCounterUser = 0; 1147 core.int buildCounterUser = 0;
1148 buildUser() { 1148 buildUser() {
1149 var o = new api.User(); 1149 var o = new api.User();
1150 buildCounterUser++; 1150 buildCounterUser++;
1151 if (buildCounterUser < 3) { 1151 if (buildCounterUser < 3) {
1152 o.id = "foo"; 1152 o.id = "foo";
(...skipping 30 matching lines...) Expand all
1183 checkUserToken(api.UserToken o) { 1183 checkUserToken(api.UserToken o) {
1184 buildCounterUserToken++; 1184 buildCounterUserToken++;
1185 if (buildCounterUserToken < 3) { 1185 if (buildCounterUserToken < 3) {
1186 unittest.expect(o.kind, unittest.equals('foo')); 1186 unittest.expect(o.kind, unittest.equals('foo'));
1187 unittest.expect(o.token, unittest.equals('foo')); 1187 unittest.expect(o.token, unittest.equals('foo'));
1188 unittest.expect(o.userId, unittest.equals('foo')); 1188 unittest.expect(o.userId, unittest.equals('foo'));
1189 } 1189 }
1190 buildCounterUserToken--; 1190 buildCounterUserToken--;
1191 } 1191 }
1192 1192
1193 buildUnnamed2023() { 1193 buildUnnamed2338() {
1194 var o = new core.List<api.User>(); 1194 var o = new core.List<api.User>();
1195 o.add(buildUser()); 1195 o.add(buildUser());
1196 o.add(buildUser()); 1196 o.add(buildUser());
1197 return o; 1197 return o;
1198 } 1198 }
1199 1199
1200 checkUnnamed2023(core.List<api.User> o) { 1200 checkUnnamed2338(core.List<api.User> o) {
1201 unittest.expect(o, unittest.hasLength(2)); 1201 unittest.expect(o, unittest.hasLength(2));
1202 checkUser(o[0]); 1202 checkUser(o[0]);
1203 checkUser(o[1]); 1203 checkUser(o[1]);
1204 } 1204 }
1205 1205
1206 core.int buildCounterUsersListResponse = 0; 1206 core.int buildCounterUsersListResponse = 0;
1207 buildUsersListResponse() { 1207 buildUsersListResponse() {
1208 var o = new api.UsersListResponse(); 1208 var o = new api.UsersListResponse();
1209 buildCounterUsersListResponse++; 1209 buildCounterUsersListResponse++;
1210 if (buildCounterUsersListResponse < 3) { 1210 if (buildCounterUsersListResponse < 3) {
1211 o.kind = "foo"; 1211 o.kind = "foo";
1212 o.user = buildUnnamed2023(); 1212 o.user = buildUnnamed2338();
1213 } 1213 }
1214 buildCounterUsersListResponse--; 1214 buildCounterUsersListResponse--;
1215 return o; 1215 return o;
1216 } 1216 }
1217 1217
1218 checkUsersListResponse(api.UsersListResponse o) { 1218 checkUsersListResponse(api.UsersListResponse o) {
1219 buildCounterUsersListResponse++; 1219 buildCounterUsersListResponse++;
1220 if (buildCounterUsersListResponse < 3) { 1220 if (buildCounterUsersListResponse < 3) {
1221 unittest.expect(o.kind, unittest.equals('foo')); 1221 unittest.expect(o.kind, unittest.equals('foo'));
1222 checkUnnamed2023(o.user); 1222 checkUnnamed2338(o.user);
1223 } 1223 }
1224 buildCounterUsersListResponse--; 1224 buildCounterUsersListResponse--;
1225 } 1225 }
1226 1226
1227 1227
1228 main() { 1228 main() {
1229 unittest.group("obj-schema-AppRestrictionsSchema", () { 1229 unittest.group("obj-schema-AppRestrictionsSchema", () {
1230 unittest.test("to-json--from-json", () { 1230 unittest.test("to-json--from-json", () {
1231 var o = buildAppRestrictionsSchema(); 1231 var o = buildAppRestrictionsSchema();
1232 var od = new api.AppRestrictionsSchema.fromJson(o.toJson()); 1232 var od = new api.AppRestrictionsSchema.fromJson(o.toJson());
(...skipping 4225 matching lines...) Expand 10 before | Expand all | Expand 10 after
5458 res.setAvailableProductSet(arg_request, arg_enterpriseId, arg_userId).then (unittest.expectAsync(((api.ProductSet response) { 5458 res.setAvailableProductSet(arg_request, arg_enterpriseId, arg_userId).then (unittest.expectAsync(((api.ProductSet response) {
5459 checkProductSet(response); 5459 checkProductSet(response);
5460 }))); 5460 })));
5461 }); 5461 });
5462 5462
5463 }); 5463 });
5464 5464
5465 5465
5466 } 5466 }
5467 5467
OLDNEW
« no previous file with comments | « generated/googleapis/test/analytics/v3_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