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

Side by Side Diff: generated/googleapis/test/admin/directory_v1_test.dart

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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.admin.directory_v1.test; 1 library googleapis.admin.directory_v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:test/test.dart' as unittest; 10 import 'package:test/test.dart' as unittest;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 if (buildCounterAlias < 3) { 71 if (buildCounterAlias < 3) {
72 unittest.expect(o.alias, unittest.equals('foo')); 72 unittest.expect(o.alias, unittest.equals('foo'));
73 unittest.expect(o.etag, unittest.equals('foo')); 73 unittest.expect(o.etag, unittest.equals('foo'));
74 unittest.expect(o.id, unittest.equals('foo')); 74 unittest.expect(o.id, unittest.equals('foo'));
75 unittest.expect(o.kind, unittest.equals('foo')); 75 unittest.expect(o.kind, unittest.equals('foo'));
76 unittest.expect(o.primaryEmail, unittest.equals('foo')); 76 unittest.expect(o.primaryEmail, unittest.equals('foo'));
77 } 77 }
78 buildCounterAlias--; 78 buildCounterAlias--;
79 } 79 }
80 80
81 buildUnnamed789() { 81 buildUnnamed805() {
82 var o = new core.List<core.Object>(); 82 var o = new core.List<core.Object>();
83 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 83 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
84 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 84 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
85 return o; 85 return o;
86 } 86 }
87 87
88 checkUnnamed789(core.List<core.Object> o) { 88 checkUnnamed805(core.List<core.Object> o) {
89 unittest.expect(o, unittest.hasLength(2)); 89 unittest.expect(o, unittest.hasLength(2));
90 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength( 3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u nittest.equals('foo')); 90 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength( 3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u nittest.equals('foo'));
91 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength( 3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u nittest.equals('foo')); 91 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength( 3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u nittest.equals('foo'));
92 } 92 }
93 93
94 core.int buildCounterAliases = 0; 94 core.int buildCounterAliases = 0;
95 buildAliases() { 95 buildAliases() {
96 var o = new api.Aliases(); 96 var o = new api.Aliases();
97 buildCounterAliases++; 97 buildCounterAliases++;
98 if (buildCounterAliases < 3) { 98 if (buildCounterAliases < 3) {
99 o.aliases = buildUnnamed789(); 99 o.aliases = buildUnnamed805();
100 o.etag = "foo"; 100 o.etag = "foo";
101 o.kind = "foo"; 101 o.kind = "foo";
102 } 102 }
103 buildCounterAliases--; 103 buildCounterAliases--;
104 return o; 104 return o;
105 } 105 }
106 106
107 checkAliases(api.Aliases o) { 107 checkAliases(api.Aliases o) {
108 buildCounterAliases++; 108 buildCounterAliases++;
109 if (buildCounterAliases < 3) { 109 if (buildCounterAliases < 3) {
110 checkUnnamed789(o.aliases); 110 checkUnnamed805(o.aliases);
111 unittest.expect(o.etag, unittest.equals('foo')); 111 unittest.expect(o.etag, unittest.equals('foo'));
112 unittest.expect(o.kind, unittest.equals('foo')); 112 unittest.expect(o.kind, unittest.equals('foo'));
113 } 113 }
114 buildCounterAliases--; 114 buildCounterAliases--;
115 } 115 }
116 116
117 core.int buildCounterAsp = 0; 117 core.int buildCounterAsp = 0;
118 buildAsp() { 118 buildAsp() {
119 var o = new api.Asp(); 119 var o = new api.Asp();
120 buildCounterAsp++; 120 buildCounterAsp++;
(...skipping 17 matching lines...) Expand all
138 unittest.expect(o.creationTime, unittest.equals('foo')); 138 unittest.expect(o.creationTime, unittest.equals('foo'));
139 unittest.expect(o.etag, unittest.equals('foo')); 139 unittest.expect(o.etag, unittest.equals('foo'));
140 unittest.expect(o.kind, unittest.equals('foo')); 140 unittest.expect(o.kind, unittest.equals('foo'));
141 unittest.expect(o.lastTimeUsed, unittest.equals('foo')); 141 unittest.expect(o.lastTimeUsed, unittest.equals('foo'));
142 unittest.expect(o.name, unittest.equals('foo')); 142 unittest.expect(o.name, unittest.equals('foo'));
143 unittest.expect(o.userKey, unittest.equals('foo')); 143 unittest.expect(o.userKey, unittest.equals('foo'));
144 } 144 }
145 buildCounterAsp--; 145 buildCounterAsp--;
146 } 146 }
147 147
148 buildUnnamed790() { 148 buildUnnamed806() {
149 var o = new core.List<api.Asp>(); 149 var o = new core.List<api.Asp>();
150 o.add(buildAsp()); 150 o.add(buildAsp());
151 o.add(buildAsp()); 151 o.add(buildAsp());
152 return o; 152 return o;
153 } 153 }
154 154
155 checkUnnamed790(core.List<api.Asp> o) { 155 checkUnnamed806(core.List<api.Asp> o) {
156 unittest.expect(o, unittest.hasLength(2)); 156 unittest.expect(o, unittest.hasLength(2));
157 checkAsp(o[0]); 157 checkAsp(o[0]);
158 checkAsp(o[1]); 158 checkAsp(o[1]);
159 } 159 }
160 160
161 core.int buildCounterAsps = 0; 161 core.int buildCounterAsps = 0;
162 buildAsps() { 162 buildAsps() {
163 var o = new api.Asps(); 163 var o = new api.Asps();
164 buildCounterAsps++; 164 buildCounterAsps++;
165 if (buildCounterAsps < 3) { 165 if (buildCounterAsps < 3) {
166 o.etag = "foo"; 166 o.etag = "foo";
167 o.items = buildUnnamed790(); 167 o.items = buildUnnamed806();
168 o.kind = "foo"; 168 o.kind = "foo";
169 } 169 }
170 buildCounterAsps--; 170 buildCounterAsps--;
171 return o; 171 return o;
172 } 172 }
173 173
174 checkAsps(api.Asps o) { 174 checkAsps(api.Asps o) {
175 buildCounterAsps++; 175 buildCounterAsps++;
176 if (buildCounterAsps < 3) { 176 if (buildCounterAsps < 3) {
177 unittest.expect(o.etag, unittest.equals('foo')); 177 unittest.expect(o.etag, unittest.equals('foo'));
178 checkUnnamed790(o.items); 178 checkUnnamed806(o.items);
179 unittest.expect(o.kind, unittest.equals('foo')); 179 unittest.expect(o.kind, unittest.equals('foo'));
180 } 180 }
181 buildCounterAsps--; 181 buildCounterAsps--;
182 } 182 }
183 183
184 core.int buildCounterCalendarResource = 0; 184 core.int buildCounterCalendarResource = 0;
185 buildCalendarResource() { 185 buildCalendarResource() {
186 var o = new api.CalendarResource(); 186 var o = new api.CalendarResource();
187 buildCounterCalendarResource++; 187 buildCounterCalendarResource++;
188 if (buildCounterCalendarResource < 3) { 188 if (buildCounterCalendarResource < 3) {
(...skipping 16 matching lines...) Expand all
205 unittest.expect(o.kind, unittest.equals('foo')); 205 unittest.expect(o.kind, unittest.equals('foo'));
206 unittest.expect(o.resourceDescription, unittest.equals('foo')); 206 unittest.expect(o.resourceDescription, unittest.equals('foo'));
207 unittest.expect(o.resourceEmail, unittest.equals('foo')); 207 unittest.expect(o.resourceEmail, unittest.equals('foo'));
208 unittest.expect(o.resourceId, unittest.equals('foo')); 208 unittest.expect(o.resourceId, unittest.equals('foo'));
209 unittest.expect(o.resourceName, unittest.equals('foo')); 209 unittest.expect(o.resourceName, unittest.equals('foo'));
210 unittest.expect(o.resourceType, unittest.equals('foo')); 210 unittest.expect(o.resourceType, unittest.equals('foo'));
211 } 211 }
212 buildCounterCalendarResource--; 212 buildCounterCalendarResource--;
213 } 213 }
214 214
215 buildUnnamed791() { 215 buildUnnamed807() {
216 var o = new core.List<api.CalendarResource>(); 216 var o = new core.List<api.CalendarResource>();
217 o.add(buildCalendarResource()); 217 o.add(buildCalendarResource());
218 o.add(buildCalendarResource()); 218 o.add(buildCalendarResource());
219 return o; 219 return o;
220 } 220 }
221 221
222 checkUnnamed791(core.List<api.CalendarResource> o) { 222 checkUnnamed807(core.List<api.CalendarResource> o) {
223 unittest.expect(o, unittest.hasLength(2)); 223 unittest.expect(o, unittest.hasLength(2));
224 checkCalendarResource(o[0]); 224 checkCalendarResource(o[0]);
225 checkCalendarResource(o[1]); 225 checkCalendarResource(o[1]);
226 } 226 }
227 227
228 core.int buildCounterCalendarResources = 0; 228 core.int buildCounterCalendarResources = 0;
229 buildCalendarResources() { 229 buildCalendarResources() {
230 var o = new api.CalendarResources(); 230 var o = new api.CalendarResources();
231 buildCounterCalendarResources++; 231 buildCounterCalendarResources++;
232 if (buildCounterCalendarResources < 3) { 232 if (buildCounterCalendarResources < 3) {
233 o.etag = "foo"; 233 o.etag = "foo";
234 o.items = buildUnnamed791(); 234 o.items = buildUnnamed807();
235 o.kind = "foo"; 235 o.kind = "foo";
236 o.nextPageToken = "foo"; 236 o.nextPageToken = "foo";
237 } 237 }
238 buildCounterCalendarResources--; 238 buildCounterCalendarResources--;
239 return o; 239 return o;
240 } 240 }
241 241
242 checkCalendarResources(api.CalendarResources o) { 242 checkCalendarResources(api.CalendarResources o) {
243 buildCounterCalendarResources++; 243 buildCounterCalendarResources++;
244 if (buildCounterCalendarResources < 3) { 244 if (buildCounterCalendarResources < 3) {
245 unittest.expect(o.etag, unittest.equals('foo')); 245 unittest.expect(o.etag, unittest.equals('foo'));
246 checkUnnamed791(o.items); 246 checkUnnamed807(o.items);
247 unittest.expect(o.kind, unittest.equals('foo')); 247 unittest.expect(o.kind, unittest.equals('foo'));
248 unittest.expect(o.nextPageToken, unittest.equals('foo')); 248 unittest.expect(o.nextPageToken, unittest.equals('foo'));
249 } 249 }
250 buildCounterCalendarResources--; 250 buildCounterCalendarResources--;
251 } 251 }
252 252
253 buildUnnamed792() { 253 buildUnnamed808() {
254 var o = new core.Map<core.String, core.String>(); 254 var o = new core.Map<core.String, core.String>();
255 o["x"] = "foo"; 255 o["x"] = "foo";
256 o["y"] = "foo"; 256 o["y"] = "foo";
257 return o; 257 return o;
258 } 258 }
259 259
260 checkUnnamed792(core.Map<core.String, core.String> o) { 260 checkUnnamed808(core.Map<core.String, core.String> o) {
261 unittest.expect(o, unittest.hasLength(2)); 261 unittest.expect(o, unittest.hasLength(2));
262 unittest.expect(o["x"], unittest.equals('foo')); 262 unittest.expect(o["x"], unittest.equals('foo'));
263 unittest.expect(o["y"], unittest.equals('foo')); 263 unittest.expect(o["y"], unittest.equals('foo'));
264 } 264 }
265 265
266 core.int buildCounterChannel = 0; 266 core.int buildCounterChannel = 0;
267 buildChannel() { 267 buildChannel() {
268 var o = new api.Channel(); 268 var o = new api.Channel();
269 buildCounterChannel++; 269 buildCounterChannel++;
270 if (buildCounterChannel < 3) { 270 if (buildCounterChannel < 3) {
271 o.address = "foo"; 271 o.address = "foo";
272 o.expiration = "foo"; 272 o.expiration = "foo";
273 o.id = "foo"; 273 o.id = "foo";
274 o.kind = "foo"; 274 o.kind = "foo";
275 o.params = buildUnnamed792(); 275 o.params = buildUnnamed808();
276 o.payload = true; 276 o.payload = true;
277 o.resourceId = "foo"; 277 o.resourceId = "foo";
278 o.resourceUri = "foo"; 278 o.resourceUri = "foo";
279 o.token = "foo"; 279 o.token = "foo";
280 o.type = "foo"; 280 o.type = "foo";
281 } 281 }
282 buildCounterChannel--; 282 buildCounterChannel--;
283 return o; 283 return o;
284 } 284 }
285 285
286 checkChannel(api.Channel o) { 286 checkChannel(api.Channel o) {
287 buildCounterChannel++; 287 buildCounterChannel++;
288 if (buildCounterChannel < 3) { 288 if (buildCounterChannel < 3) {
289 unittest.expect(o.address, unittest.equals('foo')); 289 unittest.expect(o.address, unittest.equals('foo'));
290 unittest.expect(o.expiration, unittest.equals('foo')); 290 unittest.expect(o.expiration, unittest.equals('foo'));
291 unittest.expect(o.id, unittest.equals('foo')); 291 unittest.expect(o.id, unittest.equals('foo'));
292 unittest.expect(o.kind, unittest.equals('foo')); 292 unittest.expect(o.kind, unittest.equals('foo'));
293 checkUnnamed792(o.params); 293 checkUnnamed808(o.params);
294 unittest.expect(o.payload, unittest.isTrue); 294 unittest.expect(o.payload, unittest.isTrue);
295 unittest.expect(o.resourceId, unittest.equals('foo')); 295 unittest.expect(o.resourceId, unittest.equals('foo'));
296 unittest.expect(o.resourceUri, unittest.equals('foo')); 296 unittest.expect(o.resourceUri, unittest.equals('foo'));
297 unittest.expect(o.token, unittest.equals('foo')); 297 unittest.expect(o.token, unittest.equals('foo'));
298 unittest.expect(o.type, unittest.equals('foo')); 298 unittest.expect(o.type, unittest.equals('foo'));
299 } 299 }
300 buildCounterChannel--; 300 buildCounterChannel--;
301 } 301 }
302 302
303 core.int buildCounterChromeOsDeviceActiveTimeRanges = 0; 303 core.int buildCounterChromeOsDeviceActiveTimeRanges = 0;
(...skipping 10 matching lines...) Expand all
314 314
315 checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) { 315 checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) {
316 buildCounterChromeOsDeviceActiveTimeRanges++; 316 buildCounterChromeOsDeviceActiveTimeRanges++;
317 if (buildCounterChromeOsDeviceActiveTimeRanges < 3) { 317 if (buildCounterChromeOsDeviceActiveTimeRanges < 3) {
318 unittest.expect(o.activeTime, unittest.equals(42)); 318 unittest.expect(o.activeTime, unittest.equals(42));
319 unittest.expect(o.date, unittest.equals(core.DateTime.parse("2002-02-27T00:0 0:00"))); 319 unittest.expect(o.date, unittest.equals(core.DateTime.parse("2002-02-27T00:0 0:00")));
320 } 320 }
321 buildCounterChromeOsDeviceActiveTimeRanges--; 321 buildCounterChromeOsDeviceActiveTimeRanges--;
322 } 322 }
323 323
324 buildUnnamed793() { 324 buildUnnamed809() {
325 var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>(); 325 var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
326 o.add(buildChromeOsDeviceActiveTimeRanges()); 326 o.add(buildChromeOsDeviceActiveTimeRanges());
327 o.add(buildChromeOsDeviceActiveTimeRanges()); 327 o.add(buildChromeOsDeviceActiveTimeRanges());
328 return o; 328 return o;
329 } 329 }
330 330
331 checkUnnamed793(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { 331 checkUnnamed809(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
332 unittest.expect(o, unittest.hasLength(2)); 332 unittest.expect(o, unittest.hasLength(2));
333 checkChromeOsDeviceActiveTimeRanges(o[0]); 333 checkChromeOsDeviceActiveTimeRanges(o[0]);
334 checkChromeOsDeviceActiveTimeRanges(o[1]); 334 checkChromeOsDeviceActiveTimeRanges(o[1]);
335 } 335 }
336 336
337 core.int buildCounterChromeOsDeviceRecentUsers = 0; 337 core.int buildCounterChromeOsDeviceRecentUsers = 0;
338 buildChromeOsDeviceRecentUsers() { 338 buildChromeOsDeviceRecentUsers() {
339 var o = new api.ChromeOsDeviceRecentUsers(); 339 var o = new api.ChromeOsDeviceRecentUsers();
340 buildCounterChromeOsDeviceRecentUsers++; 340 buildCounterChromeOsDeviceRecentUsers++;
341 if (buildCounterChromeOsDeviceRecentUsers < 3) { 341 if (buildCounterChromeOsDeviceRecentUsers < 3) {
342 o.email = "foo"; 342 o.email = "foo";
343 o.type = "foo"; 343 o.type = "foo";
344 } 344 }
345 buildCounterChromeOsDeviceRecentUsers--; 345 buildCounterChromeOsDeviceRecentUsers--;
346 return o; 346 return o;
347 } 347 }
348 348
349 checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) { 349 checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) {
350 buildCounterChromeOsDeviceRecentUsers++; 350 buildCounterChromeOsDeviceRecentUsers++;
351 if (buildCounterChromeOsDeviceRecentUsers < 3) { 351 if (buildCounterChromeOsDeviceRecentUsers < 3) {
352 unittest.expect(o.email, unittest.equals('foo')); 352 unittest.expect(o.email, unittest.equals('foo'));
353 unittest.expect(o.type, unittest.equals('foo')); 353 unittest.expect(o.type, unittest.equals('foo'));
354 } 354 }
355 buildCounterChromeOsDeviceRecentUsers--; 355 buildCounterChromeOsDeviceRecentUsers--;
356 } 356 }
357 357
358 buildUnnamed794() { 358 buildUnnamed810() {
359 var o = new core.List<api.ChromeOsDeviceRecentUsers>(); 359 var o = new core.List<api.ChromeOsDeviceRecentUsers>();
360 o.add(buildChromeOsDeviceRecentUsers()); 360 o.add(buildChromeOsDeviceRecentUsers());
361 o.add(buildChromeOsDeviceRecentUsers()); 361 o.add(buildChromeOsDeviceRecentUsers());
362 return o; 362 return o;
363 } 363 }
364 364
365 checkUnnamed794(core.List<api.ChromeOsDeviceRecentUsers> o) { 365 checkUnnamed810(core.List<api.ChromeOsDeviceRecentUsers> o) {
366 unittest.expect(o, unittest.hasLength(2)); 366 unittest.expect(o, unittest.hasLength(2));
367 checkChromeOsDeviceRecentUsers(o[0]); 367 checkChromeOsDeviceRecentUsers(o[0]);
368 checkChromeOsDeviceRecentUsers(o[1]); 368 checkChromeOsDeviceRecentUsers(o[1]);
369 } 369 }
370 370
371 core.int buildCounterChromeOsDevice = 0; 371 core.int buildCounterChromeOsDevice = 0;
372 buildChromeOsDevice() { 372 buildChromeOsDevice() {
373 var o = new api.ChromeOsDevice(); 373 var o = new api.ChromeOsDevice();
374 buildCounterChromeOsDevice++; 374 buildCounterChromeOsDevice++;
375 if (buildCounterChromeOsDevice < 3) { 375 if (buildCounterChromeOsDevice < 3) {
376 o.activeTimeRanges = buildUnnamed793(); 376 o.activeTimeRanges = buildUnnamed809();
377 o.annotatedAssetId = "foo"; 377 o.annotatedAssetId = "foo";
378 o.annotatedLocation = "foo"; 378 o.annotatedLocation = "foo";
379 o.annotatedUser = "foo"; 379 o.annotatedUser = "foo";
380 o.bootMode = "foo"; 380 o.bootMode = "foo";
381 o.deviceId = "foo"; 381 o.deviceId = "foo";
382 o.etag = "foo"; 382 o.etag = "foo";
383 o.ethernetMacAddress = "foo"; 383 o.ethernetMacAddress = "foo";
384 o.firmwareVersion = "foo"; 384 o.firmwareVersion = "foo";
385 o.kind = "foo"; 385 o.kind = "foo";
386 o.lastEnrollmentTime = core.DateTime.parse("2002-02-27T14:01:02"); 386 o.lastEnrollmentTime = core.DateTime.parse("2002-02-27T14:01:02");
387 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); 387 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02");
388 o.macAddress = "foo"; 388 o.macAddress = "foo";
389 o.meid = "foo"; 389 o.meid = "foo";
390 o.model = "foo"; 390 o.model = "foo";
391 o.notes = "foo"; 391 o.notes = "foo";
392 o.orderNumber = "foo"; 392 o.orderNumber = "foo";
393 o.orgUnitPath = "foo"; 393 o.orgUnitPath = "foo";
394 o.osVersion = "foo"; 394 o.osVersion = "foo";
395 o.platformVersion = "foo"; 395 o.platformVersion = "foo";
396 o.recentUsers = buildUnnamed794(); 396 o.recentUsers = buildUnnamed810();
397 o.serialNumber = "foo"; 397 o.serialNumber = "foo";
398 o.status = "foo"; 398 o.status = "foo";
399 o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02"); 399 o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
400 o.willAutoRenew = true; 400 o.willAutoRenew = true;
401 } 401 }
402 buildCounterChromeOsDevice--; 402 buildCounterChromeOsDevice--;
403 return o; 403 return o;
404 } 404 }
405 405
406 checkChromeOsDevice(api.ChromeOsDevice o) { 406 checkChromeOsDevice(api.ChromeOsDevice o) {
407 buildCounterChromeOsDevice++; 407 buildCounterChromeOsDevice++;
408 if (buildCounterChromeOsDevice < 3) { 408 if (buildCounterChromeOsDevice < 3) {
409 checkUnnamed793(o.activeTimeRanges); 409 checkUnnamed809(o.activeTimeRanges);
410 unittest.expect(o.annotatedAssetId, unittest.equals('foo')); 410 unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
411 unittest.expect(o.annotatedLocation, unittest.equals('foo')); 411 unittest.expect(o.annotatedLocation, unittest.equals('foo'));
412 unittest.expect(o.annotatedUser, unittest.equals('foo')); 412 unittest.expect(o.annotatedUser, unittest.equals('foo'));
413 unittest.expect(o.bootMode, unittest.equals('foo')); 413 unittest.expect(o.bootMode, unittest.equals('foo'));
414 unittest.expect(o.deviceId, unittest.equals('foo')); 414 unittest.expect(o.deviceId, unittest.equals('foo'));
415 unittest.expect(o.etag, unittest.equals('foo')); 415 unittest.expect(o.etag, unittest.equals('foo'));
416 unittest.expect(o.ethernetMacAddress, unittest.equals('foo')); 416 unittest.expect(o.ethernetMacAddress, unittest.equals('foo'));
417 unittest.expect(o.firmwareVersion, unittest.equals('foo')); 417 unittest.expect(o.firmwareVersion, unittest.equals('foo'));
418 unittest.expect(o.kind, unittest.equals('foo')); 418 unittest.expect(o.kind, unittest.equals('foo'));
419 unittest.expect(o.lastEnrollmentTime, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 419 unittest.expect(o.lastEnrollmentTime, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
420 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02"))); 420 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02")));
421 unittest.expect(o.macAddress, unittest.equals('foo')); 421 unittest.expect(o.macAddress, unittest.equals('foo'));
422 unittest.expect(o.meid, unittest.equals('foo')); 422 unittest.expect(o.meid, unittest.equals('foo'));
423 unittest.expect(o.model, unittest.equals('foo')); 423 unittest.expect(o.model, unittest.equals('foo'));
424 unittest.expect(o.notes, unittest.equals('foo')); 424 unittest.expect(o.notes, unittest.equals('foo'));
425 unittest.expect(o.orderNumber, unittest.equals('foo')); 425 unittest.expect(o.orderNumber, unittest.equals('foo'));
426 unittest.expect(o.orgUnitPath, unittest.equals('foo')); 426 unittest.expect(o.orgUnitPath, unittest.equals('foo'));
427 unittest.expect(o.osVersion, unittest.equals('foo')); 427 unittest.expect(o.osVersion, unittest.equals('foo'));
428 unittest.expect(o.platformVersion, unittest.equals('foo')); 428 unittest.expect(o.platformVersion, unittest.equals('foo'));
429 checkUnnamed794(o.recentUsers); 429 checkUnnamed810(o.recentUsers);
430 unittest.expect(o.serialNumber, unittest.equals('foo')); 430 unittest.expect(o.serialNumber, unittest.equals('foo'));
431 unittest.expect(o.status, unittest.equals('foo')); 431 unittest.expect(o.status, unittest.equals('foo'));
432 unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002- 02-27T14:01:02"))); 432 unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002- 02-27T14:01:02")));
433 unittest.expect(o.willAutoRenew, unittest.isTrue); 433 unittest.expect(o.willAutoRenew, unittest.isTrue);
434 } 434 }
435 buildCounterChromeOsDevice--; 435 buildCounterChromeOsDevice--;
436 } 436 }
437 437
438 core.int buildCounterChromeOsDeviceAction = 0; 438 core.int buildCounterChromeOsDeviceAction = 0;
439 buildChromeOsDeviceAction() { 439 buildChromeOsDeviceAction() {
440 var o = new api.ChromeOsDeviceAction(); 440 var o = new api.ChromeOsDeviceAction();
441 buildCounterChromeOsDeviceAction++; 441 buildCounterChromeOsDeviceAction++;
442 if (buildCounterChromeOsDeviceAction < 3) { 442 if (buildCounterChromeOsDeviceAction < 3) {
443 o.action = "foo"; 443 o.action = "foo";
444 o.deprovisionReason = "foo"; 444 o.deprovisionReason = "foo";
445 } 445 }
446 buildCounterChromeOsDeviceAction--; 446 buildCounterChromeOsDeviceAction--;
447 return o; 447 return o;
448 } 448 }
449 449
450 checkChromeOsDeviceAction(api.ChromeOsDeviceAction o) { 450 checkChromeOsDeviceAction(api.ChromeOsDeviceAction o) {
451 buildCounterChromeOsDeviceAction++; 451 buildCounterChromeOsDeviceAction++;
452 if (buildCounterChromeOsDeviceAction < 3) { 452 if (buildCounterChromeOsDeviceAction < 3) {
453 unittest.expect(o.action, unittest.equals('foo')); 453 unittest.expect(o.action, unittest.equals('foo'));
454 unittest.expect(o.deprovisionReason, unittest.equals('foo')); 454 unittest.expect(o.deprovisionReason, unittest.equals('foo'));
455 } 455 }
456 buildCounterChromeOsDeviceAction--; 456 buildCounterChromeOsDeviceAction--;
457 } 457 }
458 458
459 buildUnnamed795() { 459 buildUnnamed811() {
460 var o = new core.List<api.ChromeOsDevice>(); 460 var o = new core.List<api.ChromeOsDevice>();
461 o.add(buildChromeOsDevice()); 461 o.add(buildChromeOsDevice());
462 o.add(buildChromeOsDevice()); 462 o.add(buildChromeOsDevice());
463 return o; 463 return o;
464 } 464 }
465 465
466 checkUnnamed795(core.List<api.ChromeOsDevice> o) { 466 checkUnnamed811(core.List<api.ChromeOsDevice> o) {
467 unittest.expect(o, unittest.hasLength(2)); 467 unittest.expect(o, unittest.hasLength(2));
468 checkChromeOsDevice(o[0]); 468 checkChromeOsDevice(o[0]);
469 checkChromeOsDevice(o[1]); 469 checkChromeOsDevice(o[1]);
470 } 470 }
471 471
472 core.int buildCounterChromeOsDevices = 0; 472 core.int buildCounterChromeOsDevices = 0;
473 buildChromeOsDevices() { 473 buildChromeOsDevices() {
474 var o = new api.ChromeOsDevices(); 474 var o = new api.ChromeOsDevices();
475 buildCounterChromeOsDevices++; 475 buildCounterChromeOsDevices++;
476 if (buildCounterChromeOsDevices < 3) { 476 if (buildCounterChromeOsDevices < 3) {
477 o.chromeosdevices = buildUnnamed795(); 477 o.chromeosdevices = buildUnnamed811();
478 o.etag = "foo"; 478 o.etag = "foo";
479 o.kind = "foo"; 479 o.kind = "foo";
480 o.nextPageToken = "foo"; 480 o.nextPageToken = "foo";
481 } 481 }
482 buildCounterChromeOsDevices--; 482 buildCounterChromeOsDevices--;
483 return o; 483 return o;
484 } 484 }
485 485
486 checkChromeOsDevices(api.ChromeOsDevices o) { 486 checkChromeOsDevices(api.ChromeOsDevices o) {
487 buildCounterChromeOsDevices++; 487 buildCounterChromeOsDevices++;
488 if (buildCounterChromeOsDevices < 3) { 488 if (buildCounterChromeOsDevices < 3) {
489 checkUnnamed795(o.chromeosdevices); 489 checkUnnamed811(o.chromeosdevices);
490 unittest.expect(o.etag, unittest.equals('foo')); 490 unittest.expect(o.etag, unittest.equals('foo'));
491 unittest.expect(o.kind, unittest.equals('foo')); 491 unittest.expect(o.kind, unittest.equals('foo'));
492 unittest.expect(o.nextPageToken, unittest.equals('foo')); 492 unittest.expect(o.nextPageToken, unittest.equals('foo'));
493 } 493 }
494 buildCounterChromeOsDevices--; 494 buildCounterChromeOsDevices--;
495 } 495 }
496 496
497 buildUnnamed796() { 497 buildUnnamed812() {
498 var o = new core.List<core.String>(); 498 var o = new core.List<core.String>();
499 o.add("foo"); 499 o.add("foo");
500 o.add("foo"); 500 o.add("foo");
501 return o; 501 return o;
502 } 502 }
503 503
504 checkUnnamed796(core.List<core.String> o) { 504 checkUnnamed812(core.List<core.String> o) {
505 unittest.expect(o, unittest.hasLength(2)); 505 unittest.expect(o, unittest.hasLength(2));
506 unittest.expect(o[0], unittest.equals('foo')); 506 unittest.expect(o[0], unittest.equals('foo'));
507 unittest.expect(o[1], unittest.equals('foo')); 507 unittest.expect(o[1], unittest.equals('foo'));
508 } 508 }
509 509
510 core.int buildCounterChromeOsMoveDevicesToOu = 0; 510 core.int buildCounterChromeOsMoveDevicesToOu = 0;
511 buildChromeOsMoveDevicesToOu() { 511 buildChromeOsMoveDevicesToOu() {
512 var o = new api.ChromeOsMoveDevicesToOu(); 512 var o = new api.ChromeOsMoveDevicesToOu();
513 buildCounterChromeOsMoveDevicesToOu++; 513 buildCounterChromeOsMoveDevicesToOu++;
514 if (buildCounterChromeOsMoveDevicesToOu < 3) { 514 if (buildCounterChromeOsMoveDevicesToOu < 3) {
515 o.deviceIds = buildUnnamed796(); 515 o.deviceIds = buildUnnamed812();
516 } 516 }
517 buildCounterChromeOsMoveDevicesToOu--; 517 buildCounterChromeOsMoveDevicesToOu--;
518 return o; 518 return o;
519 } 519 }
520 520
521 checkChromeOsMoveDevicesToOu(api.ChromeOsMoveDevicesToOu o) { 521 checkChromeOsMoveDevicesToOu(api.ChromeOsMoveDevicesToOu o) {
522 buildCounterChromeOsMoveDevicesToOu++; 522 buildCounterChromeOsMoveDevicesToOu++;
523 if (buildCounterChromeOsMoveDevicesToOu < 3) { 523 if (buildCounterChromeOsMoveDevicesToOu < 3) {
524 checkUnnamed796(o.deviceIds); 524 checkUnnamed812(o.deviceIds);
525 } 525 }
526 buildCounterChromeOsMoveDevicesToOu--; 526 buildCounterChromeOsMoveDevicesToOu--;
527 } 527 }
528 528
529 core.int buildCounterCustomer = 0; 529 core.int buildCounterCustomer = 0;
530 buildCustomer() { 530 buildCustomer() {
531 var o = new api.Customer(); 531 var o = new api.Customer();
532 buildCounterCustomer++; 532 buildCounterCustomer++;
533 if (buildCounterCustomer < 3) { 533 if (buildCounterCustomer < 3) {
534 o.alternateEmail = "foo"; 534 o.alternateEmail = "foo";
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 unittest.expect(o.creationTime, unittest.equals('foo')); 618 unittest.expect(o.creationTime, unittest.equals('foo'));
619 unittest.expect(o.domainAliasName, unittest.equals('foo')); 619 unittest.expect(o.domainAliasName, unittest.equals('foo'));
620 unittest.expect(o.etag, unittest.equals('foo')); 620 unittest.expect(o.etag, unittest.equals('foo'));
621 unittest.expect(o.kind, unittest.equals('foo')); 621 unittest.expect(o.kind, unittest.equals('foo'));
622 unittest.expect(o.parentDomainName, unittest.equals('foo')); 622 unittest.expect(o.parentDomainName, unittest.equals('foo'));
623 unittest.expect(o.verified, unittest.isTrue); 623 unittest.expect(o.verified, unittest.isTrue);
624 } 624 }
625 buildCounterDomainAlias--; 625 buildCounterDomainAlias--;
626 } 626 }
627 627
628 buildUnnamed797() { 628 buildUnnamed813() {
629 var o = new core.List<api.DomainAlias>(); 629 var o = new core.List<api.DomainAlias>();
630 o.add(buildDomainAlias()); 630 o.add(buildDomainAlias());
631 o.add(buildDomainAlias()); 631 o.add(buildDomainAlias());
632 return o; 632 return o;
633 } 633 }
634 634
635 checkUnnamed797(core.List<api.DomainAlias> o) { 635 checkUnnamed813(core.List<api.DomainAlias> o) {
636 unittest.expect(o, unittest.hasLength(2)); 636 unittest.expect(o, unittest.hasLength(2));
637 checkDomainAlias(o[0]); 637 checkDomainAlias(o[0]);
638 checkDomainAlias(o[1]); 638 checkDomainAlias(o[1]);
639 } 639 }
640 640
641 core.int buildCounterDomainAliases = 0; 641 core.int buildCounterDomainAliases = 0;
642 buildDomainAliases() { 642 buildDomainAliases() {
643 var o = new api.DomainAliases(); 643 var o = new api.DomainAliases();
644 buildCounterDomainAliases++; 644 buildCounterDomainAliases++;
645 if (buildCounterDomainAliases < 3) { 645 if (buildCounterDomainAliases < 3) {
646 o.domainAliases = buildUnnamed797(); 646 o.domainAliases = buildUnnamed813();
647 o.etag = "foo"; 647 o.etag = "foo";
648 o.kind = "foo"; 648 o.kind = "foo";
649 } 649 }
650 buildCounterDomainAliases--; 650 buildCounterDomainAliases--;
651 return o; 651 return o;
652 } 652 }
653 653
654 checkDomainAliases(api.DomainAliases o) { 654 checkDomainAliases(api.DomainAliases o) {
655 buildCounterDomainAliases++; 655 buildCounterDomainAliases++;
656 if (buildCounterDomainAliases < 3) { 656 if (buildCounterDomainAliases < 3) {
657 checkUnnamed797(o.domainAliases); 657 checkUnnamed813(o.domainAliases);
658 unittest.expect(o.etag, unittest.equals('foo')); 658 unittest.expect(o.etag, unittest.equals('foo'));
659 unittest.expect(o.kind, unittest.equals('foo')); 659 unittest.expect(o.kind, unittest.equals('foo'));
660 } 660 }
661 buildCounterDomainAliases--; 661 buildCounterDomainAliases--;
662 } 662 }
663 663
664 buildUnnamed798() { 664 buildUnnamed814() {
665 var o = new core.List<api.DomainAlias>(); 665 var o = new core.List<api.DomainAlias>();
666 o.add(buildDomainAlias()); 666 o.add(buildDomainAlias());
667 o.add(buildDomainAlias()); 667 o.add(buildDomainAlias());
668 return o; 668 return o;
669 } 669 }
670 670
671 checkUnnamed798(core.List<api.DomainAlias> o) { 671 checkUnnamed814(core.List<api.DomainAlias> o) {
672 unittest.expect(o, unittest.hasLength(2)); 672 unittest.expect(o, unittest.hasLength(2));
673 checkDomainAlias(o[0]); 673 checkDomainAlias(o[0]);
674 checkDomainAlias(o[1]); 674 checkDomainAlias(o[1]);
675 } 675 }
676 676
677 core.int buildCounterDomains = 0; 677 core.int buildCounterDomains = 0;
678 buildDomains() { 678 buildDomains() {
679 var o = new api.Domains(); 679 var o = new api.Domains();
680 buildCounterDomains++; 680 buildCounterDomains++;
681 if (buildCounterDomains < 3) { 681 if (buildCounterDomains < 3) {
682 o.creationTime = "foo"; 682 o.creationTime = "foo";
683 o.domainAliases = buildUnnamed798(); 683 o.domainAliases = buildUnnamed814();
684 o.domainName = "foo"; 684 o.domainName = "foo";
685 o.etag = "foo"; 685 o.etag = "foo";
686 o.isPrimary = true; 686 o.isPrimary = true;
687 o.kind = "foo"; 687 o.kind = "foo";
688 o.verified = true; 688 o.verified = true;
689 } 689 }
690 buildCounterDomains--; 690 buildCounterDomains--;
691 return o; 691 return o;
692 } 692 }
693 693
694 checkDomains(api.Domains o) { 694 checkDomains(api.Domains o) {
695 buildCounterDomains++; 695 buildCounterDomains++;
696 if (buildCounterDomains < 3) { 696 if (buildCounterDomains < 3) {
697 unittest.expect(o.creationTime, unittest.equals('foo')); 697 unittest.expect(o.creationTime, unittest.equals('foo'));
698 checkUnnamed798(o.domainAliases); 698 checkUnnamed814(o.domainAliases);
699 unittest.expect(o.domainName, unittest.equals('foo')); 699 unittest.expect(o.domainName, unittest.equals('foo'));
700 unittest.expect(o.etag, unittest.equals('foo')); 700 unittest.expect(o.etag, unittest.equals('foo'));
701 unittest.expect(o.isPrimary, unittest.isTrue); 701 unittest.expect(o.isPrimary, unittest.isTrue);
702 unittest.expect(o.kind, unittest.equals('foo')); 702 unittest.expect(o.kind, unittest.equals('foo'));
703 unittest.expect(o.verified, unittest.isTrue); 703 unittest.expect(o.verified, unittest.isTrue);
704 } 704 }
705 buildCounterDomains--; 705 buildCounterDomains--;
706 } 706 }
707 707
708 buildUnnamed799() { 708 buildUnnamed815() {
709 var o = new core.List<api.Domains>(); 709 var o = new core.List<api.Domains>();
710 o.add(buildDomains()); 710 o.add(buildDomains());
711 o.add(buildDomains()); 711 o.add(buildDomains());
712 return o; 712 return o;
713 } 713 }
714 714
715 checkUnnamed799(core.List<api.Domains> o) { 715 checkUnnamed815(core.List<api.Domains> o) {
716 unittest.expect(o, unittest.hasLength(2)); 716 unittest.expect(o, unittest.hasLength(2));
717 checkDomains(o[0]); 717 checkDomains(o[0]);
718 checkDomains(o[1]); 718 checkDomains(o[1]);
719 } 719 }
720 720
721 core.int buildCounterDomains2 = 0; 721 core.int buildCounterDomains2 = 0;
722 buildDomains2() { 722 buildDomains2() {
723 var o = new api.Domains2(); 723 var o = new api.Domains2();
724 buildCounterDomains2++; 724 buildCounterDomains2++;
725 if (buildCounterDomains2 < 3) { 725 if (buildCounterDomains2 < 3) {
726 o.domains = buildUnnamed799(); 726 o.domains = buildUnnamed815();
727 o.etag = "foo"; 727 o.etag = "foo";
728 o.kind = "foo"; 728 o.kind = "foo";
729 } 729 }
730 buildCounterDomains2--; 730 buildCounterDomains2--;
731 return o; 731 return o;
732 } 732 }
733 733
734 checkDomains2(api.Domains2 o) { 734 checkDomains2(api.Domains2 o) {
735 buildCounterDomains2++; 735 buildCounterDomains2++;
736 if (buildCounterDomains2 < 3) { 736 if (buildCounterDomains2 < 3) {
737 checkUnnamed799(o.domains); 737 checkUnnamed815(o.domains);
738 unittest.expect(o.etag, unittest.equals('foo')); 738 unittest.expect(o.etag, unittest.equals('foo'));
739 unittest.expect(o.kind, unittest.equals('foo')); 739 unittest.expect(o.kind, unittest.equals('foo'));
740 } 740 }
741 buildCounterDomains2--; 741 buildCounterDomains2--;
742 } 742 }
743 743
744 buildUnnamed800() { 744 buildUnnamed816() {
745 var o = new core.List<core.String>(); 745 var o = new core.List<core.String>();
746 o.add("foo"); 746 o.add("foo");
747 o.add("foo"); 747 o.add("foo");
748 return o; 748 return o;
749 } 749 }
750 750
751 checkUnnamed800(core.List<core.String> o) { 751 checkUnnamed816(core.List<core.String> o) {
752 unittest.expect(o, unittest.hasLength(2)); 752 unittest.expect(o, unittest.hasLength(2));
753 unittest.expect(o[0], unittest.equals('foo')); 753 unittest.expect(o[0], unittest.equals('foo'));
754 unittest.expect(o[1], unittest.equals('foo')); 754 unittest.expect(o[1], unittest.equals('foo'));
755 } 755 }
756 756
757 buildUnnamed801() { 757 buildUnnamed817() {
758 var o = new core.List<core.String>(); 758 var o = new core.List<core.String>();
759 o.add("foo"); 759 o.add("foo");
760 o.add("foo"); 760 o.add("foo");
761 return o; 761 return o;
762 } 762 }
763 763
764 checkUnnamed801(core.List<core.String> o) { 764 checkUnnamed817(core.List<core.String> o) {
765 unittest.expect(o, unittest.hasLength(2)); 765 unittest.expect(o, unittest.hasLength(2));
766 unittest.expect(o[0], unittest.equals('foo')); 766 unittest.expect(o[0], unittest.equals('foo'));
767 unittest.expect(o[1], unittest.equals('foo')); 767 unittest.expect(o[1], unittest.equals('foo'));
768 } 768 }
769 769
770 core.int buildCounterGroup = 0; 770 core.int buildCounterGroup = 0;
771 buildGroup() { 771 buildGroup() {
772 var o = new api.Group(); 772 var o = new api.Group();
773 buildCounterGroup++; 773 buildCounterGroup++;
774 if (buildCounterGroup < 3) { 774 if (buildCounterGroup < 3) {
775 o.adminCreated = true; 775 o.adminCreated = true;
776 o.aliases = buildUnnamed800(); 776 o.aliases = buildUnnamed816();
777 o.description = "foo"; 777 o.description = "foo";
778 o.directMembersCount = "foo"; 778 o.directMembersCount = "foo";
779 o.email = "foo"; 779 o.email = "foo";
780 o.etag = "foo"; 780 o.etag = "foo";
781 o.id = "foo"; 781 o.id = "foo";
782 o.kind = "foo"; 782 o.kind = "foo";
783 o.name = "foo"; 783 o.name = "foo";
784 o.nonEditableAliases = buildUnnamed801(); 784 o.nonEditableAliases = buildUnnamed817();
785 } 785 }
786 buildCounterGroup--; 786 buildCounterGroup--;
787 return o; 787 return o;
788 } 788 }
789 789
790 checkGroup(api.Group o) { 790 checkGroup(api.Group o) {
791 buildCounterGroup++; 791 buildCounterGroup++;
792 if (buildCounterGroup < 3) { 792 if (buildCounterGroup < 3) {
793 unittest.expect(o.adminCreated, unittest.isTrue); 793 unittest.expect(o.adminCreated, unittest.isTrue);
794 checkUnnamed800(o.aliases); 794 checkUnnamed816(o.aliases);
795 unittest.expect(o.description, unittest.equals('foo')); 795 unittest.expect(o.description, unittest.equals('foo'));
796 unittest.expect(o.directMembersCount, unittest.equals('foo')); 796 unittest.expect(o.directMembersCount, unittest.equals('foo'));
797 unittest.expect(o.email, unittest.equals('foo')); 797 unittest.expect(o.email, unittest.equals('foo'));
798 unittest.expect(o.etag, unittest.equals('foo')); 798 unittest.expect(o.etag, unittest.equals('foo'));
799 unittest.expect(o.id, unittest.equals('foo')); 799 unittest.expect(o.id, unittest.equals('foo'));
800 unittest.expect(o.kind, unittest.equals('foo')); 800 unittest.expect(o.kind, unittest.equals('foo'));
801 unittest.expect(o.name, unittest.equals('foo')); 801 unittest.expect(o.name, unittest.equals('foo'));
802 checkUnnamed801(o.nonEditableAliases); 802 checkUnnamed817(o.nonEditableAliases);
803 } 803 }
804 buildCounterGroup--; 804 buildCounterGroup--;
805 } 805 }
806 806
807 buildUnnamed802() { 807 buildUnnamed818() {
808 var o = new core.List<api.Group>(); 808 var o = new core.List<api.Group>();
809 o.add(buildGroup()); 809 o.add(buildGroup());
810 o.add(buildGroup()); 810 o.add(buildGroup());
811 return o; 811 return o;
812 } 812 }
813 813
814 checkUnnamed802(core.List<api.Group> o) { 814 checkUnnamed818(core.List<api.Group> o) {
815 unittest.expect(o, unittest.hasLength(2)); 815 unittest.expect(o, unittest.hasLength(2));
816 checkGroup(o[0]); 816 checkGroup(o[0]);
817 checkGroup(o[1]); 817 checkGroup(o[1]);
818 } 818 }
819 819
820 core.int buildCounterGroups = 0; 820 core.int buildCounterGroups = 0;
821 buildGroups() { 821 buildGroups() {
822 var o = new api.Groups(); 822 var o = new api.Groups();
823 buildCounterGroups++; 823 buildCounterGroups++;
824 if (buildCounterGroups < 3) { 824 if (buildCounterGroups < 3) {
825 o.etag = "foo"; 825 o.etag = "foo";
826 o.groups = buildUnnamed802(); 826 o.groups = buildUnnamed818();
827 o.kind = "foo"; 827 o.kind = "foo";
828 o.nextPageToken = "foo"; 828 o.nextPageToken = "foo";
829 } 829 }
830 buildCounterGroups--; 830 buildCounterGroups--;
831 return o; 831 return o;
832 } 832 }
833 833
834 checkGroups(api.Groups o) { 834 checkGroups(api.Groups o) {
835 buildCounterGroups++; 835 buildCounterGroups++;
836 if (buildCounterGroups < 3) { 836 if (buildCounterGroups < 3) {
837 unittest.expect(o.etag, unittest.equals('foo')); 837 unittest.expect(o.etag, unittest.equals('foo'));
838 checkUnnamed802(o.groups); 838 checkUnnamed818(o.groups);
839 unittest.expect(o.kind, unittest.equals('foo')); 839 unittest.expect(o.kind, unittest.equals('foo'));
840 unittest.expect(o.nextPageToken, unittest.equals('foo')); 840 unittest.expect(o.nextPageToken, unittest.equals('foo'));
841 } 841 }
842 buildCounterGroups--; 842 buildCounterGroups--;
843 } 843 }
844 844
845 core.int buildCounterMember = 0; 845 core.int buildCounterMember = 0;
846 buildMember() { 846 buildMember() {
847 var o = new api.Member(); 847 var o = new api.Member();
848 buildCounterMember++; 848 buildCounterMember++;
(...skipping 17 matching lines...) Expand all
866 unittest.expect(o.etag, unittest.equals('foo')); 866 unittest.expect(o.etag, unittest.equals('foo'));
867 unittest.expect(o.id, unittest.equals('foo')); 867 unittest.expect(o.id, unittest.equals('foo'));
868 unittest.expect(o.kind, unittest.equals('foo')); 868 unittest.expect(o.kind, unittest.equals('foo'));
869 unittest.expect(o.role, unittest.equals('foo')); 869 unittest.expect(o.role, unittest.equals('foo'));
870 unittest.expect(o.status, unittest.equals('foo')); 870 unittest.expect(o.status, unittest.equals('foo'));
871 unittest.expect(o.type, unittest.equals('foo')); 871 unittest.expect(o.type, unittest.equals('foo'));
872 } 872 }
873 buildCounterMember--; 873 buildCounterMember--;
874 } 874 }
875 875
876 buildUnnamed803() { 876 buildUnnamed819() {
877 var o = new core.List<api.Member>(); 877 var o = new core.List<api.Member>();
878 o.add(buildMember()); 878 o.add(buildMember());
879 o.add(buildMember()); 879 o.add(buildMember());
880 return o; 880 return o;
881 } 881 }
882 882
883 checkUnnamed803(core.List<api.Member> o) { 883 checkUnnamed819(core.List<api.Member> o) {
884 unittest.expect(o, unittest.hasLength(2)); 884 unittest.expect(o, unittest.hasLength(2));
885 checkMember(o[0]); 885 checkMember(o[0]);
886 checkMember(o[1]); 886 checkMember(o[1]);
887 } 887 }
888 888
889 core.int buildCounterMembers = 0; 889 core.int buildCounterMembers = 0;
890 buildMembers() { 890 buildMembers() {
891 var o = new api.Members(); 891 var o = new api.Members();
892 buildCounterMembers++; 892 buildCounterMembers++;
893 if (buildCounterMembers < 3) { 893 if (buildCounterMembers < 3) {
894 o.etag = "foo"; 894 o.etag = "foo";
895 o.kind = "foo"; 895 o.kind = "foo";
896 o.members = buildUnnamed803(); 896 o.members = buildUnnamed819();
897 o.nextPageToken = "foo"; 897 o.nextPageToken = "foo";
898 } 898 }
899 buildCounterMembers--; 899 buildCounterMembers--;
900 return o; 900 return o;
901 } 901 }
902 902
903 checkMembers(api.Members o) { 903 checkMembers(api.Members o) {
904 buildCounterMembers++; 904 buildCounterMembers++;
905 if (buildCounterMembers < 3) { 905 if (buildCounterMembers < 3) {
906 unittest.expect(o.etag, unittest.equals('foo')); 906 unittest.expect(o.etag, unittest.equals('foo'));
907 unittest.expect(o.kind, unittest.equals('foo')); 907 unittest.expect(o.kind, unittest.equals('foo'));
908 checkUnnamed803(o.members); 908 checkUnnamed819(o.members);
909 unittest.expect(o.nextPageToken, unittest.equals('foo')); 909 unittest.expect(o.nextPageToken, unittest.equals('foo'));
910 } 910 }
911 buildCounterMembers--; 911 buildCounterMembers--;
912 } 912 }
913 913
914 buildUnnamed804() { 914 buildUnnamed820() {
915 var o = new core.List<core.String>(); 915 var o = new core.List<core.String>();
916 o.add("foo"); 916 o.add("foo");
917 o.add("foo"); 917 o.add("foo");
918 return o; 918 return o;
919 } 919 }
920 920
921 checkUnnamed804(core.List<core.String> o) { 921 checkUnnamed820(core.List<core.String> o) {
922 unittest.expect(o, unittest.hasLength(2)); 922 unittest.expect(o, unittest.hasLength(2));
923 unittest.expect(o[0], unittest.equals('foo')); 923 unittest.expect(o[0], unittest.equals('foo'));
924 unittest.expect(o[1], unittest.equals('foo')); 924 unittest.expect(o[1], unittest.equals('foo'));
925 } 925 }
926 926
927 core.int buildCounterMobileDeviceApplications = 0; 927 core.int buildCounterMobileDeviceApplications = 0;
928 buildMobileDeviceApplications() { 928 buildMobileDeviceApplications() {
929 var o = new api.MobileDeviceApplications(); 929 var o = new api.MobileDeviceApplications();
930 buildCounterMobileDeviceApplications++; 930 buildCounterMobileDeviceApplications++;
931 if (buildCounterMobileDeviceApplications < 3) { 931 if (buildCounterMobileDeviceApplications < 3) {
932 o.displayName = "foo"; 932 o.displayName = "foo";
933 o.packageName = "foo"; 933 o.packageName = "foo";
934 o.permission = buildUnnamed804(); 934 o.permission = buildUnnamed820();
935 o.versionCode = 42; 935 o.versionCode = 42;
936 o.versionName = "foo"; 936 o.versionName = "foo";
937 } 937 }
938 buildCounterMobileDeviceApplications--; 938 buildCounterMobileDeviceApplications--;
939 return o; 939 return o;
940 } 940 }
941 941
942 checkMobileDeviceApplications(api.MobileDeviceApplications o) { 942 checkMobileDeviceApplications(api.MobileDeviceApplications o) {
943 buildCounterMobileDeviceApplications++; 943 buildCounterMobileDeviceApplications++;
944 if (buildCounterMobileDeviceApplications < 3) { 944 if (buildCounterMobileDeviceApplications < 3) {
945 unittest.expect(o.displayName, unittest.equals('foo')); 945 unittest.expect(o.displayName, unittest.equals('foo'));
946 unittest.expect(o.packageName, unittest.equals('foo')); 946 unittest.expect(o.packageName, unittest.equals('foo'));
947 checkUnnamed804(o.permission); 947 checkUnnamed820(o.permission);
948 unittest.expect(o.versionCode, unittest.equals(42)); 948 unittest.expect(o.versionCode, unittest.equals(42));
949 unittest.expect(o.versionName, unittest.equals('foo')); 949 unittest.expect(o.versionName, unittest.equals('foo'));
950 } 950 }
951 buildCounterMobileDeviceApplications--; 951 buildCounterMobileDeviceApplications--;
952 } 952 }
953 953
954 buildUnnamed805() { 954 buildUnnamed821() {
955 var o = new core.List<api.MobileDeviceApplications>(); 955 var o = new core.List<api.MobileDeviceApplications>();
956 o.add(buildMobileDeviceApplications()); 956 o.add(buildMobileDeviceApplications());
957 o.add(buildMobileDeviceApplications()); 957 o.add(buildMobileDeviceApplications());
958 return o; 958 return o;
959 } 959 }
960 960
961 checkUnnamed805(core.List<api.MobileDeviceApplications> o) { 961 checkUnnamed821(core.List<api.MobileDeviceApplications> o) {
962 unittest.expect(o, unittest.hasLength(2)); 962 unittest.expect(o, unittest.hasLength(2));
963 checkMobileDeviceApplications(o[0]); 963 checkMobileDeviceApplications(o[0]);
964 checkMobileDeviceApplications(o[1]); 964 checkMobileDeviceApplications(o[1]);
965 } 965 }
966 966
967 buildUnnamed806() { 967 buildUnnamed822() {
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 checkUnnamed806(core.List<core.String> o) { 974 checkUnnamed822(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 buildUnnamed807() { 980 buildUnnamed823() {
981 var o = new core.List<core.String>(); 981 var o = new core.List<core.String>();
982 o.add("foo"); 982 o.add("foo");
983 o.add("foo"); 983 o.add("foo");
984 return o; 984 return o;
985 } 985 }
986 986
987 checkUnnamed807(core.List<core.String> o) { 987 checkUnnamed823(core.List<core.String> o) {
988 unittest.expect(o, unittest.hasLength(2)); 988 unittest.expect(o, unittest.hasLength(2));
989 unittest.expect(o[0], unittest.equals('foo')); 989 unittest.expect(o[0], unittest.equals('foo'));
990 unittest.expect(o[1], unittest.equals('foo')); 990 unittest.expect(o[1], unittest.equals('foo'));
991 } 991 }
992 992
993 buildUnnamed808() { 993 buildUnnamed824() {
994 var o = new core.List<core.String>(); 994 var o = new core.List<core.String>();
995 o.add("foo"); 995 o.add("foo");
996 o.add("foo"); 996 o.add("foo");
997 return o; 997 return o;
998 } 998 }
999 999
1000 checkUnnamed808(core.List<core.String> o) { 1000 checkUnnamed824(core.List<core.String> o) {
1001 unittest.expect(o, unittest.hasLength(2)); 1001 unittest.expect(o, unittest.hasLength(2));
1002 unittest.expect(o[0], unittest.equals('foo')); 1002 unittest.expect(o[0], unittest.equals('foo'));
1003 unittest.expect(o[1], unittest.equals('foo')); 1003 unittest.expect(o[1], unittest.equals('foo'));
1004 } 1004 }
1005 1005
1006 core.int buildCounterMobileDevice = 0; 1006 core.int buildCounterMobileDevice = 0;
1007 buildMobileDevice() { 1007 buildMobileDevice() {
1008 var o = new api.MobileDevice(); 1008 var o = new api.MobileDevice();
1009 buildCounterMobileDevice++; 1009 buildCounterMobileDevice++;
1010 if (buildCounterMobileDevice < 3) { 1010 if (buildCounterMobileDevice < 3) {
1011 o.adbStatus = true; 1011 o.adbStatus = true;
1012 o.applications = buildUnnamed805(); 1012 o.applications = buildUnnamed821();
1013 o.basebandVersion = "foo"; 1013 o.basebandVersion = "foo";
1014 o.bootloaderVersion = "foo"; 1014 o.bootloaderVersion = "foo";
1015 o.brand = "foo"; 1015 o.brand = "foo";
1016 o.buildNumber = "foo"; 1016 o.buildNumber = "foo";
1017 o.defaultLanguage = "foo"; 1017 o.defaultLanguage = "foo";
1018 o.developerOptionsStatus = true; 1018 o.developerOptionsStatus = true;
1019 o.deviceCompromisedStatus = "foo"; 1019 o.deviceCompromisedStatus = "foo";
1020 o.deviceId = "foo"; 1020 o.deviceId = "foo";
1021 o.devicePasswordStatus = "foo"; 1021 o.devicePasswordStatus = "foo";
1022 o.email = buildUnnamed806(); 1022 o.email = buildUnnamed822();
1023 o.encryptionStatus = "foo"; 1023 o.encryptionStatus = "foo";
1024 o.etag = "foo"; 1024 o.etag = "foo";
1025 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); 1025 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
1026 o.hardware = "foo"; 1026 o.hardware = "foo";
1027 o.hardwareId = "foo"; 1027 o.hardwareId = "foo";
1028 o.imei = "foo"; 1028 o.imei = "foo";
1029 o.kernelVersion = "foo"; 1029 o.kernelVersion = "foo";
1030 o.kind = "foo"; 1030 o.kind = "foo";
1031 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); 1031 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02");
1032 o.managedAccountIsOnOwnerProfile = true; 1032 o.managedAccountIsOnOwnerProfile = true;
1033 o.manufacturer = "foo"; 1033 o.manufacturer = "foo";
1034 o.meid = "foo"; 1034 o.meid = "foo";
1035 o.model = "foo"; 1035 o.model = "foo";
1036 o.name = buildUnnamed807(); 1036 o.name = buildUnnamed823();
1037 o.networkOperator = "foo"; 1037 o.networkOperator = "foo";
1038 o.os = "foo"; 1038 o.os = "foo";
1039 o.otherAccountsInfo = buildUnnamed808(); 1039 o.otherAccountsInfo = buildUnnamed824();
1040 o.privilege = "foo"; 1040 o.privilege = "foo";
1041 o.releaseVersion = "foo"; 1041 o.releaseVersion = "foo";
1042 o.resourceId = "foo"; 1042 o.resourceId = "foo";
1043 o.securityPatchLevel = "foo"; 1043 o.securityPatchLevel = "foo";
1044 o.serialNumber = "foo"; 1044 o.serialNumber = "foo";
1045 o.status = "foo"; 1045 o.status = "foo";
1046 o.supportsWorkProfile = true; 1046 o.supportsWorkProfile = true;
1047 o.type = "foo"; 1047 o.type = "foo";
1048 o.unknownSourcesStatus = true; 1048 o.unknownSourcesStatus = true;
1049 o.userAgent = "foo"; 1049 o.userAgent = "foo";
1050 o.wifiMacAddress = "foo"; 1050 o.wifiMacAddress = "foo";
1051 } 1051 }
1052 buildCounterMobileDevice--; 1052 buildCounterMobileDevice--;
1053 return o; 1053 return o;
1054 } 1054 }
1055 1055
1056 checkMobileDevice(api.MobileDevice o) { 1056 checkMobileDevice(api.MobileDevice o) {
1057 buildCounterMobileDevice++; 1057 buildCounterMobileDevice++;
1058 if (buildCounterMobileDevice < 3) { 1058 if (buildCounterMobileDevice < 3) {
1059 unittest.expect(o.adbStatus, unittest.isTrue); 1059 unittest.expect(o.adbStatus, unittest.isTrue);
1060 checkUnnamed805(o.applications); 1060 checkUnnamed821(o.applications);
1061 unittest.expect(o.basebandVersion, unittest.equals('foo')); 1061 unittest.expect(o.basebandVersion, unittest.equals('foo'));
1062 unittest.expect(o.bootloaderVersion, unittest.equals('foo')); 1062 unittest.expect(o.bootloaderVersion, unittest.equals('foo'));
1063 unittest.expect(o.brand, unittest.equals('foo')); 1063 unittest.expect(o.brand, unittest.equals('foo'));
1064 unittest.expect(o.buildNumber, unittest.equals('foo')); 1064 unittest.expect(o.buildNumber, unittest.equals('foo'));
1065 unittest.expect(o.defaultLanguage, unittest.equals('foo')); 1065 unittest.expect(o.defaultLanguage, unittest.equals('foo'));
1066 unittest.expect(o.developerOptionsStatus, unittest.isTrue); 1066 unittest.expect(o.developerOptionsStatus, unittest.isTrue);
1067 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); 1067 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
1068 unittest.expect(o.deviceId, unittest.equals('foo')); 1068 unittest.expect(o.deviceId, unittest.equals('foo'));
1069 unittest.expect(o.devicePasswordStatus, unittest.equals('foo')); 1069 unittest.expect(o.devicePasswordStatus, unittest.equals('foo'));
1070 checkUnnamed806(o.email); 1070 checkUnnamed822(o.email);
1071 unittest.expect(o.encryptionStatus, unittest.equals('foo')); 1071 unittest.expect(o.encryptionStatus, unittest.equals('foo'));
1072 unittest.expect(o.etag, unittest.equals('foo')); 1072 unittest.expect(o.etag, unittest.equals('foo'));
1073 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02"))); 1073 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02")));
1074 unittest.expect(o.hardware, unittest.equals('foo')); 1074 unittest.expect(o.hardware, unittest.equals('foo'));
1075 unittest.expect(o.hardwareId, unittest.equals('foo')); 1075 unittest.expect(o.hardwareId, unittest.equals('foo'));
1076 unittest.expect(o.imei, unittest.equals('foo')); 1076 unittest.expect(o.imei, unittest.equals('foo'));
1077 unittest.expect(o.kernelVersion, unittest.equals('foo')); 1077 unittest.expect(o.kernelVersion, unittest.equals('foo'));
1078 unittest.expect(o.kind, unittest.equals('foo')); 1078 unittest.expect(o.kind, unittest.equals('foo'));
1079 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02"))); 1079 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02")));
1080 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); 1080 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue);
1081 unittest.expect(o.manufacturer, unittest.equals('foo')); 1081 unittest.expect(o.manufacturer, unittest.equals('foo'));
1082 unittest.expect(o.meid, unittest.equals('foo')); 1082 unittest.expect(o.meid, unittest.equals('foo'));
1083 unittest.expect(o.model, unittest.equals('foo')); 1083 unittest.expect(o.model, unittest.equals('foo'));
1084 checkUnnamed807(o.name); 1084 checkUnnamed823(o.name);
1085 unittest.expect(o.networkOperator, unittest.equals('foo')); 1085 unittest.expect(o.networkOperator, unittest.equals('foo'));
1086 unittest.expect(o.os, unittest.equals('foo')); 1086 unittest.expect(o.os, unittest.equals('foo'));
1087 checkUnnamed808(o.otherAccountsInfo); 1087 checkUnnamed824(o.otherAccountsInfo);
1088 unittest.expect(o.privilege, unittest.equals('foo')); 1088 unittest.expect(o.privilege, unittest.equals('foo'));
1089 unittest.expect(o.releaseVersion, unittest.equals('foo')); 1089 unittest.expect(o.releaseVersion, unittest.equals('foo'));
1090 unittest.expect(o.resourceId, unittest.equals('foo')); 1090 unittest.expect(o.resourceId, unittest.equals('foo'));
1091 unittest.expect(o.securityPatchLevel, unittest.equals('foo')); 1091 unittest.expect(o.securityPatchLevel, unittest.equals('foo'));
1092 unittest.expect(o.serialNumber, unittest.equals('foo')); 1092 unittest.expect(o.serialNumber, unittest.equals('foo'));
1093 unittest.expect(o.status, unittest.equals('foo')); 1093 unittest.expect(o.status, unittest.equals('foo'));
1094 unittest.expect(o.supportsWorkProfile, unittest.isTrue); 1094 unittest.expect(o.supportsWorkProfile, unittest.isTrue);
1095 unittest.expect(o.type, unittest.equals('foo')); 1095 unittest.expect(o.type, unittest.equals('foo'));
1096 unittest.expect(o.unknownSourcesStatus, unittest.isTrue); 1096 unittest.expect(o.unknownSourcesStatus, unittest.isTrue);
1097 unittest.expect(o.userAgent, unittest.equals('foo')); 1097 unittest.expect(o.userAgent, unittest.equals('foo'));
(...skipping 14 matching lines...) Expand all
1112 } 1112 }
1113 1113
1114 checkMobileDeviceAction(api.MobileDeviceAction o) { 1114 checkMobileDeviceAction(api.MobileDeviceAction o) {
1115 buildCounterMobileDeviceAction++; 1115 buildCounterMobileDeviceAction++;
1116 if (buildCounterMobileDeviceAction < 3) { 1116 if (buildCounterMobileDeviceAction < 3) {
1117 unittest.expect(o.action, unittest.equals('foo')); 1117 unittest.expect(o.action, unittest.equals('foo'));
1118 } 1118 }
1119 buildCounterMobileDeviceAction--; 1119 buildCounterMobileDeviceAction--;
1120 } 1120 }
1121 1121
1122 buildUnnamed809() { 1122 buildUnnamed825() {
1123 var o = new core.List<api.MobileDevice>(); 1123 var o = new core.List<api.MobileDevice>();
1124 o.add(buildMobileDevice()); 1124 o.add(buildMobileDevice());
1125 o.add(buildMobileDevice()); 1125 o.add(buildMobileDevice());
1126 return o; 1126 return o;
1127 } 1127 }
1128 1128
1129 checkUnnamed809(core.List<api.MobileDevice> o) { 1129 checkUnnamed825(core.List<api.MobileDevice> o) {
1130 unittest.expect(o, unittest.hasLength(2)); 1130 unittest.expect(o, unittest.hasLength(2));
1131 checkMobileDevice(o[0]); 1131 checkMobileDevice(o[0]);
1132 checkMobileDevice(o[1]); 1132 checkMobileDevice(o[1]);
1133 } 1133 }
1134 1134
1135 core.int buildCounterMobileDevices = 0; 1135 core.int buildCounterMobileDevices = 0;
1136 buildMobileDevices() { 1136 buildMobileDevices() {
1137 var o = new api.MobileDevices(); 1137 var o = new api.MobileDevices();
1138 buildCounterMobileDevices++; 1138 buildCounterMobileDevices++;
1139 if (buildCounterMobileDevices < 3) { 1139 if (buildCounterMobileDevices < 3) {
1140 o.etag = "foo"; 1140 o.etag = "foo";
1141 o.kind = "foo"; 1141 o.kind = "foo";
1142 o.mobiledevices = buildUnnamed809(); 1142 o.mobiledevices = buildUnnamed825();
1143 o.nextPageToken = "foo"; 1143 o.nextPageToken = "foo";
1144 } 1144 }
1145 buildCounterMobileDevices--; 1145 buildCounterMobileDevices--;
1146 return o; 1146 return o;
1147 } 1147 }
1148 1148
1149 checkMobileDevices(api.MobileDevices o) { 1149 checkMobileDevices(api.MobileDevices o) {
1150 buildCounterMobileDevices++; 1150 buildCounterMobileDevices++;
1151 if (buildCounterMobileDevices < 3) { 1151 if (buildCounterMobileDevices < 3) {
1152 unittest.expect(o.etag, unittest.equals('foo')); 1152 unittest.expect(o.etag, unittest.equals('foo'));
1153 unittest.expect(o.kind, unittest.equals('foo')); 1153 unittest.expect(o.kind, unittest.equals('foo'));
1154 checkUnnamed809(o.mobiledevices); 1154 checkUnnamed825(o.mobiledevices);
1155 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1155 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1156 } 1156 }
1157 buildCounterMobileDevices--; 1157 buildCounterMobileDevices--;
1158 } 1158 }
1159 1159
1160 core.int buildCounterNotification = 0; 1160 core.int buildCounterNotification = 0;
1161 buildNotification() { 1161 buildNotification() {
1162 var o = new api.Notification(); 1162 var o = new api.Notification();
1163 buildCounterNotification++; 1163 buildCounterNotification++;
1164 if (buildCounterNotification < 3) { 1164 if (buildCounterNotification < 3) {
(...skipping 18 matching lines...) Expand all
1183 unittest.expect(o.fromAddress, unittest.equals('foo')); 1183 unittest.expect(o.fromAddress, unittest.equals('foo'));
1184 unittest.expect(o.isUnread, unittest.isTrue); 1184 unittest.expect(o.isUnread, unittest.isTrue);
1185 unittest.expect(o.kind, unittest.equals('foo')); 1185 unittest.expect(o.kind, unittest.equals('foo'));
1186 unittest.expect(o.notificationId, unittest.equals('foo')); 1186 unittest.expect(o.notificationId, unittest.equals('foo'));
1187 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02"))); 1187 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02")));
1188 unittest.expect(o.subject, unittest.equals('foo')); 1188 unittest.expect(o.subject, unittest.equals('foo'));
1189 } 1189 }
1190 buildCounterNotification--; 1190 buildCounterNotification--;
1191 } 1191 }
1192 1192
1193 buildUnnamed810() { 1193 buildUnnamed826() {
1194 var o = new core.List<api.Notification>(); 1194 var o = new core.List<api.Notification>();
1195 o.add(buildNotification()); 1195 o.add(buildNotification());
1196 o.add(buildNotification()); 1196 o.add(buildNotification());
1197 return o; 1197 return o;
1198 } 1198 }
1199 1199
1200 checkUnnamed810(core.List<api.Notification> o) { 1200 checkUnnamed826(core.List<api.Notification> o) {
1201 unittest.expect(o, unittest.hasLength(2)); 1201 unittest.expect(o, unittest.hasLength(2));
1202 checkNotification(o[0]); 1202 checkNotification(o[0]);
1203 checkNotification(o[1]); 1203 checkNotification(o[1]);
1204 } 1204 }
1205 1205
1206 core.int buildCounterNotifications = 0; 1206 core.int buildCounterNotifications = 0;
1207 buildNotifications() { 1207 buildNotifications() {
1208 var o = new api.Notifications(); 1208 var o = new api.Notifications();
1209 buildCounterNotifications++; 1209 buildCounterNotifications++;
1210 if (buildCounterNotifications < 3) { 1210 if (buildCounterNotifications < 3) {
1211 o.etag = "foo"; 1211 o.etag = "foo";
1212 o.items = buildUnnamed810(); 1212 o.items = buildUnnamed826();
1213 o.kind = "foo"; 1213 o.kind = "foo";
1214 o.nextPageToken = "foo"; 1214 o.nextPageToken = "foo";
1215 o.unreadNotificationsCount = 42; 1215 o.unreadNotificationsCount = 42;
1216 } 1216 }
1217 buildCounterNotifications--; 1217 buildCounterNotifications--;
1218 return o; 1218 return o;
1219 } 1219 }
1220 1220
1221 checkNotifications(api.Notifications o) { 1221 checkNotifications(api.Notifications o) {
1222 buildCounterNotifications++; 1222 buildCounterNotifications++;
1223 if (buildCounterNotifications < 3) { 1223 if (buildCounterNotifications < 3) {
1224 unittest.expect(o.etag, unittest.equals('foo')); 1224 unittest.expect(o.etag, unittest.equals('foo'));
1225 checkUnnamed810(o.items); 1225 checkUnnamed826(o.items);
1226 unittest.expect(o.kind, unittest.equals('foo')); 1226 unittest.expect(o.kind, unittest.equals('foo'));
1227 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1227 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1228 unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); 1228 unittest.expect(o.unreadNotificationsCount, unittest.equals(42));
1229 } 1229 }
1230 buildCounterNotifications--; 1230 buildCounterNotifications--;
1231 } 1231 }
1232 1232
1233 core.int buildCounterOrgUnit = 0; 1233 core.int buildCounterOrgUnit = 0;
1234 buildOrgUnit() { 1234 buildOrgUnit() {
1235 var o = new api.OrgUnit(); 1235 var o = new api.OrgUnit();
(...skipping 22 matching lines...) Expand all
1258 unittest.expect(o.kind, unittest.equals('foo')); 1258 unittest.expect(o.kind, unittest.equals('foo'));
1259 unittest.expect(o.name, unittest.equals('foo')); 1259 unittest.expect(o.name, unittest.equals('foo'));
1260 unittest.expect(o.orgUnitId, unittest.equals('foo')); 1260 unittest.expect(o.orgUnitId, unittest.equals('foo'));
1261 unittest.expect(o.orgUnitPath, unittest.equals('foo')); 1261 unittest.expect(o.orgUnitPath, unittest.equals('foo'));
1262 unittest.expect(o.parentOrgUnitId, unittest.equals('foo')); 1262 unittest.expect(o.parentOrgUnitId, unittest.equals('foo'));
1263 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo')); 1263 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo'));
1264 } 1264 }
1265 buildCounterOrgUnit--; 1265 buildCounterOrgUnit--;
1266 } 1266 }
1267 1267
1268 buildUnnamed811() { 1268 buildUnnamed827() {
1269 var o = new core.List<api.OrgUnit>(); 1269 var o = new core.List<api.OrgUnit>();
1270 o.add(buildOrgUnit()); 1270 o.add(buildOrgUnit());
1271 o.add(buildOrgUnit()); 1271 o.add(buildOrgUnit());
1272 return o; 1272 return o;
1273 } 1273 }
1274 1274
1275 checkUnnamed811(core.List<api.OrgUnit> o) { 1275 checkUnnamed827(core.List<api.OrgUnit> o) {
1276 unittest.expect(o, unittest.hasLength(2)); 1276 unittest.expect(o, unittest.hasLength(2));
1277 checkOrgUnit(o[0]); 1277 checkOrgUnit(o[0]);
1278 checkOrgUnit(o[1]); 1278 checkOrgUnit(o[1]);
1279 } 1279 }
1280 1280
1281 core.int buildCounterOrgUnits = 0; 1281 core.int buildCounterOrgUnits = 0;
1282 buildOrgUnits() { 1282 buildOrgUnits() {
1283 var o = new api.OrgUnits(); 1283 var o = new api.OrgUnits();
1284 buildCounterOrgUnits++; 1284 buildCounterOrgUnits++;
1285 if (buildCounterOrgUnits < 3) { 1285 if (buildCounterOrgUnits < 3) {
1286 o.etag = "foo"; 1286 o.etag = "foo";
1287 o.kind = "foo"; 1287 o.kind = "foo";
1288 o.organizationUnits = buildUnnamed811(); 1288 o.organizationUnits = buildUnnamed827();
1289 } 1289 }
1290 buildCounterOrgUnits--; 1290 buildCounterOrgUnits--;
1291 return o; 1291 return o;
1292 } 1292 }
1293 1293
1294 checkOrgUnits(api.OrgUnits o) { 1294 checkOrgUnits(api.OrgUnits o) {
1295 buildCounterOrgUnits++; 1295 buildCounterOrgUnits++;
1296 if (buildCounterOrgUnits < 3) { 1296 if (buildCounterOrgUnits < 3) {
1297 unittest.expect(o.etag, unittest.equals('foo')); 1297 unittest.expect(o.etag, unittest.equals('foo'));
1298 unittest.expect(o.kind, unittest.equals('foo')); 1298 unittest.expect(o.kind, unittest.equals('foo'));
1299 checkUnnamed811(o.organizationUnits); 1299 checkUnnamed827(o.organizationUnits);
1300 } 1300 }
1301 buildCounterOrgUnits--; 1301 buildCounterOrgUnits--;
1302 } 1302 }
1303 1303
1304 buildUnnamed812() { 1304 buildUnnamed828() {
1305 var o = new core.List<api.Privilege>(); 1305 var o = new core.List<api.Privilege>();
1306 o.add(buildPrivilege()); 1306 o.add(buildPrivilege());
1307 o.add(buildPrivilege()); 1307 o.add(buildPrivilege());
1308 return o; 1308 return o;
1309 } 1309 }
1310 1310
1311 checkUnnamed812(core.List<api.Privilege> o) { 1311 checkUnnamed828(core.List<api.Privilege> o) {
1312 unittest.expect(o, unittest.hasLength(2)); 1312 unittest.expect(o, unittest.hasLength(2));
1313 checkPrivilege(o[0]); 1313 checkPrivilege(o[0]);
1314 checkPrivilege(o[1]); 1314 checkPrivilege(o[1]);
1315 } 1315 }
1316 1316
1317 core.int buildCounterPrivilege = 0; 1317 core.int buildCounterPrivilege = 0;
1318 buildPrivilege() { 1318 buildPrivilege() {
1319 var o = new api.Privilege(); 1319 var o = new api.Privilege();
1320 buildCounterPrivilege++; 1320 buildCounterPrivilege++;
1321 if (buildCounterPrivilege < 3) { 1321 if (buildCounterPrivilege < 3) {
1322 o.childPrivileges = buildUnnamed812(); 1322 o.childPrivileges = buildUnnamed828();
1323 o.etag = "foo"; 1323 o.etag = "foo";
1324 o.isOuScopable = true; 1324 o.isOuScopable = true;
1325 o.kind = "foo"; 1325 o.kind = "foo";
1326 o.privilegeName = "foo"; 1326 o.privilegeName = "foo";
1327 o.serviceId = "foo"; 1327 o.serviceId = "foo";
1328 o.serviceName = "foo"; 1328 o.serviceName = "foo";
1329 } 1329 }
1330 buildCounterPrivilege--; 1330 buildCounterPrivilege--;
1331 return o; 1331 return o;
1332 } 1332 }
1333 1333
1334 checkPrivilege(api.Privilege o) { 1334 checkPrivilege(api.Privilege o) {
1335 buildCounterPrivilege++; 1335 buildCounterPrivilege++;
1336 if (buildCounterPrivilege < 3) { 1336 if (buildCounterPrivilege < 3) {
1337 checkUnnamed812(o.childPrivileges); 1337 checkUnnamed828(o.childPrivileges);
1338 unittest.expect(o.etag, unittest.equals('foo')); 1338 unittest.expect(o.etag, unittest.equals('foo'));
1339 unittest.expect(o.isOuScopable, unittest.isTrue); 1339 unittest.expect(o.isOuScopable, unittest.isTrue);
1340 unittest.expect(o.kind, unittest.equals('foo')); 1340 unittest.expect(o.kind, unittest.equals('foo'));
1341 unittest.expect(o.privilegeName, unittest.equals('foo')); 1341 unittest.expect(o.privilegeName, unittest.equals('foo'));
1342 unittest.expect(o.serviceId, unittest.equals('foo')); 1342 unittest.expect(o.serviceId, unittest.equals('foo'));
1343 unittest.expect(o.serviceName, unittest.equals('foo')); 1343 unittest.expect(o.serviceName, unittest.equals('foo'));
1344 } 1344 }
1345 buildCounterPrivilege--; 1345 buildCounterPrivilege--;
1346 } 1346 }
1347 1347
1348 buildUnnamed813() { 1348 buildUnnamed829() {
1349 var o = new core.List<api.Privilege>(); 1349 var o = new core.List<api.Privilege>();
1350 o.add(buildPrivilege()); 1350 o.add(buildPrivilege());
1351 o.add(buildPrivilege()); 1351 o.add(buildPrivilege());
1352 return o; 1352 return o;
1353 } 1353 }
1354 1354
1355 checkUnnamed813(core.List<api.Privilege> o) { 1355 checkUnnamed829(core.List<api.Privilege> o) {
1356 unittest.expect(o, unittest.hasLength(2)); 1356 unittest.expect(o, unittest.hasLength(2));
1357 checkPrivilege(o[0]); 1357 checkPrivilege(o[0]);
1358 checkPrivilege(o[1]); 1358 checkPrivilege(o[1]);
1359 } 1359 }
1360 1360
1361 core.int buildCounterPrivileges = 0; 1361 core.int buildCounterPrivileges = 0;
1362 buildPrivileges() { 1362 buildPrivileges() {
1363 var o = new api.Privileges(); 1363 var o = new api.Privileges();
1364 buildCounterPrivileges++; 1364 buildCounterPrivileges++;
1365 if (buildCounterPrivileges < 3) { 1365 if (buildCounterPrivileges < 3) {
1366 o.etag = "foo"; 1366 o.etag = "foo";
1367 o.items = buildUnnamed813(); 1367 o.items = buildUnnamed829();
1368 o.kind = "foo"; 1368 o.kind = "foo";
1369 } 1369 }
1370 buildCounterPrivileges--; 1370 buildCounterPrivileges--;
1371 return o; 1371 return o;
1372 } 1372 }
1373 1373
1374 checkPrivileges(api.Privileges o) { 1374 checkPrivileges(api.Privileges o) {
1375 buildCounterPrivileges++; 1375 buildCounterPrivileges++;
1376 if (buildCounterPrivileges < 3) { 1376 if (buildCounterPrivileges < 3) {
1377 unittest.expect(o.etag, unittest.equals('foo')); 1377 unittest.expect(o.etag, unittest.equals('foo'));
1378 checkUnnamed813(o.items); 1378 checkUnnamed829(o.items);
1379 unittest.expect(o.kind, unittest.equals('foo')); 1379 unittest.expect(o.kind, unittest.equals('foo'));
1380 } 1380 }
1381 buildCounterPrivileges--; 1381 buildCounterPrivileges--;
1382 } 1382 }
1383 1383
1384 core.int buildCounterRoleRolePrivileges = 0; 1384 core.int buildCounterRoleRolePrivileges = 0;
1385 buildRoleRolePrivileges() { 1385 buildRoleRolePrivileges() {
1386 var o = new api.RoleRolePrivileges(); 1386 var o = new api.RoleRolePrivileges();
1387 buildCounterRoleRolePrivileges++; 1387 buildCounterRoleRolePrivileges++;
1388 if (buildCounterRoleRolePrivileges < 3) { 1388 if (buildCounterRoleRolePrivileges < 3) {
1389 o.privilegeName = "foo"; 1389 o.privilegeName = "foo";
1390 o.serviceId = "foo"; 1390 o.serviceId = "foo";
1391 } 1391 }
1392 buildCounterRoleRolePrivileges--; 1392 buildCounterRoleRolePrivileges--;
1393 return o; 1393 return o;
1394 } 1394 }
1395 1395
1396 checkRoleRolePrivileges(api.RoleRolePrivileges o) { 1396 checkRoleRolePrivileges(api.RoleRolePrivileges o) {
1397 buildCounterRoleRolePrivileges++; 1397 buildCounterRoleRolePrivileges++;
1398 if (buildCounterRoleRolePrivileges < 3) { 1398 if (buildCounterRoleRolePrivileges < 3) {
1399 unittest.expect(o.privilegeName, unittest.equals('foo')); 1399 unittest.expect(o.privilegeName, unittest.equals('foo'));
1400 unittest.expect(o.serviceId, unittest.equals('foo')); 1400 unittest.expect(o.serviceId, unittest.equals('foo'));
1401 } 1401 }
1402 buildCounterRoleRolePrivileges--; 1402 buildCounterRoleRolePrivileges--;
1403 } 1403 }
1404 1404
1405 buildUnnamed814() { 1405 buildUnnamed830() {
1406 var o = new core.List<api.RoleRolePrivileges>(); 1406 var o = new core.List<api.RoleRolePrivileges>();
1407 o.add(buildRoleRolePrivileges()); 1407 o.add(buildRoleRolePrivileges());
1408 o.add(buildRoleRolePrivileges()); 1408 o.add(buildRoleRolePrivileges());
1409 return o; 1409 return o;
1410 } 1410 }
1411 1411
1412 checkUnnamed814(core.List<api.RoleRolePrivileges> o) { 1412 checkUnnamed830(core.List<api.RoleRolePrivileges> o) {
1413 unittest.expect(o, unittest.hasLength(2)); 1413 unittest.expect(o, unittest.hasLength(2));
1414 checkRoleRolePrivileges(o[0]); 1414 checkRoleRolePrivileges(o[0]);
1415 checkRoleRolePrivileges(o[1]); 1415 checkRoleRolePrivileges(o[1]);
1416 } 1416 }
1417 1417
1418 core.int buildCounterRole = 0; 1418 core.int buildCounterRole = 0;
1419 buildRole() { 1419 buildRole() {
1420 var o = new api.Role(); 1420 var o = new api.Role();
1421 buildCounterRole++; 1421 buildCounterRole++;
1422 if (buildCounterRole < 3) { 1422 if (buildCounterRole < 3) {
1423 o.etag = "foo"; 1423 o.etag = "foo";
1424 o.isSuperAdminRole = true; 1424 o.isSuperAdminRole = true;
1425 o.isSystemRole = true; 1425 o.isSystemRole = true;
1426 o.kind = "foo"; 1426 o.kind = "foo";
1427 o.roleDescription = "foo"; 1427 o.roleDescription = "foo";
1428 o.roleId = "foo"; 1428 o.roleId = "foo";
1429 o.roleName = "foo"; 1429 o.roleName = "foo";
1430 o.rolePrivileges = buildUnnamed814(); 1430 o.rolePrivileges = buildUnnamed830();
1431 } 1431 }
1432 buildCounterRole--; 1432 buildCounterRole--;
1433 return o; 1433 return o;
1434 } 1434 }
1435 1435
1436 checkRole(api.Role o) { 1436 checkRole(api.Role o) {
1437 buildCounterRole++; 1437 buildCounterRole++;
1438 if (buildCounterRole < 3) { 1438 if (buildCounterRole < 3) {
1439 unittest.expect(o.etag, unittest.equals('foo')); 1439 unittest.expect(o.etag, unittest.equals('foo'));
1440 unittest.expect(o.isSuperAdminRole, unittest.isTrue); 1440 unittest.expect(o.isSuperAdminRole, unittest.isTrue);
1441 unittest.expect(o.isSystemRole, unittest.isTrue); 1441 unittest.expect(o.isSystemRole, unittest.isTrue);
1442 unittest.expect(o.kind, unittest.equals('foo')); 1442 unittest.expect(o.kind, unittest.equals('foo'));
1443 unittest.expect(o.roleDescription, unittest.equals('foo')); 1443 unittest.expect(o.roleDescription, unittest.equals('foo'));
1444 unittest.expect(o.roleId, unittest.equals('foo')); 1444 unittest.expect(o.roleId, unittest.equals('foo'));
1445 unittest.expect(o.roleName, unittest.equals('foo')); 1445 unittest.expect(o.roleName, unittest.equals('foo'));
1446 checkUnnamed814(o.rolePrivileges); 1446 checkUnnamed830(o.rolePrivileges);
1447 } 1447 }
1448 buildCounterRole--; 1448 buildCounterRole--;
1449 } 1449 }
1450 1450
1451 core.int buildCounterRoleAssignment = 0; 1451 core.int buildCounterRoleAssignment = 0;
1452 buildRoleAssignment() { 1452 buildRoleAssignment() {
1453 var o = new api.RoleAssignment(); 1453 var o = new api.RoleAssignment();
1454 buildCounterRoleAssignment++; 1454 buildCounterRoleAssignment++;
1455 if (buildCounterRoleAssignment < 3) { 1455 if (buildCounterRoleAssignment < 3) {
1456 o.assignedTo = "foo"; 1456 o.assignedTo = "foo";
(...skipping 15 matching lines...) Expand all
1472 unittest.expect(o.etag, unittest.equals('foo')); 1472 unittest.expect(o.etag, unittest.equals('foo'));
1473 unittest.expect(o.kind, unittest.equals('foo')); 1473 unittest.expect(o.kind, unittest.equals('foo'));
1474 unittest.expect(o.orgUnitId, unittest.equals('foo')); 1474 unittest.expect(o.orgUnitId, unittest.equals('foo'));
1475 unittest.expect(o.roleAssignmentId, unittest.equals('foo')); 1475 unittest.expect(o.roleAssignmentId, unittest.equals('foo'));
1476 unittest.expect(o.roleId, unittest.equals('foo')); 1476 unittest.expect(o.roleId, unittest.equals('foo'));
1477 unittest.expect(o.scopeType, unittest.equals('foo')); 1477 unittest.expect(o.scopeType, unittest.equals('foo'));
1478 } 1478 }
1479 buildCounterRoleAssignment--; 1479 buildCounterRoleAssignment--;
1480 } 1480 }
1481 1481
1482 buildUnnamed815() { 1482 buildUnnamed831() {
1483 var o = new core.List<api.RoleAssignment>(); 1483 var o = new core.List<api.RoleAssignment>();
1484 o.add(buildRoleAssignment()); 1484 o.add(buildRoleAssignment());
1485 o.add(buildRoleAssignment()); 1485 o.add(buildRoleAssignment());
1486 return o; 1486 return o;
1487 } 1487 }
1488 1488
1489 checkUnnamed815(core.List<api.RoleAssignment> o) { 1489 checkUnnamed831(core.List<api.RoleAssignment> o) {
1490 unittest.expect(o, unittest.hasLength(2)); 1490 unittest.expect(o, unittest.hasLength(2));
1491 checkRoleAssignment(o[0]); 1491 checkRoleAssignment(o[0]);
1492 checkRoleAssignment(o[1]); 1492 checkRoleAssignment(o[1]);
1493 } 1493 }
1494 1494
1495 core.int buildCounterRoleAssignments = 0; 1495 core.int buildCounterRoleAssignments = 0;
1496 buildRoleAssignments() { 1496 buildRoleAssignments() {
1497 var o = new api.RoleAssignments(); 1497 var o = new api.RoleAssignments();
1498 buildCounterRoleAssignments++; 1498 buildCounterRoleAssignments++;
1499 if (buildCounterRoleAssignments < 3) { 1499 if (buildCounterRoleAssignments < 3) {
1500 o.etag = "foo"; 1500 o.etag = "foo";
1501 o.items = buildUnnamed815(); 1501 o.items = buildUnnamed831();
1502 o.kind = "foo"; 1502 o.kind = "foo";
1503 o.nextPageToken = "foo"; 1503 o.nextPageToken = "foo";
1504 } 1504 }
1505 buildCounterRoleAssignments--; 1505 buildCounterRoleAssignments--;
1506 return o; 1506 return o;
1507 } 1507 }
1508 1508
1509 checkRoleAssignments(api.RoleAssignments o) { 1509 checkRoleAssignments(api.RoleAssignments o) {
1510 buildCounterRoleAssignments++; 1510 buildCounterRoleAssignments++;
1511 if (buildCounterRoleAssignments < 3) { 1511 if (buildCounterRoleAssignments < 3) {
1512 unittest.expect(o.etag, unittest.equals('foo')); 1512 unittest.expect(o.etag, unittest.equals('foo'));
1513 checkUnnamed815(o.items); 1513 checkUnnamed831(o.items);
1514 unittest.expect(o.kind, unittest.equals('foo')); 1514 unittest.expect(o.kind, unittest.equals('foo'));
1515 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1515 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1516 } 1516 }
1517 buildCounterRoleAssignments--; 1517 buildCounterRoleAssignments--;
1518 } 1518 }
1519 1519
1520 buildUnnamed816() { 1520 buildUnnamed832() {
1521 var o = new core.List<api.Role>(); 1521 var o = new core.List<api.Role>();
1522 o.add(buildRole()); 1522 o.add(buildRole());
1523 o.add(buildRole()); 1523 o.add(buildRole());
1524 return o; 1524 return o;
1525 } 1525 }
1526 1526
1527 checkUnnamed816(core.List<api.Role> o) { 1527 checkUnnamed832(core.List<api.Role> o) {
1528 unittest.expect(o, unittest.hasLength(2)); 1528 unittest.expect(o, unittest.hasLength(2));
1529 checkRole(o[0]); 1529 checkRole(o[0]);
1530 checkRole(o[1]); 1530 checkRole(o[1]);
1531 } 1531 }
1532 1532
1533 core.int buildCounterRoles = 0; 1533 core.int buildCounterRoles = 0;
1534 buildRoles() { 1534 buildRoles() {
1535 var o = new api.Roles(); 1535 var o = new api.Roles();
1536 buildCounterRoles++; 1536 buildCounterRoles++;
1537 if (buildCounterRoles < 3) { 1537 if (buildCounterRoles < 3) {
1538 o.etag = "foo"; 1538 o.etag = "foo";
1539 o.items = buildUnnamed816(); 1539 o.items = buildUnnamed832();
1540 o.kind = "foo"; 1540 o.kind = "foo";
1541 o.nextPageToken = "foo"; 1541 o.nextPageToken = "foo";
1542 } 1542 }
1543 buildCounterRoles--; 1543 buildCounterRoles--;
1544 return o; 1544 return o;
1545 } 1545 }
1546 1546
1547 checkRoles(api.Roles o) { 1547 checkRoles(api.Roles o) {
1548 buildCounterRoles++; 1548 buildCounterRoles++;
1549 if (buildCounterRoles < 3) { 1549 if (buildCounterRoles < 3) {
1550 unittest.expect(o.etag, unittest.equals('foo')); 1550 unittest.expect(o.etag, unittest.equals('foo'));
1551 checkUnnamed816(o.items); 1551 checkUnnamed832(o.items);
1552 unittest.expect(o.kind, unittest.equals('foo')); 1552 unittest.expect(o.kind, unittest.equals('foo'));
1553 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1553 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1554 } 1554 }
1555 buildCounterRoles--; 1555 buildCounterRoles--;
1556 } 1556 }
1557 1557
1558 buildUnnamed817() { 1558 buildUnnamed833() {
1559 var o = new core.List<api.SchemaFieldSpec>(); 1559 var o = new core.List<api.SchemaFieldSpec>();
1560 o.add(buildSchemaFieldSpec()); 1560 o.add(buildSchemaFieldSpec());
1561 o.add(buildSchemaFieldSpec()); 1561 o.add(buildSchemaFieldSpec());
1562 return o; 1562 return o;
1563 } 1563 }
1564 1564
1565 checkUnnamed817(core.List<api.SchemaFieldSpec> o) { 1565 checkUnnamed833(core.List<api.SchemaFieldSpec> o) {
1566 unittest.expect(o, unittest.hasLength(2)); 1566 unittest.expect(o, unittest.hasLength(2));
1567 checkSchemaFieldSpec(o[0]); 1567 checkSchemaFieldSpec(o[0]);
1568 checkSchemaFieldSpec(o[1]); 1568 checkSchemaFieldSpec(o[1]);
1569 } 1569 }
1570 1570
1571 core.int buildCounterSchema = 0; 1571 core.int buildCounterSchema = 0;
1572 buildSchema() { 1572 buildSchema() {
1573 var o = new api.Schema(); 1573 var o = new api.Schema();
1574 buildCounterSchema++; 1574 buildCounterSchema++;
1575 if (buildCounterSchema < 3) { 1575 if (buildCounterSchema < 3) {
1576 o.etag = "foo"; 1576 o.etag = "foo";
1577 o.fields = buildUnnamed817(); 1577 o.fields = buildUnnamed833();
1578 o.kind = "foo"; 1578 o.kind = "foo";
1579 o.schemaId = "foo"; 1579 o.schemaId = "foo";
1580 o.schemaName = "foo"; 1580 o.schemaName = "foo";
1581 } 1581 }
1582 buildCounterSchema--; 1582 buildCounterSchema--;
1583 return o; 1583 return o;
1584 } 1584 }
1585 1585
1586 checkSchema(api.Schema o) { 1586 checkSchema(api.Schema o) {
1587 buildCounterSchema++; 1587 buildCounterSchema++;
1588 if (buildCounterSchema < 3) { 1588 if (buildCounterSchema < 3) {
1589 unittest.expect(o.etag, unittest.equals('foo')); 1589 unittest.expect(o.etag, unittest.equals('foo'));
1590 checkUnnamed817(o.fields); 1590 checkUnnamed833(o.fields);
1591 unittest.expect(o.kind, unittest.equals('foo')); 1591 unittest.expect(o.kind, unittest.equals('foo'));
1592 unittest.expect(o.schemaId, unittest.equals('foo')); 1592 unittest.expect(o.schemaId, unittest.equals('foo'));
1593 unittest.expect(o.schemaName, unittest.equals('foo')); 1593 unittest.expect(o.schemaName, unittest.equals('foo'));
1594 } 1594 }
1595 buildCounterSchema--; 1595 buildCounterSchema--;
1596 } 1596 }
1597 1597
1598 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0; 1598 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0;
1599 buildSchemaFieldSpecNumericIndexingSpec() { 1599 buildSchemaFieldSpecNumericIndexingSpec() {
1600 var o = new api.SchemaFieldSpecNumericIndexingSpec(); 1600 var o = new api.SchemaFieldSpecNumericIndexingSpec();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1644 unittest.expect(o.fieldType, unittest.equals('foo')); 1644 unittest.expect(o.fieldType, unittest.equals('foo'));
1645 unittest.expect(o.indexed, unittest.isTrue); 1645 unittest.expect(o.indexed, unittest.isTrue);
1646 unittest.expect(o.kind, unittest.equals('foo')); 1646 unittest.expect(o.kind, unittest.equals('foo'));
1647 unittest.expect(o.multiValued, unittest.isTrue); 1647 unittest.expect(o.multiValued, unittest.isTrue);
1648 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec); 1648 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec);
1649 unittest.expect(o.readAccessType, unittest.equals('foo')); 1649 unittest.expect(o.readAccessType, unittest.equals('foo'));
1650 } 1650 }
1651 buildCounterSchemaFieldSpec--; 1651 buildCounterSchemaFieldSpec--;
1652 } 1652 }
1653 1653
1654 buildUnnamed818() { 1654 buildUnnamed834() {
1655 var o = new core.List<api.Schema>(); 1655 var o = new core.List<api.Schema>();
1656 o.add(buildSchema()); 1656 o.add(buildSchema());
1657 o.add(buildSchema()); 1657 o.add(buildSchema());
1658 return o; 1658 return o;
1659 } 1659 }
1660 1660
1661 checkUnnamed818(core.List<api.Schema> o) { 1661 checkUnnamed834(core.List<api.Schema> o) {
1662 unittest.expect(o, unittest.hasLength(2)); 1662 unittest.expect(o, unittest.hasLength(2));
1663 checkSchema(o[0]); 1663 checkSchema(o[0]);
1664 checkSchema(o[1]); 1664 checkSchema(o[1]);
1665 } 1665 }
1666 1666
1667 core.int buildCounterSchemas = 0; 1667 core.int buildCounterSchemas = 0;
1668 buildSchemas() { 1668 buildSchemas() {
1669 var o = new api.Schemas(); 1669 var o = new api.Schemas();
1670 buildCounterSchemas++; 1670 buildCounterSchemas++;
1671 if (buildCounterSchemas < 3) { 1671 if (buildCounterSchemas < 3) {
1672 o.etag = "foo"; 1672 o.etag = "foo";
1673 o.kind = "foo"; 1673 o.kind = "foo";
1674 o.schemas = buildUnnamed818(); 1674 o.schemas = buildUnnamed834();
1675 } 1675 }
1676 buildCounterSchemas--; 1676 buildCounterSchemas--;
1677 return o; 1677 return o;
1678 } 1678 }
1679 1679
1680 checkSchemas(api.Schemas o) { 1680 checkSchemas(api.Schemas o) {
1681 buildCounterSchemas++; 1681 buildCounterSchemas++;
1682 if (buildCounterSchemas < 3) { 1682 if (buildCounterSchemas < 3) {
1683 unittest.expect(o.etag, unittest.equals('foo')); 1683 unittest.expect(o.etag, unittest.equals('foo'));
1684 unittest.expect(o.kind, unittest.equals('foo')); 1684 unittest.expect(o.kind, unittest.equals('foo'));
1685 checkUnnamed818(o.schemas); 1685 checkUnnamed834(o.schemas);
1686 } 1686 }
1687 buildCounterSchemas--; 1687 buildCounterSchemas--;
1688 } 1688 }
1689 1689
1690 buildUnnamed819() { 1690 buildUnnamed835() {
1691 var o = new core.List<core.String>(); 1691 var o = new core.List<core.String>();
1692 o.add("foo"); 1692 o.add("foo");
1693 o.add("foo"); 1693 o.add("foo");
1694 return o; 1694 return o;
1695 } 1695 }
1696 1696
1697 checkUnnamed819(core.List<core.String> o) { 1697 checkUnnamed835(core.List<core.String> o) {
1698 unittest.expect(o, unittest.hasLength(2)); 1698 unittest.expect(o, unittest.hasLength(2));
1699 unittest.expect(o[0], unittest.equals('foo')); 1699 unittest.expect(o[0], unittest.equals('foo'));
1700 unittest.expect(o[1], unittest.equals('foo')); 1700 unittest.expect(o[1], unittest.equals('foo'));
1701 } 1701 }
1702 1702
1703 core.int buildCounterToken = 0; 1703 core.int buildCounterToken = 0;
1704 buildToken() { 1704 buildToken() {
1705 var o = new api.Token(); 1705 var o = new api.Token();
1706 buildCounterToken++; 1706 buildCounterToken++;
1707 if (buildCounterToken < 3) { 1707 if (buildCounterToken < 3) {
1708 o.anonymous = true; 1708 o.anonymous = true;
1709 o.clientId = "foo"; 1709 o.clientId = "foo";
1710 o.displayText = "foo"; 1710 o.displayText = "foo";
1711 o.etag = "foo"; 1711 o.etag = "foo";
1712 o.kind = "foo"; 1712 o.kind = "foo";
1713 o.nativeApp = true; 1713 o.nativeApp = true;
1714 o.scopes = buildUnnamed819(); 1714 o.scopes = buildUnnamed835();
1715 o.userKey = "foo"; 1715 o.userKey = "foo";
1716 } 1716 }
1717 buildCounterToken--; 1717 buildCounterToken--;
1718 return o; 1718 return o;
1719 } 1719 }
1720 1720
1721 checkToken(api.Token o) { 1721 checkToken(api.Token o) {
1722 buildCounterToken++; 1722 buildCounterToken++;
1723 if (buildCounterToken < 3) { 1723 if (buildCounterToken < 3) {
1724 unittest.expect(o.anonymous, unittest.isTrue); 1724 unittest.expect(o.anonymous, unittest.isTrue);
1725 unittest.expect(o.clientId, unittest.equals('foo')); 1725 unittest.expect(o.clientId, unittest.equals('foo'));
1726 unittest.expect(o.displayText, unittest.equals('foo')); 1726 unittest.expect(o.displayText, unittest.equals('foo'));
1727 unittest.expect(o.etag, unittest.equals('foo')); 1727 unittest.expect(o.etag, unittest.equals('foo'));
1728 unittest.expect(o.kind, unittest.equals('foo')); 1728 unittest.expect(o.kind, unittest.equals('foo'));
1729 unittest.expect(o.nativeApp, unittest.isTrue); 1729 unittest.expect(o.nativeApp, unittest.isTrue);
1730 checkUnnamed819(o.scopes); 1730 checkUnnamed835(o.scopes);
1731 unittest.expect(o.userKey, unittest.equals('foo')); 1731 unittest.expect(o.userKey, unittest.equals('foo'));
1732 } 1732 }
1733 buildCounterToken--; 1733 buildCounterToken--;
1734 } 1734 }
1735 1735
1736 buildUnnamed820() { 1736 buildUnnamed836() {
1737 var o = new core.List<api.Token>(); 1737 var o = new core.List<api.Token>();
1738 o.add(buildToken()); 1738 o.add(buildToken());
1739 o.add(buildToken()); 1739 o.add(buildToken());
1740 return o; 1740 return o;
1741 } 1741 }
1742 1742
1743 checkUnnamed820(core.List<api.Token> o) { 1743 checkUnnamed836(core.List<api.Token> o) {
1744 unittest.expect(o, unittest.hasLength(2)); 1744 unittest.expect(o, unittest.hasLength(2));
1745 checkToken(o[0]); 1745 checkToken(o[0]);
1746 checkToken(o[1]); 1746 checkToken(o[1]);
1747 } 1747 }
1748 1748
1749 core.int buildCounterTokens = 0; 1749 core.int buildCounterTokens = 0;
1750 buildTokens() { 1750 buildTokens() {
1751 var o = new api.Tokens(); 1751 var o = new api.Tokens();
1752 buildCounterTokens++; 1752 buildCounterTokens++;
1753 if (buildCounterTokens < 3) { 1753 if (buildCounterTokens < 3) {
1754 o.etag = "foo"; 1754 o.etag = "foo";
1755 o.items = buildUnnamed820(); 1755 o.items = buildUnnamed836();
1756 o.kind = "foo"; 1756 o.kind = "foo";
1757 } 1757 }
1758 buildCounterTokens--; 1758 buildCounterTokens--;
1759 return o; 1759 return o;
1760 } 1760 }
1761 1761
1762 checkTokens(api.Tokens o) { 1762 checkTokens(api.Tokens o) {
1763 buildCounterTokens++; 1763 buildCounterTokens++;
1764 if (buildCounterTokens < 3) { 1764 if (buildCounterTokens < 3) {
1765 unittest.expect(o.etag, unittest.equals('foo')); 1765 unittest.expect(o.etag, unittest.equals('foo'));
1766 checkUnnamed820(o.items); 1766 checkUnnamed836(o.items);
1767 unittest.expect(o.kind, unittest.equals('foo')); 1767 unittest.expect(o.kind, unittest.equals('foo'));
1768 } 1768 }
1769 buildCounterTokens--; 1769 buildCounterTokens--;
1770 } 1770 }
1771 1771
1772 buildUnnamed821() { 1772 buildUnnamed837() {
1773 var o = new core.List<core.String>(); 1773 var o = new core.List<core.String>();
1774 o.add("foo"); 1774 o.add("foo");
1775 o.add("foo"); 1775 o.add("foo");
1776 return o; 1776 return o;
1777 } 1777 }
1778 1778
1779 checkUnnamed821(core.List<core.String> o) { 1779 checkUnnamed837(core.List<core.String> o) {
1780 unittest.expect(o, unittest.hasLength(2)); 1780 unittest.expect(o, unittest.hasLength(2));
1781 unittest.expect(o[0], unittest.equals('foo')); 1781 unittest.expect(o[0], unittest.equals('foo'));
1782 unittest.expect(o[1], unittest.equals('foo')); 1782 unittest.expect(o[1], unittest.equals('foo'));
1783 } 1783 }
1784 1784
1785 buildUnnamed822() { 1785 buildUnnamed838() {
1786 var o = new core.Map<core.String, api.UserCustomProperties>(); 1786 var o = new core.Map<core.String, api.UserCustomProperties>();
1787 o["x"] = buildUserCustomProperties(); 1787 o["x"] = buildUserCustomProperties();
1788 o["y"] = buildUserCustomProperties(); 1788 o["y"] = buildUserCustomProperties();
1789 return o; 1789 return o;
1790 } 1790 }
1791 1791
1792 checkUnnamed822(core.Map<core.String, api.UserCustomProperties> o) { 1792 checkUnnamed838(core.Map<core.String, api.UserCustomProperties> o) {
1793 unittest.expect(o, unittest.hasLength(2)); 1793 unittest.expect(o, unittest.hasLength(2));
1794 checkUserCustomProperties(o["x"]); 1794 checkUserCustomProperties(o["x"]);
1795 checkUserCustomProperties(o["y"]); 1795 checkUserCustomProperties(o["y"]);
1796 } 1796 }
1797 1797
1798 buildUnnamed823() { 1798 buildUnnamed839() {
1799 var o = new core.List<core.String>(); 1799 var o = new core.List<core.String>();
1800 o.add("foo"); 1800 o.add("foo");
1801 o.add("foo"); 1801 o.add("foo");
1802 return o; 1802 return o;
1803 } 1803 }
1804 1804
1805 checkUnnamed823(core.List<core.String> o) { 1805 checkUnnamed839(core.List<core.String> o) {
1806 unittest.expect(o, unittest.hasLength(2)); 1806 unittest.expect(o, unittest.hasLength(2));
1807 unittest.expect(o[0], unittest.equals('foo')); 1807 unittest.expect(o[0], unittest.equals('foo'));
1808 unittest.expect(o[1], unittest.equals('foo')); 1808 unittest.expect(o[1], unittest.equals('foo'));
1809 } 1809 }
1810 1810
1811 core.int buildCounterUser = 0; 1811 core.int buildCounterUser = 0;
1812 buildUser() { 1812 buildUser() {
1813 var o = new api.User(); 1813 var o = new api.User();
1814 buildCounterUser++; 1814 buildCounterUser++;
1815 if (buildCounterUser < 3) { 1815 if (buildCounterUser < 3) {
1816 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1816 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1817 o.agreedToTerms = true; 1817 o.agreedToTerms = true;
1818 o.aliases = buildUnnamed821(); 1818 o.aliases = buildUnnamed837();
1819 o.changePasswordAtNextLogin = true; 1819 o.changePasswordAtNextLogin = true;
1820 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); 1820 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
1821 o.customSchemas = buildUnnamed822(); 1821 o.customSchemas = buildUnnamed838();
1822 o.customerId = "foo"; 1822 o.customerId = "foo";
1823 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); 1823 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
1824 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1824 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1825 o.etag = "foo"; 1825 o.etag = "foo";
1826 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1826 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1827 o.hashFunction = "foo"; 1827 o.hashFunction = "foo";
1828 o.id = "foo"; 1828 o.id = "foo";
1829 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1829 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1830 o.includeInGlobalAddressList = true; 1830 o.includeInGlobalAddressList = true;
1831 o.ipWhitelisted = true; 1831 o.ipWhitelisted = true;
1832 o.isAdmin = true; 1832 o.isAdmin = true;
1833 o.isDelegatedAdmin = true; 1833 o.isDelegatedAdmin = true;
1834 o.isEnforcedIn2Sv = true; 1834 o.isEnforcedIn2Sv = true;
1835 o.isEnrolledIn2Sv = true; 1835 o.isEnrolledIn2Sv = true;
1836 o.isMailboxSetup = true; 1836 o.isMailboxSetup = true;
1837 o.keywords = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1837 o.keywords = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1838 o.kind = "foo"; 1838 o.kind = "foo";
1839 o.languages = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1839 o.languages = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1840 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); 1840 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02");
1841 o.locations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1841 o.locations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1842 o.name = buildUserName(); 1842 o.name = buildUserName();
1843 o.nonEditableAliases = buildUnnamed823(); 1843 o.nonEditableAliases = buildUnnamed839();
1844 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1844 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1845 o.orgUnitPath = "foo"; 1845 o.orgUnitPath = "foo";
1846 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1846 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1847 o.password = "foo"; 1847 o.password = "foo";
1848 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1848 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1849 o.posixAccounts = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1849 o.posixAccounts = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1850 o.primaryEmail = "foo"; 1850 o.primaryEmail = "foo";
1851 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1851 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1852 o.sshPublicKeys = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1852 o.sshPublicKeys = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1853 o.suspended = true; 1853 o.suspended = true;
1854 o.suspensionReason = "foo"; 1854 o.suspensionReason = "foo";
1855 o.thumbnailPhotoEtag = "foo"; 1855 o.thumbnailPhotoEtag = "foo";
1856 o.thumbnailPhotoUrl = "foo"; 1856 o.thumbnailPhotoUrl = "foo";
1857 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1857 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1858 } 1858 }
1859 buildCounterUser--; 1859 buildCounterUser--;
1860 return o; 1860 return o;
1861 } 1861 }
1862 1862
1863 checkUser(api.User o) { 1863 checkUser(api.User o) {
1864 buildCounterUser++; 1864 buildCounterUser++;
1865 if (buildCounterUser < 3) { 1865 if (buildCounterUser < 3) {
1866 var casted3 = (o.addresses) as core.Map; unittest.expect(casted3, unittest.h asLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unit test.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["st ring"], unittest.equals('foo')); 1866 var casted3 = (o.addresses) as core.Map; unittest.expect(casted3, unittest.h asLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unit test.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["st ring"], unittest.equals('foo'));
1867 unittest.expect(o.agreedToTerms, unittest.isTrue); 1867 unittest.expect(o.agreedToTerms, unittest.isTrue);
1868 checkUnnamed821(o.aliases); 1868 checkUnnamed837(o.aliases);
1869 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); 1869 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
1870 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1870 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1871 checkUnnamed822(o.customSchemas); 1871 checkUnnamed838(o.customSchemas);
1872 unittest.expect(o.customerId, unittest.equals('foo')); 1872 unittest.expect(o.customerId, unittest.equals('foo'));
1873 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1873 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1874 var casted4 = (o.emails) as core.Map; unittest.expect(casted4, unittest.hasL ength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["strin g"], unittest.equals('foo')); 1874 var casted4 = (o.emails) as core.Map; unittest.expect(casted4, unittest.hasL ength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["strin g"], unittest.equals('foo'));
1875 unittest.expect(o.etag, unittest.equals('foo')); 1875 unittest.expect(o.etag, unittest.equals('foo'));
1876 var casted5 = (o.externalIds) as core.Map; unittest.expect(casted5, unittest .hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); un ittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5[" string"], unittest.equals('foo')); 1876 var casted5 = (o.externalIds) as core.Map; unittest.expect(casted5, unittest .hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); un ittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5[" string"], unittest.equals('foo'));
1877 unittest.expect(o.hashFunction, unittest.equals('foo')); 1877 unittest.expect(o.hashFunction, unittest.equals('foo'));
1878 unittest.expect(o.id, unittest.equals('foo')); 1878 unittest.expect(o.id, unittest.equals('foo'));
1879 var casted6 = (o.ims) as core.Map; unittest.expect(casted6, unittest.hasLeng th(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"] , unittest.equals('foo')); 1879 var casted6 = (o.ims) as core.Map; unittest.expect(casted6, unittest.hasLeng th(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"] , unittest.equals('foo'));
1880 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); 1880 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue);
1881 unittest.expect(o.ipWhitelisted, unittest.isTrue); 1881 unittest.expect(o.ipWhitelisted, unittest.isTrue);
1882 unittest.expect(o.isAdmin, unittest.isTrue); 1882 unittest.expect(o.isAdmin, unittest.isTrue);
1883 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); 1883 unittest.expect(o.isDelegatedAdmin, unittest.isTrue);
1884 unittest.expect(o.isEnforcedIn2Sv, unittest.isTrue); 1884 unittest.expect(o.isEnforcedIn2Sv, unittest.isTrue);
1885 unittest.expect(o.isEnrolledIn2Sv, unittest.isTrue); 1885 unittest.expect(o.isEnrolledIn2Sv, unittest.isTrue);
1886 unittest.expect(o.isMailboxSetup, unittest.isTrue); 1886 unittest.expect(o.isMailboxSetup, unittest.isTrue);
1887 var casted7 = (o.keywords) as core.Map; unittest.expect(casted7, unittest.ha sLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unitt est.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["str ing"], unittest.equals('foo')); 1887 var casted7 = (o.keywords) as core.Map; unittest.expect(casted7, unittest.ha sLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unitt est.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["str ing"], unittest.equals('foo'));
1888 unittest.expect(o.kind, unittest.equals('foo')); 1888 unittest.expect(o.kind, unittest.equals('foo'));
1889 var casted8 = (o.languages) as core.Map; unittest.expect(casted8, unittest.h asLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unit test.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["st ring"], unittest.equals('foo')); 1889 var casted8 = (o.languages) as core.Map; unittest.expect(casted8, unittest.h asLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unit test.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["st ring"], unittest.equals('foo'));
1890 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0 2-27T14:01:02"))); 1890 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0 2-27T14:01:02")));
1891 var casted9 = (o.locations) as core.Map; unittest.expect(casted9, unittest.h asLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unit test.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["st ring"], unittest.equals('foo')); 1891 var casted9 = (o.locations) as core.Map; unittest.expect(casted9, unittest.h asLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unit test.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["st ring"], unittest.equals('foo'));
1892 checkUserName(o.name); 1892 checkUserName(o.name);
1893 checkUnnamed823(o.nonEditableAliases); 1893 checkUnnamed839(o.nonEditableAliases);
1894 var casted10 = (o.notes) as core.Map; unittest.expect(casted10, unittest.has Length(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unitt est.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["s tring"], unittest.equals('foo')); 1894 var casted10 = (o.notes) as core.Map; unittest.expect(casted10, unittest.has Length(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unitt est.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["s tring"], unittest.equals('foo'));
1895 unittest.expect(o.orgUnitPath, unittest.equals('foo')); 1895 unittest.expect(o.orgUnitPath, unittest.equals('foo'));
1896 var casted11 = (o.organizations) as core.Map; unittest.expect(casted11, unit test.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3]) ); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(cas ted11["string"], unittest.equals('foo')); 1896 var casted11 = (o.organizations) as core.Map; unittest.expect(casted11, unit test.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3]) ); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(cas ted11["string"], unittest.equals('foo'));
1897 unittest.expect(o.password, unittest.equals('foo')); 1897 unittest.expect(o.password, unittest.equals('foo'));
1898 var casted12 = (o.phones) as core.Map; unittest.expect(casted12, unittest.ha sLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unit test.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12[" string"], unittest.equals('foo')); 1898 var casted12 = (o.phones) as core.Map; unittest.expect(casted12, unittest.ha sLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unit test.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12[" string"], unittest.equals('foo'));
1899 var casted13 = (o.posixAccounts) as core.Map; unittest.expect(casted13, unit test.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3]) ); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(cas ted13["string"], unittest.equals('foo')); 1899 var casted13 = (o.posixAccounts) as core.Map; unittest.expect(casted13, unit test.hasLength(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3]) ); unittest.expect(casted13["bool"], unittest.equals(true)); unittest.expect(cas ted13["string"], unittest.equals('foo'));
1900 unittest.expect(o.primaryEmail, unittest.equals('foo')); 1900 unittest.expect(o.primaryEmail, unittest.equals('foo'));
1901 var casted14 = (o.relations) as core.Map; unittest.expect(casted14, unittest .hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); u nittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted1 4["string"], unittest.equals('foo')); 1901 var casted14 = (o.relations) as core.Map; unittest.expect(casted14, unittest .hasLength(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); u nittest.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted1 4["string"], unittest.equals('foo'));
1902 var casted15 = (o.sshPublicKeys) as core.Map; unittest.expect(casted15, unit test.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3]) ); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(cas ted15["string"], unittest.equals('foo')); 1902 var casted15 = (o.sshPublicKeys) as core.Map; unittest.expect(casted15, unit test.hasLength(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3]) ); unittest.expect(casted15["bool"], unittest.equals(true)); unittest.expect(cas ted15["string"], unittest.equals('foo'));
1903 unittest.expect(o.suspended, unittest.isTrue); 1903 unittest.expect(o.suspended, unittest.isTrue);
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
2395 buildCounterUserWebsite++; 2395 buildCounterUserWebsite++;
2396 if (buildCounterUserWebsite < 3) { 2396 if (buildCounterUserWebsite < 3) {
2397 unittest.expect(o.customType, unittest.equals('foo')); 2397 unittest.expect(o.customType, unittest.equals('foo'));
2398 unittest.expect(o.primary, unittest.isTrue); 2398 unittest.expect(o.primary, unittest.isTrue);
2399 unittest.expect(o.type, unittest.equals('foo')); 2399 unittest.expect(o.type, unittest.equals('foo'));
2400 unittest.expect(o.value, unittest.equals('foo')); 2400 unittest.expect(o.value, unittest.equals('foo'));
2401 } 2401 }
2402 buildCounterUserWebsite--; 2402 buildCounterUserWebsite--;
2403 } 2403 }
2404 2404
2405 buildUnnamed824() { 2405 buildUnnamed840() {
2406 var o = new core.List<api.User>(); 2406 var o = new core.List<api.User>();
2407 o.add(buildUser()); 2407 o.add(buildUser());
2408 o.add(buildUser()); 2408 o.add(buildUser());
2409 return o; 2409 return o;
2410 } 2410 }
2411 2411
2412 checkUnnamed824(core.List<api.User> o) { 2412 checkUnnamed840(core.List<api.User> o) {
2413 unittest.expect(o, unittest.hasLength(2)); 2413 unittest.expect(o, unittest.hasLength(2));
2414 checkUser(o[0]); 2414 checkUser(o[0]);
2415 checkUser(o[1]); 2415 checkUser(o[1]);
2416 } 2416 }
2417 2417
2418 core.int buildCounterUsers = 0; 2418 core.int buildCounterUsers = 0;
2419 buildUsers() { 2419 buildUsers() {
2420 var o = new api.Users(); 2420 var o = new api.Users();
2421 buildCounterUsers++; 2421 buildCounterUsers++;
2422 if (buildCounterUsers < 3) { 2422 if (buildCounterUsers < 3) {
2423 o.etag = "foo"; 2423 o.etag = "foo";
2424 o.kind = "foo"; 2424 o.kind = "foo";
2425 o.nextPageToken = "foo"; 2425 o.nextPageToken = "foo";
2426 o.triggerEvent = "foo"; 2426 o.triggerEvent = "foo";
2427 o.users = buildUnnamed824(); 2427 o.users = buildUnnamed840();
2428 } 2428 }
2429 buildCounterUsers--; 2429 buildCounterUsers--;
2430 return o; 2430 return o;
2431 } 2431 }
2432 2432
2433 checkUsers(api.Users o) { 2433 checkUsers(api.Users o) {
2434 buildCounterUsers++; 2434 buildCounterUsers++;
2435 if (buildCounterUsers < 3) { 2435 if (buildCounterUsers < 3) {
2436 unittest.expect(o.etag, unittest.equals('foo')); 2436 unittest.expect(o.etag, unittest.equals('foo'));
2437 unittest.expect(o.kind, unittest.equals('foo')); 2437 unittest.expect(o.kind, unittest.equals('foo'));
2438 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2438 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2439 unittest.expect(o.triggerEvent, unittest.equals('foo')); 2439 unittest.expect(o.triggerEvent, unittest.equals('foo'));
2440 checkUnnamed824(o.users); 2440 checkUnnamed840(o.users);
2441 } 2441 }
2442 buildCounterUsers--; 2442 buildCounterUsers--;
2443 } 2443 }
2444 2444
2445 core.int buildCounterVerificationCode = 0; 2445 core.int buildCounterVerificationCode = 0;
2446 buildVerificationCode() { 2446 buildVerificationCode() {
2447 var o = new api.VerificationCode(); 2447 var o = new api.VerificationCode();
2448 buildCounterVerificationCode++; 2448 buildCounterVerificationCode++;
2449 if (buildCounterVerificationCode < 3) { 2449 if (buildCounterVerificationCode < 3) {
2450 o.etag = "foo"; 2450 o.etag = "foo";
2451 o.kind = "foo"; 2451 o.kind = "foo";
2452 o.userId = "foo"; 2452 o.userId = "foo";
2453 o.verificationCode = "foo"; 2453 o.verificationCode = "foo";
2454 } 2454 }
2455 buildCounterVerificationCode--; 2455 buildCounterVerificationCode--;
2456 return o; 2456 return o;
2457 } 2457 }
2458 2458
2459 checkVerificationCode(api.VerificationCode o) { 2459 checkVerificationCode(api.VerificationCode o) {
2460 buildCounterVerificationCode++; 2460 buildCounterVerificationCode++;
2461 if (buildCounterVerificationCode < 3) { 2461 if (buildCounterVerificationCode < 3) {
2462 unittest.expect(o.etag, unittest.equals('foo')); 2462 unittest.expect(o.etag, unittest.equals('foo'));
2463 unittest.expect(o.kind, unittest.equals('foo')); 2463 unittest.expect(o.kind, unittest.equals('foo'));
2464 unittest.expect(o.userId, unittest.equals('foo')); 2464 unittest.expect(o.userId, unittest.equals('foo'));
2465 unittest.expect(o.verificationCode, unittest.equals('foo')); 2465 unittest.expect(o.verificationCode, unittest.equals('foo'));
2466 } 2466 }
2467 buildCounterVerificationCode--; 2467 buildCounterVerificationCode--;
2468 } 2468 }
2469 2469
2470 buildUnnamed825() { 2470 buildUnnamed841() {
2471 var o = new core.List<api.VerificationCode>(); 2471 var o = new core.List<api.VerificationCode>();
2472 o.add(buildVerificationCode()); 2472 o.add(buildVerificationCode());
2473 o.add(buildVerificationCode()); 2473 o.add(buildVerificationCode());
2474 return o; 2474 return o;
2475 } 2475 }
2476 2476
2477 checkUnnamed825(core.List<api.VerificationCode> o) { 2477 checkUnnamed841(core.List<api.VerificationCode> o) {
2478 unittest.expect(o, unittest.hasLength(2)); 2478 unittest.expect(o, unittest.hasLength(2));
2479 checkVerificationCode(o[0]); 2479 checkVerificationCode(o[0]);
2480 checkVerificationCode(o[1]); 2480 checkVerificationCode(o[1]);
2481 } 2481 }
2482 2482
2483 core.int buildCounterVerificationCodes = 0; 2483 core.int buildCounterVerificationCodes = 0;
2484 buildVerificationCodes() { 2484 buildVerificationCodes() {
2485 var o = new api.VerificationCodes(); 2485 var o = new api.VerificationCodes();
2486 buildCounterVerificationCodes++; 2486 buildCounterVerificationCodes++;
2487 if (buildCounterVerificationCodes < 3) { 2487 if (buildCounterVerificationCodes < 3) {
2488 o.etag = "foo"; 2488 o.etag = "foo";
2489 o.items = buildUnnamed825(); 2489 o.items = buildUnnamed841();
2490 o.kind = "foo"; 2490 o.kind = "foo";
2491 } 2491 }
2492 buildCounterVerificationCodes--; 2492 buildCounterVerificationCodes--;
2493 return o; 2493 return o;
2494 } 2494 }
2495 2495
2496 checkVerificationCodes(api.VerificationCodes o) { 2496 checkVerificationCodes(api.VerificationCodes o) {
2497 buildCounterVerificationCodes++; 2497 buildCounterVerificationCodes++;
2498 if (buildCounterVerificationCodes < 3) { 2498 if (buildCounterVerificationCodes < 3) {
2499 unittest.expect(o.etag, unittest.equals('foo')); 2499 unittest.expect(o.etag, unittest.equals('foo'));
2500 checkUnnamed825(o.items); 2500 checkUnnamed841(o.items);
2501 unittest.expect(o.kind, unittest.equals('foo')); 2501 unittest.expect(o.kind, unittest.equals('foo'));
2502 } 2502 }
2503 buildCounterVerificationCodes--; 2503 buildCounterVerificationCodes--;
2504 } 2504 }
2505 2505
2506 buildUnnamed826() { 2506 buildUnnamed842() {
2507 var o = new core.List<core.String>(); 2507 var o = new core.List<core.String>();
2508 o.add("foo"); 2508 o.add("foo");
2509 o.add("foo"); 2509 o.add("foo");
2510 return o; 2510 return o;
2511 } 2511 }
2512 2512
2513 checkUnnamed826(core.List<core.String> o) { 2513 checkUnnamed842(core.List<core.String> o) {
2514 unittest.expect(o, unittest.hasLength(2)); 2514 unittest.expect(o, unittest.hasLength(2));
2515 unittest.expect(o[0], unittest.equals('foo')); 2515 unittest.expect(o[0], unittest.equals('foo'));
2516 unittest.expect(o[1], unittest.equals('foo')); 2516 unittest.expect(o[1], unittest.equals('foo'));
2517 } 2517 }
2518 2518
2519 buildUnnamed827() { 2519 buildUnnamed843() {
2520 var o = new core.List<core.String>(); 2520 var o = new core.List<core.String>();
2521 o.add("foo"); 2521 o.add("foo");
2522 o.add("foo"); 2522 o.add("foo");
2523 return o; 2523 return o;
2524 } 2524 }
2525 2525
2526 checkUnnamed827(core.List<core.String> o) { 2526 checkUnnamed843(core.List<core.String> o) {
2527 unittest.expect(o, unittest.hasLength(2)); 2527 unittest.expect(o, unittest.hasLength(2));
2528 unittest.expect(o[0], unittest.equals('foo')); 2528 unittest.expect(o[0], unittest.equals('foo'));
2529 unittest.expect(o[1], unittest.equals('foo')); 2529 unittest.expect(o[1], unittest.equals('foo'));
2530 } 2530 }
2531 2531
2532 buildUnnamed828() { 2532 buildUnnamed844() {
2533 var o = new core.List<core.String>(); 2533 var o = new core.List<core.String>();
2534 o.add("foo"); 2534 o.add("foo");
2535 o.add("foo"); 2535 o.add("foo");
2536 return o; 2536 return o;
2537 } 2537 }
2538 2538
2539 checkUnnamed828(core.List<core.String> o) { 2539 checkUnnamed844(core.List<core.String> o) {
2540 unittest.expect(o, unittest.hasLength(2)); 2540 unittest.expect(o, unittest.hasLength(2));
2541 unittest.expect(o[0], unittest.equals('foo')); 2541 unittest.expect(o[0], unittest.equals('foo'));
2542 unittest.expect(o[1], unittest.equals('foo')); 2542 unittest.expect(o[1], unittest.equals('foo'));
2543 } 2543 }
2544 2544
2545 buildUnnamed829() { 2545 buildUnnamed845() {
2546 var o = new core.List<core.String>(); 2546 var o = new core.List<core.String>();
2547 o.add("foo"); 2547 o.add("foo");
2548 o.add("foo"); 2548 o.add("foo");
2549 return o; 2549 return o;
2550 } 2550 }
2551 2551
2552 checkUnnamed829(core.List<core.String> o) { 2552 checkUnnamed845(core.List<core.String> o) {
2553 unittest.expect(o, unittest.hasLength(2)); 2553 unittest.expect(o, unittest.hasLength(2));
2554 unittest.expect(o[0], unittest.equals('foo')); 2554 unittest.expect(o[0], unittest.equals('foo'));
2555 unittest.expect(o[1], unittest.equals('foo')); 2555 unittest.expect(o[1], unittest.equals('foo'));
2556 } 2556 }
2557 2557
2558 2558
2559 main() { 2559 main() {
2560 unittest.group("obj-schema-Alias", () { 2560 unittest.group("obj-schema-Alias", () {
2561 unittest.test("to-json--from-json", () { 2561 unittest.test("to-json--from-json", () {
2562 var o = buildAlias(); 2562 var o = buildAlias();
(...skipping 3179 matching lines...) Expand 10 before | Expand all | Expand 10 after
5742 5742
5743 }); 5743 });
5744 5744
5745 5745
5746 unittest.group("resource-OrgunitsResourceApi", () { 5746 unittest.group("resource-OrgunitsResourceApi", () {
5747 unittest.test("method--delete", () { 5747 unittest.test("method--delete", () {
5748 5748
5749 var mock = new HttpServerMock(); 5749 var mock = new HttpServerMock();
5750 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; 5750 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
5751 var arg_customerId = "foo"; 5751 var arg_customerId = "foo";
5752 var arg_orgUnitPath = buildUnnamed826(); 5752 var arg_orgUnitPath = buildUnnamed842();
5753 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 5753 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
5754 var path = (req.url).path; 5754 var path = (req.url).path;
5755 var pathOffset = 0; 5755 var pathOffset = 0;
5756 var index; 5756 var index;
5757 var subPart; 5757 var subPart;
5758 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5758 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5759 pathOffset += 1; 5759 pathOffset += 1;
5760 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("admin/directory/v1/")); 5760 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("admin/directory/v1/"));
5761 pathOffset += 19; 5761 pathOffset += 19;
5762 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("customer/")); 5762 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("customer/"));
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
5796 return new async.Future.value(stringResponse(200, h, resp)); 5796 return new async.Future.value(stringResponse(200, h, resp));
5797 }), true); 5797 }), true);
5798 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync1((_) {})); 5798 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync1((_) {}));
5799 }); 5799 });
5800 5800
5801 unittest.test("method--get", () { 5801 unittest.test("method--get", () {
5802 5802
5803 var mock = new HttpServerMock(); 5803 var mock = new HttpServerMock();
5804 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; 5804 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
5805 var arg_customerId = "foo"; 5805 var arg_customerId = "foo";
5806 var arg_orgUnitPath = buildUnnamed827(); 5806 var arg_orgUnitPath = buildUnnamed843();
5807 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 5807 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
5808 var path = (req.url).path; 5808 var path = (req.url).path;
5809 var pathOffset = 0; 5809 var pathOffset = 0;
5810 var index; 5810 var index;
5811 var subPart; 5811 var subPart;
5812 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5812 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5813 pathOffset += 1; 5813 pathOffset += 1;
5814 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("admin/directory/v1/")); 5814 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("admin/directory/v1/"));
5815 pathOffset += 19; 5815 pathOffset += 19;
5816 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("customer/")); 5816 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("customer/"));
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
5967 checkOrgUnits(response); 5967 checkOrgUnits(response);
5968 }))); 5968 })));
5969 }); 5969 });
5970 5970
5971 unittest.test("method--patch", () { 5971 unittest.test("method--patch", () {
5972 5972
5973 var mock = new HttpServerMock(); 5973 var mock = new HttpServerMock();
5974 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; 5974 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
5975 var arg_request = buildOrgUnit(); 5975 var arg_request = buildOrgUnit();
5976 var arg_customerId = "foo"; 5976 var arg_customerId = "foo";
5977 var arg_orgUnitPath = buildUnnamed828(); 5977 var arg_orgUnitPath = buildUnnamed844();
5978 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 5978 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
5979 var obj = new api.OrgUnit.fromJson(json); 5979 var obj = new api.OrgUnit.fromJson(json);
5980 checkOrgUnit(obj); 5980 checkOrgUnit(obj);
5981 5981
5982 var path = (req.url).path; 5982 var path = (req.url).path;
5983 var pathOffset = 0; 5983 var pathOffset = 0;
5984 var index; 5984 var index;
5985 var subPart; 5985 var subPart;
5986 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5986 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5987 pathOffset += 1; 5987 pathOffset += 1;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
6027 checkOrgUnit(response); 6027 checkOrgUnit(response);
6028 }))); 6028 })));
6029 }); 6029 });
6030 6030
6031 unittest.test("method--update", () { 6031 unittest.test("method--update", () {
6032 6032
6033 var mock = new HttpServerMock(); 6033 var mock = new HttpServerMock();
6034 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; 6034 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
6035 var arg_request = buildOrgUnit(); 6035 var arg_request = buildOrgUnit();
6036 var arg_customerId = "foo"; 6036 var arg_customerId = "foo";
6037 var arg_orgUnitPath = buildUnnamed829(); 6037 var arg_orgUnitPath = buildUnnamed845();
6038 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 6038 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
6039 var obj = new api.OrgUnit.fromJson(json); 6039 var obj = new api.OrgUnit.fromJson(json);
6040 checkOrgUnit(obj); 6040 checkOrgUnit(obj);
6041 6041
6042 var path = (req.url).path; 6042 var path = (req.url).path;
6043 var pathOffset = 0; 6043 var pathOffset = 0;
6044 var index; 6044 var index;
6045 var subPart; 6045 var subPart;
6046 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6046 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6047 pathOffset += 1; 6047 pathOffset += 1;
(...skipping 2674 matching lines...) Expand 10 before | Expand all | Expand 10 after
8722 res.list(arg_userKey).then(unittest.expectAsync1(((api.VerificationCodes r esponse) { 8722 res.list(arg_userKey).then(unittest.expectAsync1(((api.VerificationCodes r esponse) {
8723 checkVerificationCodes(response); 8723 checkVerificationCodes(response);
8724 }))); 8724 })));
8725 }); 8725 });
8726 8726
8727 }); 8727 });
8728 8728
8729 8729
8730 } 8730 }
8731 8731
OLDNEW
« no previous file with comments | « generated/googleapis/test/admin/datatransfer_v1_test.dart ('k') | generated/googleapis/test/admin/reports_v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698