| 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 buildUnnamed2378() { | 54 buildUnnamed2166() { |
| 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 checkUnnamed2378(core.List<core.String> o) { | 61 checkUnnamed2166(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 = buildUnnamed2378(); | 72 o.allProviders = buildUnnamed2166(); |
| 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 checkUnnamed2378(o.allProviders); | 88 checkUnnamed2166(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 buildUnnamed2379() { | 119 buildUnnamed2167() { |
| 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 checkUnnamed2379(core.List<api.UserInfo> o) { | 126 checkUnnamed2167(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 = buildUnnamed2379(); | 139 o.users = buildUnnamed2167(); |
| 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 checkUnnamed2379(o.users); | 150 checkUnnamed2167(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 buildUnnamed2380() { | 184 buildUnnamed2168() { |
| 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 checkUnnamed2380(core.List<api.UserInfo> o) { | 191 checkUnnamed2168(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 = buildUnnamed2380(); | 203 o.users = buildUnnamed2168(); |
| 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 checkUnnamed2380(o.users); | 213 checkUnnamed2168(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 30 matching lines...) Expand all Loading... |
| 254 checkGetRecaptchaParamResponse(api.GetRecaptchaParamResponse o) { | 254 checkGetRecaptchaParamResponse(api.GetRecaptchaParamResponse o) { |
| 255 buildCounterGetRecaptchaParamResponse++; | 255 buildCounterGetRecaptchaParamResponse++; |
| 256 if (buildCounterGetRecaptchaParamResponse < 3) { | 256 if (buildCounterGetRecaptchaParamResponse < 3) { |
| 257 unittest.expect(o.kind, unittest.equals('foo')); | 257 unittest.expect(o.kind, unittest.equals('foo')); |
| 258 unittest.expect(o.recaptchaSiteKey, unittest.equals('foo')); | 258 unittest.expect(o.recaptchaSiteKey, unittest.equals('foo')); |
| 259 unittest.expect(o.recaptchaStoken, unittest.equals('foo')); | 259 unittest.expect(o.recaptchaStoken, unittest.equals('foo')); |
| 260 } | 260 } |
| 261 buildCounterGetRecaptchaParamResponse--; | 261 buildCounterGetRecaptchaParamResponse--; |
| 262 } | 262 } |
| 263 | 263 |
| 264 buildUnnamed2381() { | 264 buildUnnamed2169() { |
| 265 var o = new core.Map<core.String, core.String>(); | 265 var o = new core.Map<core.String, core.String>(); |
| 266 o["x"] = "foo"; | 266 o["x"] = "foo"; |
| 267 o["y"] = "foo"; | 267 o["y"] = "foo"; |
| 268 return o; | 268 return o; |
| 269 } | 269 } |
| 270 | 270 |
| 271 checkUnnamed2381(core.Map<core.String, core.String> o) { | 271 checkUnnamed2169(core.Map<core.String, core.String> o) { |
| 272 unittest.expect(o, unittest.hasLength(2)); | 272 unittest.expect(o, unittest.hasLength(2)); |
| 273 unittest.expect(o["x"], unittest.equals('foo')); | 273 unittest.expect(o["x"], unittest.equals('foo')); |
| 274 unittest.expect(o["y"], unittest.equals('foo')); | 274 unittest.expect(o["y"], unittest.equals('foo')); |
| 275 } | 275 } |
| 276 | 276 |
| 277 core.int buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest = 0; | 277 core.int buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest = 0; |
| 278 buildIdentitytoolkitRelyingpartyCreateAuthUriRequest() { | 278 buildIdentitytoolkitRelyingpartyCreateAuthUriRequest() { |
| 279 var o = new api.IdentitytoolkitRelyingpartyCreateAuthUriRequest(); | 279 var o = new api.IdentitytoolkitRelyingpartyCreateAuthUriRequest(); |
| 280 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest++; | 280 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest++; |
| 281 if (buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest < 3) { | 281 if (buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest < 3) { |
| 282 o.appId = "foo"; | 282 o.appId = "foo"; |
| 283 o.authFlowType = "foo"; | 283 o.authFlowType = "foo"; |
| 284 o.clientId = "foo"; | 284 o.clientId = "foo"; |
| 285 o.context = "foo"; | 285 o.context = "foo"; |
| 286 o.continueUri = "foo"; | 286 o.continueUri = "foo"; |
| 287 o.customParameter = buildUnnamed2381(); | 287 o.customParameter = buildUnnamed2169(); |
| 288 o.hostedDomain = "foo"; | 288 o.hostedDomain = "foo"; |
| 289 o.identifier = "foo"; | 289 o.identifier = "foo"; |
| 290 o.oauthConsumerKey = "foo"; | 290 o.oauthConsumerKey = "foo"; |
| 291 o.oauthScope = "foo"; | 291 o.oauthScope = "foo"; |
| 292 o.openidRealm = "foo"; | 292 o.openidRealm = "foo"; |
| 293 o.otaApp = "foo"; | 293 o.otaApp = "foo"; |
| 294 o.providerId = "foo"; | 294 o.providerId = "foo"; |
| 295 o.sessionId = "foo"; | 295 o.sessionId = "foo"; |
| 296 } | 296 } |
| 297 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest--; | 297 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest--; |
| 298 return o; | 298 return o; |
| 299 } | 299 } |
| 300 | 300 |
| 301 checkIdentitytoolkitRelyingpartyCreateAuthUriRequest(api.IdentitytoolkitRelyingp
artyCreateAuthUriRequest o) { | 301 checkIdentitytoolkitRelyingpartyCreateAuthUriRequest(api.IdentitytoolkitRelyingp
artyCreateAuthUriRequest o) { |
| 302 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest++; | 302 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest++; |
| 303 if (buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest < 3) { | 303 if (buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest < 3) { |
| 304 unittest.expect(o.appId, unittest.equals('foo')); | 304 unittest.expect(o.appId, unittest.equals('foo')); |
| 305 unittest.expect(o.authFlowType, unittest.equals('foo')); | 305 unittest.expect(o.authFlowType, unittest.equals('foo')); |
| 306 unittest.expect(o.clientId, unittest.equals('foo')); | 306 unittest.expect(o.clientId, unittest.equals('foo')); |
| 307 unittest.expect(o.context, unittest.equals('foo')); | 307 unittest.expect(o.context, unittest.equals('foo')); |
| 308 unittest.expect(o.continueUri, unittest.equals('foo')); | 308 unittest.expect(o.continueUri, unittest.equals('foo')); |
| 309 checkUnnamed2381(o.customParameter); | 309 checkUnnamed2169(o.customParameter); |
| 310 unittest.expect(o.hostedDomain, unittest.equals('foo')); | 310 unittest.expect(o.hostedDomain, unittest.equals('foo')); |
| 311 unittest.expect(o.identifier, unittest.equals('foo')); | 311 unittest.expect(o.identifier, unittest.equals('foo')); |
| 312 unittest.expect(o.oauthConsumerKey, unittest.equals('foo')); | 312 unittest.expect(o.oauthConsumerKey, unittest.equals('foo')); |
| 313 unittest.expect(o.oauthScope, unittest.equals('foo')); | 313 unittest.expect(o.oauthScope, unittest.equals('foo')); |
| 314 unittest.expect(o.openidRealm, unittest.equals('foo')); | 314 unittest.expect(o.openidRealm, unittest.equals('foo')); |
| 315 unittest.expect(o.otaApp, unittest.equals('foo')); | 315 unittest.expect(o.otaApp, unittest.equals('foo')); |
| 316 unittest.expect(o.providerId, unittest.equals('foo')); | 316 unittest.expect(o.providerId, unittest.equals('foo')); |
| 317 unittest.expect(o.sessionId, unittest.equals('foo')); | 317 unittest.expect(o.sessionId, unittest.equals('foo')); |
| 318 } | 318 } |
| 319 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest--; | 319 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest--; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 343 } | 343 } |
| 344 | 344 |
| 345 core.int buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest = 0; | 345 core.int buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest = 0; |
| 346 buildIdentitytoolkitRelyingpartyDownloadAccountRequest() { | 346 buildIdentitytoolkitRelyingpartyDownloadAccountRequest() { |
| 347 var o = new api.IdentitytoolkitRelyingpartyDownloadAccountRequest(); | 347 var o = new api.IdentitytoolkitRelyingpartyDownloadAccountRequest(); |
| 348 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; | 348 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; |
| 349 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { | 349 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { |
| 350 o.delegatedProjectNumber = "foo"; | 350 o.delegatedProjectNumber = "foo"; |
| 351 o.maxResults = 42; | 351 o.maxResults = 42; |
| 352 o.nextPageToken = "foo"; | 352 o.nextPageToken = "foo"; |
| 353 o.targetProjectId = "foo"; |
| 353 } | 354 } |
| 354 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; | 355 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; |
| 355 return o; | 356 return o; |
| 356 } | 357 } |
| 357 | 358 |
| 358 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { | 359 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { |
| 359 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; | 360 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; |
| 360 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { | 361 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { |
| 361 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 362 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
| 362 unittest.expect(o.maxResults, unittest.equals(42)); | 363 unittest.expect(o.maxResults, unittest.equals(42)); |
| 363 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 364 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 365 unittest.expect(o.targetProjectId, unittest.equals('foo')); |
| 364 } | 366 } |
| 365 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; | 367 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; |
| 366 } | 368 } |
| 367 | 369 |
| 368 buildUnnamed2382() { | 370 buildUnnamed2170() { |
| 369 var o = new core.List<core.String>(); | 371 var o = new core.List<core.String>(); |
| 370 o.add("foo"); | 372 o.add("foo"); |
| 371 o.add("foo"); | 373 o.add("foo"); |
| 372 return o; | 374 return o; |
| 373 } | 375 } |
| 374 | 376 |
| 375 checkUnnamed2382(core.List<core.String> o) { | 377 checkUnnamed2170(core.List<core.String> o) { |
| 376 unittest.expect(o, unittest.hasLength(2)); | 378 unittest.expect(o, unittest.hasLength(2)); |
| 377 unittest.expect(o[0], unittest.equals('foo')); | 379 unittest.expect(o[0], unittest.equals('foo')); |
| 378 unittest.expect(o[1], unittest.equals('foo')); | 380 unittest.expect(o[1], unittest.equals('foo')); |
| 379 } | 381 } |
| 380 | 382 |
| 381 buildUnnamed2383() { | 383 buildUnnamed2171() { |
| 382 var o = new core.List<core.String>(); | 384 var o = new core.List<core.String>(); |
| 383 o.add("foo"); | 385 o.add("foo"); |
| 384 o.add("foo"); | 386 o.add("foo"); |
| 385 return o; | 387 return o; |
| 386 } | 388 } |
| 387 | 389 |
| 388 checkUnnamed2383(core.List<core.String> o) { | 390 checkUnnamed2171(core.List<core.String> o) { |
| 389 unittest.expect(o, unittest.hasLength(2)); | 391 unittest.expect(o, unittest.hasLength(2)); |
| 390 unittest.expect(o[0], unittest.equals('foo')); | 392 unittest.expect(o[0], unittest.equals('foo')); |
| 391 unittest.expect(o[1], unittest.equals('foo')); | 393 unittest.expect(o[1], unittest.equals('foo')); |
| 392 } | 394 } |
| 393 | 395 |
| 394 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; | 396 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; |
| 395 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { | 397 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { |
| 396 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 398 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
| 397 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 399 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
| 398 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 400 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
| 399 o.delegatedProjectNumber = "foo"; | 401 o.delegatedProjectNumber = "foo"; |
| 400 o.email = buildUnnamed2382(); | 402 o.email = buildUnnamed2170(); |
| 401 o.idToken = "foo"; | 403 o.idToken = "foo"; |
| 402 o.localId = buildUnnamed2383(); | 404 o.localId = buildUnnamed2171(); |
| 403 } | 405 } |
| 404 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 406 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
| 405 return o; | 407 return o; |
| 406 } | 408 } |
| 407 | 409 |
| 408 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { | 410 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { |
| 409 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 411 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
| 410 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 412 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
| 411 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 413 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
| 412 checkUnnamed2382(o.email); | 414 checkUnnamed2170(o.email); |
| 413 unittest.expect(o.idToken, unittest.equals('foo')); | 415 unittest.expect(o.idToken, unittest.equals('foo')); |
| 414 checkUnnamed2383(o.localId); | 416 checkUnnamed2171(o.localId); |
| 415 } | 417 } |
| 416 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 418 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
| 417 } | 419 } |
| 418 | 420 |
| 419 buildUnnamed2384() { | 421 buildUnnamed2172() { |
| 420 var o = new core.List<core.String>(); | 422 var o = new core.List<core.String>(); |
| 421 o.add("foo"); | 423 o.add("foo"); |
| 422 o.add("foo"); | 424 o.add("foo"); |
| 423 return o; | 425 return o; |
| 424 } | 426 } |
| 425 | 427 |
| 426 checkUnnamed2384(core.List<core.String> o) { | 428 checkUnnamed2172(core.List<core.String> o) { |
| 427 unittest.expect(o, unittest.hasLength(2)); | 429 unittest.expect(o, unittest.hasLength(2)); |
| 428 unittest.expect(o[0], unittest.equals('foo')); | 430 unittest.expect(o[0], unittest.equals('foo')); |
| 429 unittest.expect(o[1], unittest.equals('foo')); | 431 unittest.expect(o[1], unittest.equals('foo')); |
| 430 } | 432 } |
| 431 | 433 |
| 432 buildUnnamed2385() { | 434 buildUnnamed2173() { |
| 433 var o = new core.List<api.IdpConfig>(); | 435 var o = new core.List<api.IdpConfig>(); |
| 434 o.add(buildIdpConfig()); | 436 o.add(buildIdpConfig()); |
| 435 o.add(buildIdpConfig()); | 437 o.add(buildIdpConfig()); |
| 436 return o; | 438 return o; |
| 437 } | 439 } |
| 438 | 440 |
| 439 checkUnnamed2385(core.List<api.IdpConfig> o) { | 441 checkUnnamed2173(core.List<api.IdpConfig> o) { |
| 440 unittest.expect(o, unittest.hasLength(2)); | 442 unittest.expect(o, unittest.hasLength(2)); |
| 441 checkIdpConfig(o[0]); | 443 checkIdpConfig(o[0]); |
| 442 checkIdpConfig(o[1]); | 444 checkIdpConfig(o[1]); |
| 443 } | 445 } |
| 444 | 446 |
| 445 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; | 447 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; |
| 446 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { | 448 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { |
| 447 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); | 449 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); |
| 448 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 450 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
| 449 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 451 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
| 450 o.allowPasswordUser = true; | 452 o.allowPasswordUser = true; |
| 451 o.apiKey = "foo"; | 453 o.apiKey = "foo"; |
| 452 o.authorizedDomains = buildUnnamed2384(); | 454 o.authorizedDomains = buildUnnamed2172(); |
| 453 o.changeEmailTemplate = buildEmailTemplate(); | 455 o.changeEmailTemplate = buildEmailTemplate(); |
| 454 o.dynamicLinksDomain = "foo"; | 456 o.dynamicLinksDomain = "foo"; |
| 455 o.enableAnonymousUser = true; | 457 o.enableAnonymousUser = true; |
| 456 o.idpConfig = buildUnnamed2385(); | 458 o.idpConfig = buildUnnamed2173(); |
| 457 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 459 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
| 458 o.projectId = "foo"; | 460 o.projectId = "foo"; |
| 459 o.resetPasswordTemplate = buildEmailTemplate(); | 461 o.resetPasswordTemplate = buildEmailTemplate(); |
| 460 o.useEmailSending = true; | 462 o.useEmailSending = true; |
| 461 o.verifyEmailTemplate = buildEmailTemplate(); | 463 o.verifyEmailTemplate = buildEmailTemplate(); |
| 462 } | 464 } |
| 463 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 465 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
| 464 return o; | 466 return o; |
| 465 } | 467 } |
| 466 | 468 |
| 467 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { | 469 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { |
| 468 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 470 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
| 469 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 471 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
| 470 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 472 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
| 471 unittest.expect(o.apiKey, unittest.equals('foo')); | 473 unittest.expect(o.apiKey, unittest.equals('foo')); |
| 472 checkUnnamed2384(o.authorizedDomains); | 474 checkUnnamed2172(o.authorizedDomains); |
| 473 checkEmailTemplate(o.changeEmailTemplate); | 475 checkEmailTemplate(o.changeEmailTemplate); |
| 474 unittest.expect(o.dynamicLinksDomain, unittest.equals('foo')); | 476 unittest.expect(o.dynamicLinksDomain, unittest.equals('foo')); |
| 475 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 477 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
| 476 checkUnnamed2385(o.idpConfig); | 478 checkUnnamed2173(o.idpConfig); |
| 477 checkEmailTemplate(o.legacyResetPasswordTemplate); | 479 checkEmailTemplate(o.legacyResetPasswordTemplate); |
| 478 unittest.expect(o.projectId, unittest.equals('foo')); | 480 unittest.expect(o.projectId, unittest.equals('foo')); |
| 479 checkEmailTemplate(o.resetPasswordTemplate); | 481 checkEmailTemplate(o.resetPasswordTemplate); |
| 480 unittest.expect(o.useEmailSending, unittest.isTrue); | 482 unittest.expect(o.useEmailSending, unittest.isTrue); |
| 481 checkEmailTemplate(o.verifyEmailTemplate); | 483 checkEmailTemplate(o.verifyEmailTemplate); |
| 482 } | 484 } |
| 483 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 485 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
| 484 } | 486 } |
| 485 | 487 |
| 486 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { | 488 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 514 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; | 516 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; |
| 515 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { | 517 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { |
| 516 unittest.expect(o.email, unittest.equals('foo')); | 518 unittest.expect(o.email, unittest.equals('foo')); |
| 517 unittest.expect(o.newPassword, unittest.equals('foo')); | 519 unittest.expect(o.newPassword, unittest.equals('foo')); |
| 518 unittest.expect(o.oldPassword, unittest.equals('foo')); | 520 unittest.expect(o.oldPassword, unittest.equals('foo')); |
| 519 unittest.expect(o.oobCode, unittest.equals('foo')); | 521 unittest.expect(o.oobCode, unittest.equals('foo')); |
| 520 } | 522 } |
| 521 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; | 523 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; |
| 522 } | 524 } |
| 523 | 525 |
| 524 buildUnnamed2386() { | 526 buildUnnamed2174() { |
| 525 var o = new core.List<core.String>(); | 527 var o = new core.List<core.String>(); |
| 526 o.add("foo"); | 528 o.add("foo"); |
| 527 o.add("foo"); | 529 o.add("foo"); |
| 528 return o; | 530 return o; |
| 529 } | 531 } |
| 530 | 532 |
| 531 checkUnnamed2386(core.List<core.String> o) { | 533 checkUnnamed2174(core.List<core.String> o) { |
| 532 unittest.expect(o, unittest.hasLength(2)); | 534 unittest.expect(o, unittest.hasLength(2)); |
| 533 unittest.expect(o[0], unittest.equals('foo')); | 535 unittest.expect(o[0], unittest.equals('foo')); |
| 534 unittest.expect(o[1], unittest.equals('foo')); | 536 unittest.expect(o[1], unittest.equals('foo')); |
| 535 } | 537 } |
| 536 | 538 |
| 537 buildUnnamed2387() { | 539 buildUnnamed2175() { |
| 538 var o = new core.List<core.String>(); | 540 var o = new core.List<core.String>(); |
| 539 o.add("foo"); | 541 o.add("foo"); |
| 540 o.add("foo"); | 542 o.add("foo"); |
| 541 return o; | 543 return o; |
| 542 } | 544 } |
| 543 | 545 |
| 544 checkUnnamed2387(core.List<core.String> o) { | 546 checkUnnamed2175(core.List<core.String> o) { |
| 545 unittest.expect(o, unittest.hasLength(2)); | 547 unittest.expect(o, unittest.hasLength(2)); |
| 546 unittest.expect(o[0], unittest.equals('foo')); | 548 unittest.expect(o[0], unittest.equals('foo')); |
| 547 unittest.expect(o[1], unittest.equals('foo')); | 549 unittest.expect(o[1], unittest.equals('foo')); |
| 548 } | 550 } |
| 549 | 551 |
| 550 buildUnnamed2388() { | 552 buildUnnamed2176() { |
| 551 var o = new core.List<core.String>(); | 553 var o = new core.List<core.String>(); |
| 552 o.add("foo"); | 554 o.add("foo"); |
| 553 o.add("foo"); | 555 o.add("foo"); |
| 554 return o; | 556 return o; |
| 555 } | 557 } |
| 556 | 558 |
| 557 checkUnnamed2388(core.List<core.String> o) { | 559 checkUnnamed2176(core.List<core.String> o) { |
| 558 unittest.expect(o, unittest.hasLength(2)); | 560 unittest.expect(o, unittest.hasLength(2)); |
| 559 unittest.expect(o[0], unittest.equals('foo')); | 561 unittest.expect(o[0], unittest.equals('foo')); |
| 560 unittest.expect(o[1], unittest.equals('foo')); | 562 unittest.expect(o[1], unittest.equals('foo')); |
| 561 } | 563 } |
| 562 | 564 |
| 563 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; | 565 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; |
| 564 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { | 566 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { |
| 565 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); | 567 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); |
| 566 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 568 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
| 567 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 569 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
| 568 o.captchaChallenge = "foo"; | 570 o.captchaChallenge = "foo"; |
| 569 o.captchaResponse = "foo"; | 571 o.captchaResponse = "foo"; |
| 570 o.createdAt = "foo"; | 572 o.createdAt = "foo"; |
| 571 o.delegatedProjectNumber = "foo"; | 573 o.delegatedProjectNumber = "foo"; |
| 572 o.deleteAttribute = buildUnnamed2386(); | 574 o.deleteAttribute = buildUnnamed2174(); |
| 573 o.deleteProvider = buildUnnamed2387(); | 575 o.deleteProvider = buildUnnamed2175(); |
| 574 o.disableUser = true; | 576 o.disableUser = true; |
| 575 o.displayName = "foo"; | 577 o.displayName = "foo"; |
| 576 o.email = "foo"; | 578 o.email = "foo"; |
| 577 o.emailVerified = true; | 579 o.emailVerified = true; |
| 578 o.idToken = "foo"; | 580 o.idToken = "foo"; |
| 579 o.instanceId = "foo"; | 581 o.instanceId = "foo"; |
| 580 o.lastLoginAt = "foo"; | 582 o.lastLoginAt = "foo"; |
| 581 o.localId = "foo"; | 583 o.localId = "foo"; |
| 582 o.oobCode = "foo"; | 584 o.oobCode = "foo"; |
| 583 o.password = "foo"; | 585 o.password = "foo"; |
| 584 o.photoUrl = "foo"; | 586 o.photoUrl = "foo"; |
| 585 o.provider = buildUnnamed2388(); | 587 o.provider = buildUnnamed2176(); |
| 586 o.returnSecureToken = true; | 588 o.returnSecureToken = true; |
| 587 o.upgradeToFederatedLogin = true; | 589 o.upgradeToFederatedLogin = true; |
| 588 o.validSince = "foo"; | 590 o.validSince = "foo"; |
| 589 } | 591 } |
| 590 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 592 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
| 591 return o; | 593 return o; |
| 592 } | 594 } |
| 593 | 595 |
| 594 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { | 596 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { |
| 595 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 597 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
| 596 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 598 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
| 597 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 599 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
| 598 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 600 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
| 599 unittest.expect(o.createdAt, unittest.equals('foo')); | 601 unittest.expect(o.createdAt, unittest.equals('foo')); |
| 600 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 602 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
| 601 checkUnnamed2386(o.deleteAttribute); | 603 checkUnnamed2174(o.deleteAttribute); |
| 602 checkUnnamed2387(o.deleteProvider); | 604 checkUnnamed2175(o.deleteProvider); |
| 603 unittest.expect(o.disableUser, unittest.isTrue); | 605 unittest.expect(o.disableUser, unittest.isTrue); |
| 604 unittest.expect(o.displayName, unittest.equals('foo')); | 606 unittest.expect(o.displayName, unittest.equals('foo')); |
| 605 unittest.expect(o.email, unittest.equals('foo')); | 607 unittest.expect(o.email, unittest.equals('foo')); |
| 606 unittest.expect(o.emailVerified, unittest.isTrue); | 608 unittest.expect(o.emailVerified, unittest.isTrue); |
| 607 unittest.expect(o.idToken, unittest.equals('foo')); | 609 unittest.expect(o.idToken, unittest.equals('foo')); |
| 608 unittest.expect(o.instanceId, unittest.equals('foo')); | 610 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 609 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 611 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
| 610 unittest.expect(o.localId, unittest.equals('foo')); | 612 unittest.expect(o.localId, unittest.equals('foo')); |
| 611 unittest.expect(o.oobCode, unittest.equals('foo')); | 613 unittest.expect(o.oobCode, unittest.equals('foo')); |
| 612 unittest.expect(o.password, unittest.equals('foo')); | 614 unittest.expect(o.password, unittest.equals('foo')); |
| 613 unittest.expect(o.photoUrl, unittest.equals('foo')); | 615 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 614 checkUnnamed2388(o.provider); | 616 checkUnnamed2176(o.provider); |
| 615 unittest.expect(o.returnSecureToken, unittest.isTrue); | 617 unittest.expect(o.returnSecureToken, unittest.isTrue); |
| 616 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); | 618 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); |
| 617 unittest.expect(o.validSince, unittest.equals('foo')); | 619 unittest.expect(o.validSince, unittest.equals('foo')); |
| 618 } | 620 } |
| 619 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 621 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
| 620 } | 622 } |
| 621 | 623 |
| 622 buildUnnamed2389() { | 624 buildUnnamed2177() { |
| 623 var o = new core.List<core.String>(); | 625 var o = new core.List<core.String>(); |
| 624 o.add("foo"); | 626 o.add("foo"); |
| 625 o.add("foo"); | 627 o.add("foo"); |
| 626 return o; | 628 return o; |
| 627 } | 629 } |
| 628 | 630 |
| 629 checkUnnamed2389(core.List<core.String> o) { | 631 checkUnnamed2177(core.List<core.String> o) { |
| 630 unittest.expect(o, unittest.hasLength(2)); | 632 unittest.expect(o, unittest.hasLength(2)); |
| 631 unittest.expect(o[0], unittest.equals('foo')); | 633 unittest.expect(o[0], unittest.equals('foo')); |
| 632 unittest.expect(o[1], unittest.equals('foo')); | 634 unittest.expect(o[1], unittest.equals('foo')); |
| 633 } | 635 } |
| 634 | 636 |
| 635 buildUnnamed2390() { | 637 buildUnnamed2178() { |
| 636 var o = new core.List<api.IdpConfig>(); | 638 var o = new core.List<api.IdpConfig>(); |
| 637 o.add(buildIdpConfig()); | 639 o.add(buildIdpConfig()); |
| 638 o.add(buildIdpConfig()); | 640 o.add(buildIdpConfig()); |
| 639 return o; | 641 return o; |
| 640 } | 642 } |
| 641 | 643 |
| 642 checkUnnamed2390(core.List<api.IdpConfig> o) { | 644 checkUnnamed2178(core.List<api.IdpConfig> o) { |
| 643 unittest.expect(o, unittest.hasLength(2)); | 645 unittest.expect(o, unittest.hasLength(2)); |
| 644 checkIdpConfig(o[0]); | 646 checkIdpConfig(o[0]); |
| 645 checkIdpConfig(o[1]); | 647 checkIdpConfig(o[1]); |
| 646 } | 648 } |
| 647 | 649 |
| 648 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; | 650 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; |
| 649 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { | 651 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { |
| 650 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); | 652 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); |
| 651 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 653 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
| 652 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 654 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
| 653 o.allowPasswordUser = true; | 655 o.allowPasswordUser = true; |
| 654 o.apiKey = "foo"; | 656 o.apiKey = "foo"; |
| 655 o.authorizedDomains = buildUnnamed2389(); | 657 o.authorizedDomains = buildUnnamed2177(); |
| 656 o.changeEmailTemplate = buildEmailTemplate(); | 658 o.changeEmailTemplate = buildEmailTemplate(); |
| 657 o.delegatedProjectNumber = "foo"; | 659 o.delegatedProjectNumber = "foo"; |
| 658 o.enableAnonymousUser = true; | 660 o.enableAnonymousUser = true; |
| 659 o.idpConfig = buildUnnamed2390(); | 661 o.idpConfig = buildUnnamed2178(); |
| 660 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 662 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
| 661 o.resetPasswordTemplate = buildEmailTemplate(); | 663 o.resetPasswordTemplate = buildEmailTemplate(); |
| 662 o.useEmailSending = true; | 664 o.useEmailSending = true; |
| 663 o.verifyEmailTemplate = buildEmailTemplate(); | 665 o.verifyEmailTemplate = buildEmailTemplate(); |
| 664 } | 666 } |
| 665 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 667 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
| 666 return o; | 668 return o; |
| 667 } | 669 } |
| 668 | 670 |
| 669 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { | 671 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { |
| 670 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 672 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
| 671 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 673 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
| 672 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 674 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
| 673 unittest.expect(o.apiKey, unittest.equals('foo')); | 675 unittest.expect(o.apiKey, unittest.equals('foo')); |
| 674 checkUnnamed2389(o.authorizedDomains); | 676 checkUnnamed2177(o.authorizedDomains); |
| 675 checkEmailTemplate(o.changeEmailTemplate); | 677 checkEmailTemplate(o.changeEmailTemplate); |
| 676 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 678 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
| 677 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 679 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
| 678 checkUnnamed2390(o.idpConfig); | 680 checkUnnamed2178(o.idpConfig); |
| 679 checkEmailTemplate(o.legacyResetPasswordTemplate); | 681 checkEmailTemplate(o.legacyResetPasswordTemplate); |
| 680 checkEmailTemplate(o.resetPasswordTemplate); | 682 checkEmailTemplate(o.resetPasswordTemplate); |
| 681 unittest.expect(o.useEmailSending, unittest.isTrue); | 683 unittest.expect(o.useEmailSending, unittest.isTrue); |
| 682 checkEmailTemplate(o.verifyEmailTemplate); | 684 checkEmailTemplate(o.verifyEmailTemplate); |
| 683 } | 685 } |
| 684 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 686 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
| 685 } | 687 } |
| 686 | 688 |
| 687 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; | 689 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; |
| 688 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { | 690 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 unittest.expect(o.email, unittest.equals('foo')); | 775 unittest.expect(o.email, unittest.equals('foo')); |
| 774 unittest.expect(o.emailVerified, unittest.isTrue); | 776 unittest.expect(o.emailVerified, unittest.isTrue); |
| 775 unittest.expect(o.idToken, unittest.equals('foo')); | 777 unittest.expect(o.idToken, unittest.equals('foo')); |
| 776 unittest.expect(o.instanceId, unittest.equals('foo')); | 778 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 777 unittest.expect(o.password, unittest.equals('foo')); | 779 unittest.expect(o.password, unittest.equals('foo')); |
| 778 unittest.expect(o.photoUrl, unittest.equals('foo')); | 780 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 779 } | 781 } |
| 780 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; | 782 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; |
| 781 } | 783 } |
| 782 | 784 |
| 783 buildUnnamed2391() { | 785 buildUnnamed2179() { |
| 784 var o = new core.List<api.UserInfo>(); | 786 var o = new core.List<api.UserInfo>(); |
| 785 o.add(buildUserInfo()); | 787 o.add(buildUserInfo()); |
| 786 o.add(buildUserInfo()); | 788 o.add(buildUserInfo()); |
| 787 return o; | 789 return o; |
| 788 } | 790 } |
| 789 | 791 |
| 790 checkUnnamed2391(core.List<api.UserInfo> o) { | 792 checkUnnamed2179(core.List<api.UserInfo> o) { |
| 791 unittest.expect(o, unittest.hasLength(2)); | 793 unittest.expect(o, unittest.hasLength(2)); |
| 792 checkUserInfo(o[0]); | 794 checkUserInfo(o[0]); |
| 793 checkUserInfo(o[1]); | 795 checkUserInfo(o[1]); |
| 794 } | 796 } |
| 795 | 797 |
| 796 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; | 798 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; |
| 797 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { | 799 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { |
| 798 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); | 800 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); |
| 799 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 801 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
| 800 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 802 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
| 801 o.allowOverwrite = true; | 803 o.allowOverwrite = true; |
| 802 o.delegatedProjectNumber = "foo"; | 804 o.delegatedProjectNumber = "foo"; |
| 803 o.hashAlgorithm = "foo"; | 805 o.hashAlgorithm = "foo"; |
| 804 o.memoryCost = 42; | 806 o.memoryCost = 42; |
| 805 o.rounds = 42; | 807 o.rounds = 42; |
| 806 o.saltSeparator = "foo"; | 808 o.saltSeparator = "foo"; |
| 807 o.sanityCheck = true; | 809 o.sanityCheck = true; |
| 808 o.signerKey = "foo"; | 810 o.signerKey = "foo"; |
| 809 o.targetProjectId = "foo"; | 811 o.targetProjectId = "foo"; |
| 810 o.users = buildUnnamed2391(); | 812 o.users = buildUnnamed2179(); |
| 811 } | 813 } |
| 812 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 814 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
| 813 return o; | 815 return o; |
| 814 } | 816 } |
| 815 | 817 |
| 816 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { | 818 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { |
| 817 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 819 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
| 818 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 820 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
| 819 unittest.expect(o.allowOverwrite, unittest.isTrue); | 821 unittest.expect(o.allowOverwrite, unittest.isTrue); |
| 820 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 822 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
| 821 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); | 823 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); |
| 822 unittest.expect(o.memoryCost, unittest.equals(42)); | 824 unittest.expect(o.memoryCost, unittest.equals(42)); |
| 823 unittest.expect(o.rounds, unittest.equals(42)); | 825 unittest.expect(o.rounds, unittest.equals(42)); |
| 824 unittest.expect(o.saltSeparator, unittest.equals('foo')); | 826 unittest.expect(o.saltSeparator, unittest.equals('foo')); |
| 825 unittest.expect(o.sanityCheck, unittest.isTrue); | 827 unittest.expect(o.sanityCheck, unittest.isTrue); |
| 826 unittest.expect(o.signerKey, unittest.equals('foo')); | 828 unittest.expect(o.signerKey, unittest.equals('foo')); |
| 827 unittest.expect(o.targetProjectId, unittest.equals('foo')); | 829 unittest.expect(o.targetProjectId, unittest.equals('foo')); |
| 828 checkUnnamed2391(o.users); | 830 checkUnnamed2179(o.users); |
| 829 } | 831 } |
| 830 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 832 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
| 831 } | 833 } |
| 832 | 834 |
| 833 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; | 835 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; |
| 834 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { | 836 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { |
| 835 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 837 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
| 836 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; | 838 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; |
| 837 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { | 839 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { |
| 838 o.delegatedProjectNumber = "foo"; | 840 o.delegatedProjectNumber = "foo"; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 920 unittest.expect(o.email, unittest.equals('foo')); | 922 unittest.expect(o.email, unittest.equals('foo')); |
| 921 unittest.expect(o.idToken, unittest.equals('foo')); | 923 unittest.expect(o.idToken, unittest.equals('foo')); |
| 922 unittest.expect(o.instanceId, unittest.equals('foo')); | 924 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 923 unittest.expect(o.password, unittest.equals('foo')); | 925 unittest.expect(o.password, unittest.equals('foo')); |
| 924 unittest.expect(o.pendingIdToken, unittest.equals('foo')); | 926 unittest.expect(o.pendingIdToken, unittest.equals('foo')); |
| 925 unittest.expect(o.returnSecureToken, unittest.isTrue); | 927 unittest.expect(o.returnSecureToken, unittest.isTrue); |
| 926 } | 928 } |
| 927 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; | 929 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; |
| 928 } | 930 } |
| 929 | 931 |
| 930 buildUnnamed2392() { | 932 buildUnnamed2180() { |
| 931 var o = new core.List<core.String>(); | 933 var o = new core.List<core.String>(); |
| 932 o.add("foo"); | 934 o.add("foo"); |
| 933 o.add("foo"); | 935 o.add("foo"); |
| 934 return o; | 936 return o; |
| 935 } | 937 } |
| 936 | 938 |
| 937 checkUnnamed2392(core.List<core.String> o) { | 939 checkUnnamed2180(core.List<core.String> o) { |
| 938 unittest.expect(o, unittest.hasLength(2)); | 940 unittest.expect(o, unittest.hasLength(2)); |
| 939 unittest.expect(o[0], unittest.equals('foo')); | 941 unittest.expect(o[0], unittest.equals('foo')); |
| 940 unittest.expect(o[1], unittest.equals('foo')); | 942 unittest.expect(o[1], unittest.equals('foo')); |
| 941 } | 943 } |
| 942 | 944 |
| 943 core.int buildCounterIdpConfig = 0; | 945 core.int buildCounterIdpConfig = 0; |
| 944 buildIdpConfig() { | 946 buildIdpConfig() { |
| 945 var o = new api.IdpConfig(); | 947 var o = new api.IdpConfig(); |
| 946 buildCounterIdpConfig++; | 948 buildCounterIdpConfig++; |
| 947 if (buildCounterIdpConfig < 3) { | 949 if (buildCounterIdpConfig < 3) { |
| 948 o.clientId = "foo"; | 950 o.clientId = "foo"; |
| 949 o.enabled = true; | 951 o.enabled = true; |
| 950 o.experimentPercent = 42; | 952 o.experimentPercent = 42; |
| 951 o.provider = "foo"; | 953 o.provider = "foo"; |
| 952 o.secret = "foo"; | 954 o.secret = "foo"; |
| 953 o.whitelistedAudiences = buildUnnamed2392(); | 955 o.whitelistedAudiences = buildUnnamed2180(); |
| 954 } | 956 } |
| 955 buildCounterIdpConfig--; | 957 buildCounterIdpConfig--; |
| 956 return o; | 958 return o; |
| 957 } | 959 } |
| 958 | 960 |
| 959 checkIdpConfig(api.IdpConfig o) { | 961 checkIdpConfig(api.IdpConfig o) { |
| 960 buildCounterIdpConfig++; | 962 buildCounterIdpConfig++; |
| 961 if (buildCounterIdpConfig < 3) { | 963 if (buildCounterIdpConfig < 3) { |
| 962 unittest.expect(o.clientId, unittest.equals('foo')); | 964 unittest.expect(o.clientId, unittest.equals('foo')); |
| 963 unittest.expect(o.enabled, unittest.isTrue); | 965 unittest.expect(o.enabled, unittest.isTrue); |
| 964 unittest.expect(o.experimentPercent, unittest.equals(42)); | 966 unittest.expect(o.experimentPercent, unittest.equals(42)); |
| 965 unittest.expect(o.provider, unittest.equals('foo')); | 967 unittest.expect(o.provider, unittest.equals('foo')); |
| 966 unittest.expect(o.secret, unittest.equals('foo')); | 968 unittest.expect(o.secret, unittest.equals('foo')); |
| 967 checkUnnamed2392(o.whitelistedAudiences); | 969 checkUnnamed2180(o.whitelistedAudiences); |
| 968 } | 970 } |
| 969 buildCounterIdpConfig--; | 971 buildCounterIdpConfig--; |
| 970 } | 972 } |
| 971 | 973 |
| 972 core.int buildCounterRelyingparty = 0; | 974 core.int buildCounterRelyingparty = 0; |
| 973 buildRelyingparty() { | 975 buildRelyingparty() { |
| 974 var o = new api.Relyingparty(); | 976 var o = new api.Relyingparty(); |
| 975 buildCounterRelyingparty++; | 977 buildCounterRelyingparty++; |
| 976 if (buildCounterRelyingparty < 3) { | 978 if (buildCounterRelyingparty < 3) { |
| 977 o.captchaResp = "foo"; | 979 o.captchaResp = "foo"; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1045 buildCounterSetAccountInfoResponseProviderUserInfo++; | 1047 buildCounterSetAccountInfoResponseProviderUserInfo++; |
| 1046 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 1048 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
| 1047 unittest.expect(o.displayName, unittest.equals('foo')); | 1049 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1048 unittest.expect(o.federatedId, unittest.equals('foo')); | 1050 unittest.expect(o.federatedId, unittest.equals('foo')); |
| 1049 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1051 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1050 unittest.expect(o.providerId, unittest.equals('foo')); | 1052 unittest.expect(o.providerId, unittest.equals('foo')); |
| 1051 } | 1053 } |
| 1052 buildCounterSetAccountInfoResponseProviderUserInfo--; | 1054 buildCounterSetAccountInfoResponseProviderUserInfo--; |
| 1053 } | 1055 } |
| 1054 | 1056 |
| 1055 buildUnnamed2393() { | 1057 buildUnnamed2181() { |
| 1056 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); | 1058 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); |
| 1057 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1059 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
| 1058 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1060 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
| 1059 return o; | 1061 return o; |
| 1060 } | 1062 } |
| 1061 | 1063 |
| 1062 checkUnnamed2393(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { | 1064 checkUnnamed2181(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { |
| 1063 unittest.expect(o, unittest.hasLength(2)); | 1065 unittest.expect(o, unittest.hasLength(2)); |
| 1064 checkSetAccountInfoResponseProviderUserInfo(o[0]); | 1066 checkSetAccountInfoResponseProviderUserInfo(o[0]); |
| 1065 checkSetAccountInfoResponseProviderUserInfo(o[1]); | 1067 checkSetAccountInfoResponseProviderUserInfo(o[1]); |
| 1066 } | 1068 } |
| 1067 | 1069 |
| 1068 core.int buildCounterSetAccountInfoResponse = 0; | 1070 core.int buildCounterSetAccountInfoResponse = 0; |
| 1069 buildSetAccountInfoResponse() { | 1071 buildSetAccountInfoResponse() { |
| 1070 var o = new api.SetAccountInfoResponse(); | 1072 var o = new api.SetAccountInfoResponse(); |
| 1071 buildCounterSetAccountInfoResponse++; | 1073 buildCounterSetAccountInfoResponse++; |
| 1072 if (buildCounterSetAccountInfoResponse < 3) { | 1074 if (buildCounterSetAccountInfoResponse < 3) { |
| 1073 o.displayName = "foo"; | 1075 o.displayName = "foo"; |
| 1074 o.email = "foo"; | 1076 o.email = "foo"; |
| 1075 o.expiresIn = "foo"; | 1077 o.expiresIn = "foo"; |
| 1076 o.idToken = "foo"; | 1078 o.idToken = "foo"; |
| 1077 o.kind = "foo"; | 1079 o.kind = "foo"; |
| 1078 o.localId = "foo"; | 1080 o.localId = "foo"; |
| 1079 o.newEmail = "foo"; | 1081 o.newEmail = "foo"; |
| 1080 o.passwordHash = "foo"; | 1082 o.passwordHash = "foo"; |
| 1081 o.photoUrl = "foo"; | 1083 o.photoUrl = "foo"; |
| 1082 o.providerUserInfo = buildUnnamed2393(); | 1084 o.providerUserInfo = buildUnnamed2181(); |
| 1083 o.refreshToken = "foo"; | 1085 o.refreshToken = "foo"; |
| 1084 } | 1086 } |
| 1085 buildCounterSetAccountInfoResponse--; | 1087 buildCounterSetAccountInfoResponse--; |
| 1086 return o; | 1088 return o; |
| 1087 } | 1089 } |
| 1088 | 1090 |
| 1089 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { | 1091 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { |
| 1090 buildCounterSetAccountInfoResponse++; | 1092 buildCounterSetAccountInfoResponse++; |
| 1091 if (buildCounterSetAccountInfoResponse < 3) { | 1093 if (buildCounterSetAccountInfoResponse < 3) { |
| 1092 unittest.expect(o.displayName, unittest.equals('foo')); | 1094 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1093 unittest.expect(o.email, unittest.equals('foo')); | 1095 unittest.expect(o.email, unittest.equals('foo')); |
| 1094 unittest.expect(o.expiresIn, unittest.equals('foo')); | 1096 unittest.expect(o.expiresIn, unittest.equals('foo')); |
| 1095 unittest.expect(o.idToken, unittest.equals('foo')); | 1097 unittest.expect(o.idToken, unittest.equals('foo')); |
| 1096 unittest.expect(o.kind, unittest.equals('foo')); | 1098 unittest.expect(o.kind, unittest.equals('foo')); |
| 1097 unittest.expect(o.localId, unittest.equals('foo')); | 1099 unittest.expect(o.localId, unittest.equals('foo')); |
| 1098 unittest.expect(o.newEmail, unittest.equals('foo')); | 1100 unittest.expect(o.newEmail, unittest.equals('foo')); |
| 1099 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1101 unittest.expect(o.passwordHash, unittest.equals('foo')); |
| 1100 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1102 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1101 checkUnnamed2393(o.providerUserInfo); | 1103 checkUnnamed2181(o.providerUserInfo); |
| 1102 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1104 unittest.expect(o.refreshToken, unittest.equals('foo')); |
| 1103 } | 1105 } |
| 1104 buildCounterSetAccountInfoResponse--; | 1106 buildCounterSetAccountInfoResponse--; |
| 1105 } | 1107 } |
| 1106 | 1108 |
| 1107 core.int buildCounterSignupNewUserResponse = 0; | 1109 core.int buildCounterSignupNewUserResponse = 0; |
| 1108 buildSignupNewUserResponse() { | 1110 buildSignupNewUserResponse() { |
| 1109 var o = new api.SignupNewUserResponse(); | 1111 var o = new api.SignupNewUserResponse(); |
| 1110 buildCounterSignupNewUserResponse++; | 1112 buildCounterSignupNewUserResponse++; |
| 1111 if (buildCounterSignupNewUserResponse < 3) { | 1113 if (buildCounterSignupNewUserResponse < 3) { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1149 | 1151 |
| 1150 checkUploadAccountResponseError(api.UploadAccountResponseError o) { | 1152 checkUploadAccountResponseError(api.UploadAccountResponseError o) { |
| 1151 buildCounterUploadAccountResponseError++; | 1153 buildCounterUploadAccountResponseError++; |
| 1152 if (buildCounterUploadAccountResponseError < 3) { | 1154 if (buildCounterUploadAccountResponseError < 3) { |
| 1153 unittest.expect(o.index, unittest.equals(42)); | 1155 unittest.expect(o.index, unittest.equals(42)); |
| 1154 unittest.expect(o.message, unittest.equals('foo')); | 1156 unittest.expect(o.message, unittest.equals('foo')); |
| 1155 } | 1157 } |
| 1156 buildCounterUploadAccountResponseError--; | 1158 buildCounterUploadAccountResponseError--; |
| 1157 } | 1159 } |
| 1158 | 1160 |
| 1159 buildUnnamed2394() { | 1161 buildUnnamed2182() { |
| 1160 var o = new core.List<api.UploadAccountResponseError>(); | 1162 var o = new core.List<api.UploadAccountResponseError>(); |
| 1161 o.add(buildUploadAccountResponseError()); | 1163 o.add(buildUploadAccountResponseError()); |
| 1162 o.add(buildUploadAccountResponseError()); | 1164 o.add(buildUploadAccountResponseError()); |
| 1163 return o; | 1165 return o; |
| 1164 } | 1166 } |
| 1165 | 1167 |
| 1166 checkUnnamed2394(core.List<api.UploadAccountResponseError> o) { | 1168 checkUnnamed2182(core.List<api.UploadAccountResponseError> o) { |
| 1167 unittest.expect(o, unittest.hasLength(2)); | 1169 unittest.expect(o, unittest.hasLength(2)); |
| 1168 checkUploadAccountResponseError(o[0]); | 1170 checkUploadAccountResponseError(o[0]); |
| 1169 checkUploadAccountResponseError(o[1]); | 1171 checkUploadAccountResponseError(o[1]); |
| 1170 } | 1172 } |
| 1171 | 1173 |
| 1172 core.int buildCounterUploadAccountResponse = 0; | 1174 core.int buildCounterUploadAccountResponse = 0; |
| 1173 buildUploadAccountResponse() { | 1175 buildUploadAccountResponse() { |
| 1174 var o = new api.UploadAccountResponse(); | 1176 var o = new api.UploadAccountResponse(); |
| 1175 buildCounterUploadAccountResponse++; | 1177 buildCounterUploadAccountResponse++; |
| 1176 if (buildCounterUploadAccountResponse < 3) { | 1178 if (buildCounterUploadAccountResponse < 3) { |
| 1177 o.error = buildUnnamed2394(); | 1179 o.error = buildUnnamed2182(); |
| 1178 o.kind = "foo"; | 1180 o.kind = "foo"; |
| 1179 } | 1181 } |
| 1180 buildCounterUploadAccountResponse--; | 1182 buildCounterUploadAccountResponse--; |
| 1181 return o; | 1183 return o; |
| 1182 } | 1184 } |
| 1183 | 1185 |
| 1184 checkUploadAccountResponse(api.UploadAccountResponse o) { | 1186 checkUploadAccountResponse(api.UploadAccountResponse o) { |
| 1185 buildCounterUploadAccountResponse++; | 1187 buildCounterUploadAccountResponse++; |
| 1186 if (buildCounterUploadAccountResponse < 3) { | 1188 if (buildCounterUploadAccountResponse < 3) { |
| 1187 checkUnnamed2394(o.error); | 1189 checkUnnamed2182(o.error); |
| 1188 unittest.expect(o.kind, unittest.equals('foo')); | 1190 unittest.expect(o.kind, unittest.equals('foo')); |
| 1189 } | 1191 } |
| 1190 buildCounterUploadAccountResponse--; | 1192 buildCounterUploadAccountResponse--; |
| 1191 } | 1193 } |
| 1192 | 1194 |
| 1193 core.int buildCounterUserInfoProviderUserInfo = 0; | 1195 core.int buildCounterUserInfoProviderUserInfo = 0; |
| 1194 buildUserInfoProviderUserInfo() { | 1196 buildUserInfoProviderUserInfo() { |
| 1195 var o = new api.UserInfoProviderUserInfo(); | 1197 var o = new api.UserInfoProviderUserInfo(); |
| 1196 buildCounterUserInfoProviderUserInfo++; | 1198 buildCounterUserInfoProviderUserInfo++; |
| 1197 if (buildCounterUserInfoProviderUserInfo < 3) { | 1199 if (buildCounterUserInfoProviderUserInfo < 3) { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1214 unittest.expect(o.email, unittest.equals('foo')); | 1216 unittest.expect(o.email, unittest.equals('foo')); |
| 1215 unittest.expect(o.federatedId, unittest.equals('foo')); | 1217 unittest.expect(o.federatedId, unittest.equals('foo')); |
| 1216 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1218 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1217 unittest.expect(o.providerId, unittest.equals('foo')); | 1219 unittest.expect(o.providerId, unittest.equals('foo')); |
| 1218 unittest.expect(o.rawId, unittest.equals('foo')); | 1220 unittest.expect(o.rawId, unittest.equals('foo')); |
| 1219 unittest.expect(o.screenName, unittest.equals('foo')); | 1221 unittest.expect(o.screenName, unittest.equals('foo')); |
| 1220 } | 1222 } |
| 1221 buildCounterUserInfoProviderUserInfo--; | 1223 buildCounterUserInfoProviderUserInfo--; |
| 1222 } | 1224 } |
| 1223 | 1225 |
| 1224 buildUnnamed2395() { | 1226 buildUnnamed2183() { |
| 1225 var o = new core.List<api.UserInfoProviderUserInfo>(); | 1227 var o = new core.List<api.UserInfoProviderUserInfo>(); |
| 1226 o.add(buildUserInfoProviderUserInfo()); | 1228 o.add(buildUserInfoProviderUserInfo()); |
| 1227 o.add(buildUserInfoProviderUserInfo()); | 1229 o.add(buildUserInfoProviderUserInfo()); |
| 1228 return o; | 1230 return o; |
| 1229 } | 1231 } |
| 1230 | 1232 |
| 1231 checkUnnamed2395(core.List<api.UserInfoProviderUserInfo> o) { | 1233 checkUnnamed2183(core.List<api.UserInfoProviderUserInfo> o) { |
| 1232 unittest.expect(o, unittest.hasLength(2)); | 1234 unittest.expect(o, unittest.hasLength(2)); |
| 1233 checkUserInfoProviderUserInfo(o[0]); | 1235 checkUserInfoProviderUserInfo(o[0]); |
| 1234 checkUserInfoProviderUserInfo(o[1]); | 1236 checkUserInfoProviderUserInfo(o[1]); |
| 1235 } | 1237 } |
| 1236 | 1238 |
| 1237 core.int buildCounterUserInfo = 0; | 1239 core.int buildCounterUserInfo = 0; |
| 1238 buildUserInfo() { | 1240 buildUserInfo() { |
| 1239 var o = new api.UserInfo(); | 1241 var o = new api.UserInfo(); |
| 1240 buildCounterUserInfo++; | 1242 buildCounterUserInfo++; |
| 1241 if (buildCounterUserInfo < 3) { | 1243 if (buildCounterUserInfo < 3) { |
| 1242 o.createdAt = "foo"; | 1244 o.createdAt = "foo"; |
| 1243 o.customAuth = true; | 1245 o.customAuth = true; |
| 1244 o.disabled = true; | 1246 o.disabled = true; |
| 1245 o.displayName = "foo"; | 1247 o.displayName = "foo"; |
| 1246 o.email = "foo"; | 1248 o.email = "foo"; |
| 1247 o.emailVerified = true; | 1249 o.emailVerified = true; |
| 1248 o.lastLoginAt = "foo"; | 1250 o.lastLoginAt = "foo"; |
| 1249 o.localId = "foo"; | 1251 o.localId = "foo"; |
| 1250 o.passwordHash = "foo"; | 1252 o.passwordHash = "foo"; |
| 1251 o.passwordUpdatedAt = 42.0; | 1253 o.passwordUpdatedAt = 42.0; |
| 1252 o.photoUrl = "foo"; | 1254 o.photoUrl = "foo"; |
| 1253 o.providerUserInfo = buildUnnamed2395(); | 1255 o.providerUserInfo = buildUnnamed2183(); |
| 1254 o.rawPassword = "foo"; | 1256 o.rawPassword = "foo"; |
| 1255 o.salt = "foo"; | 1257 o.salt = "foo"; |
| 1256 o.screenName = "foo"; | 1258 o.screenName = "foo"; |
| 1257 o.validSince = "foo"; | 1259 o.validSince = "foo"; |
| 1258 o.version = 42; | 1260 o.version = 42; |
| 1259 } | 1261 } |
| 1260 buildCounterUserInfo--; | 1262 buildCounterUserInfo--; |
| 1261 return o; | 1263 return o; |
| 1262 } | 1264 } |
| 1263 | 1265 |
| 1264 checkUserInfo(api.UserInfo o) { | 1266 checkUserInfo(api.UserInfo o) { |
| 1265 buildCounterUserInfo++; | 1267 buildCounterUserInfo++; |
| 1266 if (buildCounterUserInfo < 3) { | 1268 if (buildCounterUserInfo < 3) { |
| 1267 unittest.expect(o.createdAt, unittest.equals('foo')); | 1269 unittest.expect(o.createdAt, unittest.equals('foo')); |
| 1268 unittest.expect(o.customAuth, unittest.isTrue); | 1270 unittest.expect(o.customAuth, unittest.isTrue); |
| 1269 unittest.expect(o.disabled, unittest.isTrue); | 1271 unittest.expect(o.disabled, unittest.isTrue); |
| 1270 unittest.expect(o.displayName, unittest.equals('foo')); | 1272 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1271 unittest.expect(o.email, unittest.equals('foo')); | 1273 unittest.expect(o.email, unittest.equals('foo')); |
| 1272 unittest.expect(o.emailVerified, unittest.isTrue); | 1274 unittest.expect(o.emailVerified, unittest.isTrue); |
| 1273 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 1275 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
| 1274 unittest.expect(o.localId, unittest.equals('foo')); | 1276 unittest.expect(o.localId, unittest.equals('foo')); |
| 1275 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1277 unittest.expect(o.passwordHash, unittest.equals('foo')); |
| 1276 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); | 1278 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); |
| 1277 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1279 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1278 checkUnnamed2395(o.providerUserInfo); | 1280 checkUnnamed2183(o.providerUserInfo); |
| 1279 unittest.expect(o.rawPassword, unittest.equals('foo')); | 1281 unittest.expect(o.rawPassword, unittest.equals('foo')); |
| 1280 unittest.expect(o.salt, unittest.equals('foo')); | 1282 unittest.expect(o.salt, unittest.equals('foo')); |
| 1281 unittest.expect(o.screenName, unittest.equals('foo')); | 1283 unittest.expect(o.screenName, unittest.equals('foo')); |
| 1282 unittest.expect(o.validSince, unittest.equals('foo')); | 1284 unittest.expect(o.validSince, unittest.equals('foo')); |
| 1283 unittest.expect(o.version, unittest.equals(42)); | 1285 unittest.expect(o.version, unittest.equals(42)); |
| 1284 } | 1286 } |
| 1285 buildCounterUserInfo--; | 1287 buildCounterUserInfo--; |
| 1286 } | 1288 } |
| 1287 | 1289 |
| 1288 buildUnnamed2396() { | 1290 buildUnnamed2184() { |
| 1289 var o = new core.List<core.String>(); | 1291 var o = new core.List<core.String>(); |
| 1290 o.add("foo"); | 1292 o.add("foo"); |
| 1291 o.add("foo"); | 1293 o.add("foo"); |
| 1292 return o; | 1294 return o; |
| 1293 } | 1295 } |
| 1294 | 1296 |
| 1295 checkUnnamed2396(core.List<core.String> o) { | 1297 checkUnnamed2184(core.List<core.String> o) { |
| 1296 unittest.expect(o, unittest.hasLength(2)); | 1298 unittest.expect(o, unittest.hasLength(2)); |
| 1297 unittest.expect(o[0], unittest.equals('foo')); | 1299 unittest.expect(o[0], unittest.equals('foo')); |
| 1298 unittest.expect(o[1], unittest.equals('foo')); | 1300 unittest.expect(o[1], unittest.equals('foo')); |
| 1299 } | 1301 } |
| 1300 | 1302 |
| 1301 core.int buildCounterVerifyAssertionResponse = 0; | 1303 core.int buildCounterVerifyAssertionResponse = 0; |
| 1302 buildVerifyAssertionResponse() { | 1304 buildVerifyAssertionResponse() { |
| 1303 var o = new api.VerifyAssertionResponse(); | 1305 var o = new api.VerifyAssertionResponse(); |
| 1304 buildCounterVerifyAssertionResponse++; | 1306 buildCounterVerifyAssertionResponse++; |
| 1305 if (buildCounterVerifyAssertionResponse < 3) { | 1307 if (buildCounterVerifyAssertionResponse < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1333 o.oauthRequestToken = "foo"; | 1335 o.oauthRequestToken = "foo"; |
| 1334 o.oauthScope = "foo"; | 1336 o.oauthScope = "foo"; |
| 1335 o.oauthTokenSecret = "foo"; | 1337 o.oauthTokenSecret = "foo"; |
| 1336 o.originalEmail = "foo"; | 1338 o.originalEmail = "foo"; |
| 1337 o.photoUrl = "foo"; | 1339 o.photoUrl = "foo"; |
| 1338 o.providerId = "foo"; | 1340 o.providerId = "foo"; |
| 1339 o.rawUserInfo = "foo"; | 1341 o.rawUserInfo = "foo"; |
| 1340 o.refreshToken = "foo"; | 1342 o.refreshToken = "foo"; |
| 1341 o.screenName = "foo"; | 1343 o.screenName = "foo"; |
| 1342 o.timeZone = "foo"; | 1344 o.timeZone = "foo"; |
| 1343 o.verifiedProvider = buildUnnamed2396(); | 1345 o.verifiedProvider = buildUnnamed2184(); |
| 1344 } | 1346 } |
| 1345 buildCounterVerifyAssertionResponse--; | 1347 buildCounterVerifyAssertionResponse--; |
| 1346 return o; | 1348 return o; |
| 1347 } | 1349 } |
| 1348 | 1350 |
| 1349 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { | 1351 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { |
| 1350 buildCounterVerifyAssertionResponse++; | 1352 buildCounterVerifyAssertionResponse++; |
| 1351 if (buildCounterVerifyAssertionResponse < 3) { | 1353 if (buildCounterVerifyAssertionResponse < 3) { |
| 1352 unittest.expect(o.action, unittest.equals('foo')); | 1354 unittest.expect(o.action, unittest.equals('foo')); |
| 1353 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); | 1355 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1379 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); | 1381 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); |
| 1380 unittest.expect(o.oauthScope, unittest.equals('foo')); | 1382 unittest.expect(o.oauthScope, unittest.equals('foo')); |
| 1381 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); | 1383 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); |
| 1382 unittest.expect(o.originalEmail, unittest.equals('foo')); | 1384 unittest.expect(o.originalEmail, unittest.equals('foo')); |
| 1383 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1385 unittest.expect(o.photoUrl, unittest.equals('foo')); |
| 1384 unittest.expect(o.providerId, unittest.equals('foo')); | 1386 unittest.expect(o.providerId, unittest.equals('foo')); |
| 1385 unittest.expect(o.rawUserInfo, unittest.equals('foo')); | 1387 unittest.expect(o.rawUserInfo, unittest.equals('foo')); |
| 1386 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1388 unittest.expect(o.refreshToken, unittest.equals('foo')); |
| 1387 unittest.expect(o.screenName, unittest.equals('foo')); | 1389 unittest.expect(o.screenName, unittest.equals('foo')); |
| 1388 unittest.expect(o.timeZone, unittest.equals('foo')); | 1390 unittest.expect(o.timeZone, unittest.equals('foo')); |
| 1389 checkUnnamed2396(o.verifiedProvider); | 1391 checkUnnamed2184(o.verifiedProvider); |
| 1390 } | 1392 } |
| 1391 buildCounterVerifyAssertionResponse--; | 1393 buildCounterVerifyAssertionResponse--; |
| 1392 } | 1394 } |
| 1393 | 1395 |
| 1394 core.int buildCounterVerifyCustomTokenResponse = 0; | 1396 core.int buildCounterVerifyCustomTokenResponse = 0; |
| 1395 buildVerifyCustomTokenResponse() { | 1397 buildVerifyCustomTokenResponse() { |
| 1396 var o = new api.VerifyCustomTokenResponse(); | 1398 var o = new api.VerifyCustomTokenResponse(); |
| 1397 buildCounterVerifyCustomTokenResponse++; | 1399 buildCounterVerifyCustomTokenResponse++; |
| 1398 if (buildCounterVerifyCustomTokenResponse < 3) { | 1400 if (buildCounterVerifyCustomTokenResponse < 3) { |
| 1399 o.expiresIn = "foo"; | 1401 o.expiresIn = "foo"; |
| (...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2616 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { | 2618 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { |
| 2617 checkVerifyPasswordResponse(response); | 2619 checkVerifyPasswordResponse(response); |
| 2618 }))); | 2620 }))); |
| 2619 }); | 2621 }); |
| 2620 | 2622 |
| 2621 }); | 2623 }); |
| 2622 | 2624 |
| 2623 | 2625 |
| 2624 } | 2626 } |
| 2625 | 2627 |
| OLD | NEW |