| 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 buildUnnamed2469() { | 54 buildUnnamed2431() { |
| 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 checkUnnamed2469(core.List<core.String> o) { | 61 checkUnnamed2431(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 = buildUnnamed2469(); | 72 o.allProviders = buildUnnamed2431(); |
| 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 checkUnnamed2469(o.allProviders); | 88 checkUnnamed2431(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 buildUnnamed2470() { | 119 buildUnnamed2432() { |
| 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 checkUnnamed2470(core.List<api.UserInfo> o) { | 126 checkUnnamed2432(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 = buildUnnamed2470(); | 139 o.users = buildUnnamed2432(); |
| 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 checkUnnamed2470(o.users); | 150 checkUnnamed2432(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 buildUnnamed2471() { | 184 buildUnnamed2433() { |
| 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 checkUnnamed2471(core.List<api.UserInfo> o) { | 191 checkUnnamed2433(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 = buildUnnamed2471(); | 203 o.users = buildUnnamed2433(); |
| 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 checkUnnamed2471(o.users); | 213 checkUnnamed2433(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 buildUnnamed2472() { | 347 buildUnnamed2434() { |
| 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 checkUnnamed2472(core.List<core.String> o) { | 354 checkUnnamed2434(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 buildUnnamed2473() { | 360 buildUnnamed2435() { |
| 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 checkUnnamed2473(core.List<core.String> o) { | 367 checkUnnamed2435(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 = buildUnnamed2472(); | 379 o.email = buildUnnamed2434(); |
| 380 o.idToken = "foo"; | 380 o.idToken = "foo"; |
| 381 o.localId = buildUnnamed2473(); | 381 o.localId = buildUnnamed2435(); |
| 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 checkUnnamed2472(o.email); | 391 checkUnnamed2434(o.email); |
| 392 unittest.expect(o.idToken, unittest.equals('foo')); | 392 unittest.expect(o.idToken, unittest.equals('foo')); |
| 393 checkUnnamed2473(o.localId); | 393 checkUnnamed2435(o.localId); |
| 394 } | 394 } |
| 395 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 395 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
| 396 } | 396 } |
| 397 | 397 |
| 398 buildUnnamed2474() { | 398 buildUnnamed2436() { |
| 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 checkUnnamed2474(core.List<core.String> o) { | 405 checkUnnamed2436(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 buildUnnamed2475() { | 411 buildUnnamed2437() { |
| 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 checkUnnamed2475(core.List<api.IdpConfig> o) { | 418 checkUnnamed2437(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 = buildUnnamed2474(); | 431 o.authorizedDomains = buildUnnamed2436(); |
| 432 o.changeEmailTemplate = buildEmailTemplate(); | 432 o.changeEmailTemplate = buildEmailTemplate(); |
| 433 o.enableAnonymousUser = true; | 433 o.enableAnonymousUser = true; |
| 434 o.idpConfig = buildUnnamed2475(); | 434 o.idpConfig = buildUnnamed2437(); |
| 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 checkUnnamed2474(o.authorizedDomains); | 450 checkUnnamed2436(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 checkUnnamed2475(o.idpConfig); | 453 checkUnnamed2437(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 buildUnnamed2476() { | 501 buildUnnamed2438() { |
| 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 checkUnnamed2476(core.List<core.String> o) { | 508 checkUnnamed2438(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 buildUnnamed2477() { | 514 buildUnnamed2439() { |
| 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 checkUnnamed2477(core.List<core.String> o) { | 521 checkUnnamed2439(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 buildUnnamed2478() { | 527 buildUnnamed2440() { |
| 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 checkUnnamed2478(core.List<core.String> o) { | 534 checkUnnamed2440(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.createdAt = "foo"; |
| 548 o.delegatedProjectNumber = "foo"; | 548 o.delegatedProjectNumber = "foo"; |
| 549 o.deleteAttribute = buildUnnamed2476(); | 549 o.deleteAttribute = buildUnnamed2438(); |
| 550 o.deleteProvider = buildUnnamed2477(); | 550 o.deleteProvider = buildUnnamed2439(); |
| 551 o.disableUser = true; | 551 o.disableUser = true; |
| 552 o.displayName = "foo"; | 552 o.displayName = "foo"; |
| 553 o.email = "foo"; | 553 o.email = "foo"; |
| 554 o.emailVerified = true; | 554 o.emailVerified = true; |
| 555 o.idToken = "foo"; | 555 o.idToken = "foo"; |
| 556 o.instanceId = "foo"; | 556 o.instanceId = "foo"; |
| 557 o.lastLoginAt = "foo"; | 557 o.lastLoginAt = "foo"; |
| 558 o.localId = "foo"; | 558 o.localId = "foo"; |
| 559 o.oobCode = "foo"; | 559 o.oobCode = "foo"; |
| 560 o.password = "foo"; | 560 o.password = "foo"; |
| 561 o.photoUrl = "foo"; | 561 o.photoUrl = "foo"; |
| 562 o.provider = buildUnnamed2478(); | 562 o.provider = buildUnnamed2440(); |
| 563 o.returnSecureToken = true; | 563 o.returnSecureToken = true; |
| 564 o.upgradeToFederatedLogin = true; | 564 o.upgradeToFederatedLogin = true; |
| 565 o.validSince = "foo"; | 565 o.validSince = "foo"; |
| 566 } | 566 } |
| 567 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 567 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
| 568 return o; | 568 return o; |
| 569 } | 569 } |
| 570 | 570 |
| 571 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { | 571 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { |
| 572 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 572 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
| 573 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 573 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
| 574 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 574 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
| 575 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 575 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
| 576 unittest.expect(o.createdAt, unittest.equals('foo')); | 576 unittest.expect(o.createdAt, unittest.equals('foo')); |
| 577 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 577 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
| 578 checkUnnamed2476(o.deleteAttribute); | 578 checkUnnamed2438(o.deleteAttribute); |
| 579 checkUnnamed2477(o.deleteProvider); | 579 checkUnnamed2439(o.deleteProvider); |
| 580 unittest.expect(o.disableUser, unittest.isTrue); | 580 unittest.expect(o.disableUser, unittest.isTrue); |
| 581 unittest.expect(o.displayName, unittest.equals('foo')); | 581 unittest.expect(o.displayName, unittest.equals('foo')); |
| 582 unittest.expect(o.email, unittest.equals('foo')); | 582 unittest.expect(o.email, unittest.equals('foo')); |
| 583 unittest.expect(o.emailVerified, unittest.isTrue); | 583 unittest.expect(o.emailVerified, unittest.isTrue); |
| 584 unittest.expect(o.idToken, unittest.equals('foo')); | 584 unittest.expect(o.idToken, unittest.equals('foo')); |
| 585 unittest.expect(o.instanceId, unittest.equals('foo')); | 585 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 586 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 586 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
| 587 unittest.expect(o.localId, unittest.equals('foo')); | 587 unittest.expect(o.localId, unittest.equals('foo')); |
| 588 unittest.expect(o.oobCode, unittest.equals('foo')); | 588 unittest.expect(o.oobCode, unittest.equals('foo')); |
| 589 unittest.expect(o.password, unittest.equals('foo')); | 589 unittest.expect(o.password, unittest.equals('foo')); |
| 590 unittest.expect(o.photoUrl, unittest.equals('foo')); | 590 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 591 checkUnnamed2478(o.provider); | 591 checkUnnamed2440(o.provider); |
| 592 unittest.expect(o.returnSecureToken, unittest.isTrue); | 592 unittest.expect(o.returnSecureToken, unittest.isTrue); |
| 593 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); | 593 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); |
| 594 unittest.expect(o.validSince, unittest.equals('foo')); | 594 unittest.expect(o.validSince, unittest.equals('foo')); |
| 595 } | 595 } |
| 596 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 596 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
| 597 } | 597 } |
| 598 | 598 |
| 599 buildUnnamed2479() { | 599 buildUnnamed2441() { |
| 600 var o = new core.List<core.String>(); | 600 var o = new core.List<core.String>(); |
| 601 o.add("foo"); | 601 o.add("foo"); |
| 602 o.add("foo"); | 602 o.add("foo"); |
| 603 return o; | 603 return o; |
| 604 } | 604 } |
| 605 | 605 |
| 606 checkUnnamed2479(core.List<core.String> o) { | 606 checkUnnamed2441(core.List<core.String> o) { |
| 607 unittest.expect(o, unittest.hasLength(2)); | 607 unittest.expect(o, unittest.hasLength(2)); |
| 608 unittest.expect(o[0], unittest.equals('foo')); | 608 unittest.expect(o[0], unittest.equals('foo')); |
| 609 unittest.expect(o[1], unittest.equals('foo')); | 609 unittest.expect(o[1], unittest.equals('foo')); |
| 610 } | 610 } |
| 611 | 611 |
| 612 buildUnnamed2480() { | 612 buildUnnamed2442() { |
| 613 var o = new core.List<api.IdpConfig>(); | 613 var o = new core.List<api.IdpConfig>(); |
| 614 o.add(buildIdpConfig()); | 614 o.add(buildIdpConfig()); |
| 615 o.add(buildIdpConfig()); | 615 o.add(buildIdpConfig()); |
| 616 return o; | 616 return o; |
| 617 } | 617 } |
| 618 | 618 |
| 619 checkUnnamed2480(core.List<api.IdpConfig> o) { | 619 checkUnnamed2442(core.List<api.IdpConfig> o) { |
| 620 unittest.expect(o, unittest.hasLength(2)); | 620 unittest.expect(o, unittest.hasLength(2)); |
| 621 checkIdpConfig(o[0]); | 621 checkIdpConfig(o[0]); |
| 622 checkIdpConfig(o[1]); | 622 checkIdpConfig(o[1]); |
| 623 } | 623 } |
| 624 | 624 |
| 625 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; | 625 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; |
| 626 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { | 626 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { |
| 627 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); | 627 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); |
| 628 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 628 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
| 629 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 629 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
| 630 o.allowPasswordUser = true; | 630 o.allowPasswordUser = true; |
| 631 o.apiKey = "foo"; | 631 o.apiKey = "foo"; |
| 632 o.authorizedDomains = buildUnnamed2479(); | 632 o.authorizedDomains = buildUnnamed2441(); |
| 633 o.changeEmailTemplate = buildEmailTemplate(); | 633 o.changeEmailTemplate = buildEmailTemplate(); |
| 634 o.delegatedProjectNumber = "foo"; | 634 o.delegatedProjectNumber = "foo"; |
| 635 o.enableAnonymousUser = true; | 635 o.enableAnonymousUser = true; |
| 636 o.idpConfig = buildUnnamed2480(); | 636 o.idpConfig = buildUnnamed2442(); |
| 637 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 637 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
| 638 o.resetPasswordTemplate = buildEmailTemplate(); | 638 o.resetPasswordTemplate = buildEmailTemplate(); |
| 639 o.useEmailSending = true; | 639 o.useEmailSending = true; |
| 640 o.verifyEmailTemplate = buildEmailTemplate(); | 640 o.verifyEmailTemplate = buildEmailTemplate(); |
| 641 } | 641 } |
| 642 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 642 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
| 643 return o; | 643 return o; |
| 644 } | 644 } |
| 645 | 645 |
| 646 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { | 646 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { |
| 647 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 647 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
| 648 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 648 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
| 649 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 649 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
| 650 unittest.expect(o.apiKey, unittest.equals('foo')); | 650 unittest.expect(o.apiKey, unittest.equals('foo')); |
| 651 checkUnnamed2479(o.authorizedDomains); | 651 checkUnnamed2441(o.authorizedDomains); |
| 652 checkEmailTemplate(o.changeEmailTemplate); | 652 checkEmailTemplate(o.changeEmailTemplate); |
| 653 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 653 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
| 654 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 654 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
| 655 checkUnnamed2480(o.idpConfig); | 655 checkUnnamed2442(o.idpConfig); |
| 656 checkEmailTemplate(o.legacyResetPasswordTemplate); | 656 checkEmailTemplate(o.legacyResetPasswordTemplate); |
| 657 checkEmailTemplate(o.resetPasswordTemplate); | 657 checkEmailTemplate(o.resetPasswordTemplate); |
| 658 unittest.expect(o.useEmailSending, unittest.isTrue); | 658 unittest.expect(o.useEmailSending, unittest.isTrue); |
| 659 checkEmailTemplate(o.verifyEmailTemplate); | 659 checkEmailTemplate(o.verifyEmailTemplate); |
| 660 } | 660 } |
| 661 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 661 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
| 662 } | 662 } |
| 663 | 663 |
| 664 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; | 664 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; |
| 665 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { | 665 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 744 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
| 745 unittest.expect(o.displayName, unittest.equals('foo')); | 745 unittest.expect(o.displayName, unittest.equals('foo')); |
| 746 unittest.expect(o.email, unittest.equals('foo')); | 746 unittest.expect(o.email, unittest.equals('foo')); |
| 747 unittest.expect(o.idToken, unittest.equals('foo')); | 747 unittest.expect(o.idToken, unittest.equals('foo')); |
| 748 unittest.expect(o.instanceId, unittest.equals('foo')); | 748 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 749 unittest.expect(o.password, unittest.equals('foo')); | 749 unittest.expect(o.password, unittest.equals('foo')); |
| 750 } | 750 } |
| 751 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; | 751 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; |
| 752 } | 752 } |
| 753 | 753 |
| 754 buildUnnamed2481() { | 754 buildUnnamed2443() { |
| 755 var o = new core.List<api.UserInfo>(); | 755 var o = new core.List<api.UserInfo>(); |
| 756 o.add(buildUserInfo()); | 756 o.add(buildUserInfo()); |
| 757 o.add(buildUserInfo()); | 757 o.add(buildUserInfo()); |
| 758 return o; | 758 return o; |
| 759 } | 759 } |
| 760 | 760 |
| 761 checkUnnamed2481(core.List<api.UserInfo> o) { | 761 checkUnnamed2443(core.List<api.UserInfo> o) { |
| 762 unittest.expect(o, unittest.hasLength(2)); | 762 unittest.expect(o, unittest.hasLength(2)); |
| 763 checkUserInfo(o[0]); | 763 checkUserInfo(o[0]); |
| 764 checkUserInfo(o[1]); | 764 checkUserInfo(o[1]); |
| 765 } | 765 } |
| 766 | 766 |
| 767 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; | 767 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; |
| 768 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { | 768 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { |
| 769 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); | 769 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); |
| 770 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 770 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
| 771 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 771 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
| 772 o.delegatedProjectNumber = "foo"; | 772 o.delegatedProjectNumber = "foo"; |
| 773 o.hashAlgorithm = "foo"; | 773 o.hashAlgorithm = "foo"; |
| 774 o.memoryCost = 42; | 774 o.memoryCost = 42; |
| 775 o.rounds = 42; | 775 o.rounds = 42; |
| 776 o.saltSeparator = "foo"; | 776 o.saltSeparator = "foo"; |
| 777 o.signerKey = "foo"; | 777 o.signerKey = "foo"; |
| 778 o.users = buildUnnamed2481(); | 778 o.users = buildUnnamed2443(); |
| 779 } | 779 } |
| 780 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 780 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
| 781 return o; | 781 return o; |
| 782 } | 782 } |
| 783 | 783 |
| 784 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { | 784 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { |
| 785 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 785 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
| 786 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 786 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
| 787 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 787 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
| 788 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); | 788 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); |
| 789 unittest.expect(o.memoryCost, unittest.equals(42)); | 789 unittest.expect(o.memoryCost, unittest.equals(42)); |
| 790 unittest.expect(o.rounds, unittest.equals(42)); | 790 unittest.expect(o.rounds, unittest.equals(42)); |
| 791 unittest.expect(o.saltSeparator, unittest.equals('foo')); | 791 unittest.expect(o.saltSeparator, unittest.equals('foo')); |
| 792 unittest.expect(o.signerKey, unittest.equals('foo')); | 792 unittest.expect(o.signerKey, unittest.equals('foo')); |
| 793 checkUnnamed2481(o.users); | 793 checkUnnamed2443(o.users); |
| 794 } | 794 } |
| 795 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 795 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
| 796 } | 796 } |
| 797 | 797 |
| 798 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; | 798 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; |
| 799 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { | 799 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { |
| 800 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 800 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
| 801 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; | 801 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; |
| 802 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { | 802 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { |
| 803 o.delegatedProjectNumber = "foo"; | 803 o.delegatedProjectNumber = "foo"; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 unittest.expect(o.email, unittest.equals('foo')); | 883 unittest.expect(o.email, unittest.equals('foo')); |
| 884 unittest.expect(o.idToken, unittest.equals('foo')); | 884 unittest.expect(o.idToken, unittest.equals('foo')); |
| 885 unittest.expect(o.instanceId, unittest.equals('foo')); | 885 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 886 unittest.expect(o.password, unittest.equals('foo')); | 886 unittest.expect(o.password, unittest.equals('foo')); |
| 887 unittest.expect(o.pendingIdToken, unittest.equals('foo')); | 887 unittest.expect(o.pendingIdToken, unittest.equals('foo')); |
| 888 unittest.expect(o.returnSecureToken, unittest.isTrue); | 888 unittest.expect(o.returnSecureToken, unittest.isTrue); |
| 889 } | 889 } |
| 890 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; | 890 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; |
| 891 } | 891 } |
| 892 | 892 |
| 893 buildUnnamed2482() { | 893 buildUnnamed2444() { |
| 894 var o = new core.List<core.String>(); | 894 var o = new core.List<core.String>(); |
| 895 o.add("foo"); | 895 o.add("foo"); |
| 896 o.add("foo"); | 896 o.add("foo"); |
| 897 return o; | 897 return o; |
| 898 } | 898 } |
| 899 | 899 |
| 900 checkUnnamed2482(core.List<core.String> o) { | 900 checkUnnamed2444(core.List<core.String> o) { |
| 901 unittest.expect(o, unittest.hasLength(2)); | 901 unittest.expect(o, unittest.hasLength(2)); |
| 902 unittest.expect(o[0], unittest.equals('foo')); | 902 unittest.expect(o[0], unittest.equals('foo')); |
| 903 unittest.expect(o[1], unittest.equals('foo')); | 903 unittest.expect(o[1], unittest.equals('foo')); |
| 904 } | 904 } |
| 905 | 905 |
| 906 core.int buildCounterIdpConfig = 0; | 906 core.int buildCounterIdpConfig = 0; |
| 907 buildIdpConfig() { | 907 buildIdpConfig() { |
| 908 var o = new api.IdpConfig(); | 908 var o = new api.IdpConfig(); |
| 909 buildCounterIdpConfig++; | 909 buildCounterIdpConfig++; |
| 910 if (buildCounterIdpConfig < 3) { | 910 if (buildCounterIdpConfig < 3) { |
| 911 o.clientId = "foo"; | 911 o.clientId = "foo"; |
| 912 o.enabled = true; | 912 o.enabled = true; |
| 913 o.experimentPercent = 42; | 913 o.experimentPercent = 42; |
| 914 o.provider = "foo"; | 914 o.provider = "foo"; |
| 915 o.secret = "foo"; | 915 o.secret = "foo"; |
| 916 o.whitelistedAudiences = buildUnnamed2482(); | 916 o.whitelistedAudiences = buildUnnamed2444(); |
| 917 } | 917 } |
| 918 buildCounterIdpConfig--; | 918 buildCounterIdpConfig--; |
| 919 return o; | 919 return o; |
| 920 } | 920 } |
| 921 | 921 |
| 922 checkIdpConfig(api.IdpConfig o) { | 922 checkIdpConfig(api.IdpConfig o) { |
| 923 buildCounterIdpConfig++; | 923 buildCounterIdpConfig++; |
| 924 if (buildCounterIdpConfig < 3) { | 924 if (buildCounterIdpConfig < 3) { |
| 925 unittest.expect(o.clientId, unittest.equals('foo')); | 925 unittest.expect(o.clientId, unittest.equals('foo')); |
| 926 unittest.expect(o.enabled, unittest.isTrue); | 926 unittest.expect(o.enabled, unittest.isTrue); |
| 927 unittest.expect(o.experimentPercent, unittest.equals(42)); | 927 unittest.expect(o.experimentPercent, unittest.equals(42)); |
| 928 unittest.expect(o.provider, unittest.equals('foo')); | 928 unittest.expect(o.provider, unittest.equals('foo')); |
| 929 unittest.expect(o.secret, unittest.equals('foo')); | 929 unittest.expect(o.secret, unittest.equals('foo')); |
| 930 checkUnnamed2482(o.whitelistedAudiences); | 930 checkUnnamed2444(o.whitelistedAudiences); |
| 931 } | 931 } |
| 932 buildCounterIdpConfig--; | 932 buildCounterIdpConfig--; |
| 933 } | 933 } |
| 934 | 934 |
| 935 core.int buildCounterRelyingparty = 0; | 935 core.int buildCounterRelyingparty = 0; |
| 936 buildRelyingparty() { | 936 buildRelyingparty() { |
| 937 var o = new api.Relyingparty(); | 937 var o = new api.Relyingparty(); |
| 938 buildCounterRelyingparty++; | 938 buildCounterRelyingparty++; |
| 939 if (buildCounterRelyingparty < 3) { | 939 if (buildCounterRelyingparty < 3) { |
| 940 o.captchaResp = "foo"; | 940 o.captchaResp = "foo"; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 buildCounterSetAccountInfoResponseProviderUserInfo++; | 1004 buildCounterSetAccountInfoResponseProviderUserInfo++; |
| 1005 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 1005 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
| 1006 unittest.expect(o.displayName, unittest.equals('foo')); | 1006 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1007 unittest.expect(o.federatedId, unittest.equals('foo')); | 1007 unittest.expect(o.federatedId, unittest.equals('foo')); |
| 1008 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1008 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1009 unittest.expect(o.providerId, unittest.equals('foo')); | 1009 unittest.expect(o.providerId, unittest.equals('foo')); |
| 1010 } | 1010 } |
| 1011 buildCounterSetAccountInfoResponseProviderUserInfo--; | 1011 buildCounterSetAccountInfoResponseProviderUserInfo--; |
| 1012 } | 1012 } |
| 1013 | 1013 |
| 1014 buildUnnamed2483() { | 1014 buildUnnamed2445() { |
| 1015 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); | 1015 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); |
| 1016 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1016 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
| 1017 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1017 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
| 1018 return o; | 1018 return o; |
| 1019 } | 1019 } |
| 1020 | 1020 |
| 1021 checkUnnamed2483(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { | 1021 checkUnnamed2445(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { |
| 1022 unittest.expect(o, unittest.hasLength(2)); | 1022 unittest.expect(o, unittest.hasLength(2)); |
| 1023 checkSetAccountInfoResponseProviderUserInfo(o[0]); | 1023 checkSetAccountInfoResponseProviderUserInfo(o[0]); |
| 1024 checkSetAccountInfoResponseProviderUserInfo(o[1]); | 1024 checkSetAccountInfoResponseProviderUserInfo(o[1]); |
| 1025 } | 1025 } |
| 1026 | 1026 |
| 1027 core.int buildCounterSetAccountInfoResponse = 0; | 1027 core.int buildCounterSetAccountInfoResponse = 0; |
| 1028 buildSetAccountInfoResponse() { | 1028 buildSetAccountInfoResponse() { |
| 1029 var o = new api.SetAccountInfoResponse(); | 1029 var o = new api.SetAccountInfoResponse(); |
| 1030 buildCounterSetAccountInfoResponse++; | 1030 buildCounterSetAccountInfoResponse++; |
| 1031 if (buildCounterSetAccountInfoResponse < 3) { | 1031 if (buildCounterSetAccountInfoResponse < 3) { |
| 1032 o.displayName = "foo"; | 1032 o.displayName = "foo"; |
| 1033 o.email = "foo"; | 1033 o.email = "foo"; |
| 1034 o.expiresIn = "foo"; | 1034 o.expiresIn = "foo"; |
| 1035 o.idToken = "foo"; | 1035 o.idToken = "foo"; |
| 1036 o.kind = "foo"; | 1036 o.kind = "foo"; |
| 1037 o.localId = "foo"; | 1037 o.localId = "foo"; |
| 1038 o.newEmail = "foo"; | 1038 o.newEmail = "foo"; |
| 1039 o.passwordHash = "foo"; | 1039 o.passwordHash = "foo"; |
| 1040 o.photoUrl = "foo"; | 1040 o.photoUrl = "foo"; |
| 1041 o.providerUserInfo = buildUnnamed2483(); | 1041 o.providerUserInfo = buildUnnamed2445(); |
| 1042 o.refreshToken = "foo"; | 1042 o.refreshToken = "foo"; |
| 1043 } | 1043 } |
| 1044 buildCounterSetAccountInfoResponse--; | 1044 buildCounterSetAccountInfoResponse--; |
| 1045 return o; | 1045 return o; |
| 1046 } | 1046 } |
| 1047 | 1047 |
| 1048 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { | 1048 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { |
| 1049 buildCounterSetAccountInfoResponse++; | 1049 buildCounterSetAccountInfoResponse++; |
| 1050 if (buildCounterSetAccountInfoResponse < 3) { | 1050 if (buildCounterSetAccountInfoResponse < 3) { |
| 1051 unittest.expect(o.displayName, unittest.equals('foo')); | 1051 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1052 unittest.expect(o.email, unittest.equals('foo')); | 1052 unittest.expect(o.email, unittest.equals('foo')); |
| 1053 unittest.expect(o.expiresIn, unittest.equals('foo')); | 1053 unittest.expect(o.expiresIn, unittest.equals('foo')); |
| 1054 unittest.expect(o.idToken, unittest.equals('foo')); | 1054 unittest.expect(o.idToken, unittest.equals('foo')); |
| 1055 unittest.expect(o.kind, unittest.equals('foo')); | 1055 unittest.expect(o.kind, unittest.equals('foo')); |
| 1056 unittest.expect(o.localId, unittest.equals('foo')); | 1056 unittest.expect(o.localId, unittest.equals('foo')); |
| 1057 unittest.expect(o.newEmail, unittest.equals('foo')); | 1057 unittest.expect(o.newEmail, unittest.equals('foo')); |
| 1058 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1058 unittest.expect(o.passwordHash, unittest.equals('foo')); |
| 1059 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1059 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1060 checkUnnamed2483(o.providerUserInfo); | 1060 checkUnnamed2445(o.providerUserInfo); |
| 1061 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1061 unittest.expect(o.refreshToken, unittest.equals('foo')); |
| 1062 } | 1062 } |
| 1063 buildCounterSetAccountInfoResponse--; | 1063 buildCounterSetAccountInfoResponse--; |
| 1064 } | 1064 } |
| 1065 | 1065 |
| 1066 core.int buildCounterSignupNewUserResponse = 0; | 1066 core.int buildCounterSignupNewUserResponse = 0; |
| 1067 buildSignupNewUserResponse() { | 1067 buildSignupNewUserResponse() { |
| 1068 var o = new api.SignupNewUserResponse(); | 1068 var o = new api.SignupNewUserResponse(); |
| 1069 buildCounterSignupNewUserResponse++; | 1069 buildCounterSignupNewUserResponse++; |
| 1070 if (buildCounterSignupNewUserResponse < 3) { | 1070 if (buildCounterSignupNewUserResponse < 3) { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1108 | 1108 |
| 1109 checkUploadAccountResponseError(api.UploadAccountResponseError o) { | 1109 checkUploadAccountResponseError(api.UploadAccountResponseError o) { |
| 1110 buildCounterUploadAccountResponseError++; | 1110 buildCounterUploadAccountResponseError++; |
| 1111 if (buildCounterUploadAccountResponseError < 3) { | 1111 if (buildCounterUploadAccountResponseError < 3) { |
| 1112 unittest.expect(o.index, unittest.equals(42)); | 1112 unittest.expect(o.index, unittest.equals(42)); |
| 1113 unittest.expect(o.message, unittest.equals('foo')); | 1113 unittest.expect(o.message, unittest.equals('foo')); |
| 1114 } | 1114 } |
| 1115 buildCounterUploadAccountResponseError--; | 1115 buildCounterUploadAccountResponseError--; |
| 1116 } | 1116 } |
| 1117 | 1117 |
| 1118 buildUnnamed2484() { | 1118 buildUnnamed2446() { |
| 1119 var o = new core.List<api.UploadAccountResponseError>(); | 1119 var o = new core.List<api.UploadAccountResponseError>(); |
| 1120 o.add(buildUploadAccountResponseError()); | 1120 o.add(buildUploadAccountResponseError()); |
| 1121 o.add(buildUploadAccountResponseError()); | 1121 o.add(buildUploadAccountResponseError()); |
| 1122 return o; | 1122 return o; |
| 1123 } | 1123 } |
| 1124 | 1124 |
| 1125 checkUnnamed2484(core.List<api.UploadAccountResponseError> o) { | 1125 checkUnnamed2446(core.List<api.UploadAccountResponseError> o) { |
| 1126 unittest.expect(o, unittest.hasLength(2)); | 1126 unittest.expect(o, unittest.hasLength(2)); |
| 1127 checkUploadAccountResponseError(o[0]); | 1127 checkUploadAccountResponseError(o[0]); |
| 1128 checkUploadAccountResponseError(o[1]); | 1128 checkUploadAccountResponseError(o[1]); |
| 1129 } | 1129 } |
| 1130 | 1130 |
| 1131 core.int buildCounterUploadAccountResponse = 0; | 1131 core.int buildCounterUploadAccountResponse = 0; |
| 1132 buildUploadAccountResponse() { | 1132 buildUploadAccountResponse() { |
| 1133 var o = new api.UploadAccountResponse(); | 1133 var o = new api.UploadAccountResponse(); |
| 1134 buildCounterUploadAccountResponse++; | 1134 buildCounterUploadAccountResponse++; |
| 1135 if (buildCounterUploadAccountResponse < 3) { | 1135 if (buildCounterUploadAccountResponse < 3) { |
| 1136 o.error = buildUnnamed2484(); | 1136 o.error = buildUnnamed2446(); |
| 1137 o.kind = "foo"; | 1137 o.kind = "foo"; |
| 1138 } | 1138 } |
| 1139 buildCounterUploadAccountResponse--; | 1139 buildCounterUploadAccountResponse--; |
| 1140 return o; | 1140 return o; |
| 1141 } | 1141 } |
| 1142 | 1142 |
| 1143 checkUploadAccountResponse(api.UploadAccountResponse o) { | 1143 checkUploadAccountResponse(api.UploadAccountResponse o) { |
| 1144 buildCounterUploadAccountResponse++; | 1144 buildCounterUploadAccountResponse++; |
| 1145 if (buildCounterUploadAccountResponse < 3) { | 1145 if (buildCounterUploadAccountResponse < 3) { |
| 1146 checkUnnamed2484(o.error); | 1146 checkUnnamed2446(o.error); |
| 1147 unittest.expect(o.kind, unittest.equals('foo')); | 1147 unittest.expect(o.kind, unittest.equals('foo')); |
| 1148 } | 1148 } |
| 1149 buildCounterUploadAccountResponse--; | 1149 buildCounterUploadAccountResponse--; |
| 1150 } | 1150 } |
| 1151 | 1151 |
| 1152 core.int buildCounterUserInfoProviderUserInfo = 0; | 1152 core.int buildCounterUserInfoProviderUserInfo = 0; |
| 1153 buildUserInfoProviderUserInfo() { | 1153 buildUserInfoProviderUserInfo() { |
| 1154 var o = new api.UserInfoProviderUserInfo(); | 1154 var o = new api.UserInfoProviderUserInfo(); |
| 1155 buildCounterUserInfoProviderUserInfo++; | 1155 buildCounterUserInfoProviderUserInfo++; |
| 1156 if (buildCounterUserInfoProviderUserInfo < 3) { | 1156 if (buildCounterUserInfoProviderUserInfo < 3) { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1171 unittest.expect(o.displayName, unittest.equals('foo')); | 1171 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1172 unittest.expect(o.email, unittest.equals('foo')); | 1172 unittest.expect(o.email, unittest.equals('foo')); |
| 1173 unittest.expect(o.federatedId, unittest.equals('foo')); | 1173 unittest.expect(o.federatedId, unittest.equals('foo')); |
| 1174 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1174 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1175 unittest.expect(o.providerId, unittest.equals('foo')); | 1175 unittest.expect(o.providerId, unittest.equals('foo')); |
| 1176 unittest.expect(o.rawId, unittest.equals('foo')); | 1176 unittest.expect(o.rawId, unittest.equals('foo')); |
| 1177 } | 1177 } |
| 1178 buildCounterUserInfoProviderUserInfo--; | 1178 buildCounterUserInfoProviderUserInfo--; |
| 1179 } | 1179 } |
| 1180 | 1180 |
| 1181 buildUnnamed2485() { | 1181 buildUnnamed2447() { |
| 1182 var o = new core.List<api.UserInfoProviderUserInfo>(); | 1182 var o = new core.List<api.UserInfoProviderUserInfo>(); |
| 1183 o.add(buildUserInfoProviderUserInfo()); | 1183 o.add(buildUserInfoProviderUserInfo()); |
| 1184 o.add(buildUserInfoProviderUserInfo()); | 1184 o.add(buildUserInfoProviderUserInfo()); |
| 1185 return o; | 1185 return o; |
| 1186 } | 1186 } |
| 1187 | 1187 |
| 1188 checkUnnamed2485(core.List<api.UserInfoProviderUserInfo> o) { | 1188 checkUnnamed2447(core.List<api.UserInfoProviderUserInfo> o) { |
| 1189 unittest.expect(o, unittest.hasLength(2)); | 1189 unittest.expect(o, unittest.hasLength(2)); |
| 1190 checkUserInfoProviderUserInfo(o[0]); | 1190 checkUserInfoProviderUserInfo(o[0]); |
| 1191 checkUserInfoProviderUserInfo(o[1]); | 1191 checkUserInfoProviderUserInfo(o[1]); |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 core.int buildCounterUserInfo = 0; | 1194 core.int buildCounterUserInfo = 0; |
| 1195 buildUserInfo() { | 1195 buildUserInfo() { |
| 1196 var o = new api.UserInfo(); | 1196 var o = new api.UserInfo(); |
| 1197 buildCounterUserInfo++; | 1197 buildCounterUserInfo++; |
| 1198 if (buildCounterUserInfo < 3) { | 1198 if (buildCounterUserInfo < 3) { |
| 1199 o.createdAt = "foo"; | 1199 o.createdAt = "foo"; |
| 1200 o.disabled = true; | 1200 o.disabled = true; |
| 1201 o.displayName = "foo"; | 1201 o.displayName = "foo"; |
| 1202 o.email = "foo"; | 1202 o.email = "foo"; |
| 1203 o.emailVerified = true; | 1203 o.emailVerified = true; |
| 1204 o.lastLoginAt = "foo"; | 1204 o.lastLoginAt = "foo"; |
| 1205 o.localId = "foo"; | 1205 o.localId = "foo"; |
| 1206 o.passwordHash = "foo"; | 1206 o.passwordHash = "foo"; |
| 1207 o.passwordUpdatedAt = 42.0; | 1207 o.passwordUpdatedAt = 42.0; |
| 1208 o.photoUrl = "foo"; | 1208 o.photoUrl = "foo"; |
| 1209 o.providerUserInfo = buildUnnamed2485(); | 1209 o.providerUserInfo = buildUnnamed2447(); |
| 1210 o.salt = "foo"; | 1210 o.salt = "foo"; |
| 1211 o.validSince = "foo"; | 1211 o.validSince = "foo"; |
| 1212 o.version = 42; | 1212 o.version = 42; |
| 1213 } | 1213 } |
| 1214 buildCounterUserInfo--; | 1214 buildCounterUserInfo--; |
| 1215 return o; | 1215 return o; |
| 1216 } | 1216 } |
| 1217 | 1217 |
| 1218 checkUserInfo(api.UserInfo o) { | 1218 checkUserInfo(api.UserInfo o) { |
| 1219 buildCounterUserInfo++; | 1219 buildCounterUserInfo++; |
| 1220 if (buildCounterUserInfo < 3) { | 1220 if (buildCounterUserInfo < 3) { |
| 1221 unittest.expect(o.createdAt, unittest.equals('foo')); | 1221 unittest.expect(o.createdAt, unittest.equals('foo')); |
| 1222 unittest.expect(o.disabled, unittest.isTrue); | 1222 unittest.expect(o.disabled, unittest.isTrue); |
| 1223 unittest.expect(o.displayName, unittest.equals('foo')); | 1223 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1224 unittest.expect(o.email, unittest.equals('foo')); | 1224 unittest.expect(o.email, unittest.equals('foo')); |
| 1225 unittest.expect(o.emailVerified, unittest.isTrue); | 1225 unittest.expect(o.emailVerified, unittest.isTrue); |
| 1226 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 1226 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
| 1227 unittest.expect(o.localId, unittest.equals('foo')); | 1227 unittest.expect(o.localId, unittest.equals('foo')); |
| 1228 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1228 unittest.expect(o.passwordHash, unittest.equals('foo')); |
| 1229 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); | 1229 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); |
| 1230 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1230 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1231 checkUnnamed2485(o.providerUserInfo); | 1231 checkUnnamed2447(o.providerUserInfo); |
| 1232 unittest.expect(o.salt, unittest.equals('foo')); | 1232 unittest.expect(o.salt, unittest.equals('foo')); |
| 1233 unittest.expect(o.validSince, unittest.equals('foo')); | 1233 unittest.expect(o.validSince, unittest.equals('foo')); |
| 1234 unittest.expect(o.version, unittest.equals(42)); | 1234 unittest.expect(o.version, unittest.equals(42)); |
| 1235 } | 1235 } |
| 1236 buildCounterUserInfo--; | 1236 buildCounterUserInfo--; |
| 1237 } | 1237 } |
| 1238 | 1238 |
| 1239 buildUnnamed2486() { | 1239 buildUnnamed2448() { |
| 1240 var o = new core.List<core.String>(); | 1240 var o = new core.List<core.String>(); |
| 1241 o.add("foo"); | 1241 o.add("foo"); |
| 1242 o.add("foo"); | 1242 o.add("foo"); |
| 1243 return o; | 1243 return o; |
| 1244 } | 1244 } |
| 1245 | 1245 |
| 1246 checkUnnamed2486(core.List<core.String> o) { | 1246 checkUnnamed2448(core.List<core.String> o) { |
| 1247 unittest.expect(o, unittest.hasLength(2)); | 1247 unittest.expect(o, unittest.hasLength(2)); |
| 1248 unittest.expect(o[0], unittest.equals('foo')); | 1248 unittest.expect(o[0], unittest.equals('foo')); |
| 1249 unittest.expect(o[1], unittest.equals('foo')); | 1249 unittest.expect(o[1], unittest.equals('foo')); |
| 1250 } | 1250 } |
| 1251 | 1251 |
| 1252 core.int buildCounterVerifyAssertionResponse = 0; | 1252 core.int buildCounterVerifyAssertionResponse = 0; |
| 1253 buildVerifyAssertionResponse() { | 1253 buildVerifyAssertionResponse() { |
| 1254 var o = new api.VerifyAssertionResponse(); | 1254 var o = new api.VerifyAssertionResponse(); |
| 1255 buildCounterVerifyAssertionResponse++; | 1255 buildCounterVerifyAssertionResponse++; |
| 1256 if (buildCounterVerifyAssertionResponse < 3) { | 1256 if (buildCounterVerifyAssertionResponse < 3) { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 1281 o.oauthExpireIn = 42; | 1281 o.oauthExpireIn = 42; |
| 1282 o.oauthIdToken = "foo"; | 1282 o.oauthIdToken = "foo"; |
| 1283 o.oauthRequestToken = "foo"; | 1283 o.oauthRequestToken = "foo"; |
| 1284 o.oauthScope = "foo"; | 1284 o.oauthScope = "foo"; |
| 1285 o.oauthTokenSecret = "foo"; | 1285 o.oauthTokenSecret = "foo"; |
| 1286 o.originalEmail = "foo"; | 1286 o.originalEmail = "foo"; |
| 1287 o.photoUrl = "foo"; | 1287 o.photoUrl = "foo"; |
| 1288 o.providerId = "foo"; | 1288 o.providerId = "foo"; |
| 1289 o.refreshToken = "foo"; | 1289 o.refreshToken = "foo"; |
| 1290 o.timeZone = "foo"; | 1290 o.timeZone = "foo"; |
| 1291 o.verifiedProvider = buildUnnamed2486(); | 1291 o.verifiedProvider = buildUnnamed2448(); |
| 1292 } | 1292 } |
| 1293 buildCounterVerifyAssertionResponse--; | 1293 buildCounterVerifyAssertionResponse--; |
| 1294 return o; | 1294 return o; |
| 1295 } | 1295 } |
| 1296 | 1296 |
| 1297 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { | 1297 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { |
| 1298 buildCounterVerifyAssertionResponse++; | 1298 buildCounterVerifyAssertionResponse++; |
| 1299 if (buildCounterVerifyAssertionResponse < 3) { | 1299 if (buildCounterVerifyAssertionResponse < 3) { |
| 1300 unittest.expect(o.action, unittest.equals('foo')); | 1300 unittest.expect(o.action, unittest.equals('foo')); |
| 1301 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); | 1301 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1324 unittest.expect(o.oauthExpireIn, unittest.equals(42)); | 1324 unittest.expect(o.oauthExpireIn, unittest.equals(42)); |
| 1325 unittest.expect(o.oauthIdToken, unittest.equals('foo')); | 1325 unittest.expect(o.oauthIdToken, unittest.equals('foo')); |
| 1326 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); | 1326 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); |
| 1327 unittest.expect(o.oauthScope, unittest.equals('foo')); | 1327 unittest.expect(o.oauthScope, unittest.equals('foo')); |
| 1328 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); | 1328 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); |
| 1329 unittest.expect(o.originalEmail, unittest.equals('foo')); | 1329 unittest.expect(o.originalEmail, unittest.equals('foo')); |
| 1330 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1330 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1331 unittest.expect(o.providerId, unittest.equals('foo')); | 1331 unittest.expect(o.providerId, unittest.equals('foo')); |
| 1332 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1332 unittest.expect(o.refreshToken, unittest.equals('foo')); |
| 1333 unittest.expect(o.timeZone, unittest.equals('foo')); | 1333 unittest.expect(o.timeZone, unittest.equals('foo')); |
| 1334 checkUnnamed2486(o.verifiedProvider); | 1334 checkUnnamed2448(o.verifiedProvider); |
| 1335 } | 1335 } |
| 1336 buildCounterVerifyAssertionResponse--; | 1336 buildCounterVerifyAssertionResponse--; |
| 1337 } | 1337 } |
| 1338 | 1338 |
| 1339 core.int buildCounterVerifyCustomTokenResponse = 0; | 1339 core.int buildCounterVerifyCustomTokenResponse = 0; |
| 1340 buildVerifyCustomTokenResponse() { | 1340 buildVerifyCustomTokenResponse() { |
| 1341 var o = new api.VerifyCustomTokenResponse(); | 1341 var o = new api.VerifyCustomTokenResponse(); |
| 1342 buildCounterVerifyCustomTokenResponse++; | 1342 buildCounterVerifyCustomTokenResponse++; |
| 1343 if (buildCounterVerifyCustomTokenResponse < 3) { | 1343 if (buildCounterVerifyCustomTokenResponse < 3) { |
| 1344 o.expiresIn = "foo"; | 1344 o.expiresIn = "foo"; |
| (...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2561 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { | 2561 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { |
| 2562 checkVerifyPasswordResponse(response); | 2562 checkVerifyPasswordResponse(response); |
| 2563 }))); | 2563 }))); |
| 2564 }); | 2564 }); |
| 2565 | 2565 |
| 2566 }); | 2566 }); |
| 2567 | 2567 |
| 2568 | 2568 |
| 2569 } | 2569 } |
| 2570 | 2570 |
| OLD | NEW |