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:test/test.dart' as unittest; | 10 import 'package:test/test.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<core.String, core.String> headers, core.String bod
y) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
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 buildUnnamed2432() { | 54 buildUnnamed2453() { |
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 checkUnnamed2432(core.List<core.String> o) { | 61 checkUnnamed2453(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 = buildUnnamed2432(); | 72 o.allProviders = buildUnnamed2453(); |
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 checkUnnamed2432(o.allProviders); | 88 checkUnnamed2453(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 buildUnnamed2433() { | 119 buildUnnamed2454() { |
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 checkUnnamed2433(core.List<api.UserInfo> o) { | 126 checkUnnamed2454(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 = buildUnnamed2433(); | 139 o.users = buildUnnamed2454(); |
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 checkUnnamed2433(o.users); | 150 checkUnnamed2454(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 buildUnnamed2434() { | 184 buildUnnamed2455() { |
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 checkUnnamed2434(core.List<api.UserInfo> o) { | 191 checkUnnamed2455(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 = buildUnnamed2434(); | 203 o.users = buildUnnamed2455(); |
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 checkUnnamed2434(o.users); | 213 checkUnnamed2455(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 buildUnnamed2435() { | 264 buildUnnamed2456() { |
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 checkUnnamed2435(core.Map<core.String, core.String> o) { | 271 checkUnnamed2456(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 = buildUnnamed2435(); | 287 o.customParameter = buildUnnamed2456(); |
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 checkUnnamed2435(o.customParameter); | 309 checkUnnamed2456(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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; | 360 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; |
361 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { | 361 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { |
362 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 362 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
363 unittest.expect(o.maxResults, unittest.equals(42)); | 363 unittest.expect(o.maxResults, unittest.equals(42)); |
364 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 364 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
365 unittest.expect(o.targetProjectId, unittest.equals('foo')); | 365 unittest.expect(o.targetProjectId, unittest.equals('foo')); |
366 } | 366 } |
367 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; | 367 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; |
368 } | 368 } |
369 | 369 |
370 buildUnnamed2436() { | 370 buildUnnamed2457() { |
371 var o = new core.List<core.String>(); | 371 var o = new core.List<core.String>(); |
372 o.add("foo"); | 372 o.add("foo"); |
373 o.add("foo"); | 373 o.add("foo"); |
374 return o; | 374 return o; |
375 } | 375 } |
376 | 376 |
377 checkUnnamed2436(core.List<core.String> o) { | 377 checkUnnamed2457(core.List<core.String> o) { |
378 unittest.expect(o, unittest.hasLength(2)); | 378 unittest.expect(o, unittest.hasLength(2)); |
379 unittest.expect(o[0], unittest.equals('foo')); | 379 unittest.expect(o[0], unittest.equals('foo')); |
380 unittest.expect(o[1], unittest.equals('foo')); | 380 unittest.expect(o[1], unittest.equals('foo')); |
381 } | 381 } |
382 | 382 |
383 buildUnnamed2437() { | 383 buildUnnamed2458() { |
384 var o = new core.List<core.String>(); | 384 var o = new core.List<core.String>(); |
385 o.add("foo"); | 385 o.add("foo"); |
386 o.add("foo"); | 386 o.add("foo"); |
387 return o; | 387 return o; |
388 } | 388 } |
389 | 389 |
390 checkUnnamed2437(core.List<core.String> o) { | 390 checkUnnamed2458(core.List<core.String> o) { |
391 unittest.expect(o, unittest.hasLength(2)); | 391 unittest.expect(o, unittest.hasLength(2)); |
392 unittest.expect(o[0], unittest.equals('foo')); | 392 unittest.expect(o[0], unittest.equals('foo')); |
393 unittest.expect(o[1], unittest.equals('foo')); | 393 unittest.expect(o[1], unittest.equals('foo')); |
394 } | 394 } |
395 | 395 |
396 buildUnnamed2438() { | 396 buildUnnamed2459() { |
397 var o = new core.List<core.String>(); | 397 var o = new core.List<core.String>(); |
398 o.add("foo"); | 398 o.add("foo"); |
399 o.add("foo"); | 399 o.add("foo"); |
400 return o; | 400 return o; |
401 } | 401 } |
402 | 402 |
403 checkUnnamed2438(core.List<core.String> o) { | 403 checkUnnamed2459(core.List<core.String> o) { |
404 unittest.expect(o, unittest.hasLength(2)); | 404 unittest.expect(o, unittest.hasLength(2)); |
405 unittest.expect(o[0], unittest.equals('foo')); | 405 unittest.expect(o[0], unittest.equals('foo')); |
406 unittest.expect(o[1], unittest.equals('foo')); | 406 unittest.expect(o[1], unittest.equals('foo')); |
407 } | 407 } |
408 | 408 |
409 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; | 409 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; |
410 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { | 410 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { |
411 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 411 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
412 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 412 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
413 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 413 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
414 o.delegatedProjectNumber = "foo"; | 414 o.delegatedProjectNumber = "foo"; |
415 o.email = buildUnnamed2436(); | 415 o.email = buildUnnamed2457(); |
416 o.idToken = "foo"; | 416 o.idToken = "foo"; |
417 o.localId = buildUnnamed2437(); | 417 o.localId = buildUnnamed2458(); |
418 o.phoneNumber = buildUnnamed2438(); | 418 o.phoneNumber = buildUnnamed2459(); |
419 } | 419 } |
420 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 420 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
421 return o; | 421 return o; |
422 } | 422 } |
423 | 423 |
424 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { | 424 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { |
425 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 425 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
426 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 426 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
427 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 427 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
428 checkUnnamed2436(o.email); | 428 checkUnnamed2457(o.email); |
429 unittest.expect(o.idToken, unittest.equals('foo')); | 429 unittest.expect(o.idToken, unittest.equals('foo')); |
430 checkUnnamed2437(o.localId); | 430 checkUnnamed2458(o.localId); |
431 checkUnnamed2438(o.phoneNumber); | 431 checkUnnamed2459(o.phoneNumber); |
432 } | 432 } |
433 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 433 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
434 } | 434 } |
435 | 435 |
436 buildUnnamed2439() { | 436 buildUnnamed2460() { |
437 var o = new core.List<core.String>(); | 437 var o = new core.List<core.String>(); |
438 o.add("foo"); | 438 o.add("foo"); |
439 o.add("foo"); | 439 o.add("foo"); |
440 return o; | 440 return o; |
441 } | 441 } |
442 | 442 |
443 checkUnnamed2439(core.List<core.String> o) { | 443 checkUnnamed2460(core.List<core.String> o) { |
444 unittest.expect(o, unittest.hasLength(2)); | 444 unittest.expect(o, unittest.hasLength(2)); |
445 unittest.expect(o[0], unittest.equals('foo')); | 445 unittest.expect(o[0], unittest.equals('foo')); |
446 unittest.expect(o[1], unittest.equals('foo')); | 446 unittest.expect(o[1], unittest.equals('foo')); |
447 } | 447 } |
448 | 448 |
449 buildUnnamed2440() { | 449 buildUnnamed2461() { |
450 var o = new core.List<api.IdpConfig>(); | 450 var o = new core.List<api.IdpConfig>(); |
451 o.add(buildIdpConfig()); | 451 o.add(buildIdpConfig()); |
452 o.add(buildIdpConfig()); | 452 o.add(buildIdpConfig()); |
453 return o; | 453 return o; |
454 } | 454 } |
455 | 455 |
456 checkUnnamed2440(core.List<api.IdpConfig> o) { | 456 checkUnnamed2461(core.List<api.IdpConfig> o) { |
457 unittest.expect(o, unittest.hasLength(2)); | 457 unittest.expect(o, unittest.hasLength(2)); |
458 checkIdpConfig(o[0]); | 458 checkIdpConfig(o[0]); |
459 checkIdpConfig(o[1]); | 459 checkIdpConfig(o[1]); |
460 } | 460 } |
461 | 461 |
462 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; | 462 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; |
463 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { | 463 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { |
464 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); | 464 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); |
465 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 465 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
466 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 466 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
467 o.allowPasswordUser = true; | 467 o.allowPasswordUser = true; |
468 o.apiKey = "foo"; | 468 o.apiKey = "foo"; |
469 o.authorizedDomains = buildUnnamed2439(); | 469 o.authorizedDomains = buildUnnamed2460(); |
470 o.changeEmailTemplate = buildEmailTemplate(); | 470 o.changeEmailTemplate = buildEmailTemplate(); |
471 o.dynamicLinksDomain = "foo"; | 471 o.dynamicLinksDomain = "foo"; |
472 o.enableAnonymousUser = true; | 472 o.enableAnonymousUser = true; |
473 o.idpConfig = buildUnnamed2440(); | 473 o.idpConfig = buildUnnamed2461(); |
474 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 474 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
475 o.projectId = "foo"; | 475 o.projectId = "foo"; |
476 o.resetPasswordTemplate = buildEmailTemplate(); | 476 o.resetPasswordTemplate = buildEmailTemplate(); |
477 o.useEmailSending = true; | 477 o.useEmailSending = true; |
478 o.verifyEmailTemplate = buildEmailTemplate(); | 478 o.verifyEmailTemplate = buildEmailTemplate(); |
479 } | 479 } |
480 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 480 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
481 return o; | 481 return o; |
482 } | 482 } |
483 | 483 |
484 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { | 484 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { |
485 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 485 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
486 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 486 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
487 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 487 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
488 unittest.expect(o.apiKey, unittest.equals('foo')); | 488 unittest.expect(o.apiKey, unittest.equals('foo')); |
489 checkUnnamed2439(o.authorizedDomains); | 489 checkUnnamed2460(o.authorizedDomains); |
490 checkEmailTemplate(o.changeEmailTemplate); | 490 checkEmailTemplate(o.changeEmailTemplate); |
491 unittest.expect(o.dynamicLinksDomain, unittest.equals('foo')); | 491 unittest.expect(o.dynamicLinksDomain, unittest.equals('foo')); |
492 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 492 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
493 checkUnnamed2440(o.idpConfig); | 493 checkUnnamed2461(o.idpConfig); |
494 checkEmailTemplate(o.legacyResetPasswordTemplate); | 494 checkEmailTemplate(o.legacyResetPasswordTemplate); |
495 unittest.expect(o.projectId, unittest.equals('foo')); | 495 unittest.expect(o.projectId, unittest.equals('foo')); |
496 checkEmailTemplate(o.resetPasswordTemplate); | 496 checkEmailTemplate(o.resetPasswordTemplate); |
497 unittest.expect(o.useEmailSending, unittest.isTrue); | 497 unittest.expect(o.useEmailSending, unittest.isTrue); |
498 checkEmailTemplate(o.verifyEmailTemplate); | 498 checkEmailTemplate(o.verifyEmailTemplate); |
499 } | 499 } |
500 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 500 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
501 } | 501 } |
502 | 502 |
503 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { | 503 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { |
(...skipping 27 matching lines...) Expand all Loading... |
531 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; | 531 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; |
532 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { | 532 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { |
533 unittest.expect(o.email, unittest.equals('foo')); | 533 unittest.expect(o.email, unittest.equals('foo')); |
534 unittest.expect(o.newPassword, unittest.equals('foo')); | 534 unittest.expect(o.newPassword, unittest.equals('foo')); |
535 unittest.expect(o.oldPassword, unittest.equals('foo')); | 535 unittest.expect(o.oldPassword, unittest.equals('foo')); |
536 unittest.expect(o.oobCode, unittest.equals('foo')); | 536 unittest.expect(o.oobCode, unittest.equals('foo')); |
537 } | 537 } |
538 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; | 538 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; |
539 } | 539 } |
540 | 540 |
541 buildUnnamed2441() { | 541 buildUnnamed2462() { |
542 var o = new core.List<core.String>(); | 542 var o = new core.List<core.String>(); |
543 o.add("foo"); | 543 o.add("foo"); |
544 o.add("foo"); | 544 o.add("foo"); |
545 return o; | 545 return o; |
546 } | 546 } |
547 | 547 |
548 checkUnnamed2441(core.List<core.String> o) { | 548 checkUnnamed2462(core.List<core.String> o) { |
549 unittest.expect(o, unittest.hasLength(2)); | 549 unittest.expect(o, unittest.hasLength(2)); |
550 unittest.expect(o[0], unittest.equals('foo')); | 550 unittest.expect(o[0], unittest.equals('foo')); |
551 unittest.expect(o[1], unittest.equals('foo')); | 551 unittest.expect(o[1], unittest.equals('foo')); |
552 } | 552 } |
553 | 553 |
554 buildUnnamed2442() { | 554 buildUnnamed2463() { |
555 var o = new core.List<core.String>(); | 555 var o = new core.List<core.String>(); |
556 o.add("foo"); | 556 o.add("foo"); |
557 o.add("foo"); | 557 o.add("foo"); |
558 return o; | 558 return o; |
559 } | 559 } |
560 | 560 |
561 checkUnnamed2442(core.List<core.String> o) { | 561 checkUnnamed2463(core.List<core.String> o) { |
562 unittest.expect(o, unittest.hasLength(2)); | 562 unittest.expect(o, unittest.hasLength(2)); |
563 unittest.expect(o[0], unittest.equals('foo')); | 563 unittest.expect(o[0], unittest.equals('foo')); |
564 unittest.expect(o[1], unittest.equals('foo')); | 564 unittest.expect(o[1], unittest.equals('foo')); |
565 } | 565 } |
566 | 566 |
567 buildUnnamed2443() { | 567 buildUnnamed2464() { |
568 var o = new core.List<core.String>(); | 568 var o = new core.List<core.String>(); |
569 o.add("foo"); | 569 o.add("foo"); |
570 o.add("foo"); | 570 o.add("foo"); |
571 return o; | 571 return o; |
572 } | 572 } |
573 | 573 |
574 checkUnnamed2443(core.List<core.String> o) { | 574 checkUnnamed2464(core.List<core.String> o) { |
575 unittest.expect(o, unittest.hasLength(2)); | 575 unittest.expect(o, unittest.hasLength(2)); |
576 unittest.expect(o[0], unittest.equals('foo')); | 576 unittest.expect(o[0], unittest.equals('foo')); |
577 unittest.expect(o[1], unittest.equals('foo')); | 577 unittest.expect(o[1], unittest.equals('foo')); |
578 } | 578 } |
579 | 579 |
580 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; | 580 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; |
581 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { | 581 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { |
582 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); | 582 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); |
583 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 583 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
584 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 584 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
585 o.captchaChallenge = "foo"; | 585 o.captchaChallenge = "foo"; |
586 o.captchaResponse = "foo"; | 586 o.captchaResponse = "foo"; |
587 o.createdAt = "foo"; | 587 o.createdAt = "foo"; |
588 o.delegatedProjectNumber = "foo"; | 588 o.delegatedProjectNumber = "foo"; |
589 o.deleteAttribute = buildUnnamed2441(); | 589 o.deleteAttribute = buildUnnamed2462(); |
590 o.deleteProvider = buildUnnamed2442(); | 590 o.deleteProvider = buildUnnamed2463(); |
591 o.disableUser = true; | 591 o.disableUser = true; |
592 o.displayName = "foo"; | 592 o.displayName = "foo"; |
593 o.email = "foo"; | 593 o.email = "foo"; |
594 o.emailVerified = true; | 594 o.emailVerified = true; |
595 o.idToken = "foo"; | 595 o.idToken = "foo"; |
596 o.instanceId = "foo"; | 596 o.instanceId = "foo"; |
597 o.lastLoginAt = "foo"; | 597 o.lastLoginAt = "foo"; |
598 o.localId = "foo"; | 598 o.localId = "foo"; |
599 o.oobCode = "foo"; | 599 o.oobCode = "foo"; |
600 o.password = "foo"; | 600 o.password = "foo"; |
601 o.phoneNumber = "foo"; | 601 o.phoneNumber = "foo"; |
602 o.photoUrl = "foo"; | 602 o.photoUrl = "foo"; |
603 o.provider = buildUnnamed2443(); | 603 o.provider = buildUnnamed2464(); |
604 o.returnSecureToken = true; | 604 o.returnSecureToken = true; |
605 o.upgradeToFederatedLogin = true; | 605 o.upgradeToFederatedLogin = true; |
606 o.validSince = "foo"; | 606 o.validSince = "foo"; |
607 } | 607 } |
608 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 608 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
609 return o; | 609 return o; |
610 } | 610 } |
611 | 611 |
612 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { | 612 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { |
613 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 613 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
614 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 614 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
615 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 615 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
616 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 616 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
617 unittest.expect(o.createdAt, unittest.equals('foo')); | 617 unittest.expect(o.createdAt, unittest.equals('foo')); |
618 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 618 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
619 checkUnnamed2441(o.deleteAttribute); | 619 checkUnnamed2462(o.deleteAttribute); |
620 checkUnnamed2442(o.deleteProvider); | 620 checkUnnamed2463(o.deleteProvider); |
621 unittest.expect(o.disableUser, unittest.isTrue); | 621 unittest.expect(o.disableUser, unittest.isTrue); |
622 unittest.expect(o.displayName, unittest.equals('foo')); | 622 unittest.expect(o.displayName, unittest.equals('foo')); |
623 unittest.expect(o.email, unittest.equals('foo')); | 623 unittest.expect(o.email, unittest.equals('foo')); |
624 unittest.expect(o.emailVerified, unittest.isTrue); | 624 unittest.expect(o.emailVerified, unittest.isTrue); |
625 unittest.expect(o.idToken, unittest.equals('foo')); | 625 unittest.expect(o.idToken, unittest.equals('foo')); |
626 unittest.expect(o.instanceId, unittest.equals('foo')); | 626 unittest.expect(o.instanceId, unittest.equals('foo')); |
627 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 627 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
628 unittest.expect(o.localId, unittest.equals('foo')); | 628 unittest.expect(o.localId, unittest.equals('foo')); |
629 unittest.expect(o.oobCode, unittest.equals('foo')); | 629 unittest.expect(o.oobCode, unittest.equals('foo')); |
630 unittest.expect(o.password, unittest.equals('foo')); | 630 unittest.expect(o.password, unittest.equals('foo')); |
631 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 631 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
632 unittest.expect(o.photoUrl, unittest.equals('foo')); | 632 unittest.expect(o.photoUrl, unittest.equals('foo')); |
633 checkUnnamed2443(o.provider); | 633 checkUnnamed2464(o.provider); |
634 unittest.expect(o.returnSecureToken, unittest.isTrue); | 634 unittest.expect(o.returnSecureToken, unittest.isTrue); |
635 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); | 635 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); |
636 unittest.expect(o.validSince, unittest.equals('foo')); | 636 unittest.expect(o.validSince, unittest.equals('foo')); |
637 } | 637 } |
638 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 638 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
639 } | 639 } |
640 | 640 |
641 buildUnnamed2444() { | 641 buildUnnamed2465() { |
642 var o = new core.List<core.String>(); | 642 var o = new core.List<core.String>(); |
643 o.add("foo"); | 643 o.add("foo"); |
644 o.add("foo"); | 644 o.add("foo"); |
645 return o; | 645 return o; |
646 } | 646 } |
647 | 647 |
648 checkUnnamed2444(core.List<core.String> o) { | 648 checkUnnamed2465(core.List<core.String> o) { |
649 unittest.expect(o, unittest.hasLength(2)); | 649 unittest.expect(o, unittest.hasLength(2)); |
650 unittest.expect(o[0], unittest.equals('foo')); | 650 unittest.expect(o[0], unittest.equals('foo')); |
651 unittest.expect(o[1], unittest.equals('foo')); | 651 unittest.expect(o[1], unittest.equals('foo')); |
652 } | 652 } |
653 | 653 |
654 buildUnnamed2445() { | 654 buildUnnamed2466() { |
655 var o = new core.List<api.IdpConfig>(); | 655 var o = new core.List<api.IdpConfig>(); |
656 o.add(buildIdpConfig()); | 656 o.add(buildIdpConfig()); |
657 o.add(buildIdpConfig()); | 657 o.add(buildIdpConfig()); |
658 return o; | 658 return o; |
659 } | 659 } |
660 | 660 |
661 checkUnnamed2445(core.List<api.IdpConfig> o) { | 661 checkUnnamed2466(core.List<api.IdpConfig> o) { |
662 unittest.expect(o, unittest.hasLength(2)); | 662 unittest.expect(o, unittest.hasLength(2)); |
663 checkIdpConfig(o[0]); | 663 checkIdpConfig(o[0]); |
664 checkIdpConfig(o[1]); | 664 checkIdpConfig(o[1]); |
665 } | 665 } |
666 | 666 |
667 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; | 667 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; |
668 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { | 668 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { |
669 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); | 669 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); |
670 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 670 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
671 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 671 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
672 o.allowPasswordUser = true; | 672 o.allowPasswordUser = true; |
673 o.apiKey = "foo"; | 673 o.apiKey = "foo"; |
674 o.authorizedDomains = buildUnnamed2444(); | 674 o.authorizedDomains = buildUnnamed2465(); |
675 o.changeEmailTemplate = buildEmailTemplate(); | 675 o.changeEmailTemplate = buildEmailTemplate(); |
676 o.delegatedProjectNumber = "foo"; | 676 o.delegatedProjectNumber = "foo"; |
677 o.enableAnonymousUser = true; | 677 o.enableAnonymousUser = true; |
678 o.idpConfig = buildUnnamed2445(); | 678 o.idpConfig = buildUnnamed2466(); |
679 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 679 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
680 o.resetPasswordTemplate = buildEmailTemplate(); | 680 o.resetPasswordTemplate = buildEmailTemplate(); |
681 o.useEmailSending = true; | 681 o.useEmailSending = true; |
682 o.verifyEmailTemplate = buildEmailTemplate(); | 682 o.verifyEmailTemplate = buildEmailTemplate(); |
683 } | 683 } |
684 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 684 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
685 return o; | 685 return o; |
686 } | 686 } |
687 | 687 |
688 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { | 688 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { |
689 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 689 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
690 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 690 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
691 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 691 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
692 unittest.expect(o.apiKey, unittest.equals('foo')); | 692 unittest.expect(o.apiKey, unittest.equals('foo')); |
693 checkUnnamed2444(o.authorizedDomains); | 693 checkUnnamed2465(o.authorizedDomains); |
694 checkEmailTemplate(o.changeEmailTemplate); | 694 checkEmailTemplate(o.changeEmailTemplate); |
695 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 695 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
696 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 696 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
697 checkUnnamed2445(o.idpConfig); | 697 checkUnnamed2466(o.idpConfig); |
698 checkEmailTemplate(o.legacyResetPasswordTemplate); | 698 checkEmailTemplate(o.legacyResetPasswordTemplate); |
699 checkEmailTemplate(o.resetPasswordTemplate); | 699 checkEmailTemplate(o.resetPasswordTemplate); |
700 unittest.expect(o.useEmailSending, unittest.isTrue); | 700 unittest.expect(o.useEmailSending, unittest.isTrue); |
701 checkEmailTemplate(o.verifyEmailTemplate); | 701 checkEmailTemplate(o.verifyEmailTemplate); |
702 } | 702 } |
703 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 703 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
704 } | 704 } |
705 | 705 |
706 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; | 706 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; |
707 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { | 707 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 unittest.expect(o.idToken, unittest.equals('foo')); | 796 unittest.expect(o.idToken, unittest.equals('foo')); |
797 unittest.expect(o.instanceId, unittest.equals('foo')); | 797 unittest.expect(o.instanceId, unittest.equals('foo')); |
798 unittest.expect(o.localId, unittest.equals('foo')); | 798 unittest.expect(o.localId, unittest.equals('foo')); |
799 unittest.expect(o.password, unittest.equals('foo')); | 799 unittest.expect(o.password, unittest.equals('foo')); |
800 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 800 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
801 unittest.expect(o.photoUrl, unittest.equals('foo')); | 801 unittest.expect(o.photoUrl, unittest.equals('foo')); |
802 } | 802 } |
803 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; | 803 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; |
804 } | 804 } |
805 | 805 |
806 buildUnnamed2446() { | 806 buildUnnamed2467() { |
807 var o = new core.List<api.UserInfo>(); | 807 var o = new core.List<api.UserInfo>(); |
808 o.add(buildUserInfo()); | 808 o.add(buildUserInfo()); |
809 o.add(buildUserInfo()); | 809 o.add(buildUserInfo()); |
810 return o; | 810 return o; |
811 } | 811 } |
812 | 812 |
813 checkUnnamed2446(core.List<api.UserInfo> o) { | 813 checkUnnamed2467(core.List<api.UserInfo> o) { |
814 unittest.expect(o, unittest.hasLength(2)); | 814 unittest.expect(o, unittest.hasLength(2)); |
815 checkUserInfo(o[0]); | 815 checkUserInfo(o[0]); |
816 checkUserInfo(o[1]); | 816 checkUserInfo(o[1]); |
817 } | 817 } |
818 | 818 |
819 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; | 819 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; |
820 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { | 820 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { |
821 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); | 821 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); |
822 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 822 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
823 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 823 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
824 o.allowOverwrite = true; | 824 o.allowOverwrite = true; |
825 o.delegatedProjectNumber = "foo"; | 825 o.delegatedProjectNumber = "foo"; |
826 o.hashAlgorithm = "foo"; | 826 o.hashAlgorithm = "foo"; |
827 o.memoryCost = 42; | 827 o.memoryCost = 42; |
828 o.rounds = 42; | 828 o.rounds = 42; |
829 o.saltSeparator = "foo"; | 829 o.saltSeparator = "foo"; |
830 o.sanityCheck = true; | 830 o.sanityCheck = true; |
831 o.signerKey = "foo"; | 831 o.signerKey = "foo"; |
832 o.targetProjectId = "foo"; | 832 o.targetProjectId = "foo"; |
833 o.users = buildUnnamed2446(); | 833 o.users = buildUnnamed2467(); |
834 } | 834 } |
835 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 835 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
836 return o; | 836 return o; |
837 } | 837 } |
838 | 838 |
839 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { | 839 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { |
840 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 840 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
841 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 841 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
842 unittest.expect(o.allowOverwrite, unittest.isTrue); | 842 unittest.expect(o.allowOverwrite, unittest.isTrue); |
843 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 843 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
844 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); | 844 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); |
845 unittest.expect(o.memoryCost, unittest.equals(42)); | 845 unittest.expect(o.memoryCost, unittest.equals(42)); |
846 unittest.expect(o.rounds, unittest.equals(42)); | 846 unittest.expect(o.rounds, unittest.equals(42)); |
847 unittest.expect(o.saltSeparator, unittest.equals('foo')); | 847 unittest.expect(o.saltSeparator, unittest.equals('foo')); |
848 unittest.expect(o.sanityCheck, unittest.isTrue); | 848 unittest.expect(o.sanityCheck, unittest.isTrue); |
849 unittest.expect(o.signerKey, unittest.equals('foo')); | 849 unittest.expect(o.signerKey, unittest.equals('foo')); |
850 unittest.expect(o.targetProjectId, unittest.equals('foo')); | 850 unittest.expect(o.targetProjectId, unittest.equals('foo')); |
851 checkUnnamed2446(o.users); | 851 checkUnnamed2467(o.users); |
852 } | 852 } |
853 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 853 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
854 } | 854 } |
855 | 855 |
856 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; | 856 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; |
857 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { | 857 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { |
858 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 858 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
859 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; | 859 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; |
860 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { | 860 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { |
861 o.autoCreate = true; | 861 o.autoCreate = true; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 unittest.expect(o.email, unittest.equals('foo')); | 945 unittest.expect(o.email, unittest.equals('foo')); |
946 unittest.expect(o.idToken, unittest.equals('foo')); | 946 unittest.expect(o.idToken, unittest.equals('foo')); |
947 unittest.expect(o.instanceId, unittest.equals('foo')); | 947 unittest.expect(o.instanceId, unittest.equals('foo')); |
948 unittest.expect(o.password, unittest.equals('foo')); | 948 unittest.expect(o.password, unittest.equals('foo')); |
949 unittest.expect(o.pendingIdToken, unittest.equals('foo')); | 949 unittest.expect(o.pendingIdToken, unittest.equals('foo')); |
950 unittest.expect(o.returnSecureToken, unittest.isTrue); | 950 unittest.expect(o.returnSecureToken, unittest.isTrue); |
951 } | 951 } |
952 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; | 952 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; |
953 } | 953 } |
954 | 954 |
955 buildUnnamed2447() { | 955 buildUnnamed2468() { |
956 var o = new core.List<core.String>(); | 956 var o = new core.List<core.String>(); |
957 o.add("foo"); | 957 o.add("foo"); |
958 o.add("foo"); | 958 o.add("foo"); |
959 return o; | 959 return o; |
960 } | 960 } |
961 | 961 |
962 checkUnnamed2447(core.List<core.String> o) { | 962 checkUnnamed2468(core.List<core.String> o) { |
963 unittest.expect(o, unittest.hasLength(2)); | 963 unittest.expect(o, unittest.hasLength(2)); |
964 unittest.expect(o[0], unittest.equals('foo')); | 964 unittest.expect(o[0], unittest.equals('foo')); |
965 unittest.expect(o[1], unittest.equals('foo')); | 965 unittest.expect(o[1], unittest.equals('foo')); |
966 } | 966 } |
967 | 967 |
968 core.int buildCounterIdpConfig = 0; | 968 core.int buildCounterIdpConfig = 0; |
969 buildIdpConfig() { | 969 buildIdpConfig() { |
970 var o = new api.IdpConfig(); | 970 var o = new api.IdpConfig(); |
971 buildCounterIdpConfig++; | 971 buildCounterIdpConfig++; |
972 if (buildCounterIdpConfig < 3) { | 972 if (buildCounterIdpConfig < 3) { |
973 o.clientId = "foo"; | 973 o.clientId = "foo"; |
974 o.enabled = true; | 974 o.enabled = true; |
975 o.experimentPercent = 42; | 975 o.experimentPercent = 42; |
976 o.provider = "foo"; | 976 o.provider = "foo"; |
977 o.secret = "foo"; | 977 o.secret = "foo"; |
978 o.whitelistedAudiences = buildUnnamed2447(); | 978 o.whitelistedAudiences = buildUnnamed2468(); |
979 } | 979 } |
980 buildCounterIdpConfig--; | 980 buildCounterIdpConfig--; |
981 return o; | 981 return o; |
982 } | 982 } |
983 | 983 |
984 checkIdpConfig(api.IdpConfig o) { | 984 checkIdpConfig(api.IdpConfig o) { |
985 buildCounterIdpConfig++; | 985 buildCounterIdpConfig++; |
986 if (buildCounterIdpConfig < 3) { | 986 if (buildCounterIdpConfig < 3) { |
987 unittest.expect(o.clientId, unittest.equals('foo')); | 987 unittest.expect(o.clientId, unittest.equals('foo')); |
988 unittest.expect(o.enabled, unittest.isTrue); | 988 unittest.expect(o.enabled, unittest.isTrue); |
989 unittest.expect(o.experimentPercent, unittest.equals(42)); | 989 unittest.expect(o.experimentPercent, unittest.equals(42)); |
990 unittest.expect(o.provider, unittest.equals('foo')); | 990 unittest.expect(o.provider, unittest.equals('foo')); |
991 unittest.expect(o.secret, unittest.equals('foo')); | 991 unittest.expect(o.secret, unittest.equals('foo')); |
992 checkUnnamed2447(o.whitelistedAudiences); | 992 checkUnnamed2468(o.whitelistedAudiences); |
993 } | 993 } |
994 buildCounterIdpConfig--; | 994 buildCounterIdpConfig--; |
995 } | 995 } |
996 | 996 |
997 core.int buildCounterRelyingparty = 0; | 997 core.int buildCounterRelyingparty = 0; |
998 buildRelyingparty() { | 998 buildRelyingparty() { |
999 var o = new api.Relyingparty(); | 999 var o = new api.Relyingparty(); |
1000 buildCounterRelyingparty++; | 1000 buildCounterRelyingparty++; |
1001 if (buildCounterRelyingparty < 3) { | 1001 if (buildCounterRelyingparty < 3) { |
1002 o.androidInstallApp = true; | 1002 o.androidInstallApp = true; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1084 buildCounterSetAccountInfoResponseProviderUserInfo++; | 1084 buildCounterSetAccountInfoResponseProviderUserInfo++; |
1085 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 1085 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
1086 unittest.expect(o.displayName, unittest.equals('foo')); | 1086 unittest.expect(o.displayName, unittest.equals('foo')); |
1087 unittest.expect(o.federatedId, unittest.equals('foo')); | 1087 unittest.expect(o.federatedId, unittest.equals('foo')); |
1088 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1088 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1089 unittest.expect(o.providerId, unittest.equals('foo')); | 1089 unittest.expect(o.providerId, unittest.equals('foo')); |
1090 } | 1090 } |
1091 buildCounterSetAccountInfoResponseProviderUserInfo--; | 1091 buildCounterSetAccountInfoResponseProviderUserInfo--; |
1092 } | 1092 } |
1093 | 1093 |
1094 buildUnnamed2448() { | 1094 buildUnnamed2469() { |
1095 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); | 1095 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); |
1096 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1096 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
1097 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1097 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
1098 return o; | 1098 return o; |
1099 } | 1099 } |
1100 | 1100 |
1101 checkUnnamed2448(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { | 1101 checkUnnamed2469(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { |
1102 unittest.expect(o, unittest.hasLength(2)); | 1102 unittest.expect(o, unittest.hasLength(2)); |
1103 checkSetAccountInfoResponseProviderUserInfo(o[0]); | 1103 checkSetAccountInfoResponseProviderUserInfo(o[0]); |
1104 checkSetAccountInfoResponseProviderUserInfo(o[1]); | 1104 checkSetAccountInfoResponseProviderUserInfo(o[1]); |
1105 } | 1105 } |
1106 | 1106 |
1107 core.int buildCounterSetAccountInfoResponse = 0; | 1107 core.int buildCounterSetAccountInfoResponse = 0; |
1108 buildSetAccountInfoResponse() { | 1108 buildSetAccountInfoResponse() { |
1109 var o = new api.SetAccountInfoResponse(); | 1109 var o = new api.SetAccountInfoResponse(); |
1110 buildCounterSetAccountInfoResponse++; | 1110 buildCounterSetAccountInfoResponse++; |
1111 if (buildCounterSetAccountInfoResponse < 3) { | 1111 if (buildCounterSetAccountInfoResponse < 3) { |
1112 o.displayName = "foo"; | 1112 o.displayName = "foo"; |
1113 o.email = "foo"; | 1113 o.email = "foo"; |
1114 o.emailVerified = true; | 1114 o.emailVerified = true; |
1115 o.expiresIn = "foo"; | 1115 o.expiresIn = "foo"; |
1116 o.idToken = "foo"; | 1116 o.idToken = "foo"; |
1117 o.kind = "foo"; | 1117 o.kind = "foo"; |
1118 o.localId = "foo"; | 1118 o.localId = "foo"; |
1119 o.newEmail = "foo"; | 1119 o.newEmail = "foo"; |
1120 o.passwordHash = "foo"; | 1120 o.passwordHash = "foo"; |
1121 o.photoUrl = "foo"; | 1121 o.photoUrl = "foo"; |
1122 o.providerUserInfo = buildUnnamed2448(); | 1122 o.providerUserInfo = buildUnnamed2469(); |
1123 o.refreshToken = "foo"; | 1123 o.refreshToken = "foo"; |
1124 } | 1124 } |
1125 buildCounterSetAccountInfoResponse--; | 1125 buildCounterSetAccountInfoResponse--; |
1126 return o; | 1126 return o; |
1127 } | 1127 } |
1128 | 1128 |
1129 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { | 1129 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { |
1130 buildCounterSetAccountInfoResponse++; | 1130 buildCounterSetAccountInfoResponse++; |
1131 if (buildCounterSetAccountInfoResponse < 3) { | 1131 if (buildCounterSetAccountInfoResponse < 3) { |
1132 unittest.expect(o.displayName, unittest.equals('foo')); | 1132 unittest.expect(o.displayName, unittest.equals('foo')); |
1133 unittest.expect(o.email, unittest.equals('foo')); | 1133 unittest.expect(o.email, unittest.equals('foo')); |
1134 unittest.expect(o.emailVerified, unittest.isTrue); | 1134 unittest.expect(o.emailVerified, unittest.isTrue); |
1135 unittest.expect(o.expiresIn, unittest.equals('foo')); | 1135 unittest.expect(o.expiresIn, unittest.equals('foo')); |
1136 unittest.expect(o.idToken, unittest.equals('foo')); | 1136 unittest.expect(o.idToken, unittest.equals('foo')); |
1137 unittest.expect(o.kind, unittest.equals('foo')); | 1137 unittest.expect(o.kind, unittest.equals('foo')); |
1138 unittest.expect(o.localId, unittest.equals('foo')); | 1138 unittest.expect(o.localId, unittest.equals('foo')); |
1139 unittest.expect(o.newEmail, unittest.equals('foo')); | 1139 unittest.expect(o.newEmail, unittest.equals('foo')); |
1140 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1140 unittest.expect(o.passwordHash, unittest.equals('foo')); |
1141 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1141 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1142 checkUnnamed2448(o.providerUserInfo); | 1142 checkUnnamed2469(o.providerUserInfo); |
1143 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1143 unittest.expect(o.refreshToken, unittest.equals('foo')); |
1144 } | 1144 } |
1145 buildCounterSetAccountInfoResponse--; | 1145 buildCounterSetAccountInfoResponse--; |
1146 } | 1146 } |
1147 | 1147 |
1148 core.int buildCounterSignupNewUserResponse = 0; | 1148 core.int buildCounterSignupNewUserResponse = 0; |
1149 buildSignupNewUserResponse() { | 1149 buildSignupNewUserResponse() { |
1150 var o = new api.SignupNewUserResponse(); | 1150 var o = new api.SignupNewUserResponse(); |
1151 buildCounterSignupNewUserResponse++; | 1151 buildCounterSignupNewUserResponse++; |
1152 if (buildCounterSignupNewUserResponse < 3) { | 1152 if (buildCounterSignupNewUserResponse < 3) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1190 | 1190 |
1191 checkUploadAccountResponseError(api.UploadAccountResponseError o) { | 1191 checkUploadAccountResponseError(api.UploadAccountResponseError o) { |
1192 buildCounterUploadAccountResponseError++; | 1192 buildCounterUploadAccountResponseError++; |
1193 if (buildCounterUploadAccountResponseError < 3) { | 1193 if (buildCounterUploadAccountResponseError < 3) { |
1194 unittest.expect(o.index, unittest.equals(42)); | 1194 unittest.expect(o.index, unittest.equals(42)); |
1195 unittest.expect(o.message, unittest.equals('foo')); | 1195 unittest.expect(o.message, unittest.equals('foo')); |
1196 } | 1196 } |
1197 buildCounterUploadAccountResponseError--; | 1197 buildCounterUploadAccountResponseError--; |
1198 } | 1198 } |
1199 | 1199 |
1200 buildUnnamed2449() { | 1200 buildUnnamed2470() { |
1201 var o = new core.List<api.UploadAccountResponseError>(); | 1201 var o = new core.List<api.UploadAccountResponseError>(); |
1202 o.add(buildUploadAccountResponseError()); | 1202 o.add(buildUploadAccountResponseError()); |
1203 o.add(buildUploadAccountResponseError()); | 1203 o.add(buildUploadAccountResponseError()); |
1204 return o; | 1204 return o; |
1205 } | 1205 } |
1206 | 1206 |
1207 checkUnnamed2449(core.List<api.UploadAccountResponseError> o) { | 1207 checkUnnamed2470(core.List<api.UploadAccountResponseError> o) { |
1208 unittest.expect(o, unittest.hasLength(2)); | 1208 unittest.expect(o, unittest.hasLength(2)); |
1209 checkUploadAccountResponseError(o[0]); | 1209 checkUploadAccountResponseError(o[0]); |
1210 checkUploadAccountResponseError(o[1]); | 1210 checkUploadAccountResponseError(o[1]); |
1211 } | 1211 } |
1212 | 1212 |
1213 core.int buildCounterUploadAccountResponse = 0; | 1213 core.int buildCounterUploadAccountResponse = 0; |
1214 buildUploadAccountResponse() { | 1214 buildUploadAccountResponse() { |
1215 var o = new api.UploadAccountResponse(); | 1215 var o = new api.UploadAccountResponse(); |
1216 buildCounterUploadAccountResponse++; | 1216 buildCounterUploadAccountResponse++; |
1217 if (buildCounterUploadAccountResponse < 3) { | 1217 if (buildCounterUploadAccountResponse < 3) { |
1218 o.error = buildUnnamed2449(); | 1218 o.error = buildUnnamed2470(); |
1219 o.kind = "foo"; | 1219 o.kind = "foo"; |
1220 } | 1220 } |
1221 buildCounterUploadAccountResponse--; | 1221 buildCounterUploadAccountResponse--; |
1222 return o; | 1222 return o; |
1223 } | 1223 } |
1224 | 1224 |
1225 checkUploadAccountResponse(api.UploadAccountResponse o) { | 1225 checkUploadAccountResponse(api.UploadAccountResponse o) { |
1226 buildCounterUploadAccountResponse++; | 1226 buildCounterUploadAccountResponse++; |
1227 if (buildCounterUploadAccountResponse < 3) { | 1227 if (buildCounterUploadAccountResponse < 3) { |
1228 checkUnnamed2449(o.error); | 1228 checkUnnamed2470(o.error); |
1229 unittest.expect(o.kind, unittest.equals('foo')); | 1229 unittest.expect(o.kind, unittest.equals('foo')); |
1230 } | 1230 } |
1231 buildCounterUploadAccountResponse--; | 1231 buildCounterUploadAccountResponse--; |
1232 } | 1232 } |
1233 | 1233 |
1234 core.int buildCounterUserInfoProviderUserInfo = 0; | 1234 core.int buildCounterUserInfoProviderUserInfo = 0; |
1235 buildUserInfoProviderUserInfo() { | 1235 buildUserInfoProviderUserInfo() { |
1236 var o = new api.UserInfoProviderUserInfo(); | 1236 var o = new api.UserInfoProviderUserInfo(); |
1237 buildCounterUserInfoProviderUserInfo++; | 1237 buildCounterUserInfoProviderUserInfo++; |
1238 if (buildCounterUserInfoProviderUserInfo < 3) { | 1238 if (buildCounterUserInfoProviderUserInfo < 3) { |
(...skipping 18 matching lines...) Expand all Loading... |
1257 unittest.expect(o.federatedId, unittest.equals('foo')); | 1257 unittest.expect(o.federatedId, unittest.equals('foo')); |
1258 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 1258 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
1259 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1259 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1260 unittest.expect(o.providerId, unittest.equals('foo')); | 1260 unittest.expect(o.providerId, unittest.equals('foo')); |
1261 unittest.expect(o.rawId, unittest.equals('foo')); | 1261 unittest.expect(o.rawId, unittest.equals('foo')); |
1262 unittest.expect(o.screenName, unittest.equals('foo')); | 1262 unittest.expect(o.screenName, unittest.equals('foo')); |
1263 } | 1263 } |
1264 buildCounterUserInfoProviderUserInfo--; | 1264 buildCounterUserInfoProviderUserInfo--; |
1265 } | 1265 } |
1266 | 1266 |
1267 buildUnnamed2450() { | 1267 buildUnnamed2471() { |
1268 var o = new core.List<api.UserInfoProviderUserInfo>(); | 1268 var o = new core.List<api.UserInfoProviderUserInfo>(); |
1269 o.add(buildUserInfoProviderUserInfo()); | 1269 o.add(buildUserInfoProviderUserInfo()); |
1270 o.add(buildUserInfoProviderUserInfo()); | 1270 o.add(buildUserInfoProviderUserInfo()); |
1271 return o; | 1271 return o; |
1272 } | 1272 } |
1273 | 1273 |
1274 checkUnnamed2450(core.List<api.UserInfoProviderUserInfo> o) { | 1274 checkUnnamed2471(core.List<api.UserInfoProviderUserInfo> o) { |
1275 unittest.expect(o, unittest.hasLength(2)); | 1275 unittest.expect(o, unittest.hasLength(2)); |
1276 checkUserInfoProviderUserInfo(o[0]); | 1276 checkUserInfoProviderUserInfo(o[0]); |
1277 checkUserInfoProviderUserInfo(o[1]); | 1277 checkUserInfoProviderUserInfo(o[1]); |
1278 } | 1278 } |
1279 | 1279 |
1280 core.int buildCounterUserInfo = 0; | 1280 core.int buildCounterUserInfo = 0; |
1281 buildUserInfo() { | 1281 buildUserInfo() { |
1282 var o = new api.UserInfo(); | 1282 var o = new api.UserInfo(); |
1283 buildCounterUserInfo++; | 1283 buildCounterUserInfo++; |
1284 if (buildCounterUserInfo < 3) { | 1284 if (buildCounterUserInfo < 3) { |
1285 o.createdAt = "foo"; | 1285 o.createdAt = "foo"; |
1286 o.customAuth = true; | 1286 o.customAuth = true; |
1287 o.disabled = true; | 1287 o.disabled = true; |
1288 o.displayName = "foo"; | 1288 o.displayName = "foo"; |
1289 o.email = "foo"; | 1289 o.email = "foo"; |
1290 o.emailVerified = true; | 1290 o.emailVerified = true; |
1291 o.lastLoginAt = "foo"; | 1291 o.lastLoginAt = "foo"; |
1292 o.localId = "foo"; | 1292 o.localId = "foo"; |
1293 o.passwordHash = "foo"; | 1293 o.passwordHash = "foo"; |
1294 o.passwordUpdatedAt = 42.0; | 1294 o.passwordUpdatedAt = 42.0; |
1295 o.phoneNumber = "foo"; | 1295 o.phoneNumber = "foo"; |
1296 o.photoUrl = "foo"; | 1296 o.photoUrl = "foo"; |
1297 o.providerUserInfo = buildUnnamed2450(); | 1297 o.providerUserInfo = buildUnnamed2471(); |
1298 o.rawPassword = "foo"; | 1298 o.rawPassword = "foo"; |
1299 o.salt = "foo"; | 1299 o.salt = "foo"; |
1300 o.screenName = "foo"; | 1300 o.screenName = "foo"; |
1301 o.validSince = "foo"; | 1301 o.validSince = "foo"; |
1302 o.version = 42; | 1302 o.version = 42; |
1303 } | 1303 } |
1304 buildCounterUserInfo--; | 1304 buildCounterUserInfo--; |
1305 return o; | 1305 return o; |
1306 } | 1306 } |
1307 | 1307 |
1308 checkUserInfo(api.UserInfo o) { | 1308 checkUserInfo(api.UserInfo o) { |
1309 buildCounterUserInfo++; | 1309 buildCounterUserInfo++; |
1310 if (buildCounterUserInfo < 3) { | 1310 if (buildCounterUserInfo < 3) { |
1311 unittest.expect(o.createdAt, unittest.equals('foo')); | 1311 unittest.expect(o.createdAt, unittest.equals('foo')); |
1312 unittest.expect(o.customAuth, unittest.isTrue); | 1312 unittest.expect(o.customAuth, unittest.isTrue); |
1313 unittest.expect(o.disabled, unittest.isTrue); | 1313 unittest.expect(o.disabled, unittest.isTrue); |
1314 unittest.expect(o.displayName, unittest.equals('foo')); | 1314 unittest.expect(o.displayName, unittest.equals('foo')); |
1315 unittest.expect(o.email, unittest.equals('foo')); | 1315 unittest.expect(o.email, unittest.equals('foo')); |
1316 unittest.expect(o.emailVerified, unittest.isTrue); | 1316 unittest.expect(o.emailVerified, unittest.isTrue); |
1317 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 1317 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
1318 unittest.expect(o.localId, unittest.equals('foo')); | 1318 unittest.expect(o.localId, unittest.equals('foo')); |
1319 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1319 unittest.expect(o.passwordHash, unittest.equals('foo')); |
1320 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); | 1320 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); |
1321 unittest.expect(o.phoneNumber, unittest.equals('foo')); | 1321 unittest.expect(o.phoneNumber, unittest.equals('foo')); |
1322 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1322 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1323 checkUnnamed2450(o.providerUserInfo); | 1323 checkUnnamed2471(o.providerUserInfo); |
1324 unittest.expect(o.rawPassword, unittest.equals('foo')); | 1324 unittest.expect(o.rawPassword, unittest.equals('foo')); |
1325 unittest.expect(o.salt, unittest.equals('foo')); | 1325 unittest.expect(o.salt, unittest.equals('foo')); |
1326 unittest.expect(o.screenName, unittest.equals('foo')); | 1326 unittest.expect(o.screenName, unittest.equals('foo')); |
1327 unittest.expect(o.validSince, unittest.equals('foo')); | 1327 unittest.expect(o.validSince, unittest.equals('foo')); |
1328 unittest.expect(o.version, unittest.equals(42)); | 1328 unittest.expect(o.version, unittest.equals(42)); |
1329 } | 1329 } |
1330 buildCounterUserInfo--; | 1330 buildCounterUserInfo--; |
1331 } | 1331 } |
1332 | 1332 |
1333 buildUnnamed2451() { | 1333 buildUnnamed2472() { |
1334 var o = new core.List<core.String>(); | 1334 var o = new core.List<core.String>(); |
1335 o.add("foo"); | 1335 o.add("foo"); |
1336 o.add("foo"); | 1336 o.add("foo"); |
1337 return o; | 1337 return o; |
1338 } | 1338 } |
1339 | 1339 |
1340 checkUnnamed2451(core.List<core.String> o) { | 1340 checkUnnamed2472(core.List<core.String> o) { |
1341 unittest.expect(o, unittest.hasLength(2)); | 1341 unittest.expect(o, unittest.hasLength(2)); |
1342 unittest.expect(o[0], unittest.equals('foo')); | 1342 unittest.expect(o[0], unittest.equals('foo')); |
1343 unittest.expect(o[1], unittest.equals('foo')); | 1343 unittest.expect(o[1], unittest.equals('foo')); |
1344 } | 1344 } |
1345 | 1345 |
1346 core.int buildCounterVerifyAssertionResponse = 0; | 1346 core.int buildCounterVerifyAssertionResponse = 0; |
1347 buildVerifyAssertionResponse() { | 1347 buildVerifyAssertionResponse() { |
1348 var o = new api.VerifyAssertionResponse(); | 1348 var o = new api.VerifyAssertionResponse(); |
1349 buildCounterVerifyAssertionResponse++; | 1349 buildCounterVerifyAssertionResponse++; |
1350 if (buildCounterVerifyAssertionResponse < 3) { | 1350 if (buildCounterVerifyAssertionResponse < 3) { |
(...skipping 28 matching lines...) Expand all Loading... |
1379 o.oauthRequestToken = "foo"; | 1379 o.oauthRequestToken = "foo"; |
1380 o.oauthScope = "foo"; | 1380 o.oauthScope = "foo"; |
1381 o.oauthTokenSecret = "foo"; | 1381 o.oauthTokenSecret = "foo"; |
1382 o.originalEmail = "foo"; | 1382 o.originalEmail = "foo"; |
1383 o.photoUrl = "foo"; | 1383 o.photoUrl = "foo"; |
1384 o.providerId = "foo"; | 1384 o.providerId = "foo"; |
1385 o.rawUserInfo = "foo"; | 1385 o.rawUserInfo = "foo"; |
1386 o.refreshToken = "foo"; | 1386 o.refreshToken = "foo"; |
1387 o.screenName = "foo"; | 1387 o.screenName = "foo"; |
1388 o.timeZone = "foo"; | 1388 o.timeZone = "foo"; |
1389 o.verifiedProvider = buildUnnamed2451(); | 1389 o.verifiedProvider = buildUnnamed2472(); |
1390 } | 1390 } |
1391 buildCounterVerifyAssertionResponse--; | 1391 buildCounterVerifyAssertionResponse--; |
1392 return o; | 1392 return o; |
1393 } | 1393 } |
1394 | 1394 |
1395 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { | 1395 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { |
1396 buildCounterVerifyAssertionResponse++; | 1396 buildCounterVerifyAssertionResponse++; |
1397 if (buildCounterVerifyAssertionResponse < 3) { | 1397 if (buildCounterVerifyAssertionResponse < 3) { |
1398 unittest.expect(o.action, unittest.equals('foo')); | 1398 unittest.expect(o.action, unittest.equals('foo')); |
1399 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); | 1399 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); |
(...skipping 26 matching lines...) Expand all Loading... |
1426 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); | 1426 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); |
1427 unittest.expect(o.oauthScope, unittest.equals('foo')); | 1427 unittest.expect(o.oauthScope, unittest.equals('foo')); |
1428 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); | 1428 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); |
1429 unittest.expect(o.originalEmail, unittest.equals('foo')); | 1429 unittest.expect(o.originalEmail, unittest.equals('foo')); |
1430 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1430 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1431 unittest.expect(o.providerId, unittest.equals('foo')); | 1431 unittest.expect(o.providerId, unittest.equals('foo')); |
1432 unittest.expect(o.rawUserInfo, unittest.equals('foo')); | 1432 unittest.expect(o.rawUserInfo, unittest.equals('foo')); |
1433 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1433 unittest.expect(o.refreshToken, unittest.equals('foo')); |
1434 unittest.expect(o.screenName, unittest.equals('foo')); | 1434 unittest.expect(o.screenName, unittest.equals('foo')); |
1435 unittest.expect(o.timeZone, unittest.equals('foo')); | 1435 unittest.expect(o.timeZone, unittest.equals('foo')); |
1436 checkUnnamed2451(o.verifiedProvider); | 1436 checkUnnamed2472(o.verifiedProvider); |
1437 } | 1437 } |
1438 buildCounterVerifyAssertionResponse--; | 1438 buildCounterVerifyAssertionResponse--; |
1439 } | 1439 } |
1440 | 1440 |
1441 core.int buildCounterVerifyCustomTokenResponse = 0; | 1441 core.int buildCounterVerifyCustomTokenResponse = 0; |
1442 buildVerifyCustomTokenResponse() { | 1442 buildVerifyCustomTokenResponse() { |
1443 var o = new api.VerifyCustomTokenResponse(); | 1443 var o = new api.VerifyCustomTokenResponse(); |
1444 buildCounterVerifyCustomTokenResponse++; | 1444 buildCounterVerifyCustomTokenResponse++; |
1445 if (buildCounterVerifyCustomTokenResponse < 3) { | 1445 if (buildCounterVerifyCustomTokenResponse < 3) { |
1446 o.expiresIn = "foo"; | 1446 o.expiresIn = "foo"; |
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2663 res.verifyPassword(arg_request).then(unittest.expectAsync1(((api.VerifyPas
swordResponse response) { | 2663 res.verifyPassword(arg_request).then(unittest.expectAsync1(((api.VerifyPas
swordResponse response) { |
2664 checkVerifyPasswordResponse(response); | 2664 checkVerifyPasswordResponse(response); |
2665 }))); | 2665 }))); |
2666 }); | 2666 }); |
2667 | 2667 |
2668 }); | 2668 }); |
2669 | 2669 |
2670 | 2670 |
2671 } | 2671 } |
2672 | 2672 |
OLD | NEW |