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 buildUnnamed2584() { | 54 buildUnnamed2378() { |
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 checkUnnamed2584(core.List<core.String> o) { | 61 checkUnnamed2378(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 = buildUnnamed2584(); | 72 o.allProviders = buildUnnamed2378(); |
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 checkUnnamed2584(o.allProviders); | 88 checkUnnamed2378(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 buildUnnamed2585() { | 119 buildUnnamed2379() { |
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 checkUnnamed2585(core.List<api.UserInfo> o) { | 126 checkUnnamed2379(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 = buildUnnamed2585(); | 139 o.users = buildUnnamed2379(); |
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 checkUnnamed2585(o.users); | 150 checkUnnamed2379(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 buildUnnamed2586() { | 184 buildUnnamed2380() { |
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 checkUnnamed2586(core.List<api.UserInfo> o) { | 191 checkUnnamed2380(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 = buildUnnamed2586(); | 203 o.users = buildUnnamed2380(); |
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 checkUnnamed2586(o.users); | 213 checkUnnamed2380(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() { |
| 265 var o = new core.Map<core.String, core.String>(); |
| 266 o["x"] = "foo"; |
| 267 o["y"] = "foo"; |
| 268 return o; |
| 269 } |
| 270 |
| 271 checkUnnamed2381(core.Map<core.String, core.String> o) { |
| 272 unittest.expect(o, unittest.hasLength(2)); |
| 273 unittest.expect(o["x"], unittest.equals('foo')); |
| 274 unittest.expect(o["y"], unittest.equals('foo')); |
| 275 } |
| 276 |
264 core.int buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest = 0; | 277 core.int buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest = 0; |
265 buildIdentitytoolkitRelyingpartyCreateAuthUriRequest() { | 278 buildIdentitytoolkitRelyingpartyCreateAuthUriRequest() { |
266 var o = new api.IdentitytoolkitRelyingpartyCreateAuthUriRequest(); | 279 var o = new api.IdentitytoolkitRelyingpartyCreateAuthUriRequest(); |
267 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest++; | 280 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest++; |
268 if (buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest < 3) { | 281 if (buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest < 3) { |
269 o.appId = "foo"; | 282 o.appId = "foo"; |
270 o.authFlowType = "foo"; | 283 o.authFlowType = "foo"; |
271 o.clientId = "foo"; | 284 o.clientId = "foo"; |
272 o.context = "foo"; | 285 o.context = "foo"; |
273 o.continueUri = "foo"; | 286 o.continueUri = "foo"; |
| 287 o.customParameter = buildUnnamed2381(); |
274 o.hostedDomain = "foo"; | 288 o.hostedDomain = "foo"; |
275 o.identifier = "foo"; | 289 o.identifier = "foo"; |
276 o.oauthConsumerKey = "foo"; | 290 o.oauthConsumerKey = "foo"; |
277 o.oauthScope = "foo"; | 291 o.oauthScope = "foo"; |
278 o.openidRealm = "foo"; | 292 o.openidRealm = "foo"; |
279 o.otaApp = "foo"; | 293 o.otaApp = "foo"; |
280 o.providerId = "foo"; | 294 o.providerId = "foo"; |
281 o.sessionId = "foo"; | 295 o.sessionId = "foo"; |
282 } | 296 } |
283 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest--; | 297 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest--; |
284 return o; | 298 return o; |
285 } | 299 } |
286 | 300 |
287 checkIdentitytoolkitRelyingpartyCreateAuthUriRequest(api.IdentitytoolkitRelyingp
artyCreateAuthUriRequest o) { | 301 checkIdentitytoolkitRelyingpartyCreateAuthUriRequest(api.IdentitytoolkitRelyingp
artyCreateAuthUriRequest o) { |
288 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest++; | 302 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest++; |
289 if (buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest < 3) { | 303 if (buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest < 3) { |
290 unittest.expect(o.appId, unittest.equals('foo')); | 304 unittest.expect(o.appId, unittest.equals('foo')); |
291 unittest.expect(o.authFlowType, unittest.equals('foo')); | 305 unittest.expect(o.authFlowType, unittest.equals('foo')); |
292 unittest.expect(o.clientId, unittest.equals('foo')); | 306 unittest.expect(o.clientId, unittest.equals('foo')); |
293 unittest.expect(o.context, unittest.equals('foo')); | 307 unittest.expect(o.context, unittest.equals('foo')); |
294 unittest.expect(o.continueUri, unittest.equals('foo')); | 308 unittest.expect(o.continueUri, unittest.equals('foo')); |
| 309 checkUnnamed2381(o.customParameter); |
295 unittest.expect(o.hostedDomain, unittest.equals('foo')); | 310 unittest.expect(o.hostedDomain, unittest.equals('foo')); |
296 unittest.expect(o.identifier, unittest.equals('foo')); | 311 unittest.expect(o.identifier, unittest.equals('foo')); |
297 unittest.expect(o.oauthConsumerKey, unittest.equals('foo')); | 312 unittest.expect(o.oauthConsumerKey, unittest.equals('foo')); |
298 unittest.expect(o.oauthScope, unittest.equals('foo')); | 313 unittest.expect(o.oauthScope, unittest.equals('foo')); |
299 unittest.expect(o.openidRealm, unittest.equals('foo')); | 314 unittest.expect(o.openidRealm, unittest.equals('foo')); |
300 unittest.expect(o.otaApp, unittest.equals('foo')); | 315 unittest.expect(o.otaApp, unittest.equals('foo')); |
301 unittest.expect(o.providerId, unittest.equals('foo')); | 316 unittest.expect(o.providerId, unittest.equals('foo')); |
302 unittest.expect(o.sessionId, unittest.equals('foo')); | 317 unittest.expect(o.sessionId, unittest.equals('foo')); |
303 } | 318 } |
304 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest--; | 319 buildCounterIdentitytoolkitRelyingpartyCreateAuthUriRequest--; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { | 358 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin
gpartyDownloadAccountRequest o) { |
344 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; | 359 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; |
345 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { | 360 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { |
346 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 361 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
347 unittest.expect(o.maxResults, unittest.equals(42)); | 362 unittest.expect(o.maxResults, unittest.equals(42)); |
348 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 363 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
349 } | 364 } |
350 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; | 365 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; |
351 } | 366 } |
352 | 367 |
353 buildUnnamed2587() { | 368 buildUnnamed2382() { |
354 var o = new core.List<core.String>(); | 369 var o = new core.List<core.String>(); |
355 o.add("foo"); | 370 o.add("foo"); |
356 o.add("foo"); | 371 o.add("foo"); |
357 return o; | 372 return o; |
358 } | 373 } |
359 | 374 |
360 checkUnnamed2587(core.List<core.String> o) { | 375 checkUnnamed2382(core.List<core.String> o) { |
361 unittest.expect(o, unittest.hasLength(2)); | 376 unittest.expect(o, unittest.hasLength(2)); |
362 unittest.expect(o[0], unittest.equals('foo')); | 377 unittest.expect(o[0], unittest.equals('foo')); |
363 unittest.expect(o[1], unittest.equals('foo')); | 378 unittest.expect(o[1], unittest.equals('foo')); |
364 } | 379 } |
365 | 380 |
366 buildUnnamed2588() { | 381 buildUnnamed2383() { |
367 var o = new core.List<core.String>(); | 382 var o = new core.List<core.String>(); |
368 o.add("foo"); | 383 o.add("foo"); |
369 o.add("foo"); | 384 o.add("foo"); |
370 return o; | 385 return o; |
371 } | 386 } |
372 | 387 |
373 checkUnnamed2588(core.List<core.String> o) { | 388 checkUnnamed2383(core.List<core.String> o) { |
374 unittest.expect(o, unittest.hasLength(2)); | 389 unittest.expect(o, unittest.hasLength(2)); |
375 unittest.expect(o[0], unittest.equals('foo')); | 390 unittest.expect(o[0], unittest.equals('foo')); |
376 unittest.expect(o[1], unittest.equals('foo')); | 391 unittest.expect(o[1], unittest.equals('foo')); |
377 } | 392 } |
378 | 393 |
379 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; | 394 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; |
380 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { | 395 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { |
381 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 396 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
382 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 397 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
383 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 398 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
384 o.delegatedProjectNumber = "foo"; | 399 o.delegatedProjectNumber = "foo"; |
385 o.email = buildUnnamed2587(); | 400 o.email = buildUnnamed2382(); |
386 o.idToken = "foo"; | 401 o.idToken = "foo"; |
387 o.localId = buildUnnamed2588(); | 402 o.localId = buildUnnamed2383(); |
388 } | 403 } |
389 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 404 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
390 return o; | 405 return o; |
391 } | 406 } |
392 | 407 |
393 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { | 408 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { |
394 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 409 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
395 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 410 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
396 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 411 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
397 checkUnnamed2587(o.email); | 412 checkUnnamed2382(o.email); |
398 unittest.expect(o.idToken, unittest.equals('foo')); | 413 unittest.expect(o.idToken, unittest.equals('foo')); |
399 checkUnnamed2588(o.localId); | 414 checkUnnamed2383(o.localId); |
400 } | 415 } |
401 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 416 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
402 } | 417 } |
403 | 418 |
404 buildUnnamed2589() { | 419 buildUnnamed2384() { |
405 var o = new core.List<core.String>(); | 420 var o = new core.List<core.String>(); |
406 o.add("foo"); | 421 o.add("foo"); |
407 o.add("foo"); | 422 o.add("foo"); |
408 return o; | 423 return o; |
409 } | 424 } |
410 | 425 |
411 checkUnnamed2589(core.List<core.String> o) { | 426 checkUnnamed2384(core.List<core.String> o) { |
412 unittest.expect(o, unittest.hasLength(2)); | 427 unittest.expect(o, unittest.hasLength(2)); |
413 unittest.expect(o[0], unittest.equals('foo')); | 428 unittest.expect(o[0], unittest.equals('foo')); |
414 unittest.expect(o[1], unittest.equals('foo')); | 429 unittest.expect(o[1], unittest.equals('foo')); |
415 } | 430 } |
416 | 431 |
417 buildUnnamed2590() { | 432 buildUnnamed2385() { |
418 var o = new core.List<api.IdpConfig>(); | 433 var o = new core.List<api.IdpConfig>(); |
419 o.add(buildIdpConfig()); | 434 o.add(buildIdpConfig()); |
420 o.add(buildIdpConfig()); | 435 o.add(buildIdpConfig()); |
421 return o; | 436 return o; |
422 } | 437 } |
423 | 438 |
424 checkUnnamed2590(core.List<api.IdpConfig> o) { | 439 checkUnnamed2385(core.List<api.IdpConfig> o) { |
425 unittest.expect(o, unittest.hasLength(2)); | 440 unittest.expect(o, unittest.hasLength(2)); |
426 checkIdpConfig(o[0]); | 441 checkIdpConfig(o[0]); |
427 checkIdpConfig(o[1]); | 442 checkIdpConfig(o[1]); |
428 } | 443 } |
429 | 444 |
430 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; | 445 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; |
431 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { | 446 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { |
432 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); | 447 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); |
433 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 448 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
434 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 449 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
435 o.allowPasswordUser = true; | 450 o.allowPasswordUser = true; |
436 o.apiKey = "foo"; | 451 o.apiKey = "foo"; |
437 o.authorizedDomains = buildUnnamed2589(); | 452 o.authorizedDomains = buildUnnamed2384(); |
438 o.changeEmailTemplate = buildEmailTemplate(); | 453 o.changeEmailTemplate = buildEmailTemplate(); |
| 454 o.dynamicLinksDomain = "foo"; |
439 o.enableAnonymousUser = true; | 455 o.enableAnonymousUser = true; |
440 o.idpConfig = buildUnnamed2590(); | 456 o.idpConfig = buildUnnamed2385(); |
441 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 457 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
442 o.projectId = "foo"; | 458 o.projectId = "foo"; |
443 o.resetPasswordTemplate = buildEmailTemplate(); | 459 o.resetPasswordTemplate = buildEmailTemplate(); |
444 o.useEmailSending = true; | 460 o.useEmailSending = true; |
445 o.verifyEmailTemplate = buildEmailTemplate(); | 461 o.verifyEmailTemplate = buildEmailTemplate(); |
446 } | 462 } |
447 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 463 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
448 return o; | 464 return o; |
449 } | 465 } |
450 | 466 |
451 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { | 467 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { |
452 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 468 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
453 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 469 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
454 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 470 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
455 unittest.expect(o.apiKey, unittest.equals('foo')); | 471 unittest.expect(o.apiKey, unittest.equals('foo')); |
456 checkUnnamed2589(o.authorizedDomains); | 472 checkUnnamed2384(o.authorizedDomains); |
457 checkEmailTemplate(o.changeEmailTemplate); | 473 checkEmailTemplate(o.changeEmailTemplate); |
| 474 unittest.expect(o.dynamicLinksDomain, unittest.equals('foo')); |
458 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 475 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
459 checkUnnamed2590(o.idpConfig); | 476 checkUnnamed2385(o.idpConfig); |
460 checkEmailTemplate(o.legacyResetPasswordTemplate); | 477 checkEmailTemplate(o.legacyResetPasswordTemplate); |
461 unittest.expect(o.projectId, unittest.equals('foo')); | 478 unittest.expect(o.projectId, unittest.equals('foo')); |
462 checkEmailTemplate(o.resetPasswordTemplate); | 479 checkEmailTemplate(o.resetPasswordTemplate); |
463 unittest.expect(o.useEmailSending, unittest.isTrue); | 480 unittest.expect(o.useEmailSending, unittest.isTrue); |
464 checkEmailTemplate(o.verifyEmailTemplate); | 481 checkEmailTemplate(o.verifyEmailTemplate); |
465 } | 482 } |
466 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 483 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
467 } | 484 } |
468 | 485 |
469 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { | 486 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { |
(...skipping 27 matching lines...) Expand all Loading... |
497 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; | 514 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; |
498 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { | 515 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { |
499 unittest.expect(o.email, unittest.equals('foo')); | 516 unittest.expect(o.email, unittest.equals('foo')); |
500 unittest.expect(o.newPassword, unittest.equals('foo')); | 517 unittest.expect(o.newPassword, unittest.equals('foo')); |
501 unittest.expect(o.oldPassword, unittest.equals('foo')); | 518 unittest.expect(o.oldPassword, unittest.equals('foo')); |
502 unittest.expect(o.oobCode, unittest.equals('foo')); | 519 unittest.expect(o.oobCode, unittest.equals('foo')); |
503 } | 520 } |
504 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; | 521 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; |
505 } | 522 } |
506 | 523 |
507 buildUnnamed2591() { | 524 buildUnnamed2386() { |
508 var o = new core.List<core.String>(); | 525 var o = new core.List<core.String>(); |
509 o.add("foo"); | 526 o.add("foo"); |
510 o.add("foo"); | 527 o.add("foo"); |
511 return o; | 528 return o; |
512 } | 529 } |
513 | 530 |
514 checkUnnamed2591(core.List<core.String> o) { | 531 checkUnnamed2386(core.List<core.String> o) { |
515 unittest.expect(o, unittest.hasLength(2)); | 532 unittest.expect(o, unittest.hasLength(2)); |
516 unittest.expect(o[0], unittest.equals('foo')); | 533 unittest.expect(o[0], unittest.equals('foo')); |
517 unittest.expect(o[1], unittest.equals('foo')); | 534 unittest.expect(o[1], unittest.equals('foo')); |
518 } | 535 } |
519 | 536 |
520 buildUnnamed2592() { | 537 buildUnnamed2387() { |
521 var o = new core.List<core.String>(); | 538 var o = new core.List<core.String>(); |
522 o.add("foo"); | 539 o.add("foo"); |
523 o.add("foo"); | 540 o.add("foo"); |
524 return o; | 541 return o; |
525 } | 542 } |
526 | 543 |
527 checkUnnamed2592(core.List<core.String> o) { | 544 checkUnnamed2387(core.List<core.String> o) { |
528 unittest.expect(o, unittest.hasLength(2)); | 545 unittest.expect(o, unittest.hasLength(2)); |
529 unittest.expect(o[0], unittest.equals('foo')); | 546 unittest.expect(o[0], unittest.equals('foo')); |
530 unittest.expect(o[1], unittest.equals('foo')); | 547 unittest.expect(o[1], unittest.equals('foo')); |
531 } | 548 } |
532 | 549 |
533 buildUnnamed2593() { | 550 buildUnnamed2388() { |
534 var o = new core.List<core.String>(); | 551 var o = new core.List<core.String>(); |
535 o.add("foo"); | 552 o.add("foo"); |
536 o.add("foo"); | 553 o.add("foo"); |
537 return o; | 554 return o; |
538 } | 555 } |
539 | 556 |
540 checkUnnamed2593(core.List<core.String> o) { | 557 checkUnnamed2388(core.List<core.String> o) { |
541 unittest.expect(o, unittest.hasLength(2)); | 558 unittest.expect(o, unittest.hasLength(2)); |
542 unittest.expect(o[0], unittest.equals('foo')); | 559 unittest.expect(o[0], unittest.equals('foo')); |
543 unittest.expect(o[1], unittest.equals('foo')); | 560 unittest.expect(o[1], unittest.equals('foo')); |
544 } | 561 } |
545 | 562 |
546 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; | 563 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; |
547 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { | 564 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { |
548 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); | 565 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); |
549 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 566 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
550 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 567 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
551 o.captchaChallenge = "foo"; | 568 o.captchaChallenge = "foo"; |
552 o.captchaResponse = "foo"; | 569 o.captchaResponse = "foo"; |
553 o.createdAt = "foo"; | 570 o.createdAt = "foo"; |
554 o.delegatedProjectNumber = "foo"; | 571 o.delegatedProjectNumber = "foo"; |
555 o.deleteAttribute = buildUnnamed2591(); | 572 o.deleteAttribute = buildUnnamed2386(); |
556 o.deleteProvider = buildUnnamed2592(); | 573 o.deleteProvider = buildUnnamed2387(); |
557 o.disableUser = true; | 574 o.disableUser = true; |
558 o.displayName = "foo"; | 575 o.displayName = "foo"; |
559 o.email = "foo"; | 576 o.email = "foo"; |
560 o.emailVerified = true; | 577 o.emailVerified = true; |
561 o.idToken = "foo"; | 578 o.idToken = "foo"; |
562 o.instanceId = "foo"; | 579 o.instanceId = "foo"; |
563 o.lastLoginAt = "foo"; | 580 o.lastLoginAt = "foo"; |
564 o.localId = "foo"; | 581 o.localId = "foo"; |
565 o.oobCode = "foo"; | 582 o.oobCode = "foo"; |
566 o.password = "foo"; | 583 o.password = "foo"; |
567 o.photoUrl = "foo"; | 584 o.photoUrl = "foo"; |
568 o.provider = buildUnnamed2593(); | 585 o.provider = buildUnnamed2388(); |
569 o.returnSecureToken = true; | 586 o.returnSecureToken = true; |
570 o.upgradeToFederatedLogin = true; | 587 o.upgradeToFederatedLogin = true; |
571 o.validSince = "foo"; | 588 o.validSince = "foo"; |
572 } | 589 } |
573 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 590 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
574 return o; | 591 return o; |
575 } | 592 } |
576 | 593 |
577 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { | 594 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { |
578 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 595 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
579 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 596 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
580 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 597 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
581 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 598 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
582 unittest.expect(o.createdAt, unittest.equals('foo')); | 599 unittest.expect(o.createdAt, unittest.equals('foo')); |
583 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 600 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
584 checkUnnamed2591(o.deleteAttribute); | 601 checkUnnamed2386(o.deleteAttribute); |
585 checkUnnamed2592(o.deleteProvider); | 602 checkUnnamed2387(o.deleteProvider); |
586 unittest.expect(o.disableUser, unittest.isTrue); | 603 unittest.expect(o.disableUser, unittest.isTrue); |
587 unittest.expect(o.displayName, unittest.equals('foo')); | 604 unittest.expect(o.displayName, unittest.equals('foo')); |
588 unittest.expect(o.email, unittest.equals('foo')); | 605 unittest.expect(o.email, unittest.equals('foo')); |
589 unittest.expect(o.emailVerified, unittest.isTrue); | 606 unittest.expect(o.emailVerified, unittest.isTrue); |
590 unittest.expect(o.idToken, unittest.equals('foo')); | 607 unittest.expect(o.idToken, unittest.equals('foo')); |
591 unittest.expect(o.instanceId, unittest.equals('foo')); | 608 unittest.expect(o.instanceId, unittest.equals('foo')); |
592 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 609 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
593 unittest.expect(o.localId, unittest.equals('foo')); | 610 unittest.expect(o.localId, unittest.equals('foo')); |
594 unittest.expect(o.oobCode, unittest.equals('foo')); | 611 unittest.expect(o.oobCode, unittest.equals('foo')); |
595 unittest.expect(o.password, unittest.equals('foo')); | 612 unittest.expect(o.password, unittest.equals('foo')); |
596 unittest.expect(o.photoUrl, unittest.equals('foo')); | 613 unittest.expect(o.photoUrl, unittest.equals('foo')); |
597 checkUnnamed2593(o.provider); | 614 checkUnnamed2388(o.provider); |
598 unittest.expect(o.returnSecureToken, unittest.isTrue); | 615 unittest.expect(o.returnSecureToken, unittest.isTrue); |
599 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); | 616 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); |
600 unittest.expect(o.validSince, unittest.equals('foo')); | 617 unittest.expect(o.validSince, unittest.equals('foo')); |
601 } | 618 } |
602 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 619 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
603 } | 620 } |
604 | 621 |
605 buildUnnamed2594() { | 622 buildUnnamed2389() { |
606 var o = new core.List<core.String>(); | 623 var o = new core.List<core.String>(); |
607 o.add("foo"); | 624 o.add("foo"); |
608 o.add("foo"); | 625 o.add("foo"); |
609 return o; | 626 return o; |
610 } | 627 } |
611 | 628 |
612 checkUnnamed2594(core.List<core.String> o) { | 629 checkUnnamed2389(core.List<core.String> o) { |
613 unittest.expect(o, unittest.hasLength(2)); | 630 unittest.expect(o, unittest.hasLength(2)); |
614 unittest.expect(o[0], unittest.equals('foo')); | 631 unittest.expect(o[0], unittest.equals('foo')); |
615 unittest.expect(o[1], unittest.equals('foo')); | 632 unittest.expect(o[1], unittest.equals('foo')); |
616 } | 633 } |
617 | 634 |
618 buildUnnamed2595() { | 635 buildUnnamed2390() { |
619 var o = new core.List<api.IdpConfig>(); | 636 var o = new core.List<api.IdpConfig>(); |
620 o.add(buildIdpConfig()); | 637 o.add(buildIdpConfig()); |
621 o.add(buildIdpConfig()); | 638 o.add(buildIdpConfig()); |
622 return o; | 639 return o; |
623 } | 640 } |
624 | 641 |
625 checkUnnamed2595(core.List<api.IdpConfig> o) { | 642 checkUnnamed2390(core.List<api.IdpConfig> o) { |
626 unittest.expect(o, unittest.hasLength(2)); | 643 unittest.expect(o, unittest.hasLength(2)); |
627 checkIdpConfig(o[0]); | 644 checkIdpConfig(o[0]); |
628 checkIdpConfig(o[1]); | 645 checkIdpConfig(o[1]); |
629 } | 646 } |
630 | 647 |
631 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; | 648 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; |
632 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { | 649 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { |
633 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); | 650 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); |
634 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 651 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
635 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 652 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
636 o.allowPasswordUser = true; | 653 o.allowPasswordUser = true; |
637 o.apiKey = "foo"; | 654 o.apiKey = "foo"; |
638 o.authorizedDomains = buildUnnamed2594(); | 655 o.authorizedDomains = buildUnnamed2389(); |
639 o.changeEmailTemplate = buildEmailTemplate(); | 656 o.changeEmailTemplate = buildEmailTemplate(); |
640 o.delegatedProjectNumber = "foo"; | 657 o.delegatedProjectNumber = "foo"; |
641 o.enableAnonymousUser = true; | 658 o.enableAnonymousUser = true; |
642 o.idpConfig = buildUnnamed2595(); | 659 o.idpConfig = buildUnnamed2390(); |
643 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 660 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
644 o.resetPasswordTemplate = buildEmailTemplate(); | 661 o.resetPasswordTemplate = buildEmailTemplate(); |
645 o.useEmailSending = true; | 662 o.useEmailSending = true; |
646 o.verifyEmailTemplate = buildEmailTemplate(); | 663 o.verifyEmailTemplate = buildEmailTemplate(); |
647 } | 664 } |
648 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 665 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
649 return o; | 666 return o; |
650 } | 667 } |
651 | 668 |
652 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { | 669 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { |
653 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 670 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
654 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 671 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
655 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 672 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
656 unittest.expect(o.apiKey, unittest.equals('foo')); | 673 unittest.expect(o.apiKey, unittest.equals('foo')); |
657 checkUnnamed2594(o.authorizedDomains); | 674 checkUnnamed2389(o.authorizedDomains); |
658 checkEmailTemplate(o.changeEmailTemplate); | 675 checkEmailTemplate(o.changeEmailTemplate); |
659 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 676 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
660 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 677 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
661 checkUnnamed2595(o.idpConfig); | 678 checkUnnamed2390(o.idpConfig); |
662 checkEmailTemplate(o.legacyResetPasswordTemplate); | 679 checkEmailTemplate(o.legacyResetPasswordTemplate); |
663 checkEmailTemplate(o.resetPasswordTemplate); | 680 checkEmailTemplate(o.resetPasswordTemplate); |
664 unittest.expect(o.useEmailSending, unittest.isTrue); | 681 unittest.expect(o.useEmailSending, unittest.isTrue); |
665 checkEmailTemplate(o.verifyEmailTemplate); | 682 checkEmailTemplate(o.verifyEmailTemplate); |
666 } | 683 } |
667 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 684 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
668 } | 685 } |
669 | 686 |
670 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; | 687 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; |
671 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { | 688 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 buildCounterIdentitytoolkitRelyingpartySignOutUserResponse--; | 743 buildCounterIdentitytoolkitRelyingpartySignOutUserResponse--; |
727 } | 744 } |
728 | 745 |
729 core.int buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest = 0; | 746 core.int buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest = 0; |
730 buildIdentitytoolkitRelyingpartySignupNewUserRequest() { | 747 buildIdentitytoolkitRelyingpartySignupNewUserRequest() { |
731 var o = new api.IdentitytoolkitRelyingpartySignupNewUserRequest(); | 748 var o = new api.IdentitytoolkitRelyingpartySignupNewUserRequest(); |
732 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest++; | 749 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest++; |
733 if (buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest < 3) { | 750 if (buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest < 3) { |
734 o.captchaChallenge = "foo"; | 751 o.captchaChallenge = "foo"; |
735 o.captchaResponse = "foo"; | 752 o.captchaResponse = "foo"; |
| 753 o.disabled = true; |
736 o.displayName = "foo"; | 754 o.displayName = "foo"; |
737 o.email = "foo"; | 755 o.email = "foo"; |
| 756 o.emailVerified = true; |
738 o.idToken = "foo"; | 757 o.idToken = "foo"; |
739 o.instanceId = "foo"; | 758 o.instanceId = "foo"; |
740 o.password = "foo"; | 759 o.password = "foo"; |
| 760 o.photoUrl = "foo"; |
741 } | 761 } |
742 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; | 762 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; |
743 return o; | 763 return o; |
744 } | 764 } |
745 | 765 |
746 checkIdentitytoolkitRelyingpartySignupNewUserRequest(api.IdentitytoolkitRelyingp
artySignupNewUserRequest o) { | 766 checkIdentitytoolkitRelyingpartySignupNewUserRequest(api.IdentitytoolkitRelyingp
artySignupNewUserRequest o) { |
747 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest++; | 767 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest++; |
748 if (buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest < 3) { | 768 if (buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest < 3) { |
749 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 769 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
750 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 770 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
| 771 unittest.expect(o.disabled, unittest.isTrue); |
751 unittest.expect(o.displayName, unittest.equals('foo')); | 772 unittest.expect(o.displayName, unittest.equals('foo')); |
752 unittest.expect(o.email, unittest.equals('foo')); | 773 unittest.expect(o.email, unittest.equals('foo')); |
| 774 unittest.expect(o.emailVerified, unittest.isTrue); |
753 unittest.expect(o.idToken, unittest.equals('foo')); | 775 unittest.expect(o.idToken, unittest.equals('foo')); |
754 unittest.expect(o.instanceId, unittest.equals('foo')); | 776 unittest.expect(o.instanceId, unittest.equals('foo')); |
755 unittest.expect(o.password, unittest.equals('foo')); | 777 unittest.expect(o.password, unittest.equals('foo')); |
| 778 unittest.expect(o.photoUrl, unittest.equals('foo')); |
756 } | 779 } |
757 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; | 780 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; |
758 } | 781 } |
759 | 782 |
760 buildUnnamed2596() { | 783 buildUnnamed2391() { |
761 var o = new core.List<api.UserInfo>(); | 784 var o = new core.List<api.UserInfo>(); |
762 o.add(buildUserInfo()); | 785 o.add(buildUserInfo()); |
763 o.add(buildUserInfo()); | 786 o.add(buildUserInfo()); |
764 return o; | 787 return o; |
765 } | 788 } |
766 | 789 |
767 checkUnnamed2596(core.List<api.UserInfo> o) { | 790 checkUnnamed2391(core.List<api.UserInfo> o) { |
768 unittest.expect(o, unittest.hasLength(2)); | 791 unittest.expect(o, unittest.hasLength(2)); |
769 checkUserInfo(o[0]); | 792 checkUserInfo(o[0]); |
770 checkUserInfo(o[1]); | 793 checkUserInfo(o[1]); |
771 } | 794 } |
772 | 795 |
773 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; | 796 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; |
774 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { | 797 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { |
775 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); | 798 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); |
776 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 799 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
777 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 800 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
| 801 o.allowOverwrite = true; |
778 o.delegatedProjectNumber = "foo"; | 802 o.delegatedProjectNumber = "foo"; |
779 o.hashAlgorithm = "foo"; | 803 o.hashAlgorithm = "foo"; |
780 o.memoryCost = 42; | 804 o.memoryCost = 42; |
781 o.rounds = 42; | 805 o.rounds = 42; |
782 o.saltSeparator = "foo"; | 806 o.saltSeparator = "foo"; |
| 807 o.sanityCheck = true; |
783 o.signerKey = "foo"; | 808 o.signerKey = "foo"; |
784 o.users = buildUnnamed2596(); | 809 o.targetProjectId = "foo"; |
| 810 o.users = buildUnnamed2391(); |
785 } | 811 } |
786 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 812 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
787 return o; | 813 return o; |
788 } | 814 } |
789 | 815 |
790 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { | 816 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { |
791 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 817 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
792 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 818 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
| 819 unittest.expect(o.allowOverwrite, unittest.isTrue); |
793 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 820 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
794 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); | 821 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); |
795 unittest.expect(o.memoryCost, unittest.equals(42)); | 822 unittest.expect(o.memoryCost, unittest.equals(42)); |
796 unittest.expect(o.rounds, unittest.equals(42)); | 823 unittest.expect(o.rounds, unittest.equals(42)); |
797 unittest.expect(o.saltSeparator, unittest.equals('foo')); | 824 unittest.expect(o.saltSeparator, unittest.equals('foo')); |
| 825 unittest.expect(o.sanityCheck, unittest.isTrue); |
798 unittest.expect(o.signerKey, unittest.equals('foo')); | 826 unittest.expect(o.signerKey, unittest.equals('foo')); |
799 checkUnnamed2596(o.users); | 827 unittest.expect(o.targetProjectId, unittest.equals('foo')); |
| 828 checkUnnamed2391(o.users); |
800 } | 829 } |
801 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 830 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
802 } | 831 } |
803 | 832 |
804 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; | 833 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; |
805 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { | 834 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { |
806 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 835 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
807 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; | 836 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; |
808 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { | 837 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { |
809 o.delegatedProjectNumber = "foo"; | 838 o.delegatedProjectNumber = "foo"; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 unittest.expect(o.email, unittest.equals('foo')); | 920 unittest.expect(o.email, unittest.equals('foo')); |
892 unittest.expect(o.idToken, unittest.equals('foo')); | 921 unittest.expect(o.idToken, unittest.equals('foo')); |
893 unittest.expect(o.instanceId, unittest.equals('foo')); | 922 unittest.expect(o.instanceId, unittest.equals('foo')); |
894 unittest.expect(o.password, unittest.equals('foo')); | 923 unittest.expect(o.password, unittest.equals('foo')); |
895 unittest.expect(o.pendingIdToken, unittest.equals('foo')); | 924 unittest.expect(o.pendingIdToken, unittest.equals('foo')); |
896 unittest.expect(o.returnSecureToken, unittest.isTrue); | 925 unittest.expect(o.returnSecureToken, unittest.isTrue); |
897 } | 926 } |
898 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; | 927 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; |
899 } | 928 } |
900 | 929 |
901 buildUnnamed2597() { | 930 buildUnnamed2392() { |
902 var o = new core.List<core.String>(); | 931 var o = new core.List<core.String>(); |
903 o.add("foo"); | 932 o.add("foo"); |
904 o.add("foo"); | 933 o.add("foo"); |
905 return o; | 934 return o; |
906 } | 935 } |
907 | 936 |
908 checkUnnamed2597(core.List<core.String> o) { | 937 checkUnnamed2392(core.List<core.String> o) { |
909 unittest.expect(o, unittest.hasLength(2)); | 938 unittest.expect(o, unittest.hasLength(2)); |
910 unittest.expect(o[0], unittest.equals('foo')); | 939 unittest.expect(o[0], unittest.equals('foo')); |
911 unittest.expect(o[1], unittest.equals('foo')); | 940 unittest.expect(o[1], unittest.equals('foo')); |
912 } | 941 } |
913 | 942 |
914 core.int buildCounterIdpConfig = 0; | 943 core.int buildCounterIdpConfig = 0; |
915 buildIdpConfig() { | 944 buildIdpConfig() { |
916 var o = new api.IdpConfig(); | 945 var o = new api.IdpConfig(); |
917 buildCounterIdpConfig++; | 946 buildCounterIdpConfig++; |
918 if (buildCounterIdpConfig < 3) { | 947 if (buildCounterIdpConfig < 3) { |
919 o.clientId = "foo"; | 948 o.clientId = "foo"; |
920 o.enabled = true; | 949 o.enabled = true; |
921 o.experimentPercent = 42; | 950 o.experimentPercent = 42; |
922 o.provider = "foo"; | 951 o.provider = "foo"; |
923 o.secret = "foo"; | 952 o.secret = "foo"; |
924 o.whitelistedAudiences = buildUnnamed2597(); | 953 o.whitelistedAudiences = buildUnnamed2392(); |
925 } | 954 } |
926 buildCounterIdpConfig--; | 955 buildCounterIdpConfig--; |
927 return o; | 956 return o; |
928 } | 957 } |
929 | 958 |
930 checkIdpConfig(api.IdpConfig o) { | 959 checkIdpConfig(api.IdpConfig o) { |
931 buildCounterIdpConfig++; | 960 buildCounterIdpConfig++; |
932 if (buildCounterIdpConfig < 3) { | 961 if (buildCounterIdpConfig < 3) { |
933 unittest.expect(o.clientId, unittest.equals('foo')); | 962 unittest.expect(o.clientId, unittest.equals('foo')); |
934 unittest.expect(o.enabled, unittest.isTrue); | 963 unittest.expect(o.enabled, unittest.isTrue); |
935 unittest.expect(o.experimentPercent, unittest.equals(42)); | 964 unittest.expect(o.experimentPercent, unittest.equals(42)); |
936 unittest.expect(o.provider, unittest.equals('foo')); | 965 unittest.expect(o.provider, unittest.equals('foo')); |
937 unittest.expect(o.secret, unittest.equals('foo')); | 966 unittest.expect(o.secret, unittest.equals('foo')); |
938 checkUnnamed2597(o.whitelistedAudiences); | 967 checkUnnamed2392(o.whitelistedAudiences); |
939 } | 968 } |
940 buildCounterIdpConfig--; | 969 buildCounterIdpConfig--; |
941 } | 970 } |
942 | 971 |
943 core.int buildCounterRelyingparty = 0; | 972 core.int buildCounterRelyingparty = 0; |
944 buildRelyingparty() { | 973 buildRelyingparty() { |
945 var o = new api.Relyingparty(); | 974 var o = new api.Relyingparty(); |
946 buildCounterRelyingparty++; | 975 buildCounterRelyingparty++; |
947 if (buildCounterRelyingparty < 3) { | 976 if (buildCounterRelyingparty < 3) { |
948 o.captchaResp = "foo"; | 977 o.captchaResp = "foo"; |
(...skipping 24 matching lines...) Expand all Loading... |
973 buildCounterRelyingparty--; | 1002 buildCounterRelyingparty--; |
974 } | 1003 } |
975 | 1004 |
976 core.int buildCounterResetPasswordResponse = 0; | 1005 core.int buildCounterResetPasswordResponse = 0; |
977 buildResetPasswordResponse() { | 1006 buildResetPasswordResponse() { |
978 var o = new api.ResetPasswordResponse(); | 1007 var o = new api.ResetPasswordResponse(); |
979 buildCounterResetPasswordResponse++; | 1008 buildCounterResetPasswordResponse++; |
980 if (buildCounterResetPasswordResponse < 3) { | 1009 if (buildCounterResetPasswordResponse < 3) { |
981 o.email = "foo"; | 1010 o.email = "foo"; |
982 o.kind = "foo"; | 1011 o.kind = "foo"; |
| 1012 o.newEmail = "foo"; |
| 1013 o.requestType = "foo"; |
983 } | 1014 } |
984 buildCounterResetPasswordResponse--; | 1015 buildCounterResetPasswordResponse--; |
985 return o; | 1016 return o; |
986 } | 1017 } |
987 | 1018 |
988 checkResetPasswordResponse(api.ResetPasswordResponse o) { | 1019 checkResetPasswordResponse(api.ResetPasswordResponse o) { |
989 buildCounterResetPasswordResponse++; | 1020 buildCounterResetPasswordResponse++; |
990 if (buildCounterResetPasswordResponse < 3) { | 1021 if (buildCounterResetPasswordResponse < 3) { |
991 unittest.expect(o.email, unittest.equals('foo')); | 1022 unittest.expect(o.email, unittest.equals('foo')); |
992 unittest.expect(o.kind, unittest.equals('foo')); | 1023 unittest.expect(o.kind, unittest.equals('foo')); |
| 1024 unittest.expect(o.newEmail, unittest.equals('foo')); |
| 1025 unittest.expect(o.requestType, unittest.equals('foo')); |
993 } | 1026 } |
994 buildCounterResetPasswordResponse--; | 1027 buildCounterResetPasswordResponse--; |
995 } | 1028 } |
996 | 1029 |
997 core.int buildCounterSetAccountInfoResponseProviderUserInfo = 0; | 1030 core.int buildCounterSetAccountInfoResponseProviderUserInfo = 0; |
998 buildSetAccountInfoResponseProviderUserInfo() { | 1031 buildSetAccountInfoResponseProviderUserInfo() { |
999 var o = new api.SetAccountInfoResponseProviderUserInfo(); | 1032 var o = new api.SetAccountInfoResponseProviderUserInfo(); |
1000 buildCounterSetAccountInfoResponseProviderUserInfo++; | 1033 buildCounterSetAccountInfoResponseProviderUserInfo++; |
1001 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 1034 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
1002 o.displayName = "foo"; | 1035 o.displayName = "foo"; |
1003 o.federatedId = "foo"; | 1036 o.federatedId = "foo"; |
1004 o.photoUrl = "foo"; | 1037 o.photoUrl = "foo"; |
1005 o.providerId = "foo"; | 1038 o.providerId = "foo"; |
1006 } | 1039 } |
1007 buildCounterSetAccountInfoResponseProviderUserInfo--; | 1040 buildCounterSetAccountInfoResponseProviderUserInfo--; |
1008 return o; | 1041 return o; |
1009 } | 1042 } |
1010 | 1043 |
1011 checkSetAccountInfoResponseProviderUserInfo(api.SetAccountInfoResponseProviderUs
erInfo o) { | 1044 checkSetAccountInfoResponseProviderUserInfo(api.SetAccountInfoResponseProviderUs
erInfo o) { |
1012 buildCounterSetAccountInfoResponseProviderUserInfo++; | 1045 buildCounterSetAccountInfoResponseProviderUserInfo++; |
1013 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 1046 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
1014 unittest.expect(o.displayName, unittest.equals('foo')); | 1047 unittest.expect(o.displayName, unittest.equals('foo')); |
1015 unittest.expect(o.federatedId, unittest.equals('foo')); | 1048 unittest.expect(o.federatedId, unittest.equals('foo')); |
1016 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1049 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1017 unittest.expect(o.providerId, unittest.equals('foo')); | 1050 unittest.expect(o.providerId, unittest.equals('foo')); |
1018 } | 1051 } |
1019 buildCounterSetAccountInfoResponseProviderUserInfo--; | 1052 buildCounterSetAccountInfoResponseProviderUserInfo--; |
1020 } | 1053 } |
1021 | 1054 |
1022 buildUnnamed2598() { | 1055 buildUnnamed2393() { |
1023 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); | 1056 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); |
1024 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1057 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
1025 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1058 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
1026 return o; | 1059 return o; |
1027 } | 1060 } |
1028 | 1061 |
1029 checkUnnamed2598(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { | 1062 checkUnnamed2393(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { |
1030 unittest.expect(o, unittest.hasLength(2)); | 1063 unittest.expect(o, unittest.hasLength(2)); |
1031 checkSetAccountInfoResponseProviderUserInfo(o[0]); | 1064 checkSetAccountInfoResponseProviderUserInfo(o[0]); |
1032 checkSetAccountInfoResponseProviderUserInfo(o[1]); | 1065 checkSetAccountInfoResponseProviderUserInfo(o[1]); |
1033 } | 1066 } |
1034 | 1067 |
1035 core.int buildCounterSetAccountInfoResponse = 0; | 1068 core.int buildCounterSetAccountInfoResponse = 0; |
1036 buildSetAccountInfoResponse() { | 1069 buildSetAccountInfoResponse() { |
1037 var o = new api.SetAccountInfoResponse(); | 1070 var o = new api.SetAccountInfoResponse(); |
1038 buildCounterSetAccountInfoResponse++; | 1071 buildCounterSetAccountInfoResponse++; |
1039 if (buildCounterSetAccountInfoResponse < 3) { | 1072 if (buildCounterSetAccountInfoResponse < 3) { |
1040 o.displayName = "foo"; | 1073 o.displayName = "foo"; |
1041 o.email = "foo"; | 1074 o.email = "foo"; |
1042 o.expiresIn = "foo"; | 1075 o.expiresIn = "foo"; |
1043 o.idToken = "foo"; | 1076 o.idToken = "foo"; |
1044 o.kind = "foo"; | 1077 o.kind = "foo"; |
1045 o.localId = "foo"; | 1078 o.localId = "foo"; |
1046 o.newEmail = "foo"; | 1079 o.newEmail = "foo"; |
1047 o.passwordHash = "foo"; | 1080 o.passwordHash = "foo"; |
1048 o.photoUrl = "foo"; | 1081 o.photoUrl = "foo"; |
1049 o.providerUserInfo = buildUnnamed2598(); | 1082 o.providerUserInfo = buildUnnamed2393(); |
1050 o.refreshToken = "foo"; | 1083 o.refreshToken = "foo"; |
1051 } | 1084 } |
1052 buildCounterSetAccountInfoResponse--; | 1085 buildCounterSetAccountInfoResponse--; |
1053 return o; | 1086 return o; |
1054 } | 1087 } |
1055 | 1088 |
1056 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { | 1089 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { |
1057 buildCounterSetAccountInfoResponse++; | 1090 buildCounterSetAccountInfoResponse++; |
1058 if (buildCounterSetAccountInfoResponse < 3) { | 1091 if (buildCounterSetAccountInfoResponse < 3) { |
1059 unittest.expect(o.displayName, unittest.equals('foo')); | 1092 unittest.expect(o.displayName, unittest.equals('foo')); |
1060 unittest.expect(o.email, unittest.equals('foo')); | 1093 unittest.expect(o.email, unittest.equals('foo')); |
1061 unittest.expect(o.expiresIn, unittest.equals('foo')); | 1094 unittest.expect(o.expiresIn, unittest.equals('foo')); |
1062 unittest.expect(o.idToken, unittest.equals('foo')); | 1095 unittest.expect(o.idToken, unittest.equals('foo')); |
1063 unittest.expect(o.kind, unittest.equals('foo')); | 1096 unittest.expect(o.kind, unittest.equals('foo')); |
1064 unittest.expect(o.localId, unittest.equals('foo')); | 1097 unittest.expect(o.localId, unittest.equals('foo')); |
1065 unittest.expect(o.newEmail, unittest.equals('foo')); | 1098 unittest.expect(o.newEmail, unittest.equals('foo')); |
1066 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1099 unittest.expect(o.passwordHash, unittest.equals('foo')); |
1067 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1100 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1068 checkUnnamed2598(o.providerUserInfo); | 1101 checkUnnamed2393(o.providerUserInfo); |
1069 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1102 unittest.expect(o.refreshToken, unittest.equals('foo')); |
1070 } | 1103 } |
1071 buildCounterSetAccountInfoResponse--; | 1104 buildCounterSetAccountInfoResponse--; |
1072 } | 1105 } |
1073 | 1106 |
1074 core.int buildCounterSignupNewUserResponse = 0; | 1107 core.int buildCounterSignupNewUserResponse = 0; |
1075 buildSignupNewUserResponse() { | 1108 buildSignupNewUserResponse() { |
1076 var o = new api.SignupNewUserResponse(); | 1109 var o = new api.SignupNewUserResponse(); |
1077 buildCounterSignupNewUserResponse++; | 1110 buildCounterSignupNewUserResponse++; |
1078 if (buildCounterSignupNewUserResponse < 3) { | 1111 if (buildCounterSignupNewUserResponse < 3) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 | 1149 |
1117 checkUploadAccountResponseError(api.UploadAccountResponseError o) { | 1150 checkUploadAccountResponseError(api.UploadAccountResponseError o) { |
1118 buildCounterUploadAccountResponseError++; | 1151 buildCounterUploadAccountResponseError++; |
1119 if (buildCounterUploadAccountResponseError < 3) { | 1152 if (buildCounterUploadAccountResponseError < 3) { |
1120 unittest.expect(o.index, unittest.equals(42)); | 1153 unittest.expect(o.index, unittest.equals(42)); |
1121 unittest.expect(o.message, unittest.equals('foo')); | 1154 unittest.expect(o.message, unittest.equals('foo')); |
1122 } | 1155 } |
1123 buildCounterUploadAccountResponseError--; | 1156 buildCounterUploadAccountResponseError--; |
1124 } | 1157 } |
1125 | 1158 |
1126 buildUnnamed2599() { | 1159 buildUnnamed2394() { |
1127 var o = new core.List<api.UploadAccountResponseError>(); | 1160 var o = new core.List<api.UploadAccountResponseError>(); |
1128 o.add(buildUploadAccountResponseError()); | 1161 o.add(buildUploadAccountResponseError()); |
1129 o.add(buildUploadAccountResponseError()); | 1162 o.add(buildUploadAccountResponseError()); |
1130 return o; | 1163 return o; |
1131 } | 1164 } |
1132 | 1165 |
1133 checkUnnamed2599(core.List<api.UploadAccountResponseError> o) { | 1166 checkUnnamed2394(core.List<api.UploadAccountResponseError> o) { |
1134 unittest.expect(o, unittest.hasLength(2)); | 1167 unittest.expect(o, unittest.hasLength(2)); |
1135 checkUploadAccountResponseError(o[0]); | 1168 checkUploadAccountResponseError(o[0]); |
1136 checkUploadAccountResponseError(o[1]); | 1169 checkUploadAccountResponseError(o[1]); |
1137 } | 1170 } |
1138 | 1171 |
1139 core.int buildCounterUploadAccountResponse = 0; | 1172 core.int buildCounterUploadAccountResponse = 0; |
1140 buildUploadAccountResponse() { | 1173 buildUploadAccountResponse() { |
1141 var o = new api.UploadAccountResponse(); | 1174 var o = new api.UploadAccountResponse(); |
1142 buildCounterUploadAccountResponse++; | 1175 buildCounterUploadAccountResponse++; |
1143 if (buildCounterUploadAccountResponse < 3) { | 1176 if (buildCounterUploadAccountResponse < 3) { |
1144 o.error = buildUnnamed2599(); | 1177 o.error = buildUnnamed2394(); |
1145 o.kind = "foo"; | 1178 o.kind = "foo"; |
1146 } | 1179 } |
1147 buildCounterUploadAccountResponse--; | 1180 buildCounterUploadAccountResponse--; |
1148 return o; | 1181 return o; |
1149 } | 1182 } |
1150 | 1183 |
1151 checkUploadAccountResponse(api.UploadAccountResponse o) { | 1184 checkUploadAccountResponse(api.UploadAccountResponse o) { |
1152 buildCounterUploadAccountResponse++; | 1185 buildCounterUploadAccountResponse++; |
1153 if (buildCounterUploadAccountResponse < 3) { | 1186 if (buildCounterUploadAccountResponse < 3) { |
1154 checkUnnamed2599(o.error); | 1187 checkUnnamed2394(o.error); |
1155 unittest.expect(o.kind, unittest.equals('foo')); | 1188 unittest.expect(o.kind, unittest.equals('foo')); |
1156 } | 1189 } |
1157 buildCounterUploadAccountResponse--; | 1190 buildCounterUploadAccountResponse--; |
1158 } | 1191 } |
1159 | 1192 |
1160 core.int buildCounterUserInfoProviderUserInfo = 0; | 1193 core.int buildCounterUserInfoProviderUserInfo = 0; |
1161 buildUserInfoProviderUserInfo() { | 1194 buildUserInfoProviderUserInfo() { |
1162 var o = new api.UserInfoProviderUserInfo(); | 1195 var o = new api.UserInfoProviderUserInfo(); |
1163 buildCounterUserInfoProviderUserInfo++; | 1196 buildCounterUserInfoProviderUserInfo++; |
1164 if (buildCounterUserInfoProviderUserInfo < 3) { | 1197 if (buildCounterUserInfoProviderUserInfo < 3) { |
1165 o.displayName = "foo"; | 1198 o.displayName = "foo"; |
1166 o.email = "foo"; | 1199 o.email = "foo"; |
1167 o.federatedId = "foo"; | 1200 o.federatedId = "foo"; |
1168 o.photoUrl = "foo"; | 1201 o.photoUrl = "foo"; |
1169 o.providerId = "foo"; | 1202 o.providerId = "foo"; |
1170 o.rawId = "foo"; | 1203 o.rawId = "foo"; |
1171 o.rawUserInfo = "foo"; | |
1172 o.screenName = "foo"; | 1204 o.screenName = "foo"; |
1173 } | 1205 } |
1174 buildCounterUserInfoProviderUserInfo--; | 1206 buildCounterUserInfoProviderUserInfo--; |
1175 return o; | 1207 return o; |
1176 } | 1208 } |
1177 | 1209 |
1178 checkUserInfoProviderUserInfo(api.UserInfoProviderUserInfo o) { | 1210 checkUserInfoProviderUserInfo(api.UserInfoProviderUserInfo o) { |
1179 buildCounterUserInfoProviderUserInfo++; | 1211 buildCounterUserInfoProviderUserInfo++; |
1180 if (buildCounterUserInfoProviderUserInfo < 3) { | 1212 if (buildCounterUserInfoProviderUserInfo < 3) { |
1181 unittest.expect(o.displayName, unittest.equals('foo')); | 1213 unittest.expect(o.displayName, unittest.equals('foo')); |
1182 unittest.expect(o.email, unittest.equals('foo')); | 1214 unittest.expect(o.email, unittest.equals('foo')); |
1183 unittest.expect(o.federatedId, unittest.equals('foo')); | 1215 unittest.expect(o.federatedId, unittest.equals('foo')); |
1184 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1216 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1185 unittest.expect(o.providerId, unittest.equals('foo')); | 1217 unittest.expect(o.providerId, unittest.equals('foo')); |
1186 unittest.expect(o.rawId, unittest.equals('foo')); | 1218 unittest.expect(o.rawId, unittest.equals('foo')); |
1187 unittest.expect(o.rawUserInfo, unittest.equals('foo')); | |
1188 unittest.expect(o.screenName, unittest.equals('foo')); | 1219 unittest.expect(o.screenName, unittest.equals('foo')); |
1189 } | 1220 } |
1190 buildCounterUserInfoProviderUserInfo--; | 1221 buildCounterUserInfoProviderUserInfo--; |
1191 } | 1222 } |
1192 | 1223 |
1193 buildUnnamed2600() { | 1224 buildUnnamed2395() { |
1194 var o = new core.List<api.UserInfoProviderUserInfo>(); | 1225 var o = new core.List<api.UserInfoProviderUserInfo>(); |
1195 o.add(buildUserInfoProviderUserInfo()); | 1226 o.add(buildUserInfoProviderUserInfo()); |
1196 o.add(buildUserInfoProviderUserInfo()); | 1227 o.add(buildUserInfoProviderUserInfo()); |
1197 return o; | 1228 return o; |
1198 } | 1229 } |
1199 | 1230 |
1200 checkUnnamed2600(core.List<api.UserInfoProviderUserInfo> o) { | 1231 checkUnnamed2395(core.List<api.UserInfoProviderUserInfo> o) { |
1201 unittest.expect(o, unittest.hasLength(2)); | 1232 unittest.expect(o, unittest.hasLength(2)); |
1202 checkUserInfoProviderUserInfo(o[0]); | 1233 checkUserInfoProviderUserInfo(o[0]); |
1203 checkUserInfoProviderUserInfo(o[1]); | 1234 checkUserInfoProviderUserInfo(o[1]); |
1204 } | 1235 } |
1205 | 1236 |
1206 core.int buildCounterUserInfo = 0; | 1237 core.int buildCounterUserInfo = 0; |
1207 buildUserInfo() { | 1238 buildUserInfo() { |
1208 var o = new api.UserInfo(); | 1239 var o = new api.UserInfo(); |
1209 buildCounterUserInfo++; | 1240 buildCounterUserInfo++; |
1210 if (buildCounterUserInfo < 3) { | 1241 if (buildCounterUserInfo < 3) { |
1211 o.createdAt = "foo"; | 1242 o.createdAt = "foo"; |
| 1243 o.customAuth = true; |
1212 o.disabled = true; | 1244 o.disabled = true; |
1213 o.displayName = "foo"; | 1245 o.displayName = "foo"; |
1214 o.email = "foo"; | 1246 o.email = "foo"; |
1215 o.emailVerified = true; | 1247 o.emailVerified = true; |
1216 o.lastLoginAt = "foo"; | 1248 o.lastLoginAt = "foo"; |
1217 o.localId = "foo"; | 1249 o.localId = "foo"; |
1218 o.passwordHash = "foo"; | 1250 o.passwordHash = "foo"; |
1219 o.passwordUpdatedAt = 42.0; | 1251 o.passwordUpdatedAt = 42.0; |
1220 o.photoUrl = "foo"; | 1252 o.photoUrl = "foo"; |
1221 o.providerUserInfo = buildUnnamed2600(); | 1253 o.providerUserInfo = buildUnnamed2395(); |
| 1254 o.rawPassword = "foo"; |
1222 o.salt = "foo"; | 1255 o.salt = "foo"; |
1223 o.screenName = "foo"; | 1256 o.screenName = "foo"; |
1224 o.validSince = "foo"; | 1257 o.validSince = "foo"; |
1225 o.version = 42; | 1258 o.version = 42; |
1226 } | 1259 } |
1227 buildCounterUserInfo--; | 1260 buildCounterUserInfo--; |
1228 return o; | 1261 return o; |
1229 } | 1262 } |
1230 | 1263 |
1231 checkUserInfo(api.UserInfo o) { | 1264 checkUserInfo(api.UserInfo o) { |
1232 buildCounterUserInfo++; | 1265 buildCounterUserInfo++; |
1233 if (buildCounterUserInfo < 3) { | 1266 if (buildCounterUserInfo < 3) { |
1234 unittest.expect(o.createdAt, unittest.equals('foo')); | 1267 unittest.expect(o.createdAt, unittest.equals('foo')); |
| 1268 unittest.expect(o.customAuth, unittest.isTrue); |
1235 unittest.expect(o.disabled, unittest.isTrue); | 1269 unittest.expect(o.disabled, unittest.isTrue); |
1236 unittest.expect(o.displayName, unittest.equals('foo')); | 1270 unittest.expect(o.displayName, unittest.equals('foo')); |
1237 unittest.expect(o.email, unittest.equals('foo')); | 1271 unittest.expect(o.email, unittest.equals('foo')); |
1238 unittest.expect(o.emailVerified, unittest.isTrue); | 1272 unittest.expect(o.emailVerified, unittest.isTrue); |
1239 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 1273 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
1240 unittest.expect(o.localId, unittest.equals('foo')); | 1274 unittest.expect(o.localId, unittest.equals('foo')); |
1241 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1275 unittest.expect(o.passwordHash, unittest.equals('foo')); |
1242 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); | 1276 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); |
1243 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1277 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1244 checkUnnamed2600(o.providerUserInfo); | 1278 checkUnnamed2395(o.providerUserInfo); |
| 1279 unittest.expect(o.rawPassword, unittest.equals('foo')); |
1245 unittest.expect(o.salt, unittest.equals('foo')); | 1280 unittest.expect(o.salt, unittest.equals('foo')); |
1246 unittest.expect(o.screenName, unittest.equals('foo')); | 1281 unittest.expect(o.screenName, unittest.equals('foo')); |
1247 unittest.expect(o.validSince, unittest.equals('foo')); | 1282 unittest.expect(o.validSince, unittest.equals('foo')); |
1248 unittest.expect(o.version, unittest.equals(42)); | 1283 unittest.expect(o.version, unittest.equals(42)); |
1249 } | 1284 } |
1250 buildCounterUserInfo--; | 1285 buildCounterUserInfo--; |
1251 } | 1286 } |
1252 | 1287 |
1253 buildUnnamed2601() { | 1288 buildUnnamed2396() { |
1254 var o = new core.List<core.String>(); | 1289 var o = new core.List<core.String>(); |
1255 o.add("foo"); | 1290 o.add("foo"); |
1256 o.add("foo"); | 1291 o.add("foo"); |
1257 return o; | 1292 return o; |
1258 } | 1293 } |
1259 | 1294 |
1260 checkUnnamed2601(core.List<core.String> o) { | 1295 checkUnnamed2396(core.List<core.String> o) { |
1261 unittest.expect(o, unittest.hasLength(2)); | 1296 unittest.expect(o, unittest.hasLength(2)); |
1262 unittest.expect(o[0], unittest.equals('foo')); | 1297 unittest.expect(o[0], unittest.equals('foo')); |
1263 unittest.expect(o[1], unittest.equals('foo')); | 1298 unittest.expect(o[1], unittest.equals('foo')); |
1264 } | 1299 } |
1265 | 1300 |
1266 core.int buildCounterVerifyAssertionResponse = 0; | 1301 core.int buildCounterVerifyAssertionResponse = 0; |
1267 buildVerifyAssertionResponse() { | 1302 buildVerifyAssertionResponse() { |
1268 var o = new api.VerifyAssertionResponse(); | 1303 var o = new api.VerifyAssertionResponse(); |
1269 buildCounterVerifyAssertionResponse++; | 1304 buildCounterVerifyAssertionResponse++; |
1270 if (buildCounterVerifyAssertionResponse < 3) { | 1305 if (buildCounterVerifyAssertionResponse < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
1298 o.oauthRequestToken = "foo"; | 1333 o.oauthRequestToken = "foo"; |
1299 o.oauthScope = "foo"; | 1334 o.oauthScope = "foo"; |
1300 o.oauthTokenSecret = "foo"; | 1335 o.oauthTokenSecret = "foo"; |
1301 o.originalEmail = "foo"; | 1336 o.originalEmail = "foo"; |
1302 o.photoUrl = "foo"; | 1337 o.photoUrl = "foo"; |
1303 o.providerId = "foo"; | 1338 o.providerId = "foo"; |
1304 o.rawUserInfo = "foo"; | 1339 o.rawUserInfo = "foo"; |
1305 o.refreshToken = "foo"; | 1340 o.refreshToken = "foo"; |
1306 o.screenName = "foo"; | 1341 o.screenName = "foo"; |
1307 o.timeZone = "foo"; | 1342 o.timeZone = "foo"; |
1308 o.verifiedProvider = buildUnnamed2601(); | 1343 o.verifiedProvider = buildUnnamed2396(); |
1309 } | 1344 } |
1310 buildCounterVerifyAssertionResponse--; | 1345 buildCounterVerifyAssertionResponse--; |
1311 return o; | 1346 return o; |
1312 } | 1347 } |
1313 | 1348 |
1314 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { | 1349 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { |
1315 buildCounterVerifyAssertionResponse++; | 1350 buildCounterVerifyAssertionResponse++; |
1316 if (buildCounterVerifyAssertionResponse < 3) { | 1351 if (buildCounterVerifyAssertionResponse < 3) { |
1317 unittest.expect(o.action, unittest.equals('foo')); | 1352 unittest.expect(o.action, unittest.equals('foo')); |
1318 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); | 1353 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); |
(...skipping 25 matching lines...) Expand all Loading... |
1344 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); | 1379 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); |
1345 unittest.expect(o.oauthScope, unittest.equals('foo')); | 1380 unittest.expect(o.oauthScope, unittest.equals('foo')); |
1346 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); | 1381 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); |
1347 unittest.expect(o.originalEmail, unittest.equals('foo')); | 1382 unittest.expect(o.originalEmail, unittest.equals('foo')); |
1348 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1383 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1349 unittest.expect(o.providerId, unittest.equals('foo')); | 1384 unittest.expect(o.providerId, unittest.equals('foo')); |
1350 unittest.expect(o.rawUserInfo, unittest.equals('foo')); | 1385 unittest.expect(o.rawUserInfo, unittest.equals('foo')); |
1351 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1386 unittest.expect(o.refreshToken, unittest.equals('foo')); |
1352 unittest.expect(o.screenName, unittest.equals('foo')); | 1387 unittest.expect(o.screenName, unittest.equals('foo')); |
1353 unittest.expect(o.timeZone, unittest.equals('foo')); | 1388 unittest.expect(o.timeZone, unittest.equals('foo')); |
1354 checkUnnamed2601(o.verifiedProvider); | 1389 checkUnnamed2396(o.verifiedProvider); |
1355 } | 1390 } |
1356 buildCounterVerifyAssertionResponse--; | 1391 buildCounterVerifyAssertionResponse--; |
1357 } | 1392 } |
1358 | 1393 |
1359 core.int buildCounterVerifyCustomTokenResponse = 0; | 1394 core.int buildCounterVerifyCustomTokenResponse = 0; |
1360 buildVerifyCustomTokenResponse() { | 1395 buildVerifyCustomTokenResponse() { |
1361 var o = new api.VerifyCustomTokenResponse(); | 1396 var o = new api.VerifyCustomTokenResponse(); |
1362 buildCounterVerifyCustomTokenResponse++; | 1397 buildCounterVerifyCustomTokenResponse++; |
1363 if (buildCounterVerifyCustomTokenResponse < 3) { | 1398 if (buildCounterVerifyCustomTokenResponse < 3) { |
1364 o.expiresIn = "foo"; | 1399 o.expiresIn = "foo"; |
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2581 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { | 2616 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { |
2582 checkVerifyPasswordResponse(response); | 2617 checkVerifyPasswordResponse(response); |
2583 }))); | 2618 }))); |
2584 }); | 2619 }); |
2585 | 2620 |
2586 }); | 2621 }); |
2587 | 2622 |
2588 | 2623 |
2589 } | 2624 } |
2590 | 2625 |
OLD | NEW |