| 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; |
| 11 import 'package:googleapis/common/common.dart' as common; | 11 import 'package:googleapis/common/common.dart' as common; |
| 12 import 'package:googleapis/src/common_internal.dart' as common_internal; | 12 import 'package:googleapis/src/common_internal.dart' as common_internal; |
| 13 import '../common/common_internal_test.dart' as common_test; | 13 import '../common/common_internal_test.dart' as common_test; |
| 14 | 14 |
| 15 import 'package:googleapis/identitytoolkit/v3.dart' as api; | 15 import 'package:googleapis/identitytoolkit/v3.dart' as api; |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| 19 core.int buildCounterCreateAuthUriResponse = 0; | 19 core.int buildCounterCreateAuthUriResponse = 0; |
| 20 buildCreateAuthUriResponse() { | 20 buildCreateAuthUriResponse() { |
| 21 var o = new api.CreateAuthUriResponse(); | 21 var o = new api.CreateAuthUriResponse(); |
| 22 buildCounterCreateAuthUriResponse++; | 22 buildCounterCreateAuthUriResponse++; |
| 23 if (buildCounterCreateAuthUriResponse < 3) { | 23 if (buildCounterCreateAuthUriResponse < 3) { |
| 24 o.authUri = "foo"; | 24 o.authUri = "foo"; |
| 25 o.captchaRequired = true; |
| 25 o.forExistingProvider = true; | 26 o.forExistingProvider = true; |
| 26 o.kind = "foo"; | 27 o.kind = "foo"; |
| 27 o.providerId = "foo"; | 28 o.providerId = "foo"; |
| 28 o.registered = true; | 29 o.registered = true; |
| 29 } | 30 } |
| 30 buildCounterCreateAuthUriResponse--; | 31 buildCounterCreateAuthUriResponse--; |
| 31 return o; | 32 return o; |
| 32 } | 33 } |
| 33 | 34 |
| 34 checkCreateAuthUriResponse(api.CreateAuthUriResponse o) { | 35 checkCreateAuthUriResponse(api.CreateAuthUriResponse o) { |
| 35 buildCounterCreateAuthUriResponse++; | 36 buildCounterCreateAuthUriResponse++; |
| 36 if (buildCounterCreateAuthUriResponse < 3) { | 37 if (buildCounterCreateAuthUriResponse < 3) { |
| 37 unittest.expect(o.authUri, unittest.equals('foo')); | 38 unittest.expect(o.authUri, unittest.equals('foo')); |
| 39 unittest.expect(o.captchaRequired, unittest.isTrue); |
| 38 unittest.expect(o.forExistingProvider, unittest.isTrue); | 40 unittest.expect(o.forExistingProvider, unittest.isTrue); |
| 39 unittest.expect(o.kind, unittest.equals('foo')); | 41 unittest.expect(o.kind, unittest.equals('foo')); |
| 40 unittest.expect(o.providerId, unittest.equals('foo')); | 42 unittest.expect(o.providerId, unittest.equals('foo')); |
| 41 unittest.expect(o.registered, unittest.isTrue); | 43 unittest.expect(o.registered, unittest.isTrue); |
| 42 } | 44 } |
| 43 buildCounterCreateAuthUriResponse--; | 45 buildCounterCreateAuthUriResponse--; |
| 44 } | 46 } |
| 45 | 47 |
| 46 core.int buildCounterDeleteAccountResponse = 0; | 48 core.int buildCounterDeleteAccountResponse = 0; |
| 47 buildDeleteAccountResponse() { | 49 buildDeleteAccountResponse() { |
| 48 var o = new api.DeleteAccountResponse(); | 50 var o = new api.DeleteAccountResponse(); |
| 49 buildCounterDeleteAccountResponse++; | 51 buildCounterDeleteAccountResponse++; |
| 50 if (buildCounterDeleteAccountResponse < 3) { | 52 if (buildCounterDeleteAccountResponse < 3) { |
| 51 o.kind = "foo"; | 53 o.kind = "foo"; |
| 52 } | 54 } |
| 53 buildCounterDeleteAccountResponse--; | 55 buildCounterDeleteAccountResponse--; |
| 54 return o; | 56 return o; |
| 55 } | 57 } |
| 56 | 58 |
| 57 checkDeleteAccountResponse(api.DeleteAccountResponse o) { | 59 checkDeleteAccountResponse(api.DeleteAccountResponse o) { |
| 58 buildCounterDeleteAccountResponse++; | 60 buildCounterDeleteAccountResponse++; |
| 59 if (buildCounterDeleteAccountResponse < 3) { | 61 if (buildCounterDeleteAccountResponse < 3) { |
| 60 unittest.expect(o.kind, unittest.equals('foo')); | 62 unittest.expect(o.kind, unittest.equals('foo')); |
| 61 } | 63 } |
| 62 buildCounterDeleteAccountResponse--; | 64 buildCounterDeleteAccountResponse--; |
| 63 } | 65 } |
| 64 | 66 |
| 65 buildUnnamed933() { | 67 buildUnnamed961() { |
| 66 var o = new core.List<api.UserInfo>(); | 68 var o = new core.List<api.UserInfo>(); |
| 67 o.add(buildUserInfo()); | 69 o.add(buildUserInfo()); |
| 68 o.add(buildUserInfo()); | 70 o.add(buildUserInfo()); |
| 69 return o; | 71 return o; |
| 70 } | 72 } |
| 71 | 73 |
| 72 checkUnnamed933(core.List<api.UserInfo> o) { | 74 checkUnnamed961(core.List<api.UserInfo> o) { |
| 73 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 74 checkUserInfo(o[0]); | 76 checkUserInfo(o[0]); |
| 75 checkUserInfo(o[1]); | 77 checkUserInfo(o[1]); |
| 76 } | 78 } |
| 77 | 79 |
| 78 core.int buildCounterDownloadAccountResponse = 0; | 80 core.int buildCounterDownloadAccountResponse = 0; |
| 79 buildDownloadAccountResponse() { | 81 buildDownloadAccountResponse() { |
| 80 var o = new api.DownloadAccountResponse(); | 82 var o = new api.DownloadAccountResponse(); |
| 81 buildCounterDownloadAccountResponse++; | 83 buildCounterDownloadAccountResponse++; |
| 82 if (buildCounterDownloadAccountResponse < 3) { | 84 if (buildCounterDownloadAccountResponse < 3) { |
| 83 o.kind = "foo"; | 85 o.kind = "foo"; |
| 84 o.nextPageToken = "foo"; | 86 o.nextPageToken = "foo"; |
| 85 o.users = buildUnnamed933(); | 87 o.users = buildUnnamed961(); |
| 86 } | 88 } |
| 87 buildCounterDownloadAccountResponse--; | 89 buildCounterDownloadAccountResponse--; |
| 88 return o; | 90 return o; |
| 89 } | 91 } |
| 90 | 92 |
| 91 checkDownloadAccountResponse(api.DownloadAccountResponse o) { | 93 checkDownloadAccountResponse(api.DownloadAccountResponse o) { |
| 92 buildCounterDownloadAccountResponse++; | 94 buildCounterDownloadAccountResponse++; |
| 93 if (buildCounterDownloadAccountResponse < 3) { | 95 if (buildCounterDownloadAccountResponse < 3) { |
| 94 unittest.expect(o.kind, unittest.equals('foo')); | 96 unittest.expect(o.kind, unittest.equals('foo')); |
| 95 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 97 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 96 checkUnnamed933(o.users); | 98 checkUnnamed961(o.users); |
| 97 } | 99 } |
| 98 buildCounterDownloadAccountResponse--; | 100 buildCounterDownloadAccountResponse--; |
| 99 } | 101 } |
| 100 | 102 |
| 101 buildUnnamed934() { | 103 buildUnnamed962() { |
| 102 var o = new core.List<api.UserInfo>(); | 104 var o = new core.List<api.UserInfo>(); |
| 103 o.add(buildUserInfo()); | 105 o.add(buildUserInfo()); |
| 104 o.add(buildUserInfo()); | 106 o.add(buildUserInfo()); |
| 105 return o; | 107 return o; |
| 106 } | 108 } |
| 107 | 109 |
| 108 checkUnnamed934(core.List<api.UserInfo> o) { | 110 checkUnnamed962(core.List<api.UserInfo> o) { |
| 109 unittest.expect(o, unittest.hasLength(2)); | 111 unittest.expect(o, unittest.hasLength(2)); |
| 110 checkUserInfo(o[0]); | 112 checkUserInfo(o[0]); |
| 111 checkUserInfo(o[1]); | 113 checkUserInfo(o[1]); |
| 112 } | 114 } |
| 113 | 115 |
| 114 core.int buildCounterGetAccountInfoResponse = 0; | 116 core.int buildCounterGetAccountInfoResponse = 0; |
| 115 buildGetAccountInfoResponse() { | 117 buildGetAccountInfoResponse() { |
| 116 var o = new api.GetAccountInfoResponse(); | 118 var o = new api.GetAccountInfoResponse(); |
| 117 buildCounterGetAccountInfoResponse++; | 119 buildCounterGetAccountInfoResponse++; |
| 118 if (buildCounterGetAccountInfoResponse < 3) { | 120 if (buildCounterGetAccountInfoResponse < 3) { |
| 119 o.kind = "foo"; | 121 o.kind = "foo"; |
| 120 o.users = buildUnnamed934(); | 122 o.users = buildUnnamed962(); |
| 121 } | 123 } |
| 122 buildCounterGetAccountInfoResponse--; | 124 buildCounterGetAccountInfoResponse--; |
| 123 return o; | 125 return o; |
| 124 } | 126 } |
| 125 | 127 |
| 126 checkGetAccountInfoResponse(api.GetAccountInfoResponse o) { | 128 checkGetAccountInfoResponse(api.GetAccountInfoResponse o) { |
| 127 buildCounterGetAccountInfoResponse++; | 129 buildCounterGetAccountInfoResponse++; |
| 128 if (buildCounterGetAccountInfoResponse < 3) { | 130 if (buildCounterGetAccountInfoResponse < 3) { |
| 129 unittest.expect(o.kind, unittest.equals('foo')); | 131 unittest.expect(o.kind, unittest.equals('foo')); |
| 130 checkUnnamed934(o.users); | 132 checkUnnamed962(o.users); |
| 131 } | 133 } |
| 132 buildCounterGetAccountInfoResponse--; | 134 buildCounterGetAccountInfoResponse--; |
| 133 } | 135 } |
| 134 | 136 |
| 135 core.int buildCounterGetOobConfirmationCodeResponse = 0; | 137 core.int buildCounterGetOobConfirmationCodeResponse = 0; |
| 136 buildGetOobConfirmationCodeResponse() { | 138 buildGetOobConfirmationCodeResponse() { |
| 137 var o = new api.GetOobConfirmationCodeResponse(); | 139 var o = new api.GetOobConfirmationCodeResponse(); |
| 138 buildCounterGetOobConfirmationCodeResponse++; | 140 buildCounterGetOobConfirmationCodeResponse++; |
| 139 if (buildCounterGetOobConfirmationCodeResponse < 3) { | 141 if (buildCounterGetOobConfirmationCodeResponse < 3) { |
| 140 o.kind = "foo"; | 142 o.kind = "foo"; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 221 |
| 220 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { | 222 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { |
| 221 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; | 223 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; |
| 222 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { | 224 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { |
| 223 unittest.expect(o.maxResults, unittest.equals(42)); | 225 unittest.expect(o.maxResults, unittest.equals(42)); |
| 224 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 226 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 225 } | 227 } |
| 226 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; | 228 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; |
| 227 } | 229 } |
| 228 | 230 |
| 229 buildUnnamed935() { | 231 buildUnnamed963() { |
| 230 var o = new core.List<core.String>(); | 232 var o = new core.List<core.String>(); |
| 231 o.add("foo"); | 233 o.add("foo"); |
| 232 o.add("foo"); | 234 o.add("foo"); |
| 233 return o; | 235 return o; |
| 234 } | 236 } |
| 235 | 237 |
| 236 checkUnnamed935(core.List<core.String> o) { | 238 checkUnnamed963(core.List<core.String> o) { |
| 237 unittest.expect(o, unittest.hasLength(2)); | 239 unittest.expect(o, unittest.hasLength(2)); |
| 238 unittest.expect(o[0], unittest.equals('foo')); | 240 unittest.expect(o[0], unittest.equals('foo')); |
| 239 unittest.expect(o[1], unittest.equals('foo')); | 241 unittest.expect(o[1], unittest.equals('foo')); |
| 240 } | 242 } |
| 241 | 243 |
| 242 buildUnnamed936() { | 244 buildUnnamed964() { |
| 243 var o = new core.List<core.String>(); | 245 var o = new core.List<core.String>(); |
| 244 o.add("foo"); | 246 o.add("foo"); |
| 245 o.add("foo"); | 247 o.add("foo"); |
| 246 return o; | 248 return o; |
| 247 } | 249 } |
| 248 | 250 |
| 249 checkUnnamed936(core.List<core.String> o) { | 251 checkUnnamed964(core.List<core.String> o) { |
| 250 unittest.expect(o, unittest.hasLength(2)); | 252 unittest.expect(o, unittest.hasLength(2)); |
| 251 unittest.expect(o[0], unittest.equals('foo')); | 253 unittest.expect(o[0], unittest.equals('foo')); |
| 252 unittest.expect(o[1], unittest.equals('foo')); | 254 unittest.expect(o[1], unittest.equals('foo')); |
| 253 } | 255 } |
| 254 | 256 |
| 255 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; | 257 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; |
| 256 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { | 258 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { |
| 257 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 259 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
| 258 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 260 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
| 259 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 261 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
| 260 o.email = buildUnnamed935(); | 262 o.email = buildUnnamed963(); |
| 261 o.idToken = "foo"; | 263 o.idToken = "foo"; |
| 262 o.localId = buildUnnamed936(); | 264 o.localId = buildUnnamed964(); |
| 263 } | 265 } |
| 264 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 266 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
| 265 return o; | 267 return o; |
| 266 } | 268 } |
| 267 | 269 |
| 268 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { | 270 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { |
| 269 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 271 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
| 270 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 272 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
| 271 checkUnnamed935(o.email); | 273 checkUnnamed963(o.email); |
| 272 unittest.expect(o.idToken, unittest.equals('foo')); | 274 unittest.expect(o.idToken, unittest.equals('foo')); |
| 273 checkUnnamed936(o.localId); | 275 checkUnnamed964(o.localId); |
| 274 } | 276 } |
| 275 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 277 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
| 276 } | 278 } |
| 277 | 279 |
| 278 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { | 280 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { |
| 279 var o = new api.IdentitytoolkitRelyingpartyGetPublicKeysResponse(); | 281 var o = new api.IdentitytoolkitRelyingpartyGetPublicKeysResponse(); |
| 280 o["a"] = "foo"; | 282 o["a"] = "foo"; |
| 281 o["b"] = "foo"; | 283 o["b"] = "foo"; |
| 282 return o; | 284 return o; |
| 283 } | 285 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 306 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; | 308 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; |
| 307 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { | 309 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { |
| 308 unittest.expect(o.email, unittest.equals('foo')); | 310 unittest.expect(o.email, unittest.equals('foo')); |
| 309 unittest.expect(o.newPassword, unittest.equals('foo')); | 311 unittest.expect(o.newPassword, unittest.equals('foo')); |
| 310 unittest.expect(o.oldPassword, unittest.equals('foo')); | 312 unittest.expect(o.oldPassword, unittest.equals('foo')); |
| 311 unittest.expect(o.oobCode, unittest.equals('foo')); | 313 unittest.expect(o.oobCode, unittest.equals('foo')); |
| 312 } | 314 } |
| 313 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; | 315 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; |
| 314 } | 316 } |
| 315 | 317 |
| 316 buildUnnamed937() { | 318 buildUnnamed965() { |
| 317 var o = new core.List<core.String>(); | 319 var o = new core.List<core.String>(); |
| 318 o.add("foo"); | 320 o.add("foo"); |
| 319 o.add("foo"); | 321 o.add("foo"); |
| 320 return o; | 322 return o; |
| 321 } | 323 } |
| 322 | 324 |
| 323 checkUnnamed937(core.List<core.String> o) { | 325 checkUnnamed965(core.List<core.String> o) { |
| 324 unittest.expect(o, unittest.hasLength(2)); | 326 unittest.expect(o, unittest.hasLength(2)); |
| 325 unittest.expect(o[0], unittest.equals('foo')); | 327 unittest.expect(o[0], unittest.equals('foo')); |
| 326 unittest.expect(o[1], unittest.equals('foo')); | 328 unittest.expect(o[1], unittest.equals('foo')); |
| 327 } | 329 } |
| 328 | 330 |
| 329 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; | 331 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; |
| 330 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { | 332 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { |
| 331 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); | 333 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); |
| 332 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 334 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
| 333 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 335 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
| 334 o.captchaChallenge = "foo"; | 336 o.captchaChallenge = "foo"; |
| 335 o.captchaResponse = "foo"; | 337 o.captchaResponse = "foo"; |
| 336 o.displayName = "foo"; | 338 o.displayName = "foo"; |
| 337 o.email = "foo"; | 339 o.email = "foo"; |
| 338 o.emailVerified = true; | 340 o.emailVerified = true; |
| 339 o.idToken = "foo"; | 341 o.idToken = "foo"; |
| 340 o.localId = "foo"; | 342 o.localId = "foo"; |
| 341 o.oobCode = "foo"; | 343 o.oobCode = "foo"; |
| 342 o.password = "foo"; | 344 o.password = "foo"; |
| 343 o.provider = buildUnnamed937(); | 345 o.provider = buildUnnamed965(); |
| 344 o.upgradeToFederatedLogin = true; | 346 o.upgradeToFederatedLogin = true; |
| 345 } | 347 } |
| 346 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 348 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
| 347 return o; | 349 return o; |
| 348 } | 350 } |
| 349 | 351 |
| 350 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { | 352 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { |
| 351 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 353 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
| 352 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 354 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
| 353 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 355 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
| 354 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 356 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
| 355 unittest.expect(o.displayName, unittest.equals('foo')); | 357 unittest.expect(o.displayName, unittest.equals('foo')); |
| 356 unittest.expect(o.email, unittest.equals('foo')); | 358 unittest.expect(o.email, unittest.equals('foo')); |
| 357 unittest.expect(o.emailVerified, unittest.isTrue); | 359 unittest.expect(o.emailVerified, unittest.isTrue); |
| 358 unittest.expect(o.idToken, unittest.equals('foo')); | 360 unittest.expect(o.idToken, unittest.equals('foo')); |
| 359 unittest.expect(o.localId, unittest.equals('foo')); | 361 unittest.expect(o.localId, unittest.equals('foo')); |
| 360 unittest.expect(o.oobCode, unittest.equals('foo')); | 362 unittest.expect(o.oobCode, unittest.equals('foo')); |
| 361 unittest.expect(o.password, unittest.equals('foo')); | 363 unittest.expect(o.password, unittest.equals('foo')); |
| 362 checkUnnamed937(o.provider); | 364 checkUnnamed965(o.provider); |
| 363 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); | 365 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); |
| 364 } | 366 } |
| 365 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 367 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
| 366 } | 368 } |
| 367 | 369 |
| 368 buildUnnamed938() { | 370 buildUnnamed966() { |
| 369 var o = new core.List<api.UserInfo>(); | 371 var o = new core.List<api.UserInfo>(); |
| 370 o.add(buildUserInfo()); | 372 o.add(buildUserInfo()); |
| 371 o.add(buildUserInfo()); | 373 o.add(buildUserInfo()); |
| 372 return o; | 374 return o; |
| 373 } | 375 } |
| 374 | 376 |
| 375 checkUnnamed938(core.List<api.UserInfo> o) { | 377 checkUnnamed966(core.List<api.UserInfo> o) { |
| 376 unittest.expect(o, unittest.hasLength(2)); | 378 unittest.expect(o, unittest.hasLength(2)); |
| 377 checkUserInfo(o[0]); | 379 checkUserInfo(o[0]); |
| 378 checkUserInfo(o[1]); | 380 checkUserInfo(o[1]); |
| 379 } | 381 } |
| 380 | 382 |
| 381 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; | 383 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; |
| 382 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { | 384 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { |
| 383 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); | 385 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); |
| 384 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 386 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
| 385 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 387 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
| 386 o.hashAlgorithm = "foo"; | 388 o.hashAlgorithm = "foo"; |
| 387 o.memoryCost = 42; | 389 o.memoryCost = 42; |
| 388 o.rounds = 42; | 390 o.rounds = 42; |
| 389 o.saltSeparator = "foo"; | 391 o.saltSeparator = "foo"; |
| 390 o.signerKey = "foo"; | 392 o.signerKey = "foo"; |
| 391 o.users = buildUnnamed938(); | 393 o.users = buildUnnamed966(); |
| 392 } | 394 } |
| 393 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 395 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
| 394 return o; | 396 return o; |
| 395 } | 397 } |
| 396 | 398 |
| 397 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { | 399 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { |
| 398 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 400 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
| 399 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 401 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
| 400 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); | 402 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); |
| 401 unittest.expect(o.memoryCost, unittest.equals(42)); | 403 unittest.expect(o.memoryCost, unittest.equals(42)); |
| 402 unittest.expect(o.rounds, unittest.equals(42)); | 404 unittest.expect(o.rounds, unittest.equals(42)); |
| 403 unittest.expect(o.saltSeparator, unittest.equals('foo')); | 405 unittest.expect(o.saltSeparator, unittest.equals('foo')); |
| 404 unittest.expect(o.signerKey, unittest.equals('foo')); | 406 unittest.expect(o.signerKey, unittest.equals('foo')); |
| 405 checkUnnamed938(o.users); | 407 checkUnnamed966(o.users); |
| 406 } | 408 } |
| 407 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 409 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
| 408 } | 410 } |
| 409 | 411 |
| 410 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; | 412 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; |
| 411 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { | 413 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { |
| 412 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 414 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
| 413 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; | 415 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; |
| 414 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { | 416 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { |
| 415 o.pendingIdToken = "foo"; | 417 o.pendingIdToken = "foo"; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 checkSetAccountInfoResponseProviderUserInfo(api.SetAccountInfoResponseProviderUs
erInfo o) { | 529 checkSetAccountInfoResponseProviderUserInfo(api.SetAccountInfoResponseProviderUs
erInfo o) { |
| 528 buildCounterSetAccountInfoResponseProviderUserInfo++; | 530 buildCounterSetAccountInfoResponseProviderUserInfo++; |
| 529 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 531 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
| 530 unittest.expect(o.displayName, unittest.equals('foo')); | 532 unittest.expect(o.displayName, unittest.equals('foo')); |
| 531 unittest.expect(o.photoUrl, unittest.equals('foo')); | 533 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 532 unittest.expect(o.providerId, unittest.equals('foo')); | 534 unittest.expect(o.providerId, unittest.equals('foo')); |
| 533 } | 535 } |
| 534 buildCounterSetAccountInfoResponseProviderUserInfo--; | 536 buildCounterSetAccountInfoResponseProviderUserInfo--; |
| 535 } | 537 } |
| 536 | 538 |
| 537 buildUnnamed939() { | 539 buildUnnamed967() { |
| 538 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); | 540 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); |
| 539 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 541 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
| 540 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 542 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
| 541 return o; | 543 return o; |
| 542 } | 544 } |
| 543 | 545 |
| 544 checkUnnamed939(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { | 546 checkUnnamed967(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { |
| 545 unittest.expect(o, unittest.hasLength(2)); | 547 unittest.expect(o, unittest.hasLength(2)); |
| 546 checkSetAccountInfoResponseProviderUserInfo(o[0]); | 548 checkSetAccountInfoResponseProviderUserInfo(o[0]); |
| 547 checkSetAccountInfoResponseProviderUserInfo(o[1]); | 549 checkSetAccountInfoResponseProviderUserInfo(o[1]); |
| 548 } | 550 } |
| 549 | 551 |
| 550 core.int buildCounterSetAccountInfoResponse = 0; | 552 core.int buildCounterSetAccountInfoResponse = 0; |
| 551 buildSetAccountInfoResponse() { | 553 buildSetAccountInfoResponse() { |
| 552 var o = new api.SetAccountInfoResponse(); | 554 var o = new api.SetAccountInfoResponse(); |
| 553 buildCounterSetAccountInfoResponse++; | 555 buildCounterSetAccountInfoResponse++; |
| 554 if (buildCounterSetAccountInfoResponse < 3) { | 556 if (buildCounterSetAccountInfoResponse < 3) { |
| 555 o.displayName = "foo"; | 557 o.displayName = "foo"; |
| 556 o.email = "foo"; | 558 o.email = "foo"; |
| 557 o.idToken = "foo"; | 559 o.idToken = "foo"; |
| 558 o.kind = "foo"; | 560 o.kind = "foo"; |
| 559 o.providerUserInfo = buildUnnamed939(); | 561 o.providerUserInfo = buildUnnamed967(); |
| 560 } | 562 } |
| 561 buildCounterSetAccountInfoResponse--; | 563 buildCounterSetAccountInfoResponse--; |
| 562 return o; | 564 return o; |
| 563 } | 565 } |
| 564 | 566 |
| 565 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { | 567 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { |
| 566 buildCounterSetAccountInfoResponse++; | 568 buildCounterSetAccountInfoResponse++; |
| 567 if (buildCounterSetAccountInfoResponse < 3) { | 569 if (buildCounterSetAccountInfoResponse < 3) { |
| 568 unittest.expect(o.displayName, unittest.equals('foo')); | 570 unittest.expect(o.displayName, unittest.equals('foo')); |
| 569 unittest.expect(o.email, unittest.equals('foo')); | 571 unittest.expect(o.email, unittest.equals('foo')); |
| 570 unittest.expect(o.idToken, unittest.equals('foo')); | 572 unittest.expect(o.idToken, unittest.equals('foo')); |
| 571 unittest.expect(o.kind, unittest.equals('foo')); | 573 unittest.expect(o.kind, unittest.equals('foo')); |
| 572 checkUnnamed939(o.providerUserInfo); | 574 checkUnnamed967(o.providerUserInfo); |
| 573 } | 575 } |
| 574 buildCounterSetAccountInfoResponse--; | 576 buildCounterSetAccountInfoResponse--; |
| 575 } | 577 } |
| 576 | 578 |
| 577 core.int buildCounterUploadAccountResponseError = 0; | 579 core.int buildCounterUploadAccountResponseError = 0; |
| 578 buildUploadAccountResponseError() { | 580 buildUploadAccountResponseError() { |
| 579 var o = new api.UploadAccountResponseError(); | 581 var o = new api.UploadAccountResponseError(); |
| 580 buildCounterUploadAccountResponseError++; | 582 buildCounterUploadAccountResponseError++; |
| 581 if (buildCounterUploadAccountResponseError < 3) { | 583 if (buildCounterUploadAccountResponseError < 3) { |
| 582 o.index = 42; | 584 o.index = 42; |
| 583 o.message = "foo"; | 585 o.message = "foo"; |
| 584 } | 586 } |
| 585 buildCounterUploadAccountResponseError--; | 587 buildCounterUploadAccountResponseError--; |
| 586 return o; | 588 return o; |
| 587 } | 589 } |
| 588 | 590 |
| 589 checkUploadAccountResponseError(api.UploadAccountResponseError o) { | 591 checkUploadAccountResponseError(api.UploadAccountResponseError o) { |
| 590 buildCounterUploadAccountResponseError++; | 592 buildCounterUploadAccountResponseError++; |
| 591 if (buildCounterUploadAccountResponseError < 3) { | 593 if (buildCounterUploadAccountResponseError < 3) { |
| 592 unittest.expect(o.index, unittest.equals(42)); | 594 unittest.expect(o.index, unittest.equals(42)); |
| 593 unittest.expect(o.message, unittest.equals('foo')); | 595 unittest.expect(o.message, unittest.equals('foo')); |
| 594 } | 596 } |
| 595 buildCounterUploadAccountResponseError--; | 597 buildCounterUploadAccountResponseError--; |
| 596 } | 598 } |
| 597 | 599 |
| 598 buildUnnamed940() { | 600 buildUnnamed968() { |
| 599 var o = new core.List<api.UploadAccountResponseError>(); | 601 var o = new core.List<api.UploadAccountResponseError>(); |
| 600 o.add(buildUploadAccountResponseError()); | 602 o.add(buildUploadAccountResponseError()); |
| 601 o.add(buildUploadAccountResponseError()); | 603 o.add(buildUploadAccountResponseError()); |
| 602 return o; | 604 return o; |
| 603 } | 605 } |
| 604 | 606 |
| 605 checkUnnamed940(core.List<api.UploadAccountResponseError> o) { | 607 checkUnnamed968(core.List<api.UploadAccountResponseError> o) { |
| 606 unittest.expect(o, unittest.hasLength(2)); | 608 unittest.expect(o, unittest.hasLength(2)); |
| 607 checkUploadAccountResponseError(o[0]); | 609 checkUploadAccountResponseError(o[0]); |
| 608 checkUploadAccountResponseError(o[1]); | 610 checkUploadAccountResponseError(o[1]); |
| 609 } | 611 } |
| 610 | 612 |
| 611 core.int buildCounterUploadAccountResponse = 0; | 613 core.int buildCounterUploadAccountResponse = 0; |
| 612 buildUploadAccountResponse() { | 614 buildUploadAccountResponse() { |
| 613 var o = new api.UploadAccountResponse(); | 615 var o = new api.UploadAccountResponse(); |
| 614 buildCounterUploadAccountResponse++; | 616 buildCounterUploadAccountResponse++; |
| 615 if (buildCounterUploadAccountResponse < 3) { | 617 if (buildCounterUploadAccountResponse < 3) { |
| 616 o.error = buildUnnamed940(); | 618 o.error = buildUnnamed968(); |
| 617 o.kind = "foo"; | 619 o.kind = "foo"; |
| 618 } | 620 } |
| 619 buildCounterUploadAccountResponse--; | 621 buildCounterUploadAccountResponse--; |
| 620 return o; | 622 return o; |
| 621 } | 623 } |
| 622 | 624 |
| 623 checkUploadAccountResponse(api.UploadAccountResponse o) { | 625 checkUploadAccountResponse(api.UploadAccountResponse o) { |
| 624 buildCounterUploadAccountResponse++; | 626 buildCounterUploadAccountResponse++; |
| 625 if (buildCounterUploadAccountResponse < 3) { | 627 if (buildCounterUploadAccountResponse < 3) { |
| 626 checkUnnamed940(o.error); | 628 checkUnnamed968(o.error); |
| 627 unittest.expect(o.kind, unittest.equals('foo')); | 629 unittest.expect(o.kind, unittest.equals('foo')); |
| 628 } | 630 } |
| 629 buildCounterUploadAccountResponse--; | 631 buildCounterUploadAccountResponse--; |
| 630 } | 632 } |
| 631 | 633 |
| 632 core.int buildCounterUserInfoProviderUserInfo = 0; | 634 core.int buildCounterUserInfoProviderUserInfo = 0; |
| 633 buildUserInfoProviderUserInfo() { | 635 buildUserInfoProviderUserInfo() { |
| 634 var o = new api.UserInfoProviderUserInfo(); | 636 var o = new api.UserInfoProviderUserInfo(); |
| 635 buildCounterUserInfoProviderUserInfo++; | 637 buildCounterUserInfoProviderUserInfo++; |
| 636 if (buildCounterUserInfoProviderUserInfo < 3) { | 638 if (buildCounterUserInfoProviderUserInfo < 3) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 647 buildCounterUserInfoProviderUserInfo++; | 649 buildCounterUserInfoProviderUserInfo++; |
| 648 if (buildCounterUserInfoProviderUserInfo < 3) { | 650 if (buildCounterUserInfoProviderUserInfo < 3) { |
| 649 unittest.expect(o.displayName, unittest.equals('foo')); | 651 unittest.expect(o.displayName, unittest.equals('foo')); |
| 650 unittest.expect(o.federatedId, unittest.equals('foo')); | 652 unittest.expect(o.federatedId, unittest.equals('foo')); |
| 651 unittest.expect(o.photoUrl, unittest.equals('foo')); | 653 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 652 unittest.expect(o.providerId, unittest.equals('foo')); | 654 unittest.expect(o.providerId, unittest.equals('foo')); |
| 653 } | 655 } |
| 654 buildCounterUserInfoProviderUserInfo--; | 656 buildCounterUserInfoProviderUserInfo--; |
| 655 } | 657 } |
| 656 | 658 |
| 657 buildUnnamed941() { | 659 buildUnnamed969() { |
| 658 var o = new core.List<api.UserInfoProviderUserInfo>(); | 660 var o = new core.List<api.UserInfoProviderUserInfo>(); |
| 659 o.add(buildUserInfoProviderUserInfo()); | 661 o.add(buildUserInfoProviderUserInfo()); |
| 660 o.add(buildUserInfoProviderUserInfo()); | 662 o.add(buildUserInfoProviderUserInfo()); |
| 661 return o; | 663 return o; |
| 662 } | 664 } |
| 663 | 665 |
| 664 checkUnnamed941(core.List<api.UserInfoProviderUserInfo> o) { | 666 checkUnnamed969(core.List<api.UserInfoProviderUserInfo> o) { |
| 665 unittest.expect(o, unittest.hasLength(2)); | 667 unittest.expect(o, unittest.hasLength(2)); |
| 666 checkUserInfoProviderUserInfo(o[0]); | 668 checkUserInfoProviderUserInfo(o[0]); |
| 667 checkUserInfoProviderUserInfo(o[1]); | 669 checkUserInfoProviderUserInfo(o[1]); |
| 668 } | 670 } |
| 669 | 671 |
| 670 core.int buildCounterUserInfo = 0; | 672 core.int buildCounterUserInfo = 0; |
| 671 buildUserInfo() { | 673 buildUserInfo() { |
| 672 var o = new api.UserInfo(); | 674 var o = new api.UserInfo(); |
| 673 buildCounterUserInfo++; | 675 buildCounterUserInfo++; |
| 674 if (buildCounterUserInfo < 3) { | 676 if (buildCounterUserInfo < 3) { |
| 675 o.displayName = "foo"; | 677 o.displayName = "foo"; |
| 676 o.email = "foo"; | 678 o.email = "foo"; |
| 677 o.emailVerified = true; | 679 o.emailVerified = true; |
| 678 o.localId = "foo"; | 680 o.localId = "foo"; |
| 679 o.passwordHash = "foo"; | 681 o.passwordHash = "foo"; |
| 680 o.passwordUpdatedAt = 42.0; | 682 o.passwordUpdatedAt = 42.0; |
| 681 o.photoUrl = "foo"; | 683 o.photoUrl = "foo"; |
| 682 o.providerUserInfo = buildUnnamed941(); | 684 o.providerUserInfo = buildUnnamed969(); |
| 683 o.salt = "foo"; | 685 o.salt = "foo"; |
| 684 o.version = 42; | 686 o.version = 42; |
| 685 } | 687 } |
| 686 buildCounterUserInfo--; | 688 buildCounterUserInfo--; |
| 687 return o; | 689 return o; |
| 688 } | 690 } |
| 689 | 691 |
| 690 checkUserInfo(api.UserInfo o) { | 692 checkUserInfo(api.UserInfo o) { |
| 691 buildCounterUserInfo++; | 693 buildCounterUserInfo++; |
| 692 if (buildCounterUserInfo < 3) { | 694 if (buildCounterUserInfo < 3) { |
| 693 unittest.expect(o.displayName, unittest.equals('foo')); | 695 unittest.expect(o.displayName, unittest.equals('foo')); |
| 694 unittest.expect(o.email, unittest.equals('foo')); | 696 unittest.expect(o.email, unittest.equals('foo')); |
| 695 unittest.expect(o.emailVerified, unittest.isTrue); | 697 unittest.expect(o.emailVerified, unittest.isTrue); |
| 696 unittest.expect(o.localId, unittest.equals('foo')); | 698 unittest.expect(o.localId, unittest.equals('foo')); |
| 697 unittest.expect(o.passwordHash, unittest.equals('foo')); | 699 unittest.expect(o.passwordHash, unittest.equals('foo')); |
| 698 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); | 700 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); |
| 699 unittest.expect(o.photoUrl, unittest.equals('foo')); | 701 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 700 checkUnnamed941(o.providerUserInfo); | 702 checkUnnamed969(o.providerUserInfo); |
| 701 unittest.expect(o.salt, unittest.equals('foo')); | 703 unittest.expect(o.salt, unittest.equals('foo')); |
| 702 unittest.expect(o.version, unittest.equals(42)); | 704 unittest.expect(o.version, unittest.equals(42)); |
| 703 } | 705 } |
| 704 buildCounterUserInfo--; | 706 buildCounterUserInfo--; |
| 705 } | 707 } |
| 706 | 708 |
| 707 buildUnnamed942() { | 709 buildUnnamed970() { |
| 708 var o = new core.List<core.String>(); | 710 var o = new core.List<core.String>(); |
| 709 o.add("foo"); | 711 o.add("foo"); |
| 710 o.add("foo"); | 712 o.add("foo"); |
| 711 return o; | 713 return o; |
| 712 } | 714 } |
| 713 | 715 |
| 714 checkUnnamed942(core.List<core.String> o) { | 716 checkUnnamed970(core.List<core.String> o) { |
| 715 unittest.expect(o, unittest.hasLength(2)); | 717 unittest.expect(o, unittest.hasLength(2)); |
| 716 unittest.expect(o[0], unittest.equals('foo')); | 718 unittest.expect(o[0], unittest.equals('foo')); |
| 717 unittest.expect(o[1], unittest.equals('foo')); | 719 unittest.expect(o[1], unittest.equals('foo')); |
| 718 } | 720 } |
| 719 | 721 |
| 720 core.int buildCounterVerifyAssertionResponse = 0; | 722 core.int buildCounterVerifyAssertionResponse = 0; |
| 721 buildVerifyAssertionResponse() { | 723 buildVerifyAssertionResponse() { |
| 722 var o = new api.VerifyAssertionResponse(); | 724 var o = new api.VerifyAssertionResponse(); |
| 723 buildCounterVerifyAssertionResponse++; | 725 buildCounterVerifyAssertionResponse++; |
| 724 if (buildCounterVerifyAssertionResponse < 3) { | 726 if (buildCounterVerifyAssertionResponse < 3) { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 741 o.lastName = "foo"; | 743 o.lastName = "foo"; |
| 742 o.localId = "foo"; | 744 o.localId = "foo"; |
| 743 o.needConfirmation = true; | 745 o.needConfirmation = true; |
| 744 o.nickName = "foo"; | 746 o.nickName = "foo"; |
| 745 o.oauthRequestToken = "foo"; | 747 o.oauthRequestToken = "foo"; |
| 746 o.oauthScope = "foo"; | 748 o.oauthScope = "foo"; |
| 747 o.originalEmail = "foo"; | 749 o.originalEmail = "foo"; |
| 748 o.photoUrl = "foo"; | 750 o.photoUrl = "foo"; |
| 749 o.providerId = "foo"; | 751 o.providerId = "foo"; |
| 750 o.timeZone = "foo"; | 752 o.timeZone = "foo"; |
| 751 o.verifiedProvider = buildUnnamed942(); | 753 o.verifiedProvider = buildUnnamed970(); |
| 752 } | 754 } |
| 753 buildCounterVerifyAssertionResponse--; | 755 buildCounterVerifyAssertionResponse--; |
| 754 return o; | 756 return o; |
| 755 } | 757 } |
| 756 | 758 |
| 757 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { | 759 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { |
| 758 buildCounterVerifyAssertionResponse++; | 760 buildCounterVerifyAssertionResponse++; |
| 759 if (buildCounterVerifyAssertionResponse < 3) { | 761 if (buildCounterVerifyAssertionResponse < 3) { |
| 760 unittest.expect(o.action, unittest.equals('foo')); | 762 unittest.expect(o.action, unittest.equals('foo')); |
| 761 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); | 763 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 776 unittest.expect(o.lastName, unittest.equals('foo')); | 778 unittest.expect(o.lastName, unittest.equals('foo')); |
| 777 unittest.expect(o.localId, unittest.equals('foo')); | 779 unittest.expect(o.localId, unittest.equals('foo')); |
| 778 unittest.expect(o.needConfirmation, unittest.isTrue); | 780 unittest.expect(o.needConfirmation, unittest.isTrue); |
| 779 unittest.expect(o.nickName, unittest.equals('foo')); | 781 unittest.expect(o.nickName, unittest.equals('foo')); |
| 780 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); | 782 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); |
| 781 unittest.expect(o.oauthScope, unittest.equals('foo')); | 783 unittest.expect(o.oauthScope, unittest.equals('foo')); |
| 782 unittest.expect(o.originalEmail, unittest.equals('foo')); | 784 unittest.expect(o.originalEmail, unittest.equals('foo')); |
| 783 unittest.expect(o.photoUrl, unittest.equals('foo')); | 785 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 784 unittest.expect(o.providerId, unittest.equals('foo')); | 786 unittest.expect(o.providerId, unittest.equals('foo')); |
| 785 unittest.expect(o.timeZone, unittest.equals('foo')); | 787 unittest.expect(o.timeZone, unittest.equals('foo')); |
| 786 checkUnnamed942(o.verifiedProvider); | 788 checkUnnamed970(o.verifiedProvider); |
| 787 } | 789 } |
| 788 buildCounterVerifyAssertionResponse--; | 790 buildCounterVerifyAssertionResponse--; |
| 789 } | 791 } |
| 790 | 792 |
| 791 core.int buildCounterVerifyPasswordResponse = 0; | 793 core.int buildCounterVerifyPasswordResponse = 0; |
| 792 buildVerifyPasswordResponse() { | 794 buildVerifyPasswordResponse() { |
| 793 var o = new api.VerifyPasswordResponse(); | 795 var o = new api.VerifyPasswordResponse(); |
| 794 buildCounterVerifyPasswordResponse++; | 796 buildCounterVerifyPasswordResponse++; |
| 795 if (buildCounterVerifyPasswordResponse < 3) { | 797 if (buildCounterVerifyPasswordResponse < 3) { |
| 796 o.displayName = "foo"; | 798 o.displayName = "foo"; |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1053 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1055 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1054 var arg_request = buildIdentitytoolkitRelyingpartyCreateAuthUriRequest(); | 1056 var arg_request = buildIdentitytoolkitRelyingpartyCreateAuthUriRequest(); |
| 1055 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1057 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1056 var obj = new api.IdentitytoolkitRelyingpartyCreateAuthUriRequest.fromJs
on(json); | 1058 var obj = new api.IdentitytoolkitRelyingpartyCreateAuthUriRequest.fromJs
on(json); |
| 1057 checkIdentitytoolkitRelyingpartyCreateAuthUriRequest(obj); | 1059 checkIdentitytoolkitRelyingpartyCreateAuthUriRequest(obj); |
| 1058 | 1060 |
| 1059 var path = (req.url).path; | 1061 var path = (req.url).path; |
| 1060 var pathOffset = 0; | 1062 var pathOffset = 0; |
| 1061 var index; | 1063 var index; |
| 1062 var subPart; | 1064 var subPart; |
| 1063 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1065 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1064 pathOffset += 33; | 1066 pathOffset += 1; |
| 1067 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1068 pathOffset += 32; |
| 1065 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("createAuthUri")); | 1069 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("createAuthUri")); |
| 1066 pathOffset += 13; | 1070 pathOffset += 13; |
| 1067 | 1071 |
| 1068 var query = (req.url).query; | 1072 var query = (req.url).query; |
| 1069 var queryOffset = 0; | 1073 var queryOffset = 0; |
| 1070 var queryMap = {}; | 1074 var queryMap = {}; |
| 1071 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1075 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1072 parseBool(n) { | 1076 parseBool(n) { |
| 1073 if (n == "true") return true; | 1077 if (n == "true") return true; |
| 1074 if (n == "false") return false; | 1078 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1100 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1104 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1101 var arg_request = buildIdentitytoolkitRelyingpartyDeleteAccountRequest(); | 1105 var arg_request = buildIdentitytoolkitRelyingpartyDeleteAccountRequest(); |
| 1102 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1106 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1103 var obj = new api.IdentitytoolkitRelyingpartyDeleteAccountRequest.fromJs
on(json); | 1107 var obj = new api.IdentitytoolkitRelyingpartyDeleteAccountRequest.fromJs
on(json); |
| 1104 checkIdentitytoolkitRelyingpartyDeleteAccountRequest(obj); | 1108 checkIdentitytoolkitRelyingpartyDeleteAccountRequest(obj); |
| 1105 | 1109 |
| 1106 var path = (req.url).path; | 1110 var path = (req.url).path; |
| 1107 var pathOffset = 0; | 1111 var pathOffset = 0; |
| 1108 var index; | 1112 var index; |
| 1109 var subPart; | 1113 var subPart; |
| 1110 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1114 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1111 pathOffset += 33; | 1115 pathOffset += 1; |
| 1116 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1117 pathOffset += 32; |
| 1112 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("deleteAccount")); | 1118 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("deleteAccount")); |
| 1113 pathOffset += 13; | 1119 pathOffset += 13; |
| 1114 | 1120 |
| 1115 var query = (req.url).query; | 1121 var query = (req.url).query; |
| 1116 var queryOffset = 0; | 1122 var queryOffset = 0; |
| 1117 var queryMap = {}; | 1123 var queryMap = {}; |
| 1118 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1124 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1119 parseBool(n) { | 1125 parseBool(n) { |
| 1120 if (n == "true") return true; | 1126 if (n == "true") return true; |
| 1121 if (n == "false") return false; | 1127 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1147 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1153 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1148 var arg_request = buildIdentitytoolkitRelyingpartyDownloadAccountRequest()
; | 1154 var arg_request = buildIdentitytoolkitRelyingpartyDownloadAccountRequest()
; |
| 1149 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1155 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1150 var obj = new api.IdentitytoolkitRelyingpartyDownloadAccountRequest.from
Json(json); | 1156 var obj = new api.IdentitytoolkitRelyingpartyDownloadAccountRequest.from
Json(json); |
| 1151 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(obj); | 1157 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(obj); |
| 1152 | 1158 |
| 1153 var path = (req.url).path; | 1159 var path = (req.url).path; |
| 1154 var pathOffset = 0; | 1160 var pathOffset = 0; |
| 1155 var index; | 1161 var index; |
| 1156 var subPart; | 1162 var subPart; |
| 1157 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1163 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1158 pathOffset += 33; | 1164 pathOffset += 1; |
| 1165 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1166 pathOffset += 32; |
| 1159 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("downloadAccount")); | 1167 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("downloadAccount")); |
| 1160 pathOffset += 15; | 1168 pathOffset += 15; |
| 1161 | 1169 |
| 1162 var query = (req.url).query; | 1170 var query = (req.url).query; |
| 1163 var queryOffset = 0; | 1171 var queryOffset = 0; |
| 1164 var queryMap = {}; | 1172 var queryMap = {}; |
| 1165 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1173 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1166 parseBool(n) { | 1174 parseBool(n) { |
| 1167 if (n == "true") return true; | 1175 if (n == "true") return true; |
| 1168 if (n == "false") return false; | 1176 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1194 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1202 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1195 var arg_request = buildIdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 1203 var arg_request = buildIdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
| 1196 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1204 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1197 var obj = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest.fromJ
son(json); | 1205 var obj = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest.fromJ
son(json); |
| 1198 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(obj); | 1206 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(obj); |
| 1199 | 1207 |
| 1200 var path = (req.url).path; | 1208 var path = (req.url).path; |
| 1201 var pathOffset = 0; | 1209 var pathOffset = 0; |
| 1202 var index; | 1210 var index; |
| 1203 var subPart; | 1211 var subPart; |
| 1204 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1212 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1205 pathOffset += 33; | 1213 pathOffset += 1; |
| 1214 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1215 pathOffset += 32; |
| 1206 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("getAccountInfo")); | 1216 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("getAccountInfo")); |
| 1207 pathOffset += 14; | 1217 pathOffset += 14; |
| 1208 | 1218 |
| 1209 var query = (req.url).query; | 1219 var query = (req.url).query; |
| 1210 var queryOffset = 0; | 1220 var queryOffset = 0; |
| 1211 var queryMap = {}; | 1221 var queryMap = {}; |
| 1212 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1222 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1213 parseBool(n) { | 1223 parseBool(n) { |
| 1214 if (n == "true") return true; | 1224 if (n == "true") return true; |
| 1215 if (n == "false") return false; | 1225 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1241 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1251 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1242 var arg_request = buildRelyingparty(); | 1252 var arg_request = buildRelyingparty(); |
| 1243 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1253 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1244 var obj = new api.Relyingparty.fromJson(json); | 1254 var obj = new api.Relyingparty.fromJson(json); |
| 1245 checkRelyingparty(obj); | 1255 checkRelyingparty(obj); |
| 1246 | 1256 |
| 1247 var path = (req.url).path; | 1257 var path = (req.url).path; |
| 1248 var pathOffset = 0; | 1258 var pathOffset = 0; |
| 1249 var index; | 1259 var index; |
| 1250 var subPart; | 1260 var subPart; |
| 1251 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1261 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1252 pathOffset += 33; | 1262 pathOffset += 1; |
| 1263 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1264 pathOffset += 32; |
| 1253 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("getOobConfirmationCode")); | 1265 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq
uals("getOobConfirmationCode")); |
| 1254 pathOffset += 22; | 1266 pathOffset += 22; |
| 1255 | 1267 |
| 1256 var query = (req.url).query; | 1268 var query = (req.url).query; |
| 1257 var queryOffset = 0; | 1269 var queryOffset = 0; |
| 1258 var queryMap = {}; | 1270 var queryMap = {}; |
| 1259 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1271 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1260 parseBool(n) { | 1272 parseBool(n) { |
| 1261 if (n == "true") return true; | 1273 if (n == "true") return true; |
| 1262 if (n == "false") return false; | 1274 if (n == "false") return false; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 1284 | 1296 |
| 1285 unittest.test("method--getPublicKeys", () { | 1297 unittest.test("method--getPublicKeys", () { |
| 1286 | 1298 |
| 1287 var mock = new common_test.HttpServerMock(); | 1299 var mock = new common_test.HttpServerMock(); |
| 1288 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1300 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1289 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1301 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1290 var path = (req.url).path; | 1302 var path = (req.url).path; |
| 1291 var pathOffset = 0; | 1303 var pathOffset = 0; |
| 1292 var index; | 1304 var index; |
| 1293 var subPart; | 1305 var subPart; |
| 1294 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1306 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1295 pathOffset += 33; | 1307 pathOffset += 1; |
| 1308 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1309 pathOffset += 32; |
| 1296 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("publicKeys")); | 1310 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("publicKeys")); |
| 1297 pathOffset += 10; | 1311 pathOffset += 10; |
| 1298 | 1312 |
| 1299 var query = (req.url).query; | 1313 var query = (req.url).query; |
| 1300 var queryOffset = 0; | 1314 var queryOffset = 0; |
| 1301 var queryMap = {}; | 1315 var queryMap = {}; |
| 1302 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1316 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1303 parseBool(n) { | 1317 parseBool(n) { |
| 1304 if (n == "true") return true; | 1318 if (n == "true") return true; |
| 1305 if (n == "false") return false; | 1319 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1331 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1345 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1332 var arg_request = buildIdentitytoolkitRelyingpartyResetPasswordRequest(); | 1346 var arg_request = buildIdentitytoolkitRelyingpartyResetPasswordRequest(); |
| 1333 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1347 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1334 var obj = new api.IdentitytoolkitRelyingpartyResetPasswordRequest.fromJs
on(json); | 1348 var obj = new api.IdentitytoolkitRelyingpartyResetPasswordRequest.fromJs
on(json); |
| 1335 checkIdentitytoolkitRelyingpartyResetPasswordRequest(obj); | 1349 checkIdentitytoolkitRelyingpartyResetPasswordRequest(obj); |
| 1336 | 1350 |
| 1337 var path = (req.url).path; | 1351 var path = (req.url).path; |
| 1338 var pathOffset = 0; | 1352 var pathOffset = 0; |
| 1339 var index; | 1353 var index; |
| 1340 var subPart; | 1354 var subPart; |
| 1341 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1355 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1342 pathOffset += 33; | 1356 pathOffset += 1; |
| 1357 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1358 pathOffset += 32; |
| 1343 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("resetPassword")); | 1359 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("resetPassword")); |
| 1344 pathOffset += 13; | 1360 pathOffset += 13; |
| 1345 | 1361 |
| 1346 var query = (req.url).query; | 1362 var query = (req.url).query; |
| 1347 var queryOffset = 0; | 1363 var queryOffset = 0; |
| 1348 var queryMap = {}; | 1364 var queryMap = {}; |
| 1349 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1365 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1350 parseBool(n) { | 1366 parseBool(n) { |
| 1351 if (n == "true") return true; | 1367 if (n == "true") return true; |
| 1352 if (n == "false") return false; | 1368 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1378 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1394 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1379 var arg_request = buildIdentitytoolkitRelyingpartySetAccountInfoRequest(); | 1395 var arg_request = buildIdentitytoolkitRelyingpartySetAccountInfoRequest(); |
| 1380 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1396 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1381 var obj = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest.fromJ
son(json); | 1397 var obj = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest.fromJ
son(json); |
| 1382 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(obj); | 1398 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(obj); |
| 1383 | 1399 |
| 1384 var path = (req.url).path; | 1400 var path = (req.url).path; |
| 1385 var pathOffset = 0; | 1401 var pathOffset = 0; |
| 1386 var index; | 1402 var index; |
| 1387 var subPart; | 1403 var subPart; |
| 1388 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1404 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1389 pathOffset += 33; | 1405 pathOffset += 1; |
| 1406 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1407 pathOffset += 32; |
| 1390 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("setAccountInfo")); | 1408 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("setAccountInfo")); |
| 1391 pathOffset += 14; | 1409 pathOffset += 14; |
| 1392 | 1410 |
| 1393 var query = (req.url).query; | 1411 var query = (req.url).query; |
| 1394 var queryOffset = 0; | 1412 var queryOffset = 0; |
| 1395 var queryMap = {}; | 1413 var queryMap = {}; |
| 1396 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1414 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1397 parseBool(n) { | 1415 parseBool(n) { |
| 1398 if (n == "true") return true; | 1416 if (n == "true") return true; |
| 1399 if (n == "false") return false; | 1417 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1425 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1443 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1426 var arg_request = buildIdentitytoolkitRelyingpartyUploadAccountRequest(); | 1444 var arg_request = buildIdentitytoolkitRelyingpartyUploadAccountRequest(); |
| 1427 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1445 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1428 var obj = new api.IdentitytoolkitRelyingpartyUploadAccountRequest.fromJs
on(json); | 1446 var obj = new api.IdentitytoolkitRelyingpartyUploadAccountRequest.fromJs
on(json); |
| 1429 checkIdentitytoolkitRelyingpartyUploadAccountRequest(obj); | 1447 checkIdentitytoolkitRelyingpartyUploadAccountRequest(obj); |
| 1430 | 1448 |
| 1431 var path = (req.url).path; | 1449 var path = (req.url).path; |
| 1432 var pathOffset = 0; | 1450 var pathOffset = 0; |
| 1433 var index; | 1451 var index; |
| 1434 var subPart; | 1452 var subPart; |
| 1435 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1453 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1436 pathOffset += 33; | 1454 pathOffset += 1; |
| 1455 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1456 pathOffset += 32; |
| 1437 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("uploadAccount")); | 1457 unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.eq
uals("uploadAccount")); |
| 1438 pathOffset += 13; | 1458 pathOffset += 13; |
| 1439 | 1459 |
| 1440 var query = (req.url).query; | 1460 var query = (req.url).query; |
| 1441 var queryOffset = 0; | 1461 var queryOffset = 0; |
| 1442 var queryMap = {}; | 1462 var queryMap = {}; |
| 1443 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1463 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1444 parseBool(n) { | 1464 parseBool(n) { |
| 1445 if (n == "true") return true; | 1465 if (n == "true") return true; |
| 1446 if (n == "false") return false; | 1466 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1472 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1492 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1473 var arg_request = buildIdentitytoolkitRelyingpartyVerifyAssertionRequest()
; | 1493 var arg_request = buildIdentitytoolkitRelyingpartyVerifyAssertionRequest()
; |
| 1474 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1494 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1475 var obj = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest.from
Json(json); | 1495 var obj = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest.from
Json(json); |
| 1476 checkIdentitytoolkitRelyingpartyVerifyAssertionRequest(obj); | 1496 checkIdentitytoolkitRelyingpartyVerifyAssertionRequest(obj); |
| 1477 | 1497 |
| 1478 var path = (req.url).path; | 1498 var path = (req.url).path; |
| 1479 var pathOffset = 0; | 1499 var pathOffset = 0; |
| 1480 var index; | 1500 var index; |
| 1481 var subPart; | 1501 var subPart; |
| 1482 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1502 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1483 pathOffset += 33; | 1503 pathOffset += 1; |
| 1504 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1505 pathOffset += 32; |
| 1484 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("verifyAssertion")); | 1506 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("verifyAssertion")); |
| 1485 pathOffset += 15; | 1507 pathOffset += 15; |
| 1486 | 1508 |
| 1487 var query = (req.url).query; | 1509 var query = (req.url).query; |
| 1488 var queryOffset = 0; | 1510 var queryOffset = 0; |
| 1489 var queryMap = {}; | 1511 var queryMap = {}; |
| 1490 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1512 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1491 parseBool(n) { | 1513 parseBool(n) { |
| 1492 if (n == "true") return true; | 1514 if (n == "true") return true; |
| 1493 if (n == "false") return false; | 1515 if (n == "false") return false; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1519 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; | 1541 api.RelyingpartyResourceApi res = new api.IdentitytoolkitApi(mock).relying
party; |
| 1520 var arg_request = buildIdentitytoolkitRelyingpartyVerifyPasswordRequest(); | 1542 var arg_request = buildIdentitytoolkitRelyingpartyVerifyPasswordRequest(); |
| 1521 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 1543 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 1522 var obj = new api.IdentitytoolkitRelyingpartyVerifyPasswordRequest.fromJ
son(json); | 1544 var obj = new api.IdentitytoolkitRelyingpartyVerifyPasswordRequest.fromJ
son(json); |
| 1523 checkIdentitytoolkitRelyingpartyVerifyPasswordRequest(obj); | 1545 checkIdentitytoolkitRelyingpartyVerifyPasswordRequest(obj); |
| 1524 | 1546 |
| 1525 var path = (req.url).path; | 1547 var path = (req.url).path; |
| 1526 var pathOffset = 0; | 1548 var pathOffset = 0; |
| 1527 var index; | 1549 var index; |
| 1528 var subPart; | 1550 var subPart; |
| 1529 unittest.expect(path.substring(pathOffset, pathOffset + 33), unittest.eq
uals("/identitytoolkit/v3/relyingparty/")); | 1551 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 1530 pathOffset += 33; | 1552 pathOffset += 1; |
| 1553 unittest.expect(path.substring(pathOffset, pathOffset + 32), unittest.eq
uals("identitytoolkit/v3/relyingparty/")); |
| 1554 pathOffset += 32; |
| 1531 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("verifyPassword")); | 1555 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("verifyPassword")); |
| 1532 pathOffset += 14; | 1556 pathOffset += 14; |
| 1533 | 1557 |
| 1534 var query = (req.url).query; | 1558 var query = (req.url).query; |
| 1535 var queryOffset = 0; | 1559 var queryOffset = 0; |
| 1536 var queryMap = {}; | 1560 var queryMap = {}; |
| 1537 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 1561 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 1538 parseBool(n) { | 1562 parseBool(n) { |
| 1539 if (n == "true") return true; | 1563 if (n == "true") return true; |
| 1540 if (n == "false") return false; | 1564 if (n == "false") return false; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 1558 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { | 1582 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { |
| 1559 checkVerifyPasswordResponse(response); | 1583 checkVerifyPasswordResponse(response); |
| 1560 }))); | 1584 }))); |
| 1561 }); | 1585 }); |
| 1562 | 1586 |
| 1563 }); | 1587 }); |
| 1564 | 1588 |
| 1565 | 1589 |
| 1566 } | 1590 } |
| 1567 | 1591 |
| OLD | NEW |