OLD | NEW |
1 library googleapis.identitytoolkit.v3.test; | 1 library googleapis.identitytoolkit.v3.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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 } | 92 } |
93 | 93 |
94 checkDeleteAccountResponse(api.DeleteAccountResponse o) { | 94 checkDeleteAccountResponse(api.DeleteAccountResponse o) { |
95 buildCounterDeleteAccountResponse++; | 95 buildCounterDeleteAccountResponse++; |
96 if (buildCounterDeleteAccountResponse < 3) { | 96 if (buildCounterDeleteAccountResponse < 3) { |
97 unittest.expect(o.kind, unittest.equals('foo')); | 97 unittest.expect(o.kind, unittest.equals('foo')); |
98 } | 98 } |
99 buildCounterDeleteAccountResponse--; | 99 buildCounterDeleteAccountResponse--; |
100 } | 100 } |
101 | 101 |
102 buildUnnamed1351() { | 102 buildUnnamed1862() { |
103 var o = new core.List<api.UserInfo>(); | 103 var o = new core.List<api.UserInfo>(); |
104 o.add(buildUserInfo()); | 104 o.add(buildUserInfo()); |
105 o.add(buildUserInfo()); | 105 o.add(buildUserInfo()); |
106 return o; | 106 return o; |
107 } | 107 } |
108 | 108 |
109 checkUnnamed1351(core.List<api.UserInfo> o) { | 109 checkUnnamed1862(core.List<api.UserInfo> o) { |
110 unittest.expect(o, unittest.hasLength(2)); | 110 unittest.expect(o, unittest.hasLength(2)); |
111 checkUserInfo(o[0]); | 111 checkUserInfo(o[0]); |
112 checkUserInfo(o[1]); | 112 checkUserInfo(o[1]); |
113 } | 113 } |
114 | 114 |
115 core.int buildCounterDownloadAccountResponse = 0; | 115 core.int buildCounterDownloadAccountResponse = 0; |
116 buildDownloadAccountResponse() { | 116 buildDownloadAccountResponse() { |
117 var o = new api.DownloadAccountResponse(); | 117 var o = new api.DownloadAccountResponse(); |
118 buildCounterDownloadAccountResponse++; | 118 buildCounterDownloadAccountResponse++; |
119 if (buildCounterDownloadAccountResponse < 3) { | 119 if (buildCounterDownloadAccountResponse < 3) { |
120 o.kind = "foo"; | 120 o.kind = "foo"; |
121 o.nextPageToken = "foo"; | 121 o.nextPageToken = "foo"; |
122 o.users = buildUnnamed1351(); | 122 o.users = buildUnnamed1862(); |
123 } | 123 } |
124 buildCounterDownloadAccountResponse--; | 124 buildCounterDownloadAccountResponse--; |
125 return o; | 125 return o; |
126 } | 126 } |
127 | 127 |
128 checkDownloadAccountResponse(api.DownloadAccountResponse o) { | 128 checkDownloadAccountResponse(api.DownloadAccountResponse o) { |
129 buildCounterDownloadAccountResponse++; | 129 buildCounterDownloadAccountResponse++; |
130 if (buildCounterDownloadAccountResponse < 3) { | 130 if (buildCounterDownloadAccountResponse < 3) { |
131 unittest.expect(o.kind, unittest.equals('foo')); | 131 unittest.expect(o.kind, unittest.equals('foo')); |
132 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 132 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
133 checkUnnamed1351(o.users); | 133 checkUnnamed1862(o.users); |
134 } | 134 } |
135 buildCounterDownloadAccountResponse--; | 135 buildCounterDownloadAccountResponse--; |
136 } | 136 } |
137 | 137 |
138 buildUnnamed1352() { | 138 buildUnnamed1863() { |
139 var o = new core.List<api.UserInfo>(); | 139 var o = new core.List<api.UserInfo>(); |
140 o.add(buildUserInfo()); | 140 o.add(buildUserInfo()); |
141 o.add(buildUserInfo()); | 141 o.add(buildUserInfo()); |
142 return o; | 142 return o; |
143 } | 143 } |
144 | 144 |
145 checkUnnamed1352(core.List<api.UserInfo> o) { | 145 checkUnnamed1863(core.List<api.UserInfo> o) { |
146 unittest.expect(o, unittest.hasLength(2)); | 146 unittest.expect(o, unittest.hasLength(2)); |
147 checkUserInfo(o[0]); | 147 checkUserInfo(o[0]); |
148 checkUserInfo(o[1]); | 148 checkUserInfo(o[1]); |
149 } | 149 } |
150 | 150 |
151 core.int buildCounterGetAccountInfoResponse = 0; | 151 core.int buildCounterGetAccountInfoResponse = 0; |
152 buildGetAccountInfoResponse() { | 152 buildGetAccountInfoResponse() { |
153 var o = new api.GetAccountInfoResponse(); | 153 var o = new api.GetAccountInfoResponse(); |
154 buildCounterGetAccountInfoResponse++; | 154 buildCounterGetAccountInfoResponse++; |
155 if (buildCounterGetAccountInfoResponse < 3) { | 155 if (buildCounterGetAccountInfoResponse < 3) { |
156 o.kind = "foo"; | 156 o.kind = "foo"; |
157 o.users = buildUnnamed1352(); | 157 o.users = buildUnnamed1863(); |
158 } | 158 } |
159 buildCounterGetAccountInfoResponse--; | 159 buildCounterGetAccountInfoResponse--; |
160 return o; | 160 return o; |
161 } | 161 } |
162 | 162 |
163 checkGetAccountInfoResponse(api.GetAccountInfoResponse o) { | 163 checkGetAccountInfoResponse(api.GetAccountInfoResponse o) { |
164 buildCounterGetAccountInfoResponse++; | 164 buildCounterGetAccountInfoResponse++; |
165 if (buildCounterGetAccountInfoResponse < 3) { | 165 if (buildCounterGetAccountInfoResponse < 3) { |
166 unittest.expect(o.kind, unittest.equals('foo')); | 166 unittest.expect(o.kind, unittest.equals('foo')); |
167 checkUnnamed1352(o.users); | 167 checkUnnamed1863(o.users); |
168 } | 168 } |
169 buildCounterGetAccountInfoResponse--; | 169 buildCounterGetAccountInfoResponse--; |
170 } | 170 } |
171 | 171 |
172 core.int buildCounterGetOobConfirmationCodeResponse = 0; | 172 core.int buildCounterGetOobConfirmationCodeResponse = 0; |
173 buildGetOobConfirmationCodeResponse() { | 173 buildGetOobConfirmationCodeResponse() { |
174 var o = new api.GetOobConfirmationCodeResponse(); | 174 var o = new api.GetOobConfirmationCodeResponse(); |
175 buildCounterGetOobConfirmationCodeResponse++; | 175 buildCounterGetOobConfirmationCodeResponse++; |
176 if (buildCounterGetOobConfirmationCodeResponse < 3) { | 176 if (buildCounterGetOobConfirmationCodeResponse < 3) { |
177 o.kind = "foo"; | 177 o.kind = "foo"; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 | 283 |
284 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { | 284 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { |
285 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; | 285 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; |
286 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { | 286 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { |
287 unittest.expect(o.maxResults, unittest.equals(42)); | 287 unittest.expect(o.maxResults, unittest.equals(42)); |
288 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 288 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
289 } | 289 } |
290 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; | 290 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; |
291 } | 291 } |
292 | 292 |
293 buildUnnamed1353() { | 293 buildUnnamed1864() { |
294 var o = new core.List<core.String>(); | 294 var o = new core.List<core.String>(); |
295 o.add("foo"); | 295 o.add("foo"); |
296 o.add("foo"); | 296 o.add("foo"); |
297 return o; | 297 return o; |
298 } | 298 } |
299 | 299 |
300 checkUnnamed1353(core.List<core.String> o) { | 300 checkUnnamed1864(core.List<core.String> o) { |
301 unittest.expect(o, unittest.hasLength(2)); | 301 unittest.expect(o, unittest.hasLength(2)); |
302 unittest.expect(o[0], unittest.equals('foo')); | 302 unittest.expect(o[0], unittest.equals('foo')); |
303 unittest.expect(o[1], unittest.equals('foo')); | 303 unittest.expect(o[1], unittest.equals('foo')); |
304 } | 304 } |
305 | 305 |
306 buildUnnamed1354() { | 306 buildUnnamed1865() { |
307 var o = new core.List<core.String>(); | 307 var o = new core.List<core.String>(); |
308 o.add("foo"); | 308 o.add("foo"); |
309 o.add("foo"); | 309 o.add("foo"); |
310 return o; | 310 return o; |
311 } | 311 } |
312 | 312 |
313 checkUnnamed1354(core.List<core.String> o) { | 313 checkUnnamed1865(core.List<core.String> o) { |
314 unittest.expect(o, unittest.hasLength(2)); | 314 unittest.expect(o, unittest.hasLength(2)); |
315 unittest.expect(o[0], unittest.equals('foo')); | 315 unittest.expect(o[0], unittest.equals('foo')); |
316 unittest.expect(o[1], unittest.equals('foo')); | 316 unittest.expect(o[1], unittest.equals('foo')); |
317 } | 317 } |
318 | 318 |
319 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; | 319 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; |
320 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { | 320 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { |
321 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 321 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
322 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 322 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
323 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 323 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
324 o.email = buildUnnamed1353(); | 324 o.email = buildUnnamed1864(); |
325 o.idToken = "foo"; | 325 o.idToken = "foo"; |
326 o.localId = buildUnnamed1354(); | 326 o.localId = buildUnnamed1865(); |
327 } | 327 } |
328 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 328 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
329 return o; | 329 return o; |
330 } | 330 } |
331 | 331 |
332 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { | 332 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { |
333 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 333 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
334 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 334 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
335 checkUnnamed1353(o.email); | 335 checkUnnamed1864(o.email); |
336 unittest.expect(o.idToken, unittest.equals('foo')); | 336 unittest.expect(o.idToken, unittest.equals('foo')); |
337 checkUnnamed1354(o.localId); | 337 checkUnnamed1865(o.localId); |
338 } | 338 } |
339 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 339 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
340 } | 340 } |
341 | 341 |
342 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { | 342 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { |
343 var o = new api.IdentitytoolkitRelyingpartyGetPublicKeysResponse(); | 343 var o = new api.IdentitytoolkitRelyingpartyGetPublicKeysResponse(); |
344 o["a"] = "foo"; | 344 o["a"] = "foo"; |
345 o["b"] = "foo"; | 345 o["b"] = "foo"; |
346 return o; | 346 return o; |
347 } | 347 } |
(...skipping 22 matching lines...) Expand all Loading... |
370 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; | 370 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; |
371 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { | 371 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { |
372 unittest.expect(o.email, unittest.equals('foo')); | 372 unittest.expect(o.email, unittest.equals('foo')); |
373 unittest.expect(o.newPassword, unittest.equals('foo')); | 373 unittest.expect(o.newPassword, unittest.equals('foo')); |
374 unittest.expect(o.oldPassword, unittest.equals('foo')); | 374 unittest.expect(o.oldPassword, unittest.equals('foo')); |
375 unittest.expect(o.oobCode, unittest.equals('foo')); | 375 unittest.expect(o.oobCode, unittest.equals('foo')); |
376 } | 376 } |
377 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; | 377 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; |
378 } | 378 } |
379 | 379 |
380 buildUnnamed1355() { | 380 buildUnnamed1866() { |
381 var o = new core.List<core.String>(); | 381 var o = new core.List<core.String>(); |
382 o.add("foo"); | 382 o.add("foo"); |
383 o.add("foo"); | 383 o.add("foo"); |
384 return o; | 384 return o; |
385 } | 385 } |
386 | 386 |
387 checkUnnamed1355(core.List<core.String> o) { | 387 checkUnnamed1866(core.List<core.String> o) { |
388 unittest.expect(o, unittest.hasLength(2)); | 388 unittest.expect(o, unittest.hasLength(2)); |
389 unittest.expect(o[0], unittest.equals('foo')); | 389 unittest.expect(o[0], unittest.equals('foo')); |
390 unittest.expect(o[1], unittest.equals('foo')); | 390 unittest.expect(o[1], unittest.equals('foo')); |
391 } | 391 } |
392 | 392 |
393 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; | 393 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; |
394 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { | 394 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { |
395 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); | 395 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); |
396 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 396 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
397 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 397 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
398 o.captchaChallenge = "foo"; | 398 o.captchaChallenge = "foo"; |
399 o.captchaResponse = "foo"; | 399 o.captchaResponse = "foo"; |
400 o.disableUser = true; | 400 o.disableUser = true; |
401 o.displayName = "foo"; | 401 o.displayName = "foo"; |
402 o.email = "foo"; | 402 o.email = "foo"; |
403 o.emailVerified = true; | 403 o.emailVerified = true; |
404 o.idToken = "foo"; | 404 o.idToken = "foo"; |
405 o.localId = "foo"; | 405 o.localId = "foo"; |
406 o.oobCode = "foo"; | 406 o.oobCode = "foo"; |
407 o.password = "foo"; | 407 o.password = "foo"; |
408 o.provider = buildUnnamed1355(); | 408 o.provider = buildUnnamed1866(); |
409 o.upgradeToFederatedLogin = true; | 409 o.upgradeToFederatedLogin = true; |
410 o.validSince = "foo"; | 410 o.validSince = "foo"; |
411 } | 411 } |
412 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 412 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
413 return o; | 413 return o; |
414 } | 414 } |
415 | 415 |
416 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { | 416 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { |
417 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 417 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
418 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 418 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
419 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 419 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
420 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 420 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
421 unittest.expect(o.disableUser, unittest.isTrue); | 421 unittest.expect(o.disableUser, unittest.isTrue); |
422 unittest.expect(o.displayName, unittest.equals('foo')); | 422 unittest.expect(o.displayName, unittest.equals('foo')); |
423 unittest.expect(o.email, unittest.equals('foo')); | 423 unittest.expect(o.email, unittest.equals('foo')); |
424 unittest.expect(o.emailVerified, unittest.isTrue); | 424 unittest.expect(o.emailVerified, unittest.isTrue); |
425 unittest.expect(o.idToken, unittest.equals('foo')); | 425 unittest.expect(o.idToken, unittest.equals('foo')); |
426 unittest.expect(o.localId, unittest.equals('foo')); | 426 unittest.expect(o.localId, unittest.equals('foo')); |
427 unittest.expect(o.oobCode, unittest.equals('foo')); | 427 unittest.expect(o.oobCode, unittest.equals('foo')); |
428 unittest.expect(o.password, unittest.equals('foo')); | 428 unittest.expect(o.password, unittest.equals('foo')); |
429 checkUnnamed1355(o.provider); | 429 checkUnnamed1866(o.provider); |
430 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); | 430 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); |
431 unittest.expect(o.validSince, unittest.equals('foo')); | 431 unittest.expect(o.validSince, unittest.equals('foo')); |
432 } | 432 } |
433 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 433 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
434 } | 434 } |
435 | 435 |
436 buildUnnamed1356() { | 436 buildUnnamed1867() { |
437 var o = new core.List<api.UserInfo>(); | 437 var o = new core.List<api.UserInfo>(); |
438 o.add(buildUserInfo()); | 438 o.add(buildUserInfo()); |
439 o.add(buildUserInfo()); | 439 o.add(buildUserInfo()); |
440 return o; | 440 return o; |
441 } | 441 } |
442 | 442 |
443 checkUnnamed1356(core.List<api.UserInfo> o) { | 443 checkUnnamed1867(core.List<api.UserInfo> o) { |
444 unittest.expect(o, unittest.hasLength(2)); | 444 unittest.expect(o, unittest.hasLength(2)); |
445 checkUserInfo(o[0]); | 445 checkUserInfo(o[0]); |
446 checkUserInfo(o[1]); | 446 checkUserInfo(o[1]); |
447 } | 447 } |
448 | 448 |
449 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; | 449 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; |
450 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { | 450 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { |
451 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); | 451 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); |
452 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 452 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
453 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 453 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
454 o.hashAlgorithm = "foo"; | 454 o.hashAlgorithm = "foo"; |
455 o.memoryCost = 42; | 455 o.memoryCost = 42; |
456 o.rounds = 42; | 456 o.rounds = 42; |
457 o.saltSeparator = "foo"; | 457 o.saltSeparator = "foo"; |
458 o.signerKey = "foo"; | 458 o.signerKey = "foo"; |
459 o.users = buildUnnamed1356(); | 459 o.users = buildUnnamed1867(); |
460 } | 460 } |
461 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 461 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
462 return o; | 462 return o; |
463 } | 463 } |
464 | 464 |
465 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { | 465 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { |
466 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 466 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
467 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 467 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
468 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); | 468 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); |
469 unittest.expect(o.memoryCost, unittest.equals(42)); | 469 unittest.expect(o.memoryCost, unittest.equals(42)); |
470 unittest.expect(o.rounds, unittest.equals(42)); | 470 unittest.expect(o.rounds, unittest.equals(42)); |
471 unittest.expect(o.saltSeparator, unittest.equals('foo')); | 471 unittest.expect(o.saltSeparator, unittest.equals('foo')); |
472 unittest.expect(o.signerKey, unittest.equals('foo')); | 472 unittest.expect(o.signerKey, unittest.equals('foo')); |
473 checkUnnamed1356(o.users); | 473 checkUnnamed1867(o.users); |
474 } | 474 } |
475 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 475 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
476 } | 476 } |
477 | 477 |
478 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; | 478 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; |
479 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { | 479 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { |
480 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 480 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
481 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; | 481 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; |
482 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { | 482 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { |
483 o.pendingIdToken = "foo"; | 483 o.pendingIdToken = "foo"; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 checkSetAccountInfoResponseProviderUserInfo(api.SetAccountInfoResponseProviderUs
erInfo o) { | 597 checkSetAccountInfoResponseProviderUserInfo(api.SetAccountInfoResponseProviderUs
erInfo o) { |
598 buildCounterSetAccountInfoResponseProviderUserInfo++; | 598 buildCounterSetAccountInfoResponseProviderUserInfo++; |
599 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 599 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
600 unittest.expect(o.displayName, unittest.equals('foo')); | 600 unittest.expect(o.displayName, unittest.equals('foo')); |
601 unittest.expect(o.photoUrl, unittest.equals('foo')); | 601 unittest.expect(o.photoUrl, unittest.equals('foo')); |
602 unittest.expect(o.providerId, unittest.equals('foo')); | 602 unittest.expect(o.providerId, unittest.equals('foo')); |
603 } | 603 } |
604 buildCounterSetAccountInfoResponseProviderUserInfo--; | 604 buildCounterSetAccountInfoResponseProviderUserInfo--; |
605 } | 605 } |
606 | 606 |
607 buildUnnamed1357() { | 607 buildUnnamed1868() { |
608 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); | 608 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); |
609 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 609 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
610 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 610 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
611 return o; | 611 return o; |
612 } | 612 } |
613 | 613 |
614 checkUnnamed1357(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { | 614 checkUnnamed1868(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { |
615 unittest.expect(o, unittest.hasLength(2)); | 615 unittest.expect(o, unittest.hasLength(2)); |
616 checkSetAccountInfoResponseProviderUserInfo(o[0]); | 616 checkSetAccountInfoResponseProviderUserInfo(o[0]); |
617 checkSetAccountInfoResponseProviderUserInfo(o[1]); | 617 checkSetAccountInfoResponseProviderUserInfo(o[1]); |
618 } | 618 } |
619 | 619 |
620 core.int buildCounterSetAccountInfoResponse = 0; | 620 core.int buildCounterSetAccountInfoResponse = 0; |
621 buildSetAccountInfoResponse() { | 621 buildSetAccountInfoResponse() { |
622 var o = new api.SetAccountInfoResponse(); | 622 var o = new api.SetAccountInfoResponse(); |
623 buildCounterSetAccountInfoResponse++; | 623 buildCounterSetAccountInfoResponse++; |
624 if (buildCounterSetAccountInfoResponse < 3) { | 624 if (buildCounterSetAccountInfoResponse < 3) { |
625 o.displayName = "foo"; | 625 o.displayName = "foo"; |
626 o.email = "foo"; | 626 o.email = "foo"; |
627 o.idToken = "foo"; | 627 o.idToken = "foo"; |
628 o.kind = "foo"; | 628 o.kind = "foo"; |
629 o.providerUserInfo = buildUnnamed1357(); | 629 o.providerUserInfo = buildUnnamed1868(); |
630 } | 630 } |
631 buildCounterSetAccountInfoResponse--; | 631 buildCounterSetAccountInfoResponse--; |
632 return o; | 632 return o; |
633 } | 633 } |
634 | 634 |
635 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { | 635 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { |
636 buildCounterSetAccountInfoResponse++; | 636 buildCounterSetAccountInfoResponse++; |
637 if (buildCounterSetAccountInfoResponse < 3) { | 637 if (buildCounterSetAccountInfoResponse < 3) { |
638 unittest.expect(o.displayName, unittest.equals('foo')); | 638 unittest.expect(o.displayName, unittest.equals('foo')); |
639 unittest.expect(o.email, unittest.equals('foo')); | 639 unittest.expect(o.email, unittest.equals('foo')); |
640 unittest.expect(o.idToken, unittest.equals('foo')); | 640 unittest.expect(o.idToken, unittest.equals('foo')); |
641 unittest.expect(o.kind, unittest.equals('foo')); | 641 unittest.expect(o.kind, unittest.equals('foo')); |
642 checkUnnamed1357(o.providerUserInfo); | 642 checkUnnamed1868(o.providerUserInfo); |
643 } | 643 } |
644 buildCounterSetAccountInfoResponse--; | 644 buildCounterSetAccountInfoResponse--; |
645 } | 645 } |
646 | 646 |
647 core.int buildCounterUploadAccountResponseError = 0; | 647 core.int buildCounterUploadAccountResponseError = 0; |
648 buildUploadAccountResponseError() { | 648 buildUploadAccountResponseError() { |
649 var o = new api.UploadAccountResponseError(); | 649 var o = new api.UploadAccountResponseError(); |
650 buildCounterUploadAccountResponseError++; | 650 buildCounterUploadAccountResponseError++; |
651 if (buildCounterUploadAccountResponseError < 3) { | 651 if (buildCounterUploadAccountResponseError < 3) { |
652 o.index = 42; | 652 o.index = 42; |
653 o.message = "foo"; | 653 o.message = "foo"; |
654 } | 654 } |
655 buildCounterUploadAccountResponseError--; | 655 buildCounterUploadAccountResponseError--; |
656 return o; | 656 return o; |
657 } | 657 } |
658 | 658 |
659 checkUploadAccountResponseError(api.UploadAccountResponseError o) { | 659 checkUploadAccountResponseError(api.UploadAccountResponseError o) { |
660 buildCounterUploadAccountResponseError++; | 660 buildCounterUploadAccountResponseError++; |
661 if (buildCounterUploadAccountResponseError < 3) { | 661 if (buildCounterUploadAccountResponseError < 3) { |
662 unittest.expect(o.index, unittest.equals(42)); | 662 unittest.expect(o.index, unittest.equals(42)); |
663 unittest.expect(o.message, unittest.equals('foo')); | 663 unittest.expect(o.message, unittest.equals('foo')); |
664 } | 664 } |
665 buildCounterUploadAccountResponseError--; | 665 buildCounterUploadAccountResponseError--; |
666 } | 666 } |
667 | 667 |
668 buildUnnamed1358() { | 668 buildUnnamed1869() { |
669 var o = new core.List<api.UploadAccountResponseError>(); | 669 var o = new core.List<api.UploadAccountResponseError>(); |
670 o.add(buildUploadAccountResponseError()); | 670 o.add(buildUploadAccountResponseError()); |
671 o.add(buildUploadAccountResponseError()); | 671 o.add(buildUploadAccountResponseError()); |
672 return o; | 672 return o; |
673 } | 673 } |
674 | 674 |
675 checkUnnamed1358(core.List<api.UploadAccountResponseError> o) { | 675 checkUnnamed1869(core.List<api.UploadAccountResponseError> o) { |
676 unittest.expect(o, unittest.hasLength(2)); | 676 unittest.expect(o, unittest.hasLength(2)); |
677 checkUploadAccountResponseError(o[0]); | 677 checkUploadAccountResponseError(o[0]); |
678 checkUploadAccountResponseError(o[1]); | 678 checkUploadAccountResponseError(o[1]); |
679 } | 679 } |
680 | 680 |
681 core.int buildCounterUploadAccountResponse = 0; | 681 core.int buildCounterUploadAccountResponse = 0; |
682 buildUploadAccountResponse() { | 682 buildUploadAccountResponse() { |
683 var o = new api.UploadAccountResponse(); | 683 var o = new api.UploadAccountResponse(); |
684 buildCounterUploadAccountResponse++; | 684 buildCounterUploadAccountResponse++; |
685 if (buildCounterUploadAccountResponse < 3) { | 685 if (buildCounterUploadAccountResponse < 3) { |
686 o.error = buildUnnamed1358(); | 686 o.error = buildUnnamed1869(); |
687 o.kind = "foo"; | 687 o.kind = "foo"; |
688 } | 688 } |
689 buildCounterUploadAccountResponse--; | 689 buildCounterUploadAccountResponse--; |
690 return o; | 690 return o; |
691 } | 691 } |
692 | 692 |
693 checkUploadAccountResponse(api.UploadAccountResponse o) { | 693 checkUploadAccountResponse(api.UploadAccountResponse o) { |
694 buildCounterUploadAccountResponse++; | 694 buildCounterUploadAccountResponse++; |
695 if (buildCounterUploadAccountResponse < 3) { | 695 if (buildCounterUploadAccountResponse < 3) { |
696 checkUnnamed1358(o.error); | 696 checkUnnamed1869(o.error); |
697 unittest.expect(o.kind, unittest.equals('foo')); | 697 unittest.expect(o.kind, unittest.equals('foo')); |
698 } | 698 } |
699 buildCounterUploadAccountResponse--; | 699 buildCounterUploadAccountResponse--; |
700 } | 700 } |
701 | 701 |
702 core.int buildCounterUserInfoProviderUserInfo = 0; | 702 core.int buildCounterUserInfoProviderUserInfo = 0; |
703 buildUserInfoProviderUserInfo() { | 703 buildUserInfoProviderUserInfo() { |
704 var o = new api.UserInfoProviderUserInfo(); | 704 var o = new api.UserInfoProviderUserInfo(); |
705 buildCounterUserInfoProviderUserInfo++; | 705 buildCounterUserInfoProviderUserInfo++; |
706 if (buildCounterUserInfoProviderUserInfo < 3) { | 706 if (buildCounterUserInfoProviderUserInfo < 3) { |
(...skipping 10 matching lines...) Expand all Loading... |
717 buildCounterUserInfoProviderUserInfo++; | 717 buildCounterUserInfoProviderUserInfo++; |
718 if (buildCounterUserInfoProviderUserInfo < 3) { | 718 if (buildCounterUserInfoProviderUserInfo < 3) { |
719 unittest.expect(o.displayName, unittest.equals('foo')); | 719 unittest.expect(o.displayName, unittest.equals('foo')); |
720 unittest.expect(o.federatedId, unittest.equals('foo')); | 720 unittest.expect(o.federatedId, unittest.equals('foo')); |
721 unittest.expect(o.photoUrl, unittest.equals('foo')); | 721 unittest.expect(o.photoUrl, unittest.equals('foo')); |
722 unittest.expect(o.providerId, unittest.equals('foo')); | 722 unittest.expect(o.providerId, unittest.equals('foo')); |
723 } | 723 } |
724 buildCounterUserInfoProviderUserInfo--; | 724 buildCounterUserInfoProviderUserInfo--; |
725 } | 725 } |
726 | 726 |
727 buildUnnamed1359() { | 727 buildUnnamed1870() { |
728 var o = new core.List<api.UserInfoProviderUserInfo>(); | 728 var o = new core.List<api.UserInfoProviderUserInfo>(); |
729 o.add(buildUserInfoProviderUserInfo()); | 729 o.add(buildUserInfoProviderUserInfo()); |
730 o.add(buildUserInfoProviderUserInfo()); | 730 o.add(buildUserInfoProviderUserInfo()); |
731 return o; | 731 return o; |
732 } | 732 } |
733 | 733 |
734 checkUnnamed1359(core.List<api.UserInfoProviderUserInfo> o) { | 734 checkUnnamed1870(core.List<api.UserInfoProviderUserInfo> o) { |
735 unittest.expect(o, unittest.hasLength(2)); | 735 unittest.expect(o, unittest.hasLength(2)); |
736 checkUserInfoProviderUserInfo(o[0]); | 736 checkUserInfoProviderUserInfo(o[0]); |
737 checkUserInfoProviderUserInfo(o[1]); | 737 checkUserInfoProviderUserInfo(o[1]); |
738 } | 738 } |
739 | 739 |
740 core.int buildCounterUserInfo = 0; | 740 core.int buildCounterUserInfo = 0; |
741 buildUserInfo() { | 741 buildUserInfo() { |
742 var o = new api.UserInfo(); | 742 var o = new api.UserInfo(); |
743 buildCounterUserInfo++; | 743 buildCounterUserInfo++; |
744 if (buildCounterUserInfo < 3) { | 744 if (buildCounterUserInfo < 3) { |
745 o.disabled = true; | 745 o.disabled = true; |
746 o.displayName = "foo"; | 746 o.displayName = "foo"; |
747 o.email = "foo"; | 747 o.email = "foo"; |
748 o.emailVerified = true; | 748 o.emailVerified = true; |
749 o.localId = "foo"; | 749 o.localId = "foo"; |
750 o.passwordHash = "foo"; | 750 o.passwordHash = "foo"; |
751 o.passwordUpdatedAt = 42.0; | 751 o.passwordUpdatedAt = 42.0; |
752 o.photoUrl = "foo"; | 752 o.photoUrl = "foo"; |
753 o.providerUserInfo = buildUnnamed1359(); | 753 o.providerUserInfo = buildUnnamed1870(); |
754 o.salt = "foo"; | 754 o.salt = "foo"; |
755 o.validSince = "foo"; | 755 o.validSince = "foo"; |
756 o.version = 42; | 756 o.version = 42; |
757 } | 757 } |
758 buildCounterUserInfo--; | 758 buildCounterUserInfo--; |
759 return o; | 759 return o; |
760 } | 760 } |
761 | 761 |
762 checkUserInfo(api.UserInfo o) { | 762 checkUserInfo(api.UserInfo o) { |
763 buildCounterUserInfo++; | 763 buildCounterUserInfo++; |
764 if (buildCounterUserInfo < 3) { | 764 if (buildCounterUserInfo < 3) { |
765 unittest.expect(o.disabled, unittest.isTrue); | 765 unittest.expect(o.disabled, unittest.isTrue); |
766 unittest.expect(o.displayName, unittest.equals('foo')); | 766 unittest.expect(o.displayName, unittest.equals('foo')); |
767 unittest.expect(o.email, unittest.equals('foo')); | 767 unittest.expect(o.email, unittest.equals('foo')); |
768 unittest.expect(o.emailVerified, unittest.isTrue); | 768 unittest.expect(o.emailVerified, unittest.isTrue); |
769 unittest.expect(o.localId, unittest.equals('foo')); | 769 unittest.expect(o.localId, unittest.equals('foo')); |
770 unittest.expect(o.passwordHash, unittest.equals('foo')); | 770 unittest.expect(o.passwordHash, unittest.equals('foo')); |
771 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); | 771 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); |
772 unittest.expect(o.photoUrl, unittest.equals('foo')); | 772 unittest.expect(o.photoUrl, unittest.equals('foo')); |
773 checkUnnamed1359(o.providerUserInfo); | 773 checkUnnamed1870(o.providerUserInfo); |
774 unittest.expect(o.salt, unittest.equals('foo')); | 774 unittest.expect(o.salt, unittest.equals('foo')); |
775 unittest.expect(o.validSince, unittest.equals('foo')); | 775 unittest.expect(o.validSince, unittest.equals('foo')); |
776 unittest.expect(o.version, unittest.equals(42)); | 776 unittest.expect(o.version, unittest.equals(42)); |
777 } | 777 } |
778 buildCounterUserInfo--; | 778 buildCounterUserInfo--; |
779 } | 779 } |
780 | 780 |
781 buildUnnamed1360() { | 781 buildUnnamed1871() { |
782 var o = new core.List<core.String>(); | 782 var o = new core.List<core.String>(); |
783 o.add("foo"); | 783 o.add("foo"); |
784 o.add("foo"); | 784 o.add("foo"); |
785 return o; | 785 return o; |
786 } | 786 } |
787 | 787 |
788 checkUnnamed1360(core.List<core.String> o) { | 788 checkUnnamed1871(core.List<core.String> o) { |
789 unittest.expect(o, unittest.hasLength(2)); | 789 unittest.expect(o, unittest.hasLength(2)); |
790 unittest.expect(o[0], unittest.equals('foo')); | 790 unittest.expect(o[0], unittest.equals('foo')); |
791 unittest.expect(o[1], unittest.equals('foo')); | 791 unittest.expect(o[1], unittest.equals('foo')); |
792 } | 792 } |
793 | 793 |
794 core.int buildCounterVerifyAssertionResponse = 0; | 794 core.int buildCounterVerifyAssertionResponse = 0; |
795 buildVerifyAssertionResponse() { | 795 buildVerifyAssertionResponse() { |
796 var o = new api.VerifyAssertionResponse(); | 796 var o = new api.VerifyAssertionResponse(); |
797 buildCounterVerifyAssertionResponse++; | 797 buildCounterVerifyAssertionResponse++; |
798 if (buildCounterVerifyAssertionResponse < 3) { | 798 if (buildCounterVerifyAssertionResponse < 3) { |
(...skipping 19 matching lines...) Expand all Loading... |
818 o.nickName = "foo"; | 818 o.nickName = "foo"; |
819 o.oauthAccessToken = "foo"; | 819 o.oauthAccessToken = "foo"; |
820 o.oauthAuthorizationCode = "foo"; | 820 o.oauthAuthorizationCode = "foo"; |
821 o.oauthExpireIn = 42; | 821 o.oauthExpireIn = 42; |
822 o.oauthRequestToken = "foo"; | 822 o.oauthRequestToken = "foo"; |
823 o.oauthScope = "foo"; | 823 o.oauthScope = "foo"; |
824 o.originalEmail = "foo"; | 824 o.originalEmail = "foo"; |
825 o.photoUrl = "foo"; | 825 o.photoUrl = "foo"; |
826 o.providerId = "foo"; | 826 o.providerId = "foo"; |
827 o.timeZone = "foo"; | 827 o.timeZone = "foo"; |
828 o.verifiedProvider = buildUnnamed1360(); | 828 o.verifiedProvider = buildUnnamed1871(); |
829 } | 829 } |
830 buildCounterVerifyAssertionResponse--; | 830 buildCounterVerifyAssertionResponse--; |
831 return o; | 831 return o; |
832 } | 832 } |
833 | 833 |
834 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { | 834 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { |
835 buildCounterVerifyAssertionResponse++; | 835 buildCounterVerifyAssertionResponse++; |
836 if (buildCounterVerifyAssertionResponse < 3) { | 836 if (buildCounterVerifyAssertionResponse < 3) { |
837 unittest.expect(o.action, unittest.equals('foo')); | 837 unittest.expect(o.action, unittest.equals('foo')); |
838 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); | 838 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); |
(...skipping 17 matching lines...) Expand all Loading... |
856 unittest.expect(o.nickName, unittest.equals('foo')); | 856 unittest.expect(o.nickName, unittest.equals('foo')); |
857 unittest.expect(o.oauthAccessToken, unittest.equals('foo')); | 857 unittest.expect(o.oauthAccessToken, unittest.equals('foo')); |
858 unittest.expect(o.oauthAuthorizationCode, unittest.equals('foo')); | 858 unittest.expect(o.oauthAuthorizationCode, unittest.equals('foo')); |
859 unittest.expect(o.oauthExpireIn, unittest.equals(42)); | 859 unittest.expect(o.oauthExpireIn, unittest.equals(42)); |
860 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); | 860 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); |
861 unittest.expect(o.oauthScope, unittest.equals('foo')); | 861 unittest.expect(o.oauthScope, unittest.equals('foo')); |
862 unittest.expect(o.originalEmail, unittest.equals('foo')); | 862 unittest.expect(o.originalEmail, unittest.equals('foo')); |
863 unittest.expect(o.photoUrl, unittest.equals('foo')); | 863 unittest.expect(o.photoUrl, unittest.equals('foo')); |
864 unittest.expect(o.providerId, unittest.equals('foo')); | 864 unittest.expect(o.providerId, unittest.equals('foo')); |
865 unittest.expect(o.timeZone, unittest.equals('foo')); | 865 unittest.expect(o.timeZone, unittest.equals('foo')); |
866 checkUnnamed1360(o.verifiedProvider); | 866 checkUnnamed1871(o.verifiedProvider); |
867 } | 867 } |
868 buildCounterVerifyAssertionResponse--; | 868 buildCounterVerifyAssertionResponse--; |
869 } | 869 } |
870 | 870 |
871 core.int buildCounterVerifyPasswordResponse = 0; | 871 core.int buildCounterVerifyPasswordResponse = 0; |
872 buildVerifyPasswordResponse() { | 872 buildVerifyPasswordResponse() { |
873 var o = new api.VerifyPasswordResponse(); | 873 var o = new api.VerifyPasswordResponse(); |
874 buildCounterVerifyPasswordResponse++; | 874 buildCounterVerifyPasswordResponse++; |
875 if (buildCounterVerifyPasswordResponse < 3) { | 875 if (buildCounterVerifyPasswordResponse < 3) { |
876 o.displayName = "foo"; | 876 o.displayName = "foo"; |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1714 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { | 1714 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { |
1715 checkVerifyPasswordResponse(response); | 1715 checkVerifyPasswordResponse(response); |
1716 }))); | 1716 }))); |
1717 }); | 1717 }); |
1718 | 1718 |
1719 }); | 1719 }); |
1720 | 1720 |
1721 | 1721 |
1722 } | 1722 } |
1723 | 1723 |
OLD | NEW |