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

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

Issue 1296863002: Api-roll 22: 2015-08-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 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:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.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 buildUnnamed138() { 81 buildUnnamed1031() {
82 var o = new core.List<api.Alias>(); 82 var o = new core.List<api.Alias>();
83 o.add(buildAlias()); 83 o.add(buildAlias());
84 o.add(buildAlias()); 84 o.add(buildAlias());
85 return o; 85 return o;
86 } 86 }
87 87
88 checkUnnamed138(core.List<api.Alias> o) { 88 checkUnnamed1031(core.List<api.Alias> o) {
89 unittest.expect(o, unittest.hasLength(2)); 89 unittest.expect(o, unittest.hasLength(2));
90 checkAlias(o[0]); 90 checkAlias(o[0]);
91 checkAlias(o[1]); 91 checkAlias(o[1]);
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 = buildUnnamed138(); 99 o.aliases = buildUnnamed1031();
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 checkUnnamed138(o.aliases); 110 checkUnnamed1031(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 buildUnnamed139() { 148 buildUnnamed1032() {
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 checkUnnamed139(core.List<api.Asp> o) { 155 checkUnnamed1032(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 = buildUnnamed139(); 167 o.items = buildUnnamed1032();
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 checkUnnamed139(o.items); 178 checkUnnamed1032(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 buildUnnamed140() { 184 buildUnnamed1033() {
185 var o = new core.Map<core.String, core.String>(); 185 var o = new core.Map<core.String, core.String>();
186 o["x"] = "foo"; 186 o["x"] = "foo";
187 o["y"] = "foo"; 187 o["y"] = "foo";
188 return o; 188 return o;
189 } 189 }
190 190
191 checkUnnamed140(core.Map<core.String, core.String> o) { 191 checkUnnamed1033(core.Map<core.String, core.String> o) {
192 unittest.expect(o, unittest.hasLength(2)); 192 unittest.expect(o, unittest.hasLength(2));
193 unittest.expect(o["x"], unittest.equals('foo')); 193 unittest.expect(o["x"], unittest.equals('foo'));
194 unittest.expect(o["y"], unittest.equals('foo')); 194 unittest.expect(o["y"], unittest.equals('foo'));
195 } 195 }
196 196
197 core.int buildCounterChannel = 0; 197 core.int buildCounterChannel = 0;
198 buildChannel() { 198 buildChannel() {
199 var o = new api.Channel(); 199 var o = new api.Channel();
200 buildCounterChannel++; 200 buildCounterChannel++;
201 if (buildCounterChannel < 3) { 201 if (buildCounterChannel < 3) {
202 o.address = "foo"; 202 o.address = "foo";
203 o.expiration = "foo"; 203 o.expiration = "foo";
204 o.id = "foo"; 204 o.id = "foo";
205 o.kind = "foo"; 205 o.kind = "foo";
206 o.params = buildUnnamed140(); 206 o.params = buildUnnamed1033();
207 o.payload = true; 207 o.payload = true;
208 o.resourceId = "foo"; 208 o.resourceId = "foo";
209 o.resourceUri = "foo"; 209 o.resourceUri = "foo";
210 o.token = "foo"; 210 o.token = "foo";
211 o.type = "foo"; 211 o.type = "foo";
212 } 212 }
213 buildCounterChannel--; 213 buildCounterChannel--;
214 return o; 214 return o;
215 } 215 }
216 216
217 checkChannel(api.Channel o) { 217 checkChannel(api.Channel o) {
218 buildCounterChannel++; 218 buildCounterChannel++;
219 if (buildCounterChannel < 3) { 219 if (buildCounterChannel < 3) {
220 unittest.expect(o.address, unittest.equals('foo')); 220 unittest.expect(o.address, unittest.equals('foo'));
221 unittest.expect(o.expiration, unittest.equals('foo')); 221 unittest.expect(o.expiration, unittest.equals('foo'));
222 unittest.expect(o.id, unittest.equals('foo')); 222 unittest.expect(o.id, unittest.equals('foo'));
223 unittest.expect(o.kind, unittest.equals('foo')); 223 unittest.expect(o.kind, unittest.equals('foo'));
224 checkUnnamed140(o.params); 224 checkUnnamed1033(o.params);
225 unittest.expect(o.payload, unittest.isTrue); 225 unittest.expect(o.payload, unittest.isTrue);
226 unittest.expect(o.resourceId, unittest.equals('foo')); 226 unittest.expect(o.resourceId, unittest.equals('foo'));
227 unittest.expect(o.resourceUri, unittest.equals('foo')); 227 unittest.expect(o.resourceUri, unittest.equals('foo'));
228 unittest.expect(o.token, unittest.equals('foo')); 228 unittest.expect(o.token, unittest.equals('foo'));
229 unittest.expect(o.type, unittest.equals('foo')); 229 unittest.expect(o.type, unittest.equals('foo'));
230 } 230 }
231 buildCounterChannel--; 231 buildCounterChannel--;
232 } 232 }
233 233
234 core.int buildCounterChromeOsDeviceActiveTimeRanges = 0; 234 core.int buildCounterChromeOsDeviceActiveTimeRanges = 0;
(...skipping 10 matching lines...) Expand all
245 245
246 checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) { 246 checkChromeOsDeviceActiveTimeRanges(api.ChromeOsDeviceActiveTimeRanges o) {
247 buildCounterChromeOsDeviceActiveTimeRanges++; 247 buildCounterChromeOsDeviceActiveTimeRanges++;
248 if (buildCounterChromeOsDeviceActiveTimeRanges < 3) { 248 if (buildCounterChromeOsDeviceActiveTimeRanges < 3) {
249 unittest.expect(o.activeTime, unittest.equals(42)); 249 unittest.expect(o.activeTime, unittest.equals(42));
250 unittest.expect(o.date, unittest.equals(core.DateTime.parse("2002-02-27T00:0 0:00"))); 250 unittest.expect(o.date, unittest.equals(core.DateTime.parse("2002-02-27T00:0 0:00")));
251 } 251 }
252 buildCounterChromeOsDeviceActiveTimeRanges--; 252 buildCounterChromeOsDeviceActiveTimeRanges--;
253 } 253 }
254 254
255 buildUnnamed141() { 255 buildUnnamed1034() {
256 var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>(); 256 var o = new core.List<api.ChromeOsDeviceActiveTimeRanges>();
257 o.add(buildChromeOsDeviceActiveTimeRanges()); 257 o.add(buildChromeOsDeviceActiveTimeRanges());
258 o.add(buildChromeOsDeviceActiveTimeRanges()); 258 o.add(buildChromeOsDeviceActiveTimeRanges());
259 return o; 259 return o;
260 } 260 }
261 261
262 checkUnnamed141(core.List<api.ChromeOsDeviceActiveTimeRanges> o) { 262 checkUnnamed1034(core.List<api.ChromeOsDeviceActiveTimeRanges> o) {
263 unittest.expect(o, unittest.hasLength(2)); 263 unittest.expect(o, unittest.hasLength(2));
264 checkChromeOsDeviceActiveTimeRanges(o[0]); 264 checkChromeOsDeviceActiveTimeRanges(o[0]);
265 checkChromeOsDeviceActiveTimeRanges(o[1]); 265 checkChromeOsDeviceActiveTimeRanges(o[1]);
266 } 266 }
267 267
268 core.int buildCounterChromeOsDeviceRecentUsers = 0; 268 core.int buildCounterChromeOsDeviceRecentUsers = 0;
269 buildChromeOsDeviceRecentUsers() { 269 buildChromeOsDeviceRecentUsers() {
270 var o = new api.ChromeOsDeviceRecentUsers(); 270 var o = new api.ChromeOsDeviceRecentUsers();
271 buildCounterChromeOsDeviceRecentUsers++; 271 buildCounterChromeOsDeviceRecentUsers++;
272 if (buildCounterChromeOsDeviceRecentUsers < 3) { 272 if (buildCounterChromeOsDeviceRecentUsers < 3) {
273 o.email = "foo"; 273 o.email = "foo";
274 o.type = "foo"; 274 o.type = "foo";
275 } 275 }
276 buildCounterChromeOsDeviceRecentUsers--; 276 buildCounterChromeOsDeviceRecentUsers--;
277 return o; 277 return o;
278 } 278 }
279 279
280 checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) { 280 checkChromeOsDeviceRecentUsers(api.ChromeOsDeviceRecentUsers o) {
281 buildCounterChromeOsDeviceRecentUsers++; 281 buildCounterChromeOsDeviceRecentUsers++;
282 if (buildCounterChromeOsDeviceRecentUsers < 3) { 282 if (buildCounterChromeOsDeviceRecentUsers < 3) {
283 unittest.expect(o.email, unittest.equals('foo')); 283 unittest.expect(o.email, unittest.equals('foo'));
284 unittest.expect(o.type, unittest.equals('foo')); 284 unittest.expect(o.type, unittest.equals('foo'));
285 } 285 }
286 buildCounterChromeOsDeviceRecentUsers--; 286 buildCounterChromeOsDeviceRecentUsers--;
287 } 287 }
288 288
289 buildUnnamed142() { 289 buildUnnamed1035() {
290 var o = new core.List<api.ChromeOsDeviceRecentUsers>(); 290 var o = new core.List<api.ChromeOsDeviceRecentUsers>();
291 o.add(buildChromeOsDeviceRecentUsers()); 291 o.add(buildChromeOsDeviceRecentUsers());
292 o.add(buildChromeOsDeviceRecentUsers()); 292 o.add(buildChromeOsDeviceRecentUsers());
293 return o; 293 return o;
294 } 294 }
295 295
296 checkUnnamed142(core.List<api.ChromeOsDeviceRecentUsers> o) { 296 checkUnnamed1035(core.List<api.ChromeOsDeviceRecentUsers> o) {
297 unittest.expect(o, unittest.hasLength(2)); 297 unittest.expect(o, unittest.hasLength(2));
298 checkChromeOsDeviceRecentUsers(o[0]); 298 checkChromeOsDeviceRecentUsers(o[0]);
299 checkChromeOsDeviceRecentUsers(o[1]); 299 checkChromeOsDeviceRecentUsers(o[1]);
300 } 300 }
301 301
302 core.int buildCounterChromeOsDevice = 0; 302 core.int buildCounterChromeOsDevice = 0;
303 buildChromeOsDevice() { 303 buildChromeOsDevice() {
304 var o = new api.ChromeOsDevice(); 304 var o = new api.ChromeOsDevice();
305 buildCounterChromeOsDevice++; 305 buildCounterChromeOsDevice++;
306 if (buildCounterChromeOsDevice < 3) { 306 if (buildCounterChromeOsDevice < 3) {
307 o.activeTimeRanges = buildUnnamed141(); 307 o.activeTimeRanges = buildUnnamed1034();
308 o.annotatedAssetId = "foo"; 308 o.annotatedAssetId = "foo";
309 o.annotatedLocation = "foo"; 309 o.annotatedLocation = "foo";
310 o.annotatedUser = "foo"; 310 o.annotatedUser = "foo";
311 o.bootMode = "foo"; 311 o.bootMode = "foo";
312 o.deviceId = "foo"; 312 o.deviceId = "foo";
313 o.etag = "foo"; 313 o.etag = "foo";
314 o.ethernetMacAddress = "foo"; 314 o.ethernetMacAddress = "foo";
315 o.firmwareVersion = "foo"; 315 o.firmwareVersion = "foo";
316 o.kind = "foo"; 316 o.kind = "foo";
317 o.lastEnrollmentTime = core.DateTime.parse("2002-02-27T14:01:02"); 317 o.lastEnrollmentTime = core.DateTime.parse("2002-02-27T14:01:02");
318 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); 318 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02");
319 o.macAddress = "foo"; 319 o.macAddress = "foo";
320 o.meid = "foo"; 320 o.meid = "foo";
321 o.model = "foo"; 321 o.model = "foo";
322 o.notes = "foo"; 322 o.notes = "foo";
323 o.orderNumber = "foo"; 323 o.orderNumber = "foo";
324 o.orgUnitPath = "foo"; 324 o.orgUnitPath = "foo";
325 o.osVersion = "foo"; 325 o.osVersion = "foo";
326 o.platformVersion = "foo"; 326 o.platformVersion = "foo";
327 o.recentUsers = buildUnnamed142(); 327 o.recentUsers = buildUnnamed1035();
328 o.serialNumber = "foo"; 328 o.serialNumber = "foo";
329 o.status = "foo"; 329 o.status = "foo";
330 o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02"); 330 o.supportEndDate = core.DateTime.parse("2002-02-27T14:01:02");
331 o.willAutoRenew = true; 331 o.willAutoRenew = true;
332 } 332 }
333 buildCounterChromeOsDevice--; 333 buildCounterChromeOsDevice--;
334 return o; 334 return o;
335 } 335 }
336 336
337 checkChromeOsDevice(api.ChromeOsDevice o) { 337 checkChromeOsDevice(api.ChromeOsDevice o) {
338 buildCounterChromeOsDevice++; 338 buildCounterChromeOsDevice++;
339 if (buildCounterChromeOsDevice < 3) { 339 if (buildCounterChromeOsDevice < 3) {
340 checkUnnamed141(o.activeTimeRanges); 340 checkUnnamed1034(o.activeTimeRanges);
341 unittest.expect(o.annotatedAssetId, unittest.equals('foo')); 341 unittest.expect(o.annotatedAssetId, unittest.equals('foo'));
342 unittest.expect(o.annotatedLocation, unittest.equals('foo')); 342 unittest.expect(o.annotatedLocation, unittest.equals('foo'));
343 unittest.expect(o.annotatedUser, unittest.equals('foo')); 343 unittest.expect(o.annotatedUser, unittest.equals('foo'));
344 unittest.expect(o.bootMode, unittest.equals('foo')); 344 unittest.expect(o.bootMode, unittest.equals('foo'));
345 unittest.expect(o.deviceId, unittest.equals('foo')); 345 unittest.expect(o.deviceId, unittest.equals('foo'));
346 unittest.expect(o.etag, unittest.equals('foo')); 346 unittest.expect(o.etag, unittest.equals('foo'));
347 unittest.expect(o.ethernetMacAddress, unittest.equals('foo')); 347 unittest.expect(o.ethernetMacAddress, unittest.equals('foo'));
348 unittest.expect(o.firmwareVersion, unittest.equals('foo')); 348 unittest.expect(o.firmwareVersion, unittest.equals('foo'));
349 unittest.expect(o.kind, unittest.equals('foo')); 349 unittest.expect(o.kind, unittest.equals('foo'));
350 unittest.expect(o.lastEnrollmentTime, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 350 unittest.expect(o.lastEnrollmentTime, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
351 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02"))); 351 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02")));
352 unittest.expect(o.macAddress, unittest.equals('foo')); 352 unittest.expect(o.macAddress, unittest.equals('foo'));
353 unittest.expect(o.meid, unittest.equals('foo')); 353 unittest.expect(o.meid, unittest.equals('foo'));
354 unittest.expect(o.model, unittest.equals('foo')); 354 unittest.expect(o.model, unittest.equals('foo'));
355 unittest.expect(o.notes, unittest.equals('foo')); 355 unittest.expect(o.notes, unittest.equals('foo'));
356 unittest.expect(o.orderNumber, unittest.equals('foo')); 356 unittest.expect(o.orderNumber, unittest.equals('foo'));
357 unittest.expect(o.orgUnitPath, unittest.equals('foo')); 357 unittest.expect(o.orgUnitPath, unittest.equals('foo'));
358 unittest.expect(o.osVersion, unittest.equals('foo')); 358 unittest.expect(o.osVersion, unittest.equals('foo'));
359 unittest.expect(o.platformVersion, unittest.equals('foo')); 359 unittest.expect(o.platformVersion, unittest.equals('foo'));
360 checkUnnamed142(o.recentUsers); 360 checkUnnamed1035(o.recentUsers);
361 unittest.expect(o.serialNumber, unittest.equals('foo')); 361 unittest.expect(o.serialNumber, unittest.equals('foo'));
362 unittest.expect(o.status, unittest.equals('foo')); 362 unittest.expect(o.status, unittest.equals('foo'));
363 unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002- 02-27T14:01:02"))); 363 unittest.expect(o.supportEndDate, unittest.equals(core.DateTime.parse("2002- 02-27T14:01:02")));
364 unittest.expect(o.willAutoRenew, unittest.isTrue); 364 unittest.expect(o.willAutoRenew, unittest.isTrue);
365 } 365 }
366 buildCounterChromeOsDevice--; 366 buildCounterChromeOsDevice--;
367 } 367 }
368 368
369 buildUnnamed143() { 369 buildUnnamed1036() {
370 var o = new core.List<api.ChromeOsDevice>(); 370 var o = new core.List<api.ChromeOsDevice>();
371 o.add(buildChromeOsDevice()); 371 o.add(buildChromeOsDevice());
372 o.add(buildChromeOsDevice()); 372 o.add(buildChromeOsDevice());
373 return o; 373 return o;
374 } 374 }
375 375
376 checkUnnamed143(core.List<api.ChromeOsDevice> o) { 376 checkUnnamed1036(core.List<api.ChromeOsDevice> o) {
377 unittest.expect(o, unittest.hasLength(2)); 377 unittest.expect(o, unittest.hasLength(2));
378 checkChromeOsDevice(o[0]); 378 checkChromeOsDevice(o[0]);
379 checkChromeOsDevice(o[1]); 379 checkChromeOsDevice(o[1]);
380 } 380 }
381 381
382 core.int buildCounterChromeOsDevices = 0; 382 core.int buildCounterChromeOsDevices = 0;
383 buildChromeOsDevices() { 383 buildChromeOsDevices() {
384 var o = new api.ChromeOsDevices(); 384 var o = new api.ChromeOsDevices();
385 buildCounterChromeOsDevices++; 385 buildCounterChromeOsDevices++;
386 if (buildCounterChromeOsDevices < 3) { 386 if (buildCounterChromeOsDevices < 3) {
387 o.chromeosdevices = buildUnnamed143(); 387 o.chromeosdevices = buildUnnamed1036();
388 o.etag = "foo"; 388 o.etag = "foo";
389 o.kind = "foo"; 389 o.kind = "foo";
390 o.nextPageToken = "foo"; 390 o.nextPageToken = "foo";
391 } 391 }
392 buildCounterChromeOsDevices--; 392 buildCounterChromeOsDevices--;
393 return o; 393 return o;
394 } 394 }
395 395
396 checkChromeOsDevices(api.ChromeOsDevices o) { 396 checkChromeOsDevices(api.ChromeOsDevices o) {
397 buildCounterChromeOsDevices++; 397 buildCounterChromeOsDevices++;
398 if (buildCounterChromeOsDevices < 3) { 398 if (buildCounterChromeOsDevices < 3) {
399 checkUnnamed143(o.chromeosdevices); 399 checkUnnamed1036(o.chromeosdevices);
400 unittest.expect(o.etag, unittest.equals('foo')); 400 unittest.expect(o.etag, unittest.equals('foo'));
401 unittest.expect(o.kind, unittest.equals('foo')); 401 unittest.expect(o.kind, unittest.equals('foo'));
402 unittest.expect(o.nextPageToken, unittest.equals('foo')); 402 unittest.expect(o.nextPageToken, unittest.equals('foo'));
403 } 403 }
404 buildCounterChromeOsDevices--; 404 buildCounterChromeOsDevices--;
405 } 405 }
406 406
407 buildUnnamed144() { 407 buildUnnamed1037() {
408 var o = new core.List<core.String>(); 408 var o = new core.List<core.String>();
409 o.add("foo"); 409 o.add("foo");
410 o.add("foo"); 410 o.add("foo");
411 return o; 411 return o;
412 } 412 }
413 413
414 checkUnnamed144(core.List<core.String> o) { 414 checkUnnamed1037(core.List<core.String> o) {
415 unittest.expect(o, unittest.hasLength(2)); 415 unittest.expect(o, unittest.hasLength(2));
416 unittest.expect(o[0], unittest.equals('foo')); 416 unittest.expect(o[0], unittest.equals('foo'));
417 unittest.expect(o[1], unittest.equals('foo')); 417 unittest.expect(o[1], unittest.equals('foo'));
418 } 418 }
419 419
420 buildUnnamed145() { 420 buildUnnamed1038() {
421 var o = new core.List<core.String>(); 421 var o = new core.List<core.String>();
422 o.add("foo"); 422 o.add("foo");
423 o.add("foo"); 423 o.add("foo");
424 return o; 424 return o;
425 } 425 }
426 426
427 checkUnnamed145(core.List<core.String> o) { 427 checkUnnamed1038(core.List<core.String> o) {
428 unittest.expect(o, unittest.hasLength(2)); 428 unittest.expect(o, unittest.hasLength(2));
429 unittest.expect(o[0], unittest.equals('foo')); 429 unittest.expect(o[0], unittest.equals('foo'));
430 unittest.expect(o[1], unittest.equals('foo')); 430 unittest.expect(o[1], unittest.equals('foo'));
431 } 431 }
432 432
433 core.int buildCounterGroup = 0; 433 core.int buildCounterGroup = 0;
434 buildGroup() { 434 buildGroup() {
435 var o = new api.Group(); 435 var o = new api.Group();
436 buildCounterGroup++; 436 buildCounterGroup++;
437 if (buildCounterGroup < 3) { 437 if (buildCounterGroup < 3) {
438 o.adminCreated = true; 438 o.adminCreated = true;
439 o.aliases = buildUnnamed144(); 439 o.aliases = buildUnnamed1037();
440 o.description = "foo"; 440 o.description = "foo";
441 o.directMembersCount = "foo"; 441 o.directMembersCount = "foo";
442 o.email = "foo"; 442 o.email = "foo";
443 o.etag = "foo"; 443 o.etag = "foo";
444 o.id = "foo"; 444 o.id = "foo";
445 o.kind = "foo"; 445 o.kind = "foo";
446 o.name = "foo"; 446 o.name = "foo";
447 o.nonEditableAliases = buildUnnamed145(); 447 o.nonEditableAliases = buildUnnamed1038();
448 } 448 }
449 buildCounterGroup--; 449 buildCounterGroup--;
450 return o; 450 return o;
451 } 451 }
452 452
453 checkGroup(api.Group o) { 453 checkGroup(api.Group o) {
454 buildCounterGroup++; 454 buildCounterGroup++;
455 if (buildCounterGroup < 3) { 455 if (buildCounterGroup < 3) {
456 unittest.expect(o.adminCreated, unittest.isTrue); 456 unittest.expect(o.adminCreated, unittest.isTrue);
457 checkUnnamed144(o.aliases); 457 checkUnnamed1037(o.aliases);
458 unittest.expect(o.description, unittest.equals('foo')); 458 unittest.expect(o.description, unittest.equals('foo'));
459 unittest.expect(o.directMembersCount, unittest.equals('foo')); 459 unittest.expect(o.directMembersCount, unittest.equals('foo'));
460 unittest.expect(o.email, unittest.equals('foo')); 460 unittest.expect(o.email, unittest.equals('foo'));
461 unittest.expect(o.etag, unittest.equals('foo')); 461 unittest.expect(o.etag, unittest.equals('foo'));
462 unittest.expect(o.id, unittest.equals('foo')); 462 unittest.expect(o.id, unittest.equals('foo'));
463 unittest.expect(o.kind, unittest.equals('foo')); 463 unittest.expect(o.kind, unittest.equals('foo'));
464 unittest.expect(o.name, unittest.equals('foo')); 464 unittest.expect(o.name, unittest.equals('foo'));
465 checkUnnamed145(o.nonEditableAliases); 465 checkUnnamed1038(o.nonEditableAliases);
466 } 466 }
467 buildCounterGroup--; 467 buildCounterGroup--;
468 } 468 }
469 469
470 buildUnnamed146() { 470 buildUnnamed1039() {
471 var o = new core.List<api.Group>(); 471 var o = new core.List<api.Group>();
472 o.add(buildGroup()); 472 o.add(buildGroup());
473 o.add(buildGroup()); 473 o.add(buildGroup());
474 return o; 474 return o;
475 } 475 }
476 476
477 checkUnnamed146(core.List<api.Group> o) { 477 checkUnnamed1039(core.List<api.Group> o) {
478 unittest.expect(o, unittest.hasLength(2)); 478 unittest.expect(o, unittest.hasLength(2));
479 checkGroup(o[0]); 479 checkGroup(o[0]);
480 checkGroup(o[1]); 480 checkGroup(o[1]);
481 } 481 }
482 482
483 core.int buildCounterGroups = 0; 483 core.int buildCounterGroups = 0;
484 buildGroups() { 484 buildGroups() {
485 var o = new api.Groups(); 485 var o = new api.Groups();
486 buildCounterGroups++; 486 buildCounterGroups++;
487 if (buildCounterGroups < 3) { 487 if (buildCounterGroups < 3) {
488 o.etag = "foo"; 488 o.etag = "foo";
489 o.groups = buildUnnamed146(); 489 o.groups = buildUnnamed1039();
490 o.kind = "foo"; 490 o.kind = "foo";
491 o.nextPageToken = "foo"; 491 o.nextPageToken = "foo";
492 } 492 }
493 buildCounterGroups--; 493 buildCounterGroups--;
494 return o; 494 return o;
495 } 495 }
496 496
497 checkGroups(api.Groups o) { 497 checkGroups(api.Groups o) {
498 buildCounterGroups++; 498 buildCounterGroups++;
499 if (buildCounterGroups < 3) { 499 if (buildCounterGroups < 3) {
500 unittest.expect(o.etag, unittest.equals('foo')); 500 unittest.expect(o.etag, unittest.equals('foo'));
501 checkUnnamed146(o.groups); 501 checkUnnamed1039(o.groups);
502 unittest.expect(o.kind, unittest.equals('foo')); 502 unittest.expect(o.kind, unittest.equals('foo'));
503 unittest.expect(o.nextPageToken, unittest.equals('foo')); 503 unittest.expect(o.nextPageToken, unittest.equals('foo'));
504 } 504 }
505 buildCounterGroups--; 505 buildCounterGroups--;
506 } 506 }
507 507
508 core.int buildCounterMember = 0; 508 core.int buildCounterMember = 0;
509 buildMember() { 509 buildMember() {
510 var o = new api.Member(); 510 var o = new api.Member();
511 buildCounterMember++; 511 buildCounterMember++;
(...skipping 15 matching lines...) Expand all
527 unittest.expect(o.email, unittest.equals('foo')); 527 unittest.expect(o.email, unittest.equals('foo'));
528 unittest.expect(o.etag, unittest.equals('foo')); 528 unittest.expect(o.etag, unittest.equals('foo'));
529 unittest.expect(o.id, unittest.equals('foo')); 529 unittest.expect(o.id, unittest.equals('foo'));
530 unittest.expect(o.kind, unittest.equals('foo')); 530 unittest.expect(o.kind, unittest.equals('foo'));
531 unittest.expect(o.role, unittest.equals('foo')); 531 unittest.expect(o.role, unittest.equals('foo'));
532 unittest.expect(o.type, unittest.equals('foo')); 532 unittest.expect(o.type, unittest.equals('foo'));
533 } 533 }
534 buildCounterMember--; 534 buildCounterMember--;
535 } 535 }
536 536
537 buildUnnamed147() { 537 buildUnnamed1040() {
538 var o = new core.List<api.Member>(); 538 var o = new core.List<api.Member>();
539 o.add(buildMember()); 539 o.add(buildMember());
540 o.add(buildMember()); 540 o.add(buildMember());
541 return o; 541 return o;
542 } 542 }
543 543
544 checkUnnamed147(core.List<api.Member> o) { 544 checkUnnamed1040(core.List<api.Member> o) {
545 unittest.expect(o, unittest.hasLength(2)); 545 unittest.expect(o, unittest.hasLength(2));
546 checkMember(o[0]); 546 checkMember(o[0]);
547 checkMember(o[1]); 547 checkMember(o[1]);
548 } 548 }
549 549
550 core.int buildCounterMembers = 0; 550 core.int buildCounterMembers = 0;
551 buildMembers() { 551 buildMembers() {
552 var o = new api.Members(); 552 var o = new api.Members();
553 buildCounterMembers++; 553 buildCounterMembers++;
554 if (buildCounterMembers < 3) { 554 if (buildCounterMembers < 3) {
555 o.etag = "foo"; 555 o.etag = "foo";
556 o.kind = "foo"; 556 o.kind = "foo";
557 o.members = buildUnnamed147(); 557 o.members = buildUnnamed1040();
558 o.nextPageToken = "foo"; 558 o.nextPageToken = "foo";
559 } 559 }
560 buildCounterMembers--; 560 buildCounterMembers--;
561 return o; 561 return o;
562 } 562 }
563 563
564 checkMembers(api.Members o) { 564 checkMembers(api.Members o) {
565 buildCounterMembers++; 565 buildCounterMembers++;
566 if (buildCounterMembers < 3) { 566 if (buildCounterMembers < 3) {
567 unittest.expect(o.etag, unittest.equals('foo')); 567 unittest.expect(o.etag, unittest.equals('foo'));
568 unittest.expect(o.kind, unittest.equals('foo')); 568 unittest.expect(o.kind, unittest.equals('foo'));
569 checkUnnamed147(o.members); 569 checkUnnamed1040(o.members);
570 unittest.expect(o.nextPageToken, unittest.equals('foo')); 570 unittest.expect(o.nextPageToken, unittest.equals('foo'));
571 } 571 }
572 buildCounterMembers--; 572 buildCounterMembers--;
573 } 573 }
574 574
575 buildUnnamed148() { 575 buildUnnamed1041() {
576 var o = new core.List<core.String>(); 576 var o = new core.List<core.String>();
577 o.add("foo"); 577 o.add("foo");
578 o.add("foo"); 578 o.add("foo");
579 return o; 579 return o;
580 } 580 }
581 581
582 checkUnnamed148(core.List<core.String> o) { 582 checkUnnamed1041(core.List<core.String> o) {
583 unittest.expect(o, unittest.hasLength(2)); 583 unittest.expect(o, unittest.hasLength(2));
584 unittest.expect(o[0], unittest.equals('foo')); 584 unittest.expect(o[0], unittest.equals('foo'));
585 unittest.expect(o[1], unittest.equals('foo')); 585 unittest.expect(o[1], unittest.equals('foo'));
586 } 586 }
587 587
588 core.int buildCounterMobileDeviceApplications = 0; 588 core.int buildCounterMobileDeviceApplications = 0;
589 buildMobileDeviceApplications() { 589 buildMobileDeviceApplications() {
590 var o = new api.MobileDeviceApplications(); 590 var o = new api.MobileDeviceApplications();
591 buildCounterMobileDeviceApplications++; 591 buildCounterMobileDeviceApplications++;
592 if (buildCounterMobileDeviceApplications < 3) { 592 if (buildCounterMobileDeviceApplications < 3) {
593 o.displayName = "foo"; 593 o.displayName = "foo";
594 o.packageName = "foo"; 594 o.packageName = "foo";
595 o.permission = buildUnnamed148(); 595 o.permission = buildUnnamed1041();
596 o.versionCode = 42; 596 o.versionCode = 42;
597 o.versionName = "foo"; 597 o.versionName = "foo";
598 } 598 }
599 buildCounterMobileDeviceApplications--; 599 buildCounterMobileDeviceApplications--;
600 return o; 600 return o;
601 } 601 }
602 602
603 checkMobileDeviceApplications(api.MobileDeviceApplications o) { 603 checkMobileDeviceApplications(api.MobileDeviceApplications o) {
604 buildCounterMobileDeviceApplications++; 604 buildCounterMobileDeviceApplications++;
605 if (buildCounterMobileDeviceApplications < 3) { 605 if (buildCounterMobileDeviceApplications < 3) {
606 unittest.expect(o.displayName, unittest.equals('foo')); 606 unittest.expect(o.displayName, unittest.equals('foo'));
607 unittest.expect(o.packageName, unittest.equals('foo')); 607 unittest.expect(o.packageName, unittest.equals('foo'));
608 checkUnnamed148(o.permission); 608 checkUnnamed1041(o.permission);
609 unittest.expect(o.versionCode, unittest.equals(42)); 609 unittest.expect(o.versionCode, unittest.equals(42));
610 unittest.expect(o.versionName, unittest.equals('foo')); 610 unittest.expect(o.versionName, unittest.equals('foo'));
611 } 611 }
612 buildCounterMobileDeviceApplications--; 612 buildCounterMobileDeviceApplications--;
613 } 613 }
614 614
615 buildUnnamed149() { 615 buildUnnamed1042() {
616 var o = new core.List<api.MobileDeviceApplications>(); 616 var o = new core.List<api.MobileDeviceApplications>();
617 o.add(buildMobileDeviceApplications()); 617 o.add(buildMobileDeviceApplications());
618 o.add(buildMobileDeviceApplications()); 618 o.add(buildMobileDeviceApplications());
619 return o; 619 return o;
620 } 620 }
621 621
622 checkUnnamed149(core.List<api.MobileDeviceApplications> o) { 622 checkUnnamed1042(core.List<api.MobileDeviceApplications> o) {
623 unittest.expect(o, unittest.hasLength(2)); 623 unittest.expect(o, unittest.hasLength(2));
624 checkMobileDeviceApplications(o[0]); 624 checkMobileDeviceApplications(o[0]);
625 checkMobileDeviceApplications(o[1]); 625 checkMobileDeviceApplications(o[1]);
626 } 626 }
627 627
628 buildUnnamed150() { 628 buildUnnamed1043() {
629 var o = new core.List<core.String>(); 629 var o = new core.List<core.String>();
630 o.add("foo"); 630 o.add("foo");
631 o.add("foo"); 631 o.add("foo");
632 return o; 632 return o;
633 } 633 }
634 634
635 checkUnnamed150(core.List<core.String> o) { 635 checkUnnamed1043(core.List<core.String> o) {
636 unittest.expect(o, unittest.hasLength(2)); 636 unittest.expect(o, unittest.hasLength(2));
637 unittest.expect(o[0], unittest.equals('foo')); 637 unittest.expect(o[0], unittest.equals('foo'));
638 unittest.expect(o[1], unittest.equals('foo')); 638 unittest.expect(o[1], unittest.equals('foo'));
639 } 639 }
640 640
641 buildUnnamed151() { 641 buildUnnamed1044() {
642 var o = new core.List<core.String>(); 642 var o = new core.List<core.String>();
643 o.add("foo"); 643 o.add("foo");
644 o.add("foo"); 644 o.add("foo");
645 return o; 645 return o;
646 } 646 }
647 647
648 checkUnnamed151(core.List<core.String> o) { 648 checkUnnamed1044(core.List<core.String> o) {
649 unittest.expect(o, unittest.hasLength(2)); 649 unittest.expect(o, unittest.hasLength(2));
650 unittest.expect(o[0], unittest.equals('foo')); 650 unittest.expect(o[0], unittest.equals('foo'));
651 unittest.expect(o[1], unittest.equals('foo')); 651 unittest.expect(o[1], unittest.equals('foo'));
652 } 652 }
653 653
654 buildUnnamed152() { 654 buildUnnamed1045() {
655 var o = new core.List<core.String>(); 655 var o = new core.List<core.String>();
656 o.add("foo"); 656 o.add("foo");
657 o.add("foo"); 657 o.add("foo");
658 return o; 658 return o;
659 } 659 }
660 660
661 checkUnnamed152(core.List<core.String> o) { 661 checkUnnamed1045(core.List<core.String> o) {
662 unittest.expect(o, unittest.hasLength(2)); 662 unittest.expect(o, unittest.hasLength(2));
663 unittest.expect(o[0], unittest.equals('foo')); 663 unittest.expect(o[0], unittest.equals('foo'));
664 unittest.expect(o[1], unittest.equals('foo')); 664 unittest.expect(o[1], unittest.equals('foo'));
665 } 665 }
666 666
667 core.int buildCounterMobileDevice = 0; 667 core.int buildCounterMobileDevice = 0;
668 buildMobileDevice() { 668 buildMobileDevice() {
669 var o = new api.MobileDevice(); 669 var o = new api.MobileDevice();
670 buildCounterMobileDevice++; 670 buildCounterMobileDevice++;
671 if (buildCounterMobileDevice < 3) { 671 if (buildCounterMobileDevice < 3) {
672 o.adbStatus = true; 672 o.adbStatus = true;
673 o.applications = buildUnnamed149(); 673 o.applications = buildUnnamed1042();
674 o.basebandVersion = "foo"; 674 o.basebandVersion = "foo";
675 o.buildNumber = "foo"; 675 o.buildNumber = "foo";
676 o.defaultLanguage = "foo"; 676 o.defaultLanguage = "foo";
677 o.developerOptionsStatus = true; 677 o.developerOptionsStatus = true;
678 o.deviceCompromisedStatus = "foo"; 678 o.deviceCompromisedStatus = "foo";
679 o.deviceId = "foo"; 679 o.deviceId = "foo";
680 o.email = buildUnnamed150(); 680 o.email = buildUnnamed1043();
681 o.etag = "foo"; 681 o.etag = "foo";
682 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02"); 682 o.firstSync = core.DateTime.parse("2002-02-27T14:01:02");
683 o.hardwareId = "foo"; 683 o.hardwareId = "foo";
684 o.imei = "foo"; 684 o.imei = "foo";
685 o.kernelVersion = "foo"; 685 o.kernelVersion = "foo";
686 o.kind = "foo"; 686 o.kind = "foo";
687 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02"); 687 o.lastSync = core.DateTime.parse("2002-02-27T14:01:02");
688 o.managedAccountIsOnOwnerProfile = true; 688 o.managedAccountIsOnOwnerProfile = true;
689 o.meid = "foo"; 689 o.meid = "foo";
690 o.model = "foo"; 690 o.model = "foo";
691 o.name = buildUnnamed151(); 691 o.name = buildUnnamed1044();
692 o.networkOperator = "foo"; 692 o.networkOperator = "foo";
693 o.os = "foo"; 693 o.os = "foo";
694 o.otherAccountsInfo = buildUnnamed152(); 694 o.otherAccountsInfo = buildUnnamed1045();
695 o.resourceId = "foo"; 695 o.resourceId = "foo";
696 o.serialNumber = "foo"; 696 o.serialNumber = "foo";
697 o.status = "foo"; 697 o.status = "foo";
698 o.supportsWorkProfile = true; 698 o.supportsWorkProfile = true;
699 o.type = "foo"; 699 o.type = "foo";
700 o.unknownSourcesStatus = true; 700 o.unknownSourcesStatus = true;
701 o.userAgent = "foo"; 701 o.userAgent = "foo";
702 o.wifiMacAddress = "foo"; 702 o.wifiMacAddress = "foo";
703 } 703 }
704 buildCounterMobileDevice--; 704 buildCounterMobileDevice--;
705 return o; 705 return o;
706 } 706 }
707 707
708 checkMobileDevice(api.MobileDevice o) { 708 checkMobileDevice(api.MobileDevice o) {
709 buildCounterMobileDevice++; 709 buildCounterMobileDevice++;
710 if (buildCounterMobileDevice < 3) { 710 if (buildCounterMobileDevice < 3) {
711 unittest.expect(o.adbStatus, unittest.isTrue); 711 unittest.expect(o.adbStatus, unittest.isTrue);
712 checkUnnamed149(o.applications); 712 checkUnnamed1042(o.applications);
713 unittest.expect(o.basebandVersion, unittest.equals('foo')); 713 unittest.expect(o.basebandVersion, unittest.equals('foo'));
714 unittest.expect(o.buildNumber, unittest.equals('foo')); 714 unittest.expect(o.buildNumber, unittest.equals('foo'));
715 unittest.expect(o.defaultLanguage, unittest.equals('foo')); 715 unittest.expect(o.defaultLanguage, unittest.equals('foo'));
716 unittest.expect(o.developerOptionsStatus, unittest.isTrue); 716 unittest.expect(o.developerOptionsStatus, unittest.isTrue);
717 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo')); 717 unittest.expect(o.deviceCompromisedStatus, unittest.equals('foo'));
718 unittest.expect(o.deviceId, unittest.equals('foo')); 718 unittest.expect(o.deviceId, unittest.equals('foo'));
719 checkUnnamed150(o.email); 719 checkUnnamed1043(o.email);
720 unittest.expect(o.etag, unittest.equals('foo')); 720 unittest.expect(o.etag, unittest.equals('foo'));
721 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02"))); 721 unittest.expect(o.firstSync, unittest.equals(core.DateTime.parse("2002-02-27 T14:01:02")));
722 unittest.expect(o.hardwareId, unittest.equals('foo')); 722 unittest.expect(o.hardwareId, unittest.equals('foo'));
723 unittest.expect(o.imei, unittest.equals('foo')); 723 unittest.expect(o.imei, unittest.equals('foo'));
724 unittest.expect(o.kernelVersion, unittest.equals('foo')); 724 unittest.expect(o.kernelVersion, unittest.equals('foo'));
725 unittest.expect(o.kind, unittest.equals('foo')); 725 unittest.expect(o.kind, unittest.equals('foo'));
726 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02"))); 726 unittest.expect(o.lastSync, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02")));
727 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue); 727 unittest.expect(o.managedAccountIsOnOwnerProfile, unittest.isTrue);
728 unittest.expect(o.meid, unittest.equals('foo')); 728 unittest.expect(o.meid, unittest.equals('foo'));
729 unittest.expect(o.model, unittest.equals('foo')); 729 unittest.expect(o.model, unittest.equals('foo'));
730 checkUnnamed151(o.name); 730 checkUnnamed1044(o.name);
731 unittest.expect(o.networkOperator, unittest.equals('foo')); 731 unittest.expect(o.networkOperator, unittest.equals('foo'));
732 unittest.expect(o.os, unittest.equals('foo')); 732 unittest.expect(o.os, unittest.equals('foo'));
733 checkUnnamed152(o.otherAccountsInfo); 733 checkUnnamed1045(o.otherAccountsInfo);
734 unittest.expect(o.resourceId, unittest.equals('foo')); 734 unittest.expect(o.resourceId, unittest.equals('foo'));
735 unittest.expect(o.serialNumber, unittest.equals('foo')); 735 unittest.expect(o.serialNumber, unittest.equals('foo'));
736 unittest.expect(o.status, unittest.equals('foo')); 736 unittest.expect(o.status, unittest.equals('foo'));
737 unittest.expect(o.supportsWorkProfile, unittest.isTrue); 737 unittest.expect(o.supportsWorkProfile, unittest.isTrue);
738 unittest.expect(o.type, unittest.equals('foo')); 738 unittest.expect(o.type, unittest.equals('foo'));
739 unittest.expect(o.unknownSourcesStatus, unittest.isTrue); 739 unittest.expect(o.unknownSourcesStatus, unittest.isTrue);
740 unittest.expect(o.userAgent, unittest.equals('foo')); 740 unittest.expect(o.userAgent, unittest.equals('foo'));
741 unittest.expect(o.wifiMacAddress, unittest.equals('foo')); 741 unittest.expect(o.wifiMacAddress, unittest.equals('foo'));
742 } 742 }
743 buildCounterMobileDevice--; 743 buildCounterMobileDevice--;
(...skipping 11 matching lines...) Expand all
755 } 755 }
756 756
757 checkMobileDeviceAction(api.MobileDeviceAction o) { 757 checkMobileDeviceAction(api.MobileDeviceAction o) {
758 buildCounterMobileDeviceAction++; 758 buildCounterMobileDeviceAction++;
759 if (buildCounterMobileDeviceAction < 3) { 759 if (buildCounterMobileDeviceAction < 3) {
760 unittest.expect(o.action, unittest.equals('foo')); 760 unittest.expect(o.action, unittest.equals('foo'));
761 } 761 }
762 buildCounterMobileDeviceAction--; 762 buildCounterMobileDeviceAction--;
763 } 763 }
764 764
765 buildUnnamed153() { 765 buildUnnamed1046() {
766 var o = new core.List<api.MobileDevice>(); 766 var o = new core.List<api.MobileDevice>();
767 o.add(buildMobileDevice()); 767 o.add(buildMobileDevice());
768 o.add(buildMobileDevice()); 768 o.add(buildMobileDevice());
769 return o; 769 return o;
770 } 770 }
771 771
772 checkUnnamed153(core.List<api.MobileDevice> o) { 772 checkUnnamed1046(core.List<api.MobileDevice> o) {
773 unittest.expect(o, unittest.hasLength(2)); 773 unittest.expect(o, unittest.hasLength(2));
774 checkMobileDevice(o[0]); 774 checkMobileDevice(o[0]);
775 checkMobileDevice(o[1]); 775 checkMobileDevice(o[1]);
776 } 776 }
777 777
778 core.int buildCounterMobileDevices = 0; 778 core.int buildCounterMobileDevices = 0;
779 buildMobileDevices() { 779 buildMobileDevices() {
780 var o = new api.MobileDevices(); 780 var o = new api.MobileDevices();
781 buildCounterMobileDevices++; 781 buildCounterMobileDevices++;
782 if (buildCounterMobileDevices < 3) { 782 if (buildCounterMobileDevices < 3) {
783 o.etag = "foo"; 783 o.etag = "foo";
784 o.kind = "foo"; 784 o.kind = "foo";
785 o.mobiledevices = buildUnnamed153(); 785 o.mobiledevices = buildUnnamed1046();
786 o.nextPageToken = "foo"; 786 o.nextPageToken = "foo";
787 } 787 }
788 buildCounterMobileDevices--; 788 buildCounterMobileDevices--;
789 return o; 789 return o;
790 } 790 }
791 791
792 checkMobileDevices(api.MobileDevices o) { 792 checkMobileDevices(api.MobileDevices o) {
793 buildCounterMobileDevices++; 793 buildCounterMobileDevices++;
794 if (buildCounterMobileDevices < 3) { 794 if (buildCounterMobileDevices < 3) {
795 unittest.expect(o.etag, unittest.equals('foo')); 795 unittest.expect(o.etag, unittest.equals('foo'));
796 unittest.expect(o.kind, unittest.equals('foo')); 796 unittest.expect(o.kind, unittest.equals('foo'));
797 checkUnnamed153(o.mobiledevices); 797 checkUnnamed1046(o.mobiledevices);
798 unittest.expect(o.nextPageToken, unittest.equals('foo')); 798 unittest.expect(o.nextPageToken, unittest.equals('foo'));
799 } 799 }
800 buildCounterMobileDevices--; 800 buildCounterMobileDevices--;
801 } 801 }
802 802
803 core.int buildCounterNotification = 0; 803 core.int buildCounterNotification = 0;
804 buildNotification() { 804 buildNotification() {
805 var o = new api.Notification(); 805 var o = new api.Notification();
806 buildCounterNotification++; 806 buildCounterNotification++;
807 if (buildCounterNotification < 3) { 807 if (buildCounterNotification < 3) {
(...skipping 18 matching lines...) Expand all
826 unittest.expect(o.fromAddress, unittest.equals('foo')); 826 unittest.expect(o.fromAddress, unittest.equals('foo'));
827 unittest.expect(o.isUnread, unittest.isTrue); 827 unittest.expect(o.isUnread, unittest.isTrue);
828 unittest.expect(o.kind, unittest.equals('foo')); 828 unittest.expect(o.kind, unittest.equals('foo'));
829 unittest.expect(o.notificationId, unittest.equals('foo')); 829 unittest.expect(o.notificationId, unittest.equals('foo'));
830 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02"))); 830 unittest.expect(o.sendTime, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02")));
831 unittest.expect(o.subject, unittest.equals('foo')); 831 unittest.expect(o.subject, unittest.equals('foo'));
832 } 832 }
833 buildCounterNotification--; 833 buildCounterNotification--;
834 } 834 }
835 835
836 buildUnnamed154() { 836 buildUnnamed1047() {
837 var o = new core.List<api.Notification>(); 837 var o = new core.List<api.Notification>();
838 o.add(buildNotification()); 838 o.add(buildNotification());
839 o.add(buildNotification()); 839 o.add(buildNotification());
840 return o; 840 return o;
841 } 841 }
842 842
843 checkUnnamed154(core.List<api.Notification> o) { 843 checkUnnamed1047(core.List<api.Notification> o) {
844 unittest.expect(o, unittest.hasLength(2)); 844 unittest.expect(o, unittest.hasLength(2));
845 checkNotification(o[0]); 845 checkNotification(o[0]);
846 checkNotification(o[1]); 846 checkNotification(o[1]);
847 } 847 }
848 848
849 core.int buildCounterNotifications = 0; 849 core.int buildCounterNotifications = 0;
850 buildNotifications() { 850 buildNotifications() {
851 var o = new api.Notifications(); 851 var o = new api.Notifications();
852 buildCounterNotifications++; 852 buildCounterNotifications++;
853 if (buildCounterNotifications < 3) { 853 if (buildCounterNotifications < 3) {
854 o.etag = "foo"; 854 o.etag = "foo";
855 o.items = buildUnnamed154(); 855 o.items = buildUnnamed1047();
856 o.kind = "foo"; 856 o.kind = "foo";
857 o.nextPageToken = "foo"; 857 o.nextPageToken = "foo";
858 o.unreadNotificationsCount = 42; 858 o.unreadNotificationsCount = 42;
859 } 859 }
860 buildCounterNotifications--; 860 buildCounterNotifications--;
861 return o; 861 return o;
862 } 862 }
863 863
864 checkNotifications(api.Notifications o) { 864 checkNotifications(api.Notifications o) {
865 buildCounterNotifications++; 865 buildCounterNotifications++;
866 if (buildCounterNotifications < 3) { 866 if (buildCounterNotifications < 3) {
867 unittest.expect(o.etag, unittest.equals('foo')); 867 unittest.expect(o.etag, unittest.equals('foo'));
868 checkUnnamed154(o.items); 868 checkUnnamed1047(o.items);
869 unittest.expect(o.kind, unittest.equals('foo')); 869 unittest.expect(o.kind, unittest.equals('foo'));
870 unittest.expect(o.nextPageToken, unittest.equals('foo')); 870 unittest.expect(o.nextPageToken, unittest.equals('foo'));
871 unittest.expect(o.unreadNotificationsCount, unittest.equals(42)); 871 unittest.expect(o.unreadNotificationsCount, unittest.equals(42));
872 } 872 }
873 buildCounterNotifications--; 873 buildCounterNotifications--;
874 } 874 }
875 875
876 core.int buildCounterOrgUnit = 0; 876 core.int buildCounterOrgUnit = 0;
877 buildOrgUnit() { 877 buildOrgUnit() {
878 var o = new api.OrgUnit(); 878 var o = new api.OrgUnit();
(...skipping 22 matching lines...) Expand all
901 unittest.expect(o.kind, unittest.equals('foo')); 901 unittest.expect(o.kind, unittest.equals('foo'));
902 unittest.expect(o.name, unittest.equals('foo')); 902 unittest.expect(o.name, unittest.equals('foo'));
903 unittest.expect(o.orgUnitId, unittest.equals('foo')); 903 unittest.expect(o.orgUnitId, unittest.equals('foo'));
904 unittest.expect(o.orgUnitPath, unittest.equals('foo')); 904 unittest.expect(o.orgUnitPath, unittest.equals('foo'));
905 unittest.expect(o.parentOrgUnitId, unittest.equals('foo')); 905 unittest.expect(o.parentOrgUnitId, unittest.equals('foo'));
906 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo')); 906 unittest.expect(o.parentOrgUnitPath, unittest.equals('foo'));
907 } 907 }
908 buildCounterOrgUnit--; 908 buildCounterOrgUnit--;
909 } 909 }
910 910
911 buildUnnamed155() { 911 buildUnnamed1048() {
912 var o = new core.List<api.OrgUnit>(); 912 var o = new core.List<api.OrgUnit>();
913 o.add(buildOrgUnit()); 913 o.add(buildOrgUnit());
914 o.add(buildOrgUnit()); 914 o.add(buildOrgUnit());
915 return o; 915 return o;
916 } 916 }
917 917
918 checkUnnamed155(core.List<api.OrgUnit> o) { 918 checkUnnamed1048(core.List<api.OrgUnit> o) {
919 unittest.expect(o, unittest.hasLength(2)); 919 unittest.expect(o, unittest.hasLength(2));
920 checkOrgUnit(o[0]); 920 checkOrgUnit(o[0]);
921 checkOrgUnit(o[1]); 921 checkOrgUnit(o[1]);
922 } 922 }
923 923
924 core.int buildCounterOrgUnits = 0; 924 core.int buildCounterOrgUnits = 0;
925 buildOrgUnits() { 925 buildOrgUnits() {
926 var o = new api.OrgUnits(); 926 var o = new api.OrgUnits();
927 buildCounterOrgUnits++; 927 buildCounterOrgUnits++;
928 if (buildCounterOrgUnits < 3) { 928 if (buildCounterOrgUnits < 3) {
929 o.etag = "foo"; 929 o.etag = "foo";
930 o.kind = "foo"; 930 o.kind = "foo";
931 o.organizationUnits = buildUnnamed155(); 931 o.organizationUnits = buildUnnamed1048();
932 } 932 }
933 buildCounterOrgUnits--; 933 buildCounterOrgUnits--;
934 return o; 934 return o;
935 } 935 }
936 936
937 checkOrgUnits(api.OrgUnits o) { 937 checkOrgUnits(api.OrgUnits o) {
938 buildCounterOrgUnits++; 938 buildCounterOrgUnits++;
939 if (buildCounterOrgUnits < 3) { 939 if (buildCounterOrgUnits < 3) {
940 unittest.expect(o.etag, unittest.equals('foo')); 940 unittest.expect(o.etag, unittest.equals('foo'));
941 unittest.expect(o.kind, unittest.equals('foo')); 941 unittest.expect(o.kind, unittest.equals('foo'));
942 checkUnnamed155(o.organizationUnits); 942 checkUnnamed1048(o.organizationUnits);
943 } 943 }
944 buildCounterOrgUnits--; 944 buildCounterOrgUnits--;
945 } 945 }
946 946
947 buildUnnamed156() { 947 buildUnnamed1049() {
948 var o = new core.List<api.SchemaFieldSpec>(); 948 var o = new core.List<api.SchemaFieldSpec>();
949 o.add(buildSchemaFieldSpec()); 949 o.add(buildSchemaFieldSpec());
950 o.add(buildSchemaFieldSpec()); 950 o.add(buildSchemaFieldSpec());
951 return o; 951 return o;
952 } 952 }
953 953
954 checkUnnamed156(core.List<api.SchemaFieldSpec> o) { 954 checkUnnamed1049(core.List<api.SchemaFieldSpec> o) {
955 unittest.expect(o, unittest.hasLength(2)); 955 unittest.expect(o, unittest.hasLength(2));
956 checkSchemaFieldSpec(o[0]); 956 checkSchemaFieldSpec(o[0]);
957 checkSchemaFieldSpec(o[1]); 957 checkSchemaFieldSpec(o[1]);
958 } 958 }
959 959
960 core.int buildCounterSchema = 0; 960 core.int buildCounterSchema = 0;
961 buildSchema() { 961 buildSchema() {
962 var o = new api.Schema(); 962 var o = new api.Schema();
963 buildCounterSchema++; 963 buildCounterSchema++;
964 if (buildCounterSchema < 3) { 964 if (buildCounterSchema < 3) {
965 o.etag = "foo"; 965 o.etag = "foo";
966 o.fields = buildUnnamed156(); 966 o.fields = buildUnnamed1049();
967 o.kind = "foo"; 967 o.kind = "foo";
968 o.schemaId = "foo"; 968 o.schemaId = "foo";
969 o.schemaName = "foo"; 969 o.schemaName = "foo";
970 } 970 }
971 buildCounterSchema--; 971 buildCounterSchema--;
972 return o; 972 return o;
973 } 973 }
974 974
975 checkSchema(api.Schema o) { 975 checkSchema(api.Schema o) {
976 buildCounterSchema++; 976 buildCounterSchema++;
977 if (buildCounterSchema < 3) { 977 if (buildCounterSchema < 3) {
978 unittest.expect(o.etag, unittest.equals('foo')); 978 unittest.expect(o.etag, unittest.equals('foo'));
979 checkUnnamed156(o.fields); 979 checkUnnamed1049(o.fields);
980 unittest.expect(o.kind, unittest.equals('foo')); 980 unittest.expect(o.kind, unittest.equals('foo'));
981 unittest.expect(o.schemaId, unittest.equals('foo')); 981 unittest.expect(o.schemaId, unittest.equals('foo'));
982 unittest.expect(o.schemaName, unittest.equals('foo')); 982 unittest.expect(o.schemaName, unittest.equals('foo'));
983 } 983 }
984 buildCounterSchema--; 984 buildCounterSchema--;
985 } 985 }
986 986
987 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0; 987 core.int buildCounterSchemaFieldSpecNumericIndexingSpec = 0;
988 buildSchemaFieldSpecNumericIndexingSpec() { 988 buildSchemaFieldSpecNumericIndexingSpec() {
989 var o = new api.SchemaFieldSpecNumericIndexingSpec(); 989 var o = new api.SchemaFieldSpecNumericIndexingSpec();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 unittest.expect(o.fieldType, unittest.equals('foo')); 1033 unittest.expect(o.fieldType, unittest.equals('foo'));
1034 unittest.expect(o.indexed, unittest.isTrue); 1034 unittest.expect(o.indexed, unittest.isTrue);
1035 unittest.expect(o.kind, unittest.equals('foo')); 1035 unittest.expect(o.kind, unittest.equals('foo'));
1036 unittest.expect(o.multiValued, unittest.isTrue); 1036 unittest.expect(o.multiValued, unittest.isTrue);
1037 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec); 1037 checkSchemaFieldSpecNumericIndexingSpec(o.numericIndexingSpec);
1038 unittest.expect(o.readAccessType, unittest.equals('foo')); 1038 unittest.expect(o.readAccessType, unittest.equals('foo'));
1039 } 1039 }
1040 buildCounterSchemaFieldSpec--; 1040 buildCounterSchemaFieldSpec--;
1041 } 1041 }
1042 1042
1043 buildUnnamed157() { 1043 buildUnnamed1050() {
1044 var o = new core.List<api.Schema>(); 1044 var o = new core.List<api.Schema>();
1045 o.add(buildSchema()); 1045 o.add(buildSchema());
1046 o.add(buildSchema()); 1046 o.add(buildSchema());
1047 return o; 1047 return o;
1048 } 1048 }
1049 1049
1050 checkUnnamed157(core.List<api.Schema> o) { 1050 checkUnnamed1050(core.List<api.Schema> o) {
1051 unittest.expect(o, unittest.hasLength(2)); 1051 unittest.expect(o, unittest.hasLength(2));
1052 checkSchema(o[0]); 1052 checkSchema(o[0]);
1053 checkSchema(o[1]); 1053 checkSchema(o[1]);
1054 } 1054 }
1055 1055
1056 core.int buildCounterSchemas = 0; 1056 core.int buildCounterSchemas = 0;
1057 buildSchemas() { 1057 buildSchemas() {
1058 var o = new api.Schemas(); 1058 var o = new api.Schemas();
1059 buildCounterSchemas++; 1059 buildCounterSchemas++;
1060 if (buildCounterSchemas < 3) { 1060 if (buildCounterSchemas < 3) {
1061 o.etag = "foo"; 1061 o.etag = "foo";
1062 o.kind = "foo"; 1062 o.kind = "foo";
1063 o.schemas = buildUnnamed157(); 1063 o.schemas = buildUnnamed1050();
1064 } 1064 }
1065 buildCounterSchemas--; 1065 buildCounterSchemas--;
1066 return o; 1066 return o;
1067 } 1067 }
1068 1068
1069 checkSchemas(api.Schemas o) { 1069 checkSchemas(api.Schemas o) {
1070 buildCounterSchemas++; 1070 buildCounterSchemas++;
1071 if (buildCounterSchemas < 3) { 1071 if (buildCounterSchemas < 3) {
1072 unittest.expect(o.etag, unittest.equals('foo')); 1072 unittest.expect(o.etag, unittest.equals('foo'));
1073 unittest.expect(o.kind, unittest.equals('foo')); 1073 unittest.expect(o.kind, unittest.equals('foo'));
1074 checkUnnamed157(o.schemas); 1074 checkUnnamed1050(o.schemas);
1075 } 1075 }
1076 buildCounterSchemas--; 1076 buildCounterSchemas--;
1077 } 1077 }
1078 1078
1079 buildUnnamed158() { 1079 buildUnnamed1051() {
1080 var o = new core.List<core.String>(); 1080 var o = new core.List<core.String>();
1081 o.add("foo"); 1081 o.add("foo");
1082 o.add("foo"); 1082 o.add("foo");
1083 return o; 1083 return o;
1084 } 1084 }
1085 1085
1086 checkUnnamed158(core.List<core.String> o) { 1086 checkUnnamed1051(core.List<core.String> o) {
1087 unittest.expect(o, unittest.hasLength(2)); 1087 unittest.expect(o, unittest.hasLength(2));
1088 unittest.expect(o[0], unittest.equals('foo')); 1088 unittest.expect(o[0], unittest.equals('foo'));
1089 unittest.expect(o[1], unittest.equals('foo')); 1089 unittest.expect(o[1], unittest.equals('foo'));
1090 } 1090 }
1091 1091
1092 core.int buildCounterToken = 0; 1092 core.int buildCounterToken = 0;
1093 buildToken() { 1093 buildToken() {
1094 var o = new api.Token(); 1094 var o = new api.Token();
1095 buildCounterToken++; 1095 buildCounterToken++;
1096 if (buildCounterToken < 3) { 1096 if (buildCounterToken < 3) {
1097 o.anonymous = true; 1097 o.anonymous = true;
1098 o.clientId = "foo"; 1098 o.clientId = "foo";
1099 o.displayText = "foo"; 1099 o.displayText = "foo";
1100 o.etag = "foo"; 1100 o.etag = "foo";
1101 o.kind = "foo"; 1101 o.kind = "foo";
1102 o.nativeApp = true; 1102 o.nativeApp = true;
1103 o.scopes = buildUnnamed158(); 1103 o.scopes = buildUnnamed1051();
1104 o.userKey = "foo"; 1104 o.userKey = "foo";
1105 } 1105 }
1106 buildCounterToken--; 1106 buildCounterToken--;
1107 return o; 1107 return o;
1108 } 1108 }
1109 1109
1110 checkToken(api.Token o) { 1110 checkToken(api.Token o) {
1111 buildCounterToken++; 1111 buildCounterToken++;
1112 if (buildCounterToken < 3) { 1112 if (buildCounterToken < 3) {
1113 unittest.expect(o.anonymous, unittest.isTrue); 1113 unittest.expect(o.anonymous, unittest.isTrue);
1114 unittest.expect(o.clientId, unittest.equals('foo')); 1114 unittest.expect(o.clientId, unittest.equals('foo'));
1115 unittest.expect(o.displayText, unittest.equals('foo')); 1115 unittest.expect(o.displayText, unittest.equals('foo'));
1116 unittest.expect(o.etag, unittest.equals('foo')); 1116 unittest.expect(o.etag, unittest.equals('foo'));
1117 unittest.expect(o.kind, unittest.equals('foo')); 1117 unittest.expect(o.kind, unittest.equals('foo'));
1118 unittest.expect(o.nativeApp, unittest.isTrue); 1118 unittest.expect(o.nativeApp, unittest.isTrue);
1119 checkUnnamed158(o.scopes); 1119 checkUnnamed1051(o.scopes);
1120 unittest.expect(o.userKey, unittest.equals('foo')); 1120 unittest.expect(o.userKey, unittest.equals('foo'));
1121 } 1121 }
1122 buildCounterToken--; 1122 buildCounterToken--;
1123 } 1123 }
1124 1124
1125 buildUnnamed159() { 1125 buildUnnamed1052() {
1126 var o = new core.List<api.Token>(); 1126 var o = new core.List<api.Token>();
1127 o.add(buildToken()); 1127 o.add(buildToken());
1128 o.add(buildToken()); 1128 o.add(buildToken());
1129 return o; 1129 return o;
1130 } 1130 }
1131 1131
1132 checkUnnamed159(core.List<api.Token> o) { 1132 checkUnnamed1052(core.List<api.Token> o) {
1133 unittest.expect(o, unittest.hasLength(2)); 1133 unittest.expect(o, unittest.hasLength(2));
1134 checkToken(o[0]); 1134 checkToken(o[0]);
1135 checkToken(o[1]); 1135 checkToken(o[1]);
1136 } 1136 }
1137 1137
1138 core.int buildCounterTokens = 0; 1138 core.int buildCounterTokens = 0;
1139 buildTokens() { 1139 buildTokens() {
1140 var o = new api.Tokens(); 1140 var o = new api.Tokens();
1141 buildCounterTokens++; 1141 buildCounterTokens++;
1142 if (buildCounterTokens < 3) { 1142 if (buildCounterTokens < 3) {
1143 o.etag = "foo"; 1143 o.etag = "foo";
1144 o.items = buildUnnamed159(); 1144 o.items = buildUnnamed1052();
1145 o.kind = "foo"; 1145 o.kind = "foo";
1146 } 1146 }
1147 buildCounterTokens--; 1147 buildCounterTokens--;
1148 return o; 1148 return o;
1149 } 1149 }
1150 1150
1151 checkTokens(api.Tokens o) { 1151 checkTokens(api.Tokens o) {
1152 buildCounterTokens++; 1152 buildCounterTokens++;
1153 if (buildCounterTokens < 3) { 1153 if (buildCounterTokens < 3) {
1154 unittest.expect(o.etag, unittest.equals('foo')); 1154 unittest.expect(o.etag, unittest.equals('foo'));
1155 checkUnnamed159(o.items); 1155 checkUnnamed1052(o.items);
1156 unittest.expect(o.kind, unittest.equals('foo')); 1156 unittest.expect(o.kind, unittest.equals('foo'));
1157 } 1157 }
1158 buildCounterTokens--; 1158 buildCounterTokens--;
1159 } 1159 }
1160 1160
1161 buildUnnamed160() { 1161 buildUnnamed1053() {
1162 var o = new core.List<core.String>(); 1162 var o = new core.List<core.String>();
1163 o.add("foo"); 1163 o.add("foo");
1164 o.add("foo"); 1164 o.add("foo");
1165 return o; 1165 return o;
1166 } 1166 }
1167 1167
1168 checkUnnamed160(core.List<core.String> o) { 1168 checkUnnamed1053(core.List<core.String> o) {
1169 unittest.expect(o, unittest.hasLength(2)); 1169 unittest.expect(o, unittest.hasLength(2));
1170 unittest.expect(o[0], unittest.equals('foo')); 1170 unittest.expect(o[0], unittest.equals('foo'));
1171 unittest.expect(o[1], unittest.equals('foo')); 1171 unittest.expect(o[1], unittest.equals('foo'));
1172 } 1172 }
1173 1173
1174 buildUnnamed161() { 1174 buildUnnamed1054() {
1175 var o = new core.Map<core.String, api.UserCustomProperties>(); 1175 var o = new core.Map<core.String, api.UserCustomProperties>();
1176 o["x"] = buildUserCustomProperties(); 1176 o["x"] = buildUserCustomProperties();
1177 o["y"] = buildUserCustomProperties(); 1177 o["y"] = buildUserCustomProperties();
1178 return o; 1178 return o;
1179 } 1179 }
1180 1180
1181 checkUnnamed161(core.Map<core.String, api.UserCustomProperties> o) { 1181 checkUnnamed1054(core.Map<core.String, api.UserCustomProperties> o) {
1182 unittest.expect(o, unittest.hasLength(2)); 1182 unittest.expect(o, unittest.hasLength(2));
1183 checkUserCustomProperties(o["x"]); 1183 checkUserCustomProperties(o["x"]);
1184 checkUserCustomProperties(o["y"]); 1184 checkUserCustomProperties(o["y"]);
1185 } 1185 }
1186 1186
1187 buildUnnamed162() { 1187 buildUnnamed1055() {
1188 var o = new core.List<core.String>(); 1188 var o = new core.List<core.String>();
1189 o.add("foo"); 1189 o.add("foo");
1190 o.add("foo"); 1190 o.add("foo");
1191 return o; 1191 return o;
1192 } 1192 }
1193 1193
1194 checkUnnamed162(core.List<core.String> o) { 1194 checkUnnamed1055(core.List<core.String> o) {
1195 unittest.expect(o, unittest.hasLength(2)); 1195 unittest.expect(o, unittest.hasLength(2));
1196 unittest.expect(o[0], unittest.equals('foo')); 1196 unittest.expect(o[0], unittest.equals('foo'));
1197 unittest.expect(o[1], unittest.equals('foo')); 1197 unittest.expect(o[1], unittest.equals('foo'));
1198 } 1198 }
1199 1199
1200 core.int buildCounterUser = 0; 1200 core.int buildCounterUser = 0;
1201 buildUser() { 1201 buildUser() {
1202 var o = new api.User(); 1202 var o = new api.User();
1203 buildCounterUser++; 1203 buildCounterUser++;
1204 if (buildCounterUser < 3) { 1204 if (buildCounterUser < 3) {
1205 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1205 o.addresses = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1206 o.agreedToTerms = true; 1206 o.agreedToTerms = true;
1207 o.aliases = buildUnnamed160(); 1207 o.aliases = buildUnnamed1053();
1208 o.changePasswordAtNextLogin = true; 1208 o.changePasswordAtNextLogin = true;
1209 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02"); 1209 o.creationTime = core.DateTime.parse("2002-02-27T14:01:02");
1210 o.customSchemas = buildUnnamed161(); 1210 o.customSchemas = buildUnnamed1054();
1211 o.customerId = "foo"; 1211 o.customerId = "foo";
1212 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02"); 1212 o.deletionTime = core.DateTime.parse("2002-02-27T14:01:02");
1213 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1213 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1214 o.etag = "foo"; 1214 o.etag = "foo";
1215 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1215 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1216 o.hashFunction = "foo"; 1216 o.hashFunction = "foo";
1217 o.id = "foo"; 1217 o.id = "foo";
1218 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1218 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1219 o.includeInGlobalAddressList = true; 1219 o.includeInGlobalAddressList = true;
1220 o.ipWhitelisted = true; 1220 o.ipWhitelisted = true;
1221 o.isAdmin = true; 1221 o.isAdmin = true;
1222 o.isDelegatedAdmin = true; 1222 o.isDelegatedAdmin = true;
1223 o.isMailboxSetup = true; 1223 o.isMailboxSetup = true;
1224 o.kind = "foo"; 1224 o.kind = "foo";
1225 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); 1225 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02");
1226 o.name = buildUserName(); 1226 o.name = buildUserName();
1227 o.nonEditableAliases = buildUnnamed162(); 1227 o.nonEditableAliases = buildUnnamed1055();
1228 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1228 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1229 o.orgUnitPath = "foo"; 1229 o.orgUnitPath = "foo";
1230 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1230 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1231 o.password = "foo"; 1231 o.password = "foo";
1232 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1232 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1233 o.primaryEmail = "foo"; 1233 o.primaryEmail = "foo";
1234 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1234 o.relations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1235 o.suspended = true; 1235 o.suspended = true;
1236 o.suspensionReason = "foo"; 1236 o.suspensionReason = "foo";
1237 o.thumbnailPhotoEtag = "foo"; 1237 o.thumbnailPhotoEtag = "foo";
1238 o.thumbnailPhotoUrl = "foo"; 1238 o.thumbnailPhotoUrl = "foo";
1239 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1239 o.websites = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1240 } 1240 }
1241 buildCounterUser--; 1241 buildCounterUser--;
1242 return o; 1242 return o;
1243 } 1243 }
1244 1244
1245 checkUser(api.User o) { 1245 checkUser(api.User o) {
1246 buildCounterUser++; 1246 buildCounterUser++;
1247 if (buildCounterUser < 3) { 1247 if (buildCounterUser < 3) {
1248 var casted1 = (o.addresses) as core.Map; unittest.expect(casted1, unittest.h asLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unit test.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["st ring"], unittest.equals('foo')); 1248 var casted1 = (o.addresses) as core.Map; unittest.expect(casted1, unittest.h asLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unit test.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["st ring"], unittest.equals('foo'));
1249 unittest.expect(o.agreedToTerms, unittest.isTrue); 1249 unittest.expect(o.agreedToTerms, unittest.isTrue);
1250 checkUnnamed160(o.aliases); 1250 checkUnnamed1053(o.aliases);
1251 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue); 1251 unittest.expect(o.changePasswordAtNextLogin, unittest.isTrue);
1252 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1252 unittest.expect(o.creationTime, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1253 checkUnnamed161(o.customSchemas); 1253 checkUnnamed1054(o.customSchemas);
1254 unittest.expect(o.customerId, unittest.equals('foo')); 1254 unittest.expect(o.customerId, unittest.equals('foo'));
1255 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1255 unittest.expect(o.deletionTime, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1256 var casted2 = (o.emails) as core.Map; unittest.expect(casted2, unittest.hasL ength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["strin g"], unittest.equals('foo')); 1256 var casted2 = (o.emails) as core.Map; unittest.expect(casted2, unittest.hasL ength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["strin g"], unittest.equals('foo'));
1257 unittest.expect(o.etag, unittest.equals('foo')); 1257 unittest.expect(o.etag, unittest.equals('foo'));
1258 var casted3 = (o.externalIds) as core.Map; unittest.expect(casted3, unittest .hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); un ittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3[" string"], unittest.equals('foo')); 1258 var casted3 = (o.externalIds) as core.Map; unittest.expect(casted3, unittest .hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); un ittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3[" string"], unittest.equals('foo'));
1259 unittest.expect(o.hashFunction, unittest.equals('foo')); 1259 unittest.expect(o.hashFunction, unittest.equals('foo'));
1260 unittest.expect(o.id, unittest.equals('foo')); 1260 unittest.expect(o.id, unittest.equals('foo'));
1261 var casted4 = (o.ims) as core.Map; unittest.expect(casted4, unittest.hasLeng th(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"] , unittest.equals('foo')); 1261 var casted4 = (o.ims) as core.Map; unittest.expect(casted4, unittest.hasLeng th(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"] , unittest.equals('foo'));
1262 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); 1262 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue);
1263 unittest.expect(o.ipWhitelisted, unittest.isTrue); 1263 unittest.expect(o.ipWhitelisted, unittest.isTrue);
1264 unittest.expect(o.isAdmin, unittest.isTrue); 1264 unittest.expect(o.isAdmin, unittest.isTrue);
1265 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); 1265 unittest.expect(o.isDelegatedAdmin, unittest.isTrue);
1266 unittest.expect(o.isMailboxSetup, unittest.isTrue); 1266 unittest.expect(o.isMailboxSetup, unittest.isTrue);
1267 unittest.expect(o.kind, unittest.equals('foo')); 1267 unittest.expect(o.kind, unittest.equals('foo'));
1268 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0 2-27T14:01:02"))); 1268 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0 2-27T14:01:02")));
1269 checkUserName(o.name); 1269 checkUserName(o.name);
1270 checkUnnamed162(o.nonEditableAliases); 1270 checkUnnamed1055(o.nonEditableAliases);
1271 var casted5 = (o.notes) as core.Map; unittest.expect(casted5, unittest.hasLe ngth(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest .expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string "], unittest.equals('foo')); 1271 var casted5 = (o.notes) as core.Map; unittest.expect(casted5, unittest.hasLe ngth(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest .expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string "], unittest.equals('foo'));
1272 unittest.expect(o.orgUnitPath, unittest.equals('foo')); 1272 unittest.expect(o.orgUnitPath, unittest.equals('foo'));
1273 var casted6 = (o.organizations) as core.Map; unittest.expect(casted6, unitte st.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6 ["string"], unittest.equals('foo')); 1273 var casted6 = (o.organizations) as core.Map; unittest.expect(casted6, unitte st.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6 ["string"], unittest.equals('foo'));
1274 unittest.expect(o.password, unittest.equals('foo')); 1274 unittest.expect(o.password, unittest.equals('foo'));
1275 var casted7 = (o.phones) as core.Map; unittest.expect(casted7, unittest.hasL ength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["strin g"], unittest.equals('foo')); 1275 var casted7 = (o.phones) as core.Map; unittest.expect(casted7, unittest.hasL ength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["strin g"], unittest.equals('foo'));
1276 unittest.expect(o.primaryEmail, unittest.equals('foo')); 1276 unittest.expect(o.primaryEmail, unittest.equals('foo'));
1277 var casted8 = (o.relations) 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')); 1277 var casted8 = (o.relations) 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'));
1278 unittest.expect(o.suspended, unittest.isTrue); 1278 unittest.expect(o.suspended, unittest.isTrue);
1279 unittest.expect(o.suspensionReason, unittest.equals('foo')); 1279 unittest.expect(o.suspensionReason, unittest.equals('foo'));
1280 unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo')); 1280 unittest.expect(o.thumbnailPhotoEtag, unittest.equals('foo'));
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 buildCounterUserWebsite++; 1637 buildCounterUserWebsite++;
1638 if (buildCounterUserWebsite < 3) { 1638 if (buildCounterUserWebsite < 3) {
1639 unittest.expect(o.customType, unittest.equals('foo')); 1639 unittest.expect(o.customType, unittest.equals('foo'));
1640 unittest.expect(o.primary, unittest.isTrue); 1640 unittest.expect(o.primary, unittest.isTrue);
1641 unittest.expect(o.type, unittest.equals('foo')); 1641 unittest.expect(o.type, unittest.equals('foo'));
1642 unittest.expect(o.value, unittest.equals('foo')); 1642 unittest.expect(o.value, unittest.equals('foo'));
1643 } 1643 }
1644 buildCounterUserWebsite--; 1644 buildCounterUserWebsite--;
1645 } 1645 }
1646 1646
1647 buildUnnamed163() { 1647 buildUnnamed1056() {
1648 var o = new core.List<api.User>(); 1648 var o = new core.List<api.User>();
1649 o.add(buildUser()); 1649 o.add(buildUser());
1650 o.add(buildUser()); 1650 o.add(buildUser());
1651 return o; 1651 return o;
1652 } 1652 }
1653 1653
1654 checkUnnamed163(core.List<api.User> o) { 1654 checkUnnamed1056(core.List<api.User> o) {
1655 unittest.expect(o, unittest.hasLength(2)); 1655 unittest.expect(o, unittest.hasLength(2));
1656 checkUser(o[0]); 1656 checkUser(o[0]);
1657 checkUser(o[1]); 1657 checkUser(o[1]);
1658 } 1658 }
1659 1659
1660 core.int buildCounterUsers = 0; 1660 core.int buildCounterUsers = 0;
1661 buildUsers() { 1661 buildUsers() {
1662 var o = new api.Users(); 1662 var o = new api.Users();
1663 buildCounterUsers++; 1663 buildCounterUsers++;
1664 if (buildCounterUsers < 3) { 1664 if (buildCounterUsers < 3) {
1665 o.etag = "foo"; 1665 o.etag = "foo";
1666 o.kind = "foo"; 1666 o.kind = "foo";
1667 o.nextPageToken = "foo"; 1667 o.nextPageToken = "foo";
1668 o.triggerEvent = "foo"; 1668 o.triggerEvent = "foo";
1669 o.users = buildUnnamed163(); 1669 o.users = buildUnnamed1056();
1670 } 1670 }
1671 buildCounterUsers--; 1671 buildCounterUsers--;
1672 return o; 1672 return o;
1673 } 1673 }
1674 1674
1675 checkUsers(api.Users o) { 1675 checkUsers(api.Users o) {
1676 buildCounterUsers++; 1676 buildCounterUsers++;
1677 if (buildCounterUsers < 3) { 1677 if (buildCounterUsers < 3) {
1678 unittest.expect(o.etag, unittest.equals('foo')); 1678 unittest.expect(o.etag, unittest.equals('foo'));
1679 unittest.expect(o.kind, unittest.equals('foo')); 1679 unittest.expect(o.kind, unittest.equals('foo'));
1680 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1680 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1681 unittest.expect(o.triggerEvent, unittest.equals('foo')); 1681 unittest.expect(o.triggerEvent, unittest.equals('foo'));
1682 checkUnnamed163(o.users); 1682 checkUnnamed1056(o.users);
1683 } 1683 }
1684 buildCounterUsers--; 1684 buildCounterUsers--;
1685 } 1685 }
1686 1686
1687 core.int buildCounterVerificationCode = 0; 1687 core.int buildCounterVerificationCode = 0;
1688 buildVerificationCode() { 1688 buildVerificationCode() {
1689 var o = new api.VerificationCode(); 1689 var o = new api.VerificationCode();
1690 buildCounterVerificationCode++; 1690 buildCounterVerificationCode++;
1691 if (buildCounterVerificationCode < 3) { 1691 if (buildCounterVerificationCode < 3) {
1692 o.etag = "foo"; 1692 o.etag = "foo";
1693 o.kind = "foo"; 1693 o.kind = "foo";
1694 o.userId = "foo"; 1694 o.userId = "foo";
1695 o.verificationCode = "foo"; 1695 o.verificationCode = "foo";
1696 } 1696 }
1697 buildCounterVerificationCode--; 1697 buildCounterVerificationCode--;
1698 return o; 1698 return o;
1699 } 1699 }
1700 1700
1701 checkVerificationCode(api.VerificationCode o) { 1701 checkVerificationCode(api.VerificationCode o) {
1702 buildCounterVerificationCode++; 1702 buildCounterVerificationCode++;
1703 if (buildCounterVerificationCode < 3) { 1703 if (buildCounterVerificationCode < 3) {
1704 unittest.expect(o.etag, unittest.equals('foo')); 1704 unittest.expect(o.etag, unittest.equals('foo'));
1705 unittest.expect(o.kind, unittest.equals('foo')); 1705 unittest.expect(o.kind, unittest.equals('foo'));
1706 unittest.expect(o.userId, unittest.equals('foo')); 1706 unittest.expect(o.userId, unittest.equals('foo'));
1707 unittest.expect(o.verificationCode, unittest.equals('foo')); 1707 unittest.expect(o.verificationCode, unittest.equals('foo'));
1708 } 1708 }
1709 buildCounterVerificationCode--; 1709 buildCounterVerificationCode--;
1710 } 1710 }
1711 1711
1712 buildUnnamed164() { 1712 buildUnnamed1057() {
1713 var o = new core.List<api.VerificationCode>(); 1713 var o = new core.List<api.VerificationCode>();
1714 o.add(buildVerificationCode()); 1714 o.add(buildVerificationCode());
1715 o.add(buildVerificationCode()); 1715 o.add(buildVerificationCode());
1716 return o; 1716 return o;
1717 } 1717 }
1718 1718
1719 checkUnnamed164(core.List<api.VerificationCode> o) { 1719 checkUnnamed1057(core.List<api.VerificationCode> o) {
1720 unittest.expect(o, unittest.hasLength(2)); 1720 unittest.expect(o, unittest.hasLength(2));
1721 checkVerificationCode(o[0]); 1721 checkVerificationCode(o[0]);
1722 checkVerificationCode(o[1]); 1722 checkVerificationCode(o[1]);
1723 } 1723 }
1724 1724
1725 core.int buildCounterVerificationCodes = 0; 1725 core.int buildCounterVerificationCodes = 0;
1726 buildVerificationCodes() { 1726 buildVerificationCodes() {
1727 var o = new api.VerificationCodes(); 1727 var o = new api.VerificationCodes();
1728 buildCounterVerificationCodes++; 1728 buildCounterVerificationCodes++;
1729 if (buildCounterVerificationCodes < 3) { 1729 if (buildCounterVerificationCodes < 3) {
1730 o.etag = "foo"; 1730 o.etag = "foo";
1731 o.items = buildUnnamed164(); 1731 o.items = buildUnnamed1057();
1732 o.kind = "foo"; 1732 o.kind = "foo";
1733 } 1733 }
1734 buildCounterVerificationCodes--; 1734 buildCounterVerificationCodes--;
1735 return o; 1735 return o;
1736 } 1736 }
1737 1737
1738 checkVerificationCodes(api.VerificationCodes o) { 1738 checkVerificationCodes(api.VerificationCodes o) {
1739 buildCounterVerificationCodes++; 1739 buildCounterVerificationCodes++;
1740 if (buildCounterVerificationCodes < 3) { 1740 if (buildCounterVerificationCodes < 3) {
1741 unittest.expect(o.etag, unittest.equals('foo')); 1741 unittest.expect(o.etag, unittest.equals('foo'));
1742 checkUnnamed164(o.items); 1742 checkUnnamed1057(o.items);
1743 unittest.expect(o.kind, unittest.equals('foo')); 1743 unittest.expect(o.kind, unittest.equals('foo'));
1744 } 1744 }
1745 buildCounterVerificationCodes--; 1745 buildCounterVerificationCodes--;
1746 } 1746 }
1747 1747
1748 buildUnnamed165() { 1748 buildUnnamed1058() {
1749 var o = new core.List<core.String>(); 1749 var o = new core.List<core.String>();
1750 o.add("foo"); 1750 o.add("foo");
1751 o.add("foo"); 1751 o.add("foo");
1752 return o; 1752 return o;
1753 } 1753 }
1754 1754
1755 checkUnnamed165(core.List<core.String> o) { 1755 checkUnnamed1058(core.List<core.String> o) {
1756 unittest.expect(o, unittest.hasLength(2)); 1756 unittest.expect(o, unittest.hasLength(2));
1757 unittest.expect(o[0], unittest.equals('foo')); 1757 unittest.expect(o[0], unittest.equals('foo'));
1758 unittest.expect(o[1], unittest.equals('foo')); 1758 unittest.expect(o[1], unittest.equals('foo'));
1759 } 1759 }
1760 1760
1761 buildUnnamed166() { 1761 buildUnnamed1059() {
1762 var o = new core.List<core.String>(); 1762 var o = new core.List<core.String>();
1763 o.add("foo"); 1763 o.add("foo");
1764 o.add("foo"); 1764 o.add("foo");
1765 return o; 1765 return o;
1766 } 1766 }
1767 1767
1768 checkUnnamed166(core.List<core.String> o) { 1768 checkUnnamed1059(core.List<core.String> o) {
1769 unittest.expect(o, unittest.hasLength(2)); 1769 unittest.expect(o, unittest.hasLength(2));
1770 unittest.expect(o[0], unittest.equals('foo')); 1770 unittest.expect(o[0], unittest.equals('foo'));
1771 unittest.expect(o[1], unittest.equals('foo')); 1771 unittest.expect(o[1], unittest.equals('foo'));
1772 } 1772 }
1773 1773
1774 buildUnnamed167() { 1774 buildUnnamed1060() {
1775 var o = new core.List<core.String>(); 1775 var o = new core.List<core.String>();
1776 o.add("foo"); 1776 o.add("foo");
1777 o.add("foo"); 1777 o.add("foo");
1778 return o; 1778 return o;
1779 } 1779 }
1780 1780
1781 checkUnnamed167(core.List<core.String> o) { 1781 checkUnnamed1060(core.List<core.String> o) {
1782 unittest.expect(o, unittest.hasLength(2)); 1782 unittest.expect(o, unittest.hasLength(2));
1783 unittest.expect(o[0], unittest.equals('foo')); 1783 unittest.expect(o[0], unittest.equals('foo'));
1784 unittest.expect(o[1], unittest.equals('foo')); 1784 unittest.expect(o[1], unittest.equals('foo'));
1785 } 1785 }
1786 1786
1787 buildUnnamed168() { 1787 buildUnnamed1061() {
1788 var o = new core.List<core.String>(); 1788 var o = new core.List<core.String>();
1789 o.add("foo"); 1789 o.add("foo");
1790 o.add("foo"); 1790 o.add("foo");
1791 return o; 1791 return o;
1792 } 1792 }
1793 1793
1794 checkUnnamed168(core.List<core.String> o) { 1794 checkUnnamed1061(core.List<core.String> o) {
1795 unittest.expect(o, unittest.hasLength(2)); 1795 unittest.expect(o, unittest.hasLength(2));
1796 unittest.expect(o[0], unittest.equals('foo')); 1796 unittest.expect(o[0], unittest.equals('foo'));
1797 unittest.expect(o[1], unittest.equals('foo')); 1797 unittest.expect(o[1], unittest.equals('foo'));
1798 } 1798 }
1799 1799
1800 1800
1801 main() { 1801 main() {
1802 unittest.group("obj-schema-Alias", () { 1802 unittest.group("obj-schema-Alias", () {
1803 unittest.test("to-json--from-json", () { 1803 unittest.test("to-json--from-json", () {
1804 var o = buildAlias(); 1804 var o = buildAlias();
(...skipping 2246 matching lines...) Expand 10 before | Expand all | Expand 10 after
4051 4051
4052 }); 4052 });
4053 4053
4054 4054
4055 unittest.group("resource-OrgunitsResourceApi", () { 4055 unittest.group("resource-OrgunitsResourceApi", () {
4056 unittest.test("method--delete", () { 4056 unittest.test("method--delete", () {
4057 4057
4058 var mock = new HttpServerMock(); 4058 var mock = new HttpServerMock();
4059 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; 4059 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
4060 var arg_customerId = "foo"; 4060 var arg_customerId = "foo";
4061 var arg_orgUnitPath = buildUnnamed165(); 4061 var arg_orgUnitPath = buildUnnamed1058();
4062 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4062 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4063 var path = (req.url).path; 4063 var path = (req.url).path;
4064 var pathOffset = 0; 4064 var pathOffset = 0;
4065 var index; 4065 var index;
4066 var subPart; 4066 var subPart;
4067 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4067 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4068 pathOffset += 1; 4068 pathOffset += 1;
4069 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("admin/directory/v1/")); 4069 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("admin/directory/v1/"));
4070 pathOffset += 19; 4070 pathOffset += 19;
4071 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("customer/")); 4071 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("customer/"));
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
4105 return new async.Future.value(stringResponse(200, h, resp)); 4105 return new async.Future.value(stringResponse(200, h, resp));
4106 }), true); 4106 }), true);
4107 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync((_) {})); 4107 res.delete(arg_customerId, arg_orgUnitPath).then(unittest.expectAsync((_) {}));
4108 }); 4108 });
4109 4109
4110 unittest.test("method--get", () { 4110 unittest.test("method--get", () {
4111 4111
4112 var mock = new HttpServerMock(); 4112 var mock = new HttpServerMock();
4113 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; 4113 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
4114 var arg_customerId = "foo"; 4114 var arg_customerId = "foo";
4115 var arg_orgUnitPath = buildUnnamed166(); 4115 var arg_orgUnitPath = buildUnnamed1059();
4116 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4116 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4117 var path = (req.url).path; 4117 var path = (req.url).path;
4118 var pathOffset = 0; 4118 var pathOffset = 0;
4119 var index; 4119 var index;
4120 var subPart; 4120 var subPart;
4121 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4121 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4122 pathOffset += 1; 4122 pathOffset += 1;
4123 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("admin/directory/v1/")); 4123 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("admin/directory/v1/"));
4124 pathOffset += 19; 4124 pathOffset += 19;
4125 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("customer/")); 4125 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("customer/"));
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
4276 checkOrgUnits(response); 4276 checkOrgUnits(response);
4277 }))); 4277 })));
4278 }); 4278 });
4279 4279
4280 unittest.test("method--patch", () { 4280 unittest.test("method--patch", () {
4281 4281
4282 var mock = new HttpServerMock(); 4282 var mock = new HttpServerMock();
4283 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; 4283 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
4284 var arg_request = buildOrgUnit(); 4284 var arg_request = buildOrgUnit();
4285 var arg_customerId = "foo"; 4285 var arg_customerId = "foo";
4286 var arg_orgUnitPath = buildUnnamed167(); 4286 var arg_orgUnitPath = buildUnnamed1060();
4287 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4287 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4288 var obj = new api.OrgUnit.fromJson(json); 4288 var obj = new api.OrgUnit.fromJson(json);
4289 checkOrgUnit(obj); 4289 checkOrgUnit(obj);
4290 4290
4291 var path = (req.url).path; 4291 var path = (req.url).path;
4292 var pathOffset = 0; 4292 var pathOffset = 0;
4293 var index; 4293 var index;
4294 var subPart; 4294 var subPart;
4295 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4295 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4296 pathOffset += 1; 4296 pathOffset += 1;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
4336 checkOrgUnit(response); 4336 checkOrgUnit(response);
4337 }))); 4337 })));
4338 }); 4338 });
4339 4339
4340 unittest.test("method--update", () { 4340 unittest.test("method--update", () {
4341 4341
4342 var mock = new HttpServerMock(); 4342 var mock = new HttpServerMock();
4343 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits; 4343 api.OrgunitsResourceApi res = new api.AdminApi(mock).orgunits;
4344 var arg_request = buildOrgUnit(); 4344 var arg_request = buildOrgUnit();
4345 var arg_customerId = "foo"; 4345 var arg_customerId = "foo";
4346 var arg_orgUnitPath = buildUnnamed168(); 4346 var arg_orgUnitPath = buildUnnamed1061();
4347 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4347 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4348 var obj = new api.OrgUnit.fromJson(json); 4348 var obj = new api.OrgUnit.fromJson(json);
4349 checkOrgUnit(obj); 4349 checkOrgUnit(obj);
4350 4350
4351 var path = (req.url).path; 4351 var path = (req.url).path;
4352 var pathOffset = 0; 4352 var pathOffset = 0;
4353 var index; 4353 var index;
4354 var subPart; 4354 var subPart;
4355 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4355 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4356 pathOffset += 1; 4356 pathOffset += 1;
(...skipping 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after
6036 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re sponse) { 6036 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re sponse) {
6037 checkVerificationCodes(response); 6037 checkVerificationCodes(response);
6038 }))); 6038 })));
6039 }); 6039 });
6040 6040
6041 }); 6041 });
6042 6042
6043 6043
6044 } 6044 }
6045 6045
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698