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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed2449() { | 54 buildUnnamed2409() { |
55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
56 o.add("foo"); | 56 o.add("foo"); |
57 o.add("foo"); | 57 o.add("foo"); |
58 return o; | 58 return o; |
59 } | 59 } |
60 | 60 |
61 checkUnnamed2449(core.List<core.String> o) { | 61 checkUnnamed2409(core.List<core.String> o) { |
62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
65 } | 65 } |
66 | 66 |
67 core.int buildCounterCreateAuthUriResponse = 0; | 67 core.int buildCounterCreateAuthUriResponse = 0; |
68 buildCreateAuthUriResponse() { | 68 buildCreateAuthUriResponse() { |
69 var o = new api.CreateAuthUriResponse(); | 69 var o = new api.CreateAuthUriResponse(); |
70 buildCounterCreateAuthUriResponse++; | 70 buildCounterCreateAuthUriResponse++; |
71 if (buildCounterCreateAuthUriResponse < 3) { | 71 if (buildCounterCreateAuthUriResponse < 3) { |
72 o.allProviders = buildUnnamed2449(); | 72 o.allProviders = buildUnnamed2409(); |
73 o.authUri = "foo"; | 73 o.authUri = "foo"; |
74 o.captchaRequired = true; | 74 o.captchaRequired = true; |
75 o.forExistingProvider = true; | 75 o.forExistingProvider = true; |
76 o.kind = "foo"; | 76 o.kind = "foo"; |
77 o.providerId = "foo"; | 77 o.providerId = "foo"; |
78 o.registered = true; | 78 o.registered = true; |
79 o.sessionId = "foo"; | 79 o.sessionId = "foo"; |
80 } | 80 } |
81 buildCounterCreateAuthUriResponse--; | 81 buildCounterCreateAuthUriResponse--; |
82 return o; | 82 return o; |
83 } | 83 } |
84 | 84 |
85 checkCreateAuthUriResponse(api.CreateAuthUriResponse o) { | 85 checkCreateAuthUriResponse(api.CreateAuthUriResponse o) { |
86 buildCounterCreateAuthUriResponse++; | 86 buildCounterCreateAuthUriResponse++; |
87 if (buildCounterCreateAuthUriResponse < 3) { | 87 if (buildCounterCreateAuthUriResponse < 3) { |
88 checkUnnamed2449(o.allProviders); | 88 checkUnnamed2409(o.allProviders); |
89 unittest.expect(o.authUri, unittest.equals('foo')); | 89 unittest.expect(o.authUri, unittest.equals('foo')); |
90 unittest.expect(o.captchaRequired, unittest.isTrue); | 90 unittest.expect(o.captchaRequired, unittest.isTrue); |
91 unittest.expect(o.forExistingProvider, unittest.isTrue); | 91 unittest.expect(o.forExistingProvider, unittest.isTrue); |
92 unittest.expect(o.kind, unittest.equals('foo')); | 92 unittest.expect(o.kind, unittest.equals('foo')); |
93 unittest.expect(o.providerId, unittest.equals('foo')); | 93 unittest.expect(o.providerId, unittest.equals('foo')); |
94 unittest.expect(o.registered, unittest.isTrue); | 94 unittest.expect(o.registered, unittest.isTrue); |
95 unittest.expect(o.sessionId, unittest.equals('foo')); | 95 unittest.expect(o.sessionId, unittest.equals('foo')); |
96 } | 96 } |
97 buildCounterCreateAuthUriResponse--; | 97 buildCounterCreateAuthUriResponse--; |
98 } | 98 } |
(...skipping 10 matching lines...) Expand all Loading... |
109 } | 109 } |
110 | 110 |
111 checkDeleteAccountResponse(api.DeleteAccountResponse o) { | 111 checkDeleteAccountResponse(api.DeleteAccountResponse o) { |
112 buildCounterDeleteAccountResponse++; | 112 buildCounterDeleteAccountResponse++; |
113 if (buildCounterDeleteAccountResponse < 3) { | 113 if (buildCounterDeleteAccountResponse < 3) { |
114 unittest.expect(o.kind, unittest.equals('foo')); | 114 unittest.expect(o.kind, unittest.equals('foo')); |
115 } | 115 } |
116 buildCounterDeleteAccountResponse--; | 116 buildCounterDeleteAccountResponse--; |
117 } | 117 } |
118 | 118 |
119 buildUnnamed2450() { | 119 buildUnnamed2410() { |
120 var o = new core.List<api.UserInfo>(); | 120 var o = new core.List<api.UserInfo>(); |
121 o.add(buildUserInfo()); | 121 o.add(buildUserInfo()); |
122 o.add(buildUserInfo()); | 122 o.add(buildUserInfo()); |
123 return o; | 123 return o; |
124 } | 124 } |
125 | 125 |
126 checkUnnamed2450(core.List<api.UserInfo> o) { | 126 checkUnnamed2410(core.List<api.UserInfo> o) { |
127 unittest.expect(o, unittest.hasLength(2)); | 127 unittest.expect(o, unittest.hasLength(2)); |
128 checkUserInfo(o[0]); | 128 checkUserInfo(o[0]); |
129 checkUserInfo(o[1]); | 129 checkUserInfo(o[1]); |
130 } | 130 } |
131 | 131 |
132 core.int buildCounterDownloadAccountResponse = 0; | 132 core.int buildCounterDownloadAccountResponse = 0; |
133 buildDownloadAccountResponse() { | 133 buildDownloadAccountResponse() { |
134 var o = new api.DownloadAccountResponse(); | 134 var o = new api.DownloadAccountResponse(); |
135 buildCounterDownloadAccountResponse++; | 135 buildCounterDownloadAccountResponse++; |
136 if (buildCounterDownloadAccountResponse < 3) { | 136 if (buildCounterDownloadAccountResponse < 3) { |
137 o.kind = "foo"; | 137 o.kind = "foo"; |
138 o.nextPageToken = "foo"; | 138 o.nextPageToken = "foo"; |
139 o.users = buildUnnamed2450(); | 139 o.users = buildUnnamed2410(); |
140 } | 140 } |
141 buildCounterDownloadAccountResponse--; | 141 buildCounterDownloadAccountResponse--; |
142 return o; | 142 return o; |
143 } | 143 } |
144 | 144 |
145 checkDownloadAccountResponse(api.DownloadAccountResponse o) { | 145 checkDownloadAccountResponse(api.DownloadAccountResponse o) { |
146 buildCounterDownloadAccountResponse++; | 146 buildCounterDownloadAccountResponse++; |
147 if (buildCounterDownloadAccountResponse < 3) { | 147 if (buildCounterDownloadAccountResponse < 3) { |
148 unittest.expect(o.kind, unittest.equals('foo')); | 148 unittest.expect(o.kind, unittest.equals('foo')); |
149 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 149 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
150 checkUnnamed2450(o.users); | 150 checkUnnamed2410(o.users); |
151 } | 151 } |
152 buildCounterDownloadAccountResponse--; | 152 buildCounterDownloadAccountResponse--; |
153 } | 153 } |
154 | 154 |
155 core.int buildCounterEmailTemplate = 0; | 155 core.int buildCounterEmailTemplate = 0; |
156 buildEmailTemplate() { | 156 buildEmailTemplate() { |
157 var o = new api.EmailTemplate(); | 157 var o = new api.EmailTemplate(); |
158 buildCounterEmailTemplate++; | 158 buildCounterEmailTemplate++; |
159 if (buildCounterEmailTemplate < 3) { | 159 if (buildCounterEmailTemplate < 3) { |
160 o.body = "foo"; | 160 o.body = "foo"; |
(...skipping 13 matching lines...) Expand all Loading... |
174 unittest.expect(o.body, unittest.equals('foo')); | 174 unittest.expect(o.body, unittest.equals('foo')); |
175 unittest.expect(o.format, unittest.equals('foo')); | 175 unittest.expect(o.format, unittest.equals('foo')); |
176 unittest.expect(o.from, unittest.equals('foo')); | 176 unittest.expect(o.from, unittest.equals('foo')); |
177 unittest.expect(o.fromDisplayName, unittest.equals('foo')); | 177 unittest.expect(o.fromDisplayName, unittest.equals('foo')); |
178 unittest.expect(o.replyTo, unittest.equals('foo')); | 178 unittest.expect(o.replyTo, unittest.equals('foo')); |
179 unittest.expect(o.subject, unittest.equals('foo')); | 179 unittest.expect(o.subject, unittest.equals('foo')); |
180 } | 180 } |
181 buildCounterEmailTemplate--; | 181 buildCounterEmailTemplate--; |
182 } | 182 } |
183 | 183 |
184 buildUnnamed2451() { | 184 buildUnnamed2411() { |
185 var o = new core.List<api.UserInfo>(); | 185 var o = new core.List<api.UserInfo>(); |
186 o.add(buildUserInfo()); | 186 o.add(buildUserInfo()); |
187 o.add(buildUserInfo()); | 187 o.add(buildUserInfo()); |
188 return o; | 188 return o; |
189 } | 189 } |
190 | 190 |
191 checkUnnamed2451(core.List<api.UserInfo> o) { | 191 checkUnnamed2411(core.List<api.UserInfo> o) { |
192 unittest.expect(o, unittest.hasLength(2)); | 192 unittest.expect(o, unittest.hasLength(2)); |
193 checkUserInfo(o[0]); | 193 checkUserInfo(o[0]); |
194 checkUserInfo(o[1]); | 194 checkUserInfo(o[1]); |
195 } | 195 } |
196 | 196 |
197 core.int buildCounterGetAccountInfoResponse = 0; | 197 core.int buildCounterGetAccountInfoResponse = 0; |
198 buildGetAccountInfoResponse() { | 198 buildGetAccountInfoResponse() { |
199 var o = new api.GetAccountInfoResponse(); | 199 var o = new api.GetAccountInfoResponse(); |
200 buildCounterGetAccountInfoResponse++; | 200 buildCounterGetAccountInfoResponse++; |
201 if (buildCounterGetAccountInfoResponse < 3) { | 201 if (buildCounterGetAccountInfoResponse < 3) { |
202 o.kind = "foo"; | 202 o.kind = "foo"; |
203 o.users = buildUnnamed2451(); | 203 o.users = buildUnnamed2411(); |
204 } | 204 } |
205 buildCounterGetAccountInfoResponse--; | 205 buildCounterGetAccountInfoResponse--; |
206 return o; | 206 return o; |
207 } | 207 } |
208 | 208 |
209 checkGetAccountInfoResponse(api.GetAccountInfoResponse o) { | 209 checkGetAccountInfoResponse(api.GetAccountInfoResponse o) { |
210 buildCounterGetAccountInfoResponse++; | 210 buildCounterGetAccountInfoResponse++; |
211 if (buildCounterGetAccountInfoResponse < 3) { | 211 if (buildCounterGetAccountInfoResponse < 3) { |
212 unittest.expect(o.kind, unittest.equals('foo')); | 212 unittest.expect(o.kind, unittest.equals('foo')); |
213 checkUnnamed2451(o.users); | 213 checkUnnamed2411(o.users); |
214 } | 214 } |
215 buildCounterGetAccountInfoResponse--; | 215 buildCounterGetAccountInfoResponse--; |
216 } | 216 } |
217 | 217 |
218 core.int buildCounterGetOobConfirmationCodeResponse = 0; | 218 core.int buildCounterGetOobConfirmationCodeResponse = 0; |
219 buildGetOobConfirmationCodeResponse() { | 219 buildGetOobConfirmationCodeResponse() { |
220 var o = new api.GetOobConfirmationCodeResponse(); | 220 var o = new api.GetOobConfirmationCodeResponse(); |
221 buildCounterGetOobConfirmationCodeResponse++; | 221 buildCounterGetOobConfirmationCodeResponse++; |
222 if (buildCounterGetOobConfirmationCodeResponse < 3) { | 222 if (buildCounterGetOobConfirmationCodeResponse < 3) { |
223 o.email = "foo"; | 223 o.email = "foo"; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { | 337 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { |
338 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; | 338 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; |
339 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { | 339 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { |
340 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 340 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
341 unittest.expect(o.maxResults, unittest.equals(42)); | 341 unittest.expect(o.maxResults, unittest.equals(42)); |
342 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 342 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
343 } | 343 } |
344 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; | 344 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; |
345 } | 345 } |
346 | 346 |
347 buildUnnamed2452() { | 347 buildUnnamed2412() { |
348 var o = new core.List<core.String>(); | 348 var o = new core.List<core.String>(); |
349 o.add("foo"); | 349 o.add("foo"); |
350 o.add("foo"); | 350 o.add("foo"); |
351 return o; | 351 return o; |
352 } | 352 } |
353 | 353 |
354 checkUnnamed2452(core.List<core.String> o) { | 354 checkUnnamed2412(core.List<core.String> o) { |
355 unittest.expect(o, unittest.hasLength(2)); | 355 unittest.expect(o, unittest.hasLength(2)); |
356 unittest.expect(o[0], unittest.equals('foo')); | 356 unittest.expect(o[0], unittest.equals('foo')); |
357 unittest.expect(o[1], unittest.equals('foo')); | 357 unittest.expect(o[1], unittest.equals('foo')); |
358 } | 358 } |
359 | 359 |
360 buildUnnamed2453() { | 360 buildUnnamed2413() { |
361 var o = new core.List<core.String>(); | 361 var o = new core.List<core.String>(); |
362 o.add("foo"); | 362 o.add("foo"); |
363 o.add("foo"); | 363 o.add("foo"); |
364 return o; | 364 return o; |
365 } | 365 } |
366 | 366 |
367 checkUnnamed2453(core.List<core.String> o) { | 367 checkUnnamed2413(core.List<core.String> o) { |
368 unittest.expect(o, unittest.hasLength(2)); | 368 unittest.expect(o, unittest.hasLength(2)); |
369 unittest.expect(o[0], unittest.equals('foo')); | 369 unittest.expect(o[0], unittest.equals('foo')); |
370 unittest.expect(o[1], unittest.equals('foo')); | 370 unittest.expect(o[1], unittest.equals('foo')); |
371 } | 371 } |
372 | 372 |
373 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; | 373 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; |
374 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { | 374 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { |
375 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 375 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
376 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 376 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
377 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 377 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
378 o.delegatedProjectNumber = "foo"; | 378 o.delegatedProjectNumber = "foo"; |
379 o.email = buildUnnamed2452(); | 379 o.email = buildUnnamed2412(); |
380 o.idToken = "foo"; | 380 o.idToken = "foo"; |
381 o.localId = buildUnnamed2453(); | 381 o.localId = buildUnnamed2413(); |
382 } | 382 } |
383 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 383 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
384 return o; | 384 return o; |
385 } | 385 } |
386 | 386 |
387 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { | 387 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { |
388 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 388 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
389 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 389 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
390 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 390 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
391 checkUnnamed2452(o.email); | 391 checkUnnamed2412(o.email); |
392 unittest.expect(o.idToken, unittest.equals('foo')); | 392 unittest.expect(o.idToken, unittest.equals('foo')); |
393 checkUnnamed2453(o.localId); | 393 checkUnnamed2413(o.localId); |
394 } | 394 } |
395 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 395 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
396 } | 396 } |
397 | 397 |
398 buildUnnamed2454() { | 398 buildUnnamed2414() { |
399 var o = new core.List<core.String>(); | 399 var o = new core.List<core.String>(); |
400 o.add("foo"); | 400 o.add("foo"); |
401 o.add("foo"); | 401 o.add("foo"); |
402 return o; | 402 return o; |
403 } | 403 } |
404 | 404 |
405 checkUnnamed2454(core.List<core.String> o) { | 405 checkUnnamed2414(core.List<core.String> o) { |
406 unittest.expect(o, unittest.hasLength(2)); | 406 unittest.expect(o, unittest.hasLength(2)); |
407 unittest.expect(o[0], unittest.equals('foo')); | 407 unittest.expect(o[0], unittest.equals('foo')); |
408 unittest.expect(o[1], unittest.equals('foo')); | 408 unittest.expect(o[1], unittest.equals('foo')); |
409 } | 409 } |
410 | 410 |
411 buildUnnamed2455() { | 411 buildUnnamed2415() { |
412 var o = new core.List<api.IdpConfig>(); | 412 var o = new core.List<api.IdpConfig>(); |
413 o.add(buildIdpConfig()); | 413 o.add(buildIdpConfig()); |
414 o.add(buildIdpConfig()); | 414 o.add(buildIdpConfig()); |
415 return o; | 415 return o; |
416 } | 416 } |
417 | 417 |
418 checkUnnamed2455(core.List<api.IdpConfig> o) { | 418 checkUnnamed2415(core.List<api.IdpConfig> o) { |
419 unittest.expect(o, unittest.hasLength(2)); | 419 unittest.expect(o, unittest.hasLength(2)); |
420 checkIdpConfig(o[0]); | 420 checkIdpConfig(o[0]); |
421 checkIdpConfig(o[1]); | 421 checkIdpConfig(o[1]); |
422 } | 422 } |
423 | 423 |
424 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; | 424 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; |
425 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { | 425 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { |
426 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); | 426 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); |
427 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 427 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
428 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 428 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
429 o.allowPasswordUser = true; | 429 o.allowPasswordUser = true; |
430 o.apiKey = "foo"; | 430 o.apiKey = "foo"; |
431 o.authorizedDomains = buildUnnamed2454(); | 431 o.authorizedDomains = buildUnnamed2414(); |
432 o.changeEmailTemplate = buildEmailTemplate(); | 432 o.changeEmailTemplate = buildEmailTemplate(); |
433 o.enableAnonymousUser = true; | 433 o.enableAnonymousUser = true; |
434 o.idpConfig = buildUnnamed2455(); | 434 o.idpConfig = buildUnnamed2415(); |
435 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 435 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
436 o.projectId = "foo"; | 436 o.projectId = "foo"; |
437 o.resetPasswordTemplate = buildEmailTemplate(); | 437 o.resetPasswordTemplate = buildEmailTemplate(); |
438 o.useEmailSending = true; | 438 o.useEmailSending = true; |
439 o.verifyEmailTemplate = buildEmailTemplate(); | 439 o.verifyEmailTemplate = buildEmailTemplate(); |
440 } | 440 } |
441 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 441 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
442 return o; | 442 return o; |
443 } | 443 } |
444 | 444 |
445 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { | 445 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { |
446 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 446 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
447 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 447 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
448 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 448 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
449 unittest.expect(o.apiKey, unittest.equals('foo')); | 449 unittest.expect(o.apiKey, unittest.equals('foo')); |
450 checkUnnamed2454(o.authorizedDomains); | 450 checkUnnamed2414(o.authorizedDomains); |
451 checkEmailTemplate(o.changeEmailTemplate); | 451 checkEmailTemplate(o.changeEmailTemplate); |
452 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 452 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
453 checkUnnamed2455(o.idpConfig); | 453 checkUnnamed2415(o.idpConfig); |
454 checkEmailTemplate(o.legacyResetPasswordTemplate); | 454 checkEmailTemplate(o.legacyResetPasswordTemplate); |
455 unittest.expect(o.projectId, unittest.equals('foo')); | 455 unittest.expect(o.projectId, unittest.equals('foo')); |
456 checkEmailTemplate(o.resetPasswordTemplate); | 456 checkEmailTemplate(o.resetPasswordTemplate); |
457 unittest.expect(o.useEmailSending, unittest.isTrue); | 457 unittest.expect(o.useEmailSending, unittest.isTrue); |
458 checkEmailTemplate(o.verifyEmailTemplate); | 458 checkEmailTemplate(o.verifyEmailTemplate); |
459 } | 459 } |
460 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 460 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
461 } | 461 } |
462 | 462 |
463 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { | 463 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { |
(...skipping 27 matching lines...) Expand all Loading... |
491 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; | 491 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; |
492 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { | 492 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { |
493 unittest.expect(o.email, unittest.equals('foo')); | 493 unittest.expect(o.email, unittest.equals('foo')); |
494 unittest.expect(o.newPassword, unittest.equals('foo')); | 494 unittest.expect(o.newPassword, unittest.equals('foo')); |
495 unittest.expect(o.oldPassword, unittest.equals('foo')); | 495 unittest.expect(o.oldPassword, unittest.equals('foo')); |
496 unittest.expect(o.oobCode, unittest.equals('foo')); | 496 unittest.expect(o.oobCode, unittest.equals('foo')); |
497 } | 497 } |
498 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; | 498 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; |
499 } | 499 } |
500 | 500 |
501 buildUnnamed2456() { | 501 buildUnnamed2416() { |
502 var o = new core.List<core.String>(); | 502 var o = new core.List<core.String>(); |
503 o.add("foo"); | 503 o.add("foo"); |
504 o.add("foo"); | 504 o.add("foo"); |
505 return o; | 505 return o; |
506 } | 506 } |
507 | 507 |
508 checkUnnamed2456(core.List<core.String> o) { | 508 checkUnnamed2416(core.List<core.String> o) { |
509 unittest.expect(o, unittest.hasLength(2)); | 509 unittest.expect(o, unittest.hasLength(2)); |
510 unittest.expect(o[0], unittest.equals('foo')); | 510 unittest.expect(o[0], unittest.equals('foo')); |
511 unittest.expect(o[1], unittest.equals('foo')); | 511 unittest.expect(o[1], unittest.equals('foo')); |
512 } | 512 } |
513 | 513 |
514 buildUnnamed2457() { | 514 buildUnnamed2417() { |
515 var o = new core.List<core.String>(); | 515 var o = new core.List<core.String>(); |
516 o.add("foo"); | 516 o.add("foo"); |
517 o.add("foo"); | 517 o.add("foo"); |
518 return o; | 518 return o; |
519 } | 519 } |
520 | 520 |
521 checkUnnamed2457(core.List<core.String> o) { | 521 checkUnnamed2417(core.List<core.String> o) { |
522 unittest.expect(o, unittest.hasLength(2)); | 522 unittest.expect(o, unittest.hasLength(2)); |
523 unittest.expect(o[0], unittest.equals('foo')); | 523 unittest.expect(o[0], unittest.equals('foo')); |
524 unittest.expect(o[1], unittest.equals('foo')); | 524 unittest.expect(o[1], unittest.equals('foo')); |
525 } | 525 } |
526 | 526 |
527 buildUnnamed2458() { | 527 buildUnnamed2418() { |
528 var o = new core.List<core.String>(); | 528 var o = new core.List<core.String>(); |
529 o.add("foo"); | 529 o.add("foo"); |
530 o.add("foo"); | 530 o.add("foo"); |
531 return o; | 531 return o; |
532 } | 532 } |
533 | 533 |
534 checkUnnamed2458(core.List<core.String> o) { | 534 checkUnnamed2418(core.List<core.String> o) { |
535 unittest.expect(o, unittest.hasLength(2)); | 535 unittest.expect(o, unittest.hasLength(2)); |
536 unittest.expect(o[0], unittest.equals('foo')); | 536 unittest.expect(o[0], unittest.equals('foo')); |
537 unittest.expect(o[1], unittest.equals('foo')); | 537 unittest.expect(o[1], unittest.equals('foo')); |
538 } | 538 } |
539 | 539 |
540 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; | 540 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; |
541 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { | 541 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { |
542 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); | 542 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); |
543 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 543 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
544 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 544 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
545 o.captchaChallenge = "foo"; | 545 o.captchaChallenge = "foo"; |
546 o.captchaResponse = "foo"; | 546 o.captchaResponse = "foo"; |
| 547 o.createdAt = "foo"; |
547 o.delegatedProjectNumber = "foo"; | 548 o.delegatedProjectNumber = "foo"; |
548 o.deleteAttribute = buildUnnamed2456(); | 549 o.deleteAttribute = buildUnnamed2416(); |
549 o.deleteProvider = buildUnnamed2457(); | 550 o.deleteProvider = buildUnnamed2417(); |
550 o.disableUser = true; | 551 o.disableUser = true; |
551 o.displayName = "foo"; | 552 o.displayName = "foo"; |
552 o.email = "foo"; | 553 o.email = "foo"; |
553 o.emailVerified = true; | 554 o.emailVerified = true; |
554 o.idToken = "foo"; | 555 o.idToken = "foo"; |
555 o.instanceId = "foo"; | 556 o.instanceId = "foo"; |
| 557 o.lastLoginAt = "foo"; |
556 o.localId = "foo"; | 558 o.localId = "foo"; |
557 o.oobCode = "foo"; | 559 o.oobCode = "foo"; |
558 o.password = "foo"; | 560 o.password = "foo"; |
559 o.photoUrl = "foo"; | 561 o.photoUrl = "foo"; |
560 o.provider = buildUnnamed2458(); | 562 o.provider = buildUnnamed2418(); |
561 o.returnSecureToken = true; | 563 o.returnSecureToken = true; |
562 o.upgradeToFederatedLogin = true; | 564 o.upgradeToFederatedLogin = true; |
563 o.validSince = "foo"; | 565 o.validSince = "foo"; |
564 } | 566 } |
565 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 567 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
566 return o; | 568 return o; |
567 } | 569 } |
568 | 570 |
569 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { | 571 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { |
570 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 572 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
571 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 573 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
572 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 574 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
573 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 575 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
| 576 unittest.expect(o.createdAt, unittest.equals('foo')); |
574 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 577 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
575 checkUnnamed2456(o.deleteAttribute); | 578 checkUnnamed2416(o.deleteAttribute); |
576 checkUnnamed2457(o.deleteProvider); | 579 checkUnnamed2417(o.deleteProvider); |
577 unittest.expect(o.disableUser, unittest.isTrue); | 580 unittest.expect(o.disableUser, unittest.isTrue); |
578 unittest.expect(o.displayName, unittest.equals('foo')); | 581 unittest.expect(o.displayName, unittest.equals('foo')); |
579 unittest.expect(o.email, unittest.equals('foo')); | 582 unittest.expect(o.email, unittest.equals('foo')); |
580 unittest.expect(o.emailVerified, unittest.isTrue); | 583 unittest.expect(o.emailVerified, unittest.isTrue); |
581 unittest.expect(o.idToken, unittest.equals('foo')); | 584 unittest.expect(o.idToken, unittest.equals('foo')); |
582 unittest.expect(o.instanceId, unittest.equals('foo')); | 585 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 586 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
583 unittest.expect(o.localId, unittest.equals('foo')); | 587 unittest.expect(o.localId, unittest.equals('foo')); |
584 unittest.expect(o.oobCode, unittest.equals('foo')); | 588 unittest.expect(o.oobCode, unittest.equals('foo')); |
585 unittest.expect(o.password, unittest.equals('foo')); | 589 unittest.expect(o.password, unittest.equals('foo')); |
586 unittest.expect(o.photoUrl, unittest.equals('foo')); | 590 unittest.expect(o.photoUrl, unittest.equals('foo')); |
587 checkUnnamed2458(o.provider); | 591 checkUnnamed2418(o.provider); |
588 unittest.expect(o.returnSecureToken, unittest.isTrue); | 592 unittest.expect(o.returnSecureToken, unittest.isTrue); |
589 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); | 593 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); |
590 unittest.expect(o.validSince, unittest.equals('foo')); | 594 unittest.expect(o.validSince, unittest.equals('foo')); |
591 } | 595 } |
592 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 596 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
593 } | 597 } |
594 | 598 |
595 buildUnnamed2459() { | 599 buildUnnamed2419() { |
596 var o = new core.List<core.String>(); | 600 var o = new core.List<core.String>(); |
597 o.add("foo"); | 601 o.add("foo"); |
598 o.add("foo"); | 602 o.add("foo"); |
599 return o; | 603 return o; |
600 } | 604 } |
601 | 605 |
602 checkUnnamed2459(core.List<core.String> o) { | 606 checkUnnamed2419(core.List<core.String> o) { |
603 unittest.expect(o, unittest.hasLength(2)); | 607 unittest.expect(o, unittest.hasLength(2)); |
604 unittest.expect(o[0], unittest.equals('foo')); | 608 unittest.expect(o[0], unittest.equals('foo')); |
605 unittest.expect(o[1], unittest.equals('foo')); | 609 unittest.expect(o[1], unittest.equals('foo')); |
606 } | 610 } |
607 | 611 |
608 buildUnnamed2460() { | 612 buildUnnamed2420() { |
609 var o = new core.List<api.IdpConfig>(); | 613 var o = new core.List<api.IdpConfig>(); |
610 o.add(buildIdpConfig()); | 614 o.add(buildIdpConfig()); |
611 o.add(buildIdpConfig()); | 615 o.add(buildIdpConfig()); |
612 return o; | 616 return o; |
613 } | 617 } |
614 | 618 |
615 checkUnnamed2460(core.List<api.IdpConfig> o) { | 619 checkUnnamed2420(core.List<api.IdpConfig> o) { |
616 unittest.expect(o, unittest.hasLength(2)); | 620 unittest.expect(o, unittest.hasLength(2)); |
617 checkIdpConfig(o[0]); | 621 checkIdpConfig(o[0]); |
618 checkIdpConfig(o[1]); | 622 checkIdpConfig(o[1]); |
619 } | 623 } |
620 | 624 |
621 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; | 625 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; |
622 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { | 626 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { |
623 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); | 627 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); |
624 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 628 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
625 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 629 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
626 o.allowPasswordUser = true; | 630 o.allowPasswordUser = true; |
627 o.apiKey = "foo"; | 631 o.apiKey = "foo"; |
628 o.authorizedDomains = buildUnnamed2459(); | 632 o.authorizedDomains = buildUnnamed2419(); |
629 o.changeEmailTemplate = buildEmailTemplate(); | 633 o.changeEmailTemplate = buildEmailTemplate(); |
630 o.delegatedProjectNumber = "foo"; | 634 o.delegatedProjectNumber = "foo"; |
631 o.enableAnonymousUser = true; | 635 o.enableAnonymousUser = true; |
632 o.idpConfig = buildUnnamed2460(); | 636 o.idpConfig = buildUnnamed2420(); |
633 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 637 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
634 o.resetPasswordTemplate = buildEmailTemplate(); | 638 o.resetPasswordTemplate = buildEmailTemplate(); |
635 o.useEmailSending = true; | 639 o.useEmailSending = true; |
636 o.verifyEmailTemplate = buildEmailTemplate(); | 640 o.verifyEmailTemplate = buildEmailTemplate(); |
637 } | 641 } |
638 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 642 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
639 return o; | 643 return o; |
640 } | 644 } |
641 | 645 |
642 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { | 646 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { |
643 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 647 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
644 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 648 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
645 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 649 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
646 unittest.expect(o.apiKey, unittest.equals('foo')); | 650 unittest.expect(o.apiKey, unittest.equals('foo')); |
647 checkUnnamed2459(o.authorizedDomains); | 651 checkUnnamed2419(o.authorizedDomains); |
648 checkEmailTemplate(o.changeEmailTemplate); | 652 checkEmailTemplate(o.changeEmailTemplate); |
649 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 653 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
650 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 654 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
651 checkUnnamed2460(o.idpConfig); | 655 checkUnnamed2420(o.idpConfig); |
652 checkEmailTemplate(o.legacyResetPasswordTemplate); | 656 checkEmailTemplate(o.legacyResetPasswordTemplate); |
653 checkEmailTemplate(o.resetPasswordTemplate); | 657 checkEmailTemplate(o.resetPasswordTemplate); |
654 unittest.expect(o.useEmailSending, unittest.isTrue); | 658 unittest.expect(o.useEmailSending, unittest.isTrue); |
655 checkEmailTemplate(o.verifyEmailTemplate); | 659 checkEmailTemplate(o.verifyEmailTemplate); |
656 } | 660 } |
657 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 661 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
658 } | 662 } |
659 | 663 |
660 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; | 664 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; |
661 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { | 665 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 744 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
741 unittest.expect(o.displayName, unittest.equals('foo')); | 745 unittest.expect(o.displayName, unittest.equals('foo')); |
742 unittest.expect(o.email, unittest.equals('foo')); | 746 unittest.expect(o.email, unittest.equals('foo')); |
743 unittest.expect(o.idToken, unittest.equals('foo')); | 747 unittest.expect(o.idToken, unittest.equals('foo')); |
744 unittest.expect(o.instanceId, unittest.equals('foo')); | 748 unittest.expect(o.instanceId, unittest.equals('foo')); |
745 unittest.expect(o.password, unittest.equals('foo')); | 749 unittest.expect(o.password, unittest.equals('foo')); |
746 } | 750 } |
747 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; | 751 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; |
748 } | 752 } |
749 | 753 |
750 buildUnnamed2461() { | 754 buildUnnamed2421() { |
751 var o = new core.List<api.UserInfo>(); | 755 var o = new core.List<api.UserInfo>(); |
752 o.add(buildUserInfo()); | 756 o.add(buildUserInfo()); |
753 o.add(buildUserInfo()); | 757 o.add(buildUserInfo()); |
754 return o; | 758 return o; |
755 } | 759 } |
756 | 760 |
757 checkUnnamed2461(core.List<api.UserInfo> o) { | 761 checkUnnamed2421(core.List<api.UserInfo> o) { |
758 unittest.expect(o, unittest.hasLength(2)); | 762 unittest.expect(o, unittest.hasLength(2)); |
759 checkUserInfo(o[0]); | 763 checkUserInfo(o[0]); |
760 checkUserInfo(o[1]); | 764 checkUserInfo(o[1]); |
761 } | 765 } |
762 | 766 |
763 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; | 767 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; |
764 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { | 768 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { |
765 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); | 769 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); |
766 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 770 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
767 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 771 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
768 o.delegatedProjectNumber = "foo"; | 772 o.delegatedProjectNumber = "foo"; |
769 o.hashAlgorithm = "foo"; | 773 o.hashAlgorithm = "foo"; |
770 o.memoryCost = 42; | 774 o.memoryCost = 42; |
771 o.rounds = 42; | 775 o.rounds = 42; |
772 o.saltSeparator = "foo"; | 776 o.saltSeparator = "foo"; |
773 o.signerKey = "foo"; | 777 o.signerKey = "foo"; |
774 o.users = buildUnnamed2461(); | 778 o.users = buildUnnamed2421(); |
775 } | 779 } |
776 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 780 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
777 return o; | 781 return o; |
778 } | 782 } |
779 | 783 |
780 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { | 784 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { |
781 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 785 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
782 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 786 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
783 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 787 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
784 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); | 788 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); |
785 unittest.expect(o.memoryCost, unittest.equals(42)); | 789 unittest.expect(o.memoryCost, unittest.equals(42)); |
786 unittest.expect(o.rounds, unittest.equals(42)); | 790 unittest.expect(o.rounds, unittest.equals(42)); |
787 unittest.expect(o.saltSeparator, unittest.equals('foo')); | 791 unittest.expect(o.saltSeparator, unittest.equals('foo')); |
788 unittest.expect(o.signerKey, unittest.equals('foo')); | 792 unittest.expect(o.signerKey, unittest.equals('foo')); |
789 checkUnnamed2461(o.users); | 793 checkUnnamed2421(o.users); |
790 } | 794 } |
791 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 795 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
792 } | 796 } |
793 | 797 |
794 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; | 798 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; |
795 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { | 799 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { |
796 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 800 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
797 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; | 801 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; |
798 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { | 802 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { |
799 o.delegatedProjectNumber = "foo"; | 803 o.delegatedProjectNumber = "foo"; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 unittest.expect(o.email, unittest.equals('foo')); | 883 unittest.expect(o.email, unittest.equals('foo')); |
880 unittest.expect(o.idToken, unittest.equals('foo')); | 884 unittest.expect(o.idToken, unittest.equals('foo')); |
881 unittest.expect(o.instanceId, unittest.equals('foo')); | 885 unittest.expect(o.instanceId, unittest.equals('foo')); |
882 unittest.expect(o.password, unittest.equals('foo')); | 886 unittest.expect(o.password, unittest.equals('foo')); |
883 unittest.expect(o.pendingIdToken, unittest.equals('foo')); | 887 unittest.expect(o.pendingIdToken, unittest.equals('foo')); |
884 unittest.expect(o.returnSecureToken, unittest.isTrue); | 888 unittest.expect(o.returnSecureToken, unittest.isTrue); |
885 } | 889 } |
886 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; | 890 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; |
887 } | 891 } |
888 | 892 |
| 893 buildUnnamed2422() { |
| 894 var o = new core.List<core.String>(); |
| 895 o.add("foo"); |
| 896 o.add("foo"); |
| 897 return o; |
| 898 } |
| 899 |
| 900 checkUnnamed2422(core.List<core.String> o) { |
| 901 unittest.expect(o, unittest.hasLength(2)); |
| 902 unittest.expect(o[0], unittest.equals('foo')); |
| 903 unittest.expect(o[1], unittest.equals('foo')); |
| 904 } |
| 905 |
889 core.int buildCounterIdpConfig = 0; | 906 core.int buildCounterIdpConfig = 0; |
890 buildIdpConfig() { | 907 buildIdpConfig() { |
891 var o = new api.IdpConfig(); | 908 var o = new api.IdpConfig(); |
892 buildCounterIdpConfig++; | 909 buildCounterIdpConfig++; |
893 if (buildCounterIdpConfig < 3) { | 910 if (buildCounterIdpConfig < 3) { |
894 o.clientId = "foo"; | 911 o.clientId = "foo"; |
895 o.enabled = true; | 912 o.enabled = true; |
896 o.experimentPercent = 42; | 913 o.experimentPercent = 42; |
897 o.provider = "foo"; | 914 o.provider = "foo"; |
898 o.secret = "foo"; | 915 o.secret = "foo"; |
| 916 o.whitelistedAudiences = buildUnnamed2422(); |
899 } | 917 } |
900 buildCounterIdpConfig--; | 918 buildCounterIdpConfig--; |
901 return o; | 919 return o; |
902 } | 920 } |
903 | 921 |
904 checkIdpConfig(api.IdpConfig o) { | 922 checkIdpConfig(api.IdpConfig o) { |
905 buildCounterIdpConfig++; | 923 buildCounterIdpConfig++; |
906 if (buildCounterIdpConfig < 3) { | 924 if (buildCounterIdpConfig < 3) { |
907 unittest.expect(o.clientId, unittest.equals('foo')); | 925 unittest.expect(o.clientId, unittest.equals('foo')); |
908 unittest.expect(o.enabled, unittest.isTrue); | 926 unittest.expect(o.enabled, unittest.isTrue); |
909 unittest.expect(o.experimentPercent, unittest.equals(42)); | 927 unittest.expect(o.experimentPercent, unittest.equals(42)); |
910 unittest.expect(o.provider, unittest.equals('foo')); | 928 unittest.expect(o.provider, unittest.equals('foo')); |
911 unittest.expect(o.secret, unittest.equals('foo')); | 929 unittest.expect(o.secret, unittest.equals('foo')); |
| 930 checkUnnamed2422(o.whitelistedAudiences); |
912 } | 931 } |
913 buildCounterIdpConfig--; | 932 buildCounterIdpConfig--; |
914 } | 933 } |
915 | 934 |
916 core.int buildCounterRelyingparty = 0; | 935 core.int buildCounterRelyingparty = 0; |
917 buildRelyingparty() { | 936 buildRelyingparty() { |
918 var o = new api.Relyingparty(); | 937 var o = new api.Relyingparty(); |
919 buildCounterRelyingparty++; | 938 buildCounterRelyingparty++; |
920 if (buildCounterRelyingparty < 3) { | 939 if (buildCounterRelyingparty < 3) { |
921 o.captchaResp = "foo"; | 940 o.captchaResp = "foo"; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 buildCounterSetAccountInfoResponseProviderUserInfo++; | 1004 buildCounterSetAccountInfoResponseProviderUserInfo++; |
986 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 1005 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
987 unittest.expect(o.displayName, unittest.equals('foo')); | 1006 unittest.expect(o.displayName, unittest.equals('foo')); |
988 unittest.expect(o.federatedId, unittest.equals('foo')); | 1007 unittest.expect(o.federatedId, unittest.equals('foo')); |
989 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1008 unittest.expect(o.photoUrl, unittest.equals('foo')); |
990 unittest.expect(o.providerId, unittest.equals('foo')); | 1009 unittest.expect(o.providerId, unittest.equals('foo')); |
991 } | 1010 } |
992 buildCounterSetAccountInfoResponseProviderUserInfo--; | 1011 buildCounterSetAccountInfoResponseProviderUserInfo--; |
993 } | 1012 } |
994 | 1013 |
995 buildUnnamed2462() { | 1014 buildUnnamed2423() { |
996 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); | 1015 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); |
997 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1016 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
998 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1017 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
999 return o; | 1018 return o; |
1000 } | 1019 } |
1001 | 1020 |
1002 checkUnnamed2462(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { | 1021 checkUnnamed2423(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { |
1003 unittest.expect(o, unittest.hasLength(2)); | 1022 unittest.expect(o, unittest.hasLength(2)); |
1004 checkSetAccountInfoResponseProviderUserInfo(o[0]); | 1023 checkSetAccountInfoResponseProviderUserInfo(o[0]); |
1005 checkSetAccountInfoResponseProviderUserInfo(o[1]); | 1024 checkSetAccountInfoResponseProviderUserInfo(o[1]); |
1006 } | 1025 } |
1007 | 1026 |
1008 core.int buildCounterSetAccountInfoResponse = 0; | 1027 core.int buildCounterSetAccountInfoResponse = 0; |
1009 buildSetAccountInfoResponse() { | 1028 buildSetAccountInfoResponse() { |
1010 var o = new api.SetAccountInfoResponse(); | 1029 var o = new api.SetAccountInfoResponse(); |
1011 buildCounterSetAccountInfoResponse++; | 1030 buildCounterSetAccountInfoResponse++; |
1012 if (buildCounterSetAccountInfoResponse < 3) { | 1031 if (buildCounterSetAccountInfoResponse < 3) { |
1013 o.displayName = "foo"; | 1032 o.displayName = "foo"; |
1014 o.email = "foo"; | 1033 o.email = "foo"; |
1015 o.expiresIn = "foo"; | 1034 o.expiresIn = "foo"; |
1016 o.idToken = "foo"; | 1035 o.idToken = "foo"; |
1017 o.kind = "foo"; | 1036 o.kind = "foo"; |
1018 o.localId = "foo"; | 1037 o.localId = "foo"; |
1019 o.newEmail = "foo"; | 1038 o.newEmail = "foo"; |
1020 o.passwordHash = "foo"; | 1039 o.passwordHash = "foo"; |
1021 o.photoUrl = "foo"; | 1040 o.photoUrl = "foo"; |
1022 o.providerUserInfo = buildUnnamed2462(); | 1041 o.providerUserInfo = buildUnnamed2423(); |
1023 o.refreshToken = "foo"; | 1042 o.refreshToken = "foo"; |
1024 } | 1043 } |
1025 buildCounterSetAccountInfoResponse--; | 1044 buildCounterSetAccountInfoResponse--; |
1026 return o; | 1045 return o; |
1027 } | 1046 } |
1028 | 1047 |
1029 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { | 1048 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { |
1030 buildCounterSetAccountInfoResponse++; | 1049 buildCounterSetAccountInfoResponse++; |
1031 if (buildCounterSetAccountInfoResponse < 3) { | 1050 if (buildCounterSetAccountInfoResponse < 3) { |
1032 unittest.expect(o.displayName, unittest.equals('foo')); | 1051 unittest.expect(o.displayName, unittest.equals('foo')); |
1033 unittest.expect(o.email, unittest.equals('foo')); | 1052 unittest.expect(o.email, unittest.equals('foo')); |
1034 unittest.expect(o.expiresIn, unittest.equals('foo')); | 1053 unittest.expect(o.expiresIn, unittest.equals('foo')); |
1035 unittest.expect(o.idToken, unittest.equals('foo')); | 1054 unittest.expect(o.idToken, unittest.equals('foo')); |
1036 unittest.expect(o.kind, unittest.equals('foo')); | 1055 unittest.expect(o.kind, unittest.equals('foo')); |
1037 unittest.expect(o.localId, unittest.equals('foo')); | 1056 unittest.expect(o.localId, unittest.equals('foo')); |
1038 unittest.expect(o.newEmail, unittest.equals('foo')); | 1057 unittest.expect(o.newEmail, unittest.equals('foo')); |
1039 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1058 unittest.expect(o.passwordHash, unittest.equals('foo')); |
1040 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1059 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1041 checkUnnamed2462(o.providerUserInfo); | 1060 checkUnnamed2423(o.providerUserInfo); |
1042 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1061 unittest.expect(o.refreshToken, unittest.equals('foo')); |
1043 } | 1062 } |
1044 buildCounterSetAccountInfoResponse--; | 1063 buildCounterSetAccountInfoResponse--; |
1045 } | 1064 } |
1046 | 1065 |
1047 core.int buildCounterSignupNewUserResponse = 0; | 1066 core.int buildCounterSignupNewUserResponse = 0; |
1048 buildSignupNewUserResponse() { | 1067 buildSignupNewUserResponse() { |
1049 var o = new api.SignupNewUserResponse(); | 1068 var o = new api.SignupNewUserResponse(); |
1050 buildCounterSignupNewUserResponse++; | 1069 buildCounterSignupNewUserResponse++; |
1051 if (buildCounterSignupNewUserResponse < 3) { | 1070 if (buildCounterSignupNewUserResponse < 3) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 | 1108 |
1090 checkUploadAccountResponseError(api.UploadAccountResponseError o) { | 1109 checkUploadAccountResponseError(api.UploadAccountResponseError o) { |
1091 buildCounterUploadAccountResponseError++; | 1110 buildCounterUploadAccountResponseError++; |
1092 if (buildCounterUploadAccountResponseError < 3) { | 1111 if (buildCounterUploadAccountResponseError < 3) { |
1093 unittest.expect(o.index, unittest.equals(42)); | 1112 unittest.expect(o.index, unittest.equals(42)); |
1094 unittest.expect(o.message, unittest.equals('foo')); | 1113 unittest.expect(o.message, unittest.equals('foo')); |
1095 } | 1114 } |
1096 buildCounterUploadAccountResponseError--; | 1115 buildCounterUploadAccountResponseError--; |
1097 } | 1116 } |
1098 | 1117 |
1099 buildUnnamed2463() { | 1118 buildUnnamed2424() { |
1100 var o = new core.List<api.UploadAccountResponseError>(); | 1119 var o = new core.List<api.UploadAccountResponseError>(); |
1101 o.add(buildUploadAccountResponseError()); | 1120 o.add(buildUploadAccountResponseError()); |
1102 o.add(buildUploadAccountResponseError()); | 1121 o.add(buildUploadAccountResponseError()); |
1103 return o; | 1122 return o; |
1104 } | 1123 } |
1105 | 1124 |
1106 checkUnnamed2463(core.List<api.UploadAccountResponseError> o) { | 1125 checkUnnamed2424(core.List<api.UploadAccountResponseError> o) { |
1107 unittest.expect(o, unittest.hasLength(2)); | 1126 unittest.expect(o, unittest.hasLength(2)); |
1108 checkUploadAccountResponseError(o[0]); | 1127 checkUploadAccountResponseError(o[0]); |
1109 checkUploadAccountResponseError(o[1]); | 1128 checkUploadAccountResponseError(o[1]); |
1110 } | 1129 } |
1111 | 1130 |
1112 core.int buildCounterUploadAccountResponse = 0; | 1131 core.int buildCounterUploadAccountResponse = 0; |
1113 buildUploadAccountResponse() { | 1132 buildUploadAccountResponse() { |
1114 var o = new api.UploadAccountResponse(); | 1133 var o = new api.UploadAccountResponse(); |
1115 buildCounterUploadAccountResponse++; | 1134 buildCounterUploadAccountResponse++; |
1116 if (buildCounterUploadAccountResponse < 3) { | 1135 if (buildCounterUploadAccountResponse < 3) { |
1117 o.error = buildUnnamed2463(); | 1136 o.error = buildUnnamed2424(); |
1118 o.kind = "foo"; | 1137 o.kind = "foo"; |
1119 } | 1138 } |
1120 buildCounterUploadAccountResponse--; | 1139 buildCounterUploadAccountResponse--; |
1121 return o; | 1140 return o; |
1122 } | 1141 } |
1123 | 1142 |
1124 checkUploadAccountResponse(api.UploadAccountResponse o) { | 1143 checkUploadAccountResponse(api.UploadAccountResponse o) { |
1125 buildCounterUploadAccountResponse++; | 1144 buildCounterUploadAccountResponse++; |
1126 if (buildCounterUploadAccountResponse < 3) { | 1145 if (buildCounterUploadAccountResponse < 3) { |
1127 checkUnnamed2463(o.error); | 1146 checkUnnamed2424(o.error); |
1128 unittest.expect(o.kind, unittest.equals('foo')); | 1147 unittest.expect(o.kind, unittest.equals('foo')); |
1129 } | 1148 } |
1130 buildCounterUploadAccountResponse--; | 1149 buildCounterUploadAccountResponse--; |
1131 } | 1150 } |
1132 | 1151 |
1133 core.int buildCounterUserInfoProviderUserInfo = 0; | 1152 core.int buildCounterUserInfoProviderUserInfo = 0; |
1134 buildUserInfoProviderUserInfo() { | 1153 buildUserInfoProviderUserInfo() { |
1135 var o = new api.UserInfoProviderUserInfo(); | 1154 var o = new api.UserInfoProviderUserInfo(); |
1136 buildCounterUserInfoProviderUserInfo++; | 1155 buildCounterUserInfoProviderUserInfo++; |
1137 if (buildCounterUserInfoProviderUserInfo < 3) { | 1156 if (buildCounterUserInfoProviderUserInfo < 3) { |
(...skipping 14 matching lines...) Expand all Loading... |
1152 unittest.expect(o.displayName, unittest.equals('foo')); | 1171 unittest.expect(o.displayName, unittest.equals('foo')); |
1153 unittest.expect(o.email, unittest.equals('foo')); | 1172 unittest.expect(o.email, unittest.equals('foo')); |
1154 unittest.expect(o.federatedId, unittest.equals('foo')); | 1173 unittest.expect(o.federatedId, unittest.equals('foo')); |
1155 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1174 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1156 unittest.expect(o.providerId, unittest.equals('foo')); | 1175 unittest.expect(o.providerId, unittest.equals('foo')); |
1157 unittest.expect(o.rawId, unittest.equals('foo')); | 1176 unittest.expect(o.rawId, unittest.equals('foo')); |
1158 } | 1177 } |
1159 buildCounterUserInfoProviderUserInfo--; | 1178 buildCounterUserInfoProviderUserInfo--; |
1160 } | 1179 } |
1161 | 1180 |
1162 buildUnnamed2464() { | 1181 buildUnnamed2425() { |
1163 var o = new core.List<api.UserInfoProviderUserInfo>(); | 1182 var o = new core.List<api.UserInfoProviderUserInfo>(); |
1164 o.add(buildUserInfoProviderUserInfo()); | 1183 o.add(buildUserInfoProviderUserInfo()); |
1165 o.add(buildUserInfoProviderUserInfo()); | 1184 o.add(buildUserInfoProviderUserInfo()); |
1166 return o; | 1185 return o; |
1167 } | 1186 } |
1168 | 1187 |
1169 checkUnnamed2464(core.List<api.UserInfoProviderUserInfo> o) { | 1188 checkUnnamed2425(core.List<api.UserInfoProviderUserInfo> o) { |
1170 unittest.expect(o, unittest.hasLength(2)); | 1189 unittest.expect(o, unittest.hasLength(2)); |
1171 checkUserInfoProviderUserInfo(o[0]); | 1190 checkUserInfoProviderUserInfo(o[0]); |
1172 checkUserInfoProviderUserInfo(o[1]); | 1191 checkUserInfoProviderUserInfo(o[1]); |
1173 } | 1192 } |
1174 | 1193 |
1175 core.int buildCounterUserInfo = 0; | 1194 core.int buildCounterUserInfo = 0; |
1176 buildUserInfo() { | 1195 buildUserInfo() { |
1177 var o = new api.UserInfo(); | 1196 var o = new api.UserInfo(); |
1178 buildCounterUserInfo++; | 1197 buildCounterUserInfo++; |
1179 if (buildCounterUserInfo < 3) { | 1198 if (buildCounterUserInfo < 3) { |
| 1199 o.createdAt = "foo"; |
1180 o.disabled = true; | 1200 o.disabled = true; |
1181 o.displayName = "foo"; | 1201 o.displayName = "foo"; |
1182 o.email = "foo"; | 1202 o.email = "foo"; |
1183 o.emailVerified = true; | 1203 o.emailVerified = true; |
| 1204 o.lastLoginAt = "foo"; |
1184 o.localId = "foo"; | 1205 o.localId = "foo"; |
1185 o.passwordHash = "foo"; | 1206 o.passwordHash = "foo"; |
1186 o.passwordUpdatedAt = 42.0; | 1207 o.passwordUpdatedAt = 42.0; |
1187 o.photoUrl = "foo"; | 1208 o.photoUrl = "foo"; |
1188 o.providerUserInfo = buildUnnamed2464(); | 1209 o.providerUserInfo = buildUnnamed2425(); |
1189 o.salt = "foo"; | 1210 o.salt = "foo"; |
1190 o.validSince = "foo"; | 1211 o.validSince = "foo"; |
1191 o.version = 42; | 1212 o.version = 42; |
1192 } | 1213 } |
1193 buildCounterUserInfo--; | 1214 buildCounterUserInfo--; |
1194 return o; | 1215 return o; |
1195 } | 1216 } |
1196 | 1217 |
1197 checkUserInfo(api.UserInfo o) { | 1218 checkUserInfo(api.UserInfo o) { |
1198 buildCounterUserInfo++; | 1219 buildCounterUserInfo++; |
1199 if (buildCounterUserInfo < 3) { | 1220 if (buildCounterUserInfo < 3) { |
| 1221 unittest.expect(o.createdAt, unittest.equals('foo')); |
1200 unittest.expect(o.disabled, unittest.isTrue); | 1222 unittest.expect(o.disabled, unittest.isTrue); |
1201 unittest.expect(o.displayName, unittest.equals('foo')); | 1223 unittest.expect(o.displayName, unittest.equals('foo')); |
1202 unittest.expect(o.email, unittest.equals('foo')); | 1224 unittest.expect(o.email, unittest.equals('foo')); |
1203 unittest.expect(o.emailVerified, unittest.isTrue); | 1225 unittest.expect(o.emailVerified, unittest.isTrue); |
| 1226 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
1204 unittest.expect(o.localId, unittest.equals('foo')); | 1227 unittest.expect(o.localId, unittest.equals('foo')); |
1205 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1228 unittest.expect(o.passwordHash, unittest.equals('foo')); |
1206 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); | 1229 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); |
1207 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1230 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1208 checkUnnamed2464(o.providerUserInfo); | 1231 checkUnnamed2425(o.providerUserInfo); |
1209 unittest.expect(o.salt, unittest.equals('foo')); | 1232 unittest.expect(o.salt, unittest.equals('foo')); |
1210 unittest.expect(o.validSince, unittest.equals('foo')); | 1233 unittest.expect(o.validSince, unittest.equals('foo')); |
1211 unittest.expect(o.version, unittest.equals(42)); | 1234 unittest.expect(o.version, unittest.equals(42)); |
1212 } | 1235 } |
1213 buildCounterUserInfo--; | 1236 buildCounterUserInfo--; |
1214 } | 1237 } |
1215 | 1238 |
1216 buildUnnamed2465() { | 1239 buildUnnamed2426() { |
1217 var o = new core.List<core.String>(); | 1240 var o = new core.List<core.String>(); |
1218 o.add("foo"); | 1241 o.add("foo"); |
1219 o.add("foo"); | 1242 o.add("foo"); |
1220 return o; | 1243 return o; |
1221 } | 1244 } |
1222 | 1245 |
1223 checkUnnamed2465(core.List<core.String> o) { | 1246 checkUnnamed2426(core.List<core.String> o) { |
1224 unittest.expect(o, unittest.hasLength(2)); | 1247 unittest.expect(o, unittest.hasLength(2)); |
1225 unittest.expect(o[0], unittest.equals('foo')); | 1248 unittest.expect(o[0], unittest.equals('foo')); |
1226 unittest.expect(o[1], unittest.equals('foo')); | 1249 unittest.expect(o[1], unittest.equals('foo')); |
1227 } | 1250 } |
1228 | 1251 |
1229 core.int buildCounterVerifyAssertionResponse = 0; | 1252 core.int buildCounterVerifyAssertionResponse = 0; |
1230 buildVerifyAssertionResponse() { | 1253 buildVerifyAssertionResponse() { |
1231 var o = new api.VerifyAssertionResponse(); | 1254 var o = new api.VerifyAssertionResponse(); |
1232 buildCounterVerifyAssertionResponse++; | 1255 buildCounterVerifyAssertionResponse++; |
1233 if (buildCounterVerifyAssertionResponse < 3) { | 1256 if (buildCounterVerifyAssertionResponse < 3) { |
(...skipping 24 matching lines...) Expand all Loading... |
1258 o.oauthExpireIn = 42; | 1281 o.oauthExpireIn = 42; |
1259 o.oauthIdToken = "foo"; | 1282 o.oauthIdToken = "foo"; |
1260 o.oauthRequestToken = "foo"; | 1283 o.oauthRequestToken = "foo"; |
1261 o.oauthScope = "foo"; | 1284 o.oauthScope = "foo"; |
1262 o.oauthTokenSecret = "foo"; | 1285 o.oauthTokenSecret = "foo"; |
1263 o.originalEmail = "foo"; | 1286 o.originalEmail = "foo"; |
1264 o.photoUrl = "foo"; | 1287 o.photoUrl = "foo"; |
1265 o.providerId = "foo"; | 1288 o.providerId = "foo"; |
1266 o.refreshToken = "foo"; | 1289 o.refreshToken = "foo"; |
1267 o.timeZone = "foo"; | 1290 o.timeZone = "foo"; |
1268 o.verifiedProvider = buildUnnamed2465(); | 1291 o.verifiedProvider = buildUnnamed2426(); |
1269 } | 1292 } |
1270 buildCounterVerifyAssertionResponse--; | 1293 buildCounterVerifyAssertionResponse--; |
1271 return o; | 1294 return o; |
1272 } | 1295 } |
1273 | 1296 |
1274 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { | 1297 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { |
1275 buildCounterVerifyAssertionResponse++; | 1298 buildCounterVerifyAssertionResponse++; |
1276 if (buildCounterVerifyAssertionResponse < 3) { | 1299 if (buildCounterVerifyAssertionResponse < 3) { |
1277 unittest.expect(o.action, unittest.equals('foo')); | 1300 unittest.expect(o.action, unittest.equals('foo')); |
1278 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); | 1301 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); |
(...skipping 22 matching lines...) Expand all Loading... |
1301 unittest.expect(o.oauthExpireIn, unittest.equals(42)); | 1324 unittest.expect(o.oauthExpireIn, unittest.equals(42)); |
1302 unittest.expect(o.oauthIdToken, unittest.equals('foo')); | 1325 unittest.expect(o.oauthIdToken, unittest.equals('foo')); |
1303 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); | 1326 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); |
1304 unittest.expect(o.oauthScope, unittest.equals('foo')); | 1327 unittest.expect(o.oauthScope, unittest.equals('foo')); |
1305 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); | 1328 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); |
1306 unittest.expect(o.originalEmail, unittest.equals('foo')); | 1329 unittest.expect(o.originalEmail, unittest.equals('foo')); |
1307 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1330 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1308 unittest.expect(o.providerId, unittest.equals('foo')); | 1331 unittest.expect(o.providerId, unittest.equals('foo')); |
1309 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1332 unittest.expect(o.refreshToken, unittest.equals('foo')); |
1310 unittest.expect(o.timeZone, unittest.equals('foo')); | 1333 unittest.expect(o.timeZone, unittest.equals('foo')); |
1311 checkUnnamed2465(o.verifiedProvider); | 1334 checkUnnamed2426(o.verifiedProvider); |
1312 } | 1335 } |
1313 buildCounterVerifyAssertionResponse--; | 1336 buildCounterVerifyAssertionResponse--; |
1314 } | 1337 } |
1315 | 1338 |
1316 core.int buildCounterVerifyCustomTokenResponse = 0; | 1339 core.int buildCounterVerifyCustomTokenResponse = 0; |
1317 buildVerifyCustomTokenResponse() { | 1340 buildVerifyCustomTokenResponse() { |
1318 var o = new api.VerifyCustomTokenResponse(); | 1341 var o = new api.VerifyCustomTokenResponse(); |
1319 buildCounterVerifyCustomTokenResponse++; | 1342 buildCounterVerifyCustomTokenResponse++; |
1320 if (buildCounterVerifyCustomTokenResponse < 3) { | 1343 if (buildCounterVerifyCustomTokenResponse < 3) { |
1321 o.expiresIn = "foo"; | 1344 o.expiresIn = "foo"; |
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2538 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { | 2561 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { |
2539 checkVerifyPasswordResponse(response); | 2562 checkVerifyPasswordResponse(response); |
2540 }))); | 2563 }))); |
2541 }); | 2564 }); |
2542 | 2565 |
2543 }); | 2566 }); |
2544 | 2567 |
2545 | 2568 |
2546 } | 2569 } |
2547 | 2570 |
OLD | NEW |