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 buildUnnamed2164() { | 54 buildUnnamed2258() { |
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 checkUnnamed2164(core.List<core.String> o) { | 61 checkUnnamed2258(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 = buildUnnamed2164(); | 72 o.allProviders = buildUnnamed2258(); |
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 checkUnnamed2164(o.allProviders); | 88 checkUnnamed2258(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 buildUnnamed2165() { | 119 buildUnnamed2259() { |
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 checkUnnamed2165(core.List<api.UserInfo> o) { | 126 checkUnnamed2259(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 = buildUnnamed2165(); | 139 o.users = buildUnnamed2259(); |
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 checkUnnamed2165(o.users); | 150 checkUnnamed2259(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 buildUnnamed2166() { | 184 buildUnnamed2260() { |
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 checkUnnamed2166(core.List<api.UserInfo> o) { | 191 checkUnnamed2260(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 = buildUnnamed2166(); | 203 o.users = buildUnnamed2260(); |
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 checkUnnamed2166(o.users); | 213 checkUnnamed2260(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 buildUnnamed2167() { | 264 buildUnnamed2261() { |
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 checkUnnamed2167(core.Map<core.String, core.String> o) { | 271 checkUnnamed2261(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 = buildUnnamed2167(); | 287 o.customParameter = buildUnnamed2261(); |
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 checkUnnamed2167(o.customParameter); | 309 checkUnnamed2261(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 buildUnnamed2168() { | 370 buildUnnamed2262() { |
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 checkUnnamed2168(core.List<core.String> o) { | 377 checkUnnamed2262(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 buildUnnamed2169() { | 383 buildUnnamed2263() { |
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 checkUnnamed2169(core.List<core.String> o) { | 390 checkUnnamed2263(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 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; | 396 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; |
397 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { | 397 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { |
398 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); | 398 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); |
399 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 399 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
400 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 400 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
401 o.delegatedProjectNumber = "foo"; | 401 o.delegatedProjectNumber = "foo"; |
402 o.email = buildUnnamed2168(); | 402 o.email = buildUnnamed2262(); |
403 o.idToken = "foo"; | 403 o.idToken = "foo"; |
404 o.localId = buildUnnamed2169(); | 404 o.localId = buildUnnamed2263(); |
405 } | 405 } |
406 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 406 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
407 return o; | 407 return o; |
408 } | 408 } |
409 | 409 |
410 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { | 410 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying
partyGetAccountInfoRequest o) { |
411 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; | 411 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; |
412 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { | 412 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { |
413 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 413 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
414 checkUnnamed2168(o.email); | 414 checkUnnamed2262(o.email); |
415 unittest.expect(o.idToken, unittest.equals('foo')); | 415 unittest.expect(o.idToken, unittest.equals('foo')); |
416 checkUnnamed2169(o.localId); | 416 checkUnnamed2263(o.localId); |
417 } | 417 } |
418 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; | 418 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; |
419 } | 419 } |
420 | 420 |
421 buildUnnamed2170() { | 421 buildUnnamed2264() { |
422 var o = new core.List<core.String>(); | 422 var o = new core.List<core.String>(); |
423 o.add("foo"); | 423 o.add("foo"); |
424 o.add("foo"); | 424 o.add("foo"); |
425 return o; | 425 return o; |
426 } | 426 } |
427 | 427 |
428 checkUnnamed2170(core.List<core.String> o) { | 428 checkUnnamed2264(core.List<core.String> o) { |
429 unittest.expect(o, unittest.hasLength(2)); | 429 unittest.expect(o, unittest.hasLength(2)); |
430 unittest.expect(o[0], unittest.equals('foo')); | 430 unittest.expect(o[0], unittest.equals('foo')); |
431 unittest.expect(o[1], unittest.equals('foo')); | 431 unittest.expect(o[1], unittest.equals('foo')); |
432 } | 432 } |
433 | 433 |
434 buildUnnamed2171() { | 434 buildUnnamed2265() { |
435 var o = new core.List<api.IdpConfig>(); | 435 var o = new core.List<api.IdpConfig>(); |
436 o.add(buildIdpConfig()); | 436 o.add(buildIdpConfig()); |
437 o.add(buildIdpConfig()); | 437 o.add(buildIdpConfig()); |
438 return o; | 438 return o; |
439 } | 439 } |
440 | 440 |
441 checkUnnamed2171(core.List<api.IdpConfig> o) { | 441 checkUnnamed2265(core.List<api.IdpConfig> o) { |
442 unittest.expect(o, unittest.hasLength(2)); | 442 unittest.expect(o, unittest.hasLength(2)); |
443 checkIdpConfig(o[0]); | 443 checkIdpConfig(o[0]); |
444 checkIdpConfig(o[1]); | 444 checkIdpConfig(o[1]); |
445 } | 445 } |
446 | 446 |
447 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; | 447 core.int buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse = 0; |
448 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { | 448 buildIdentitytoolkitRelyingpartyGetProjectConfigResponse() { |
449 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); | 449 var o = new api.IdentitytoolkitRelyingpartyGetProjectConfigResponse(); |
450 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 450 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
451 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 451 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
452 o.allowPasswordUser = true; | 452 o.allowPasswordUser = true; |
453 o.apiKey = "foo"; | 453 o.apiKey = "foo"; |
454 o.authorizedDomains = buildUnnamed2170(); | 454 o.authorizedDomains = buildUnnamed2264(); |
455 o.changeEmailTemplate = buildEmailTemplate(); | 455 o.changeEmailTemplate = buildEmailTemplate(); |
456 o.dynamicLinksDomain = "foo"; | 456 o.dynamicLinksDomain = "foo"; |
457 o.enableAnonymousUser = true; | 457 o.enableAnonymousUser = true; |
458 o.idpConfig = buildUnnamed2171(); | 458 o.idpConfig = buildUnnamed2265(); |
459 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 459 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
460 o.projectId = "foo"; | 460 o.projectId = "foo"; |
461 o.resetPasswordTemplate = buildEmailTemplate(); | 461 o.resetPasswordTemplate = buildEmailTemplate(); |
462 o.useEmailSending = true; | 462 o.useEmailSending = true; |
463 o.verifyEmailTemplate = buildEmailTemplate(); | 463 o.verifyEmailTemplate = buildEmailTemplate(); |
464 } | 464 } |
465 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 465 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
466 return o; | 466 return o; |
467 } | 467 } |
468 | 468 |
469 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { | 469 checkIdentitytoolkitRelyingpartyGetProjectConfigResponse(api.IdentitytoolkitRely
ingpartyGetProjectConfigResponse o) { |
470 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; | 470 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse++; |
471 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { | 471 if (buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse < 3) { |
472 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 472 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
473 unittest.expect(o.apiKey, unittest.equals('foo')); | 473 unittest.expect(o.apiKey, unittest.equals('foo')); |
474 checkUnnamed2170(o.authorizedDomains); | 474 checkUnnamed2264(o.authorizedDomains); |
475 checkEmailTemplate(o.changeEmailTemplate); | 475 checkEmailTemplate(o.changeEmailTemplate); |
476 unittest.expect(o.dynamicLinksDomain, unittest.equals('foo')); | 476 unittest.expect(o.dynamicLinksDomain, unittest.equals('foo')); |
477 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 477 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
478 checkUnnamed2171(o.idpConfig); | 478 checkUnnamed2265(o.idpConfig); |
479 checkEmailTemplate(o.legacyResetPasswordTemplate); | 479 checkEmailTemplate(o.legacyResetPasswordTemplate); |
480 unittest.expect(o.projectId, unittest.equals('foo')); | 480 unittest.expect(o.projectId, unittest.equals('foo')); |
481 checkEmailTemplate(o.resetPasswordTemplate); | 481 checkEmailTemplate(o.resetPasswordTemplate); |
482 unittest.expect(o.useEmailSending, unittest.isTrue); | 482 unittest.expect(o.useEmailSending, unittest.isTrue); |
483 checkEmailTemplate(o.verifyEmailTemplate); | 483 checkEmailTemplate(o.verifyEmailTemplate); |
484 } | 484 } |
485 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; | 485 buildCounterIdentitytoolkitRelyingpartyGetProjectConfigResponse--; |
486 } | 486 } |
487 | 487 |
488 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { | 488 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { |
(...skipping 27 matching lines...) Expand all Loading... |
516 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; | 516 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; |
517 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { | 517 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { |
518 unittest.expect(o.email, unittest.equals('foo')); | 518 unittest.expect(o.email, unittest.equals('foo')); |
519 unittest.expect(o.newPassword, unittest.equals('foo')); | 519 unittest.expect(o.newPassword, unittest.equals('foo')); |
520 unittest.expect(o.oldPassword, unittest.equals('foo')); | 520 unittest.expect(o.oldPassword, unittest.equals('foo')); |
521 unittest.expect(o.oobCode, unittest.equals('foo')); | 521 unittest.expect(o.oobCode, unittest.equals('foo')); |
522 } | 522 } |
523 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; | 523 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; |
524 } | 524 } |
525 | 525 |
526 buildUnnamed2172() { | 526 buildUnnamed2266() { |
527 var o = new core.List<core.String>(); | 527 var o = new core.List<core.String>(); |
528 o.add("foo"); | 528 o.add("foo"); |
529 o.add("foo"); | 529 o.add("foo"); |
530 return o; | 530 return o; |
531 } | 531 } |
532 | 532 |
533 checkUnnamed2172(core.List<core.String> o) { | 533 checkUnnamed2266(core.List<core.String> o) { |
534 unittest.expect(o, unittest.hasLength(2)); | 534 unittest.expect(o, unittest.hasLength(2)); |
535 unittest.expect(o[0], unittest.equals('foo')); | 535 unittest.expect(o[0], unittest.equals('foo')); |
536 unittest.expect(o[1], unittest.equals('foo')); | 536 unittest.expect(o[1], unittest.equals('foo')); |
537 } | 537 } |
538 | 538 |
539 buildUnnamed2173() { | 539 buildUnnamed2267() { |
540 var o = new core.List<core.String>(); | 540 var o = new core.List<core.String>(); |
541 o.add("foo"); | 541 o.add("foo"); |
542 o.add("foo"); | 542 o.add("foo"); |
543 return o; | 543 return o; |
544 } | 544 } |
545 | 545 |
546 checkUnnamed2173(core.List<core.String> o) { | 546 checkUnnamed2267(core.List<core.String> o) { |
547 unittest.expect(o, unittest.hasLength(2)); | 547 unittest.expect(o, unittest.hasLength(2)); |
548 unittest.expect(o[0], unittest.equals('foo')); | 548 unittest.expect(o[0], unittest.equals('foo')); |
549 unittest.expect(o[1], unittest.equals('foo')); | 549 unittest.expect(o[1], unittest.equals('foo')); |
550 } | 550 } |
551 | 551 |
552 buildUnnamed2174() { | 552 buildUnnamed2268() { |
553 var o = new core.List<core.String>(); | 553 var o = new core.List<core.String>(); |
554 o.add("foo"); | 554 o.add("foo"); |
555 o.add("foo"); | 555 o.add("foo"); |
556 return o; | 556 return o; |
557 } | 557 } |
558 | 558 |
559 checkUnnamed2174(core.List<core.String> o) { | 559 checkUnnamed2268(core.List<core.String> o) { |
560 unittest.expect(o, unittest.hasLength(2)); | 560 unittest.expect(o, unittest.hasLength(2)); |
561 unittest.expect(o[0], unittest.equals('foo')); | 561 unittest.expect(o[0], unittest.equals('foo')); |
562 unittest.expect(o[1], unittest.equals('foo')); | 562 unittest.expect(o[1], unittest.equals('foo')); |
563 } | 563 } |
564 | 564 |
565 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; | 565 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; |
566 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { | 566 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { |
567 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); | 567 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); |
568 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 568 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
569 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 569 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
570 o.captchaChallenge = "foo"; | 570 o.captchaChallenge = "foo"; |
571 o.captchaResponse = "foo"; | 571 o.captchaResponse = "foo"; |
572 o.createdAt = "foo"; | 572 o.createdAt = "foo"; |
573 o.delegatedProjectNumber = "foo"; | 573 o.delegatedProjectNumber = "foo"; |
574 o.deleteAttribute = buildUnnamed2172(); | 574 o.deleteAttribute = buildUnnamed2266(); |
575 o.deleteProvider = buildUnnamed2173(); | 575 o.deleteProvider = buildUnnamed2267(); |
576 o.disableUser = true; | 576 o.disableUser = true; |
577 o.displayName = "foo"; | 577 o.displayName = "foo"; |
578 o.email = "foo"; | 578 o.email = "foo"; |
579 o.emailVerified = true; | 579 o.emailVerified = true; |
580 o.idToken = "foo"; | 580 o.idToken = "foo"; |
581 o.instanceId = "foo"; | 581 o.instanceId = "foo"; |
582 o.lastLoginAt = "foo"; | 582 o.lastLoginAt = "foo"; |
583 o.localId = "foo"; | 583 o.localId = "foo"; |
584 o.oobCode = "foo"; | 584 o.oobCode = "foo"; |
585 o.password = "foo"; | 585 o.password = "foo"; |
586 o.photoUrl = "foo"; | 586 o.photoUrl = "foo"; |
587 o.provider = buildUnnamed2174(); | 587 o.provider = buildUnnamed2268(); |
588 o.returnSecureToken = true; | 588 o.returnSecureToken = true; |
589 o.upgradeToFederatedLogin = true; | 589 o.upgradeToFederatedLogin = true; |
590 o.validSince = "foo"; | 590 o.validSince = "foo"; |
591 } | 591 } |
592 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 592 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
593 return o; | 593 return o; |
594 } | 594 } |
595 | 595 |
596 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { | 596 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying
partySetAccountInfoRequest o) { |
597 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; | 597 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; |
598 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { | 598 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { |
599 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 599 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
600 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 600 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
601 unittest.expect(o.createdAt, unittest.equals('foo')); | 601 unittest.expect(o.createdAt, unittest.equals('foo')); |
602 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 602 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
603 checkUnnamed2172(o.deleteAttribute); | 603 checkUnnamed2266(o.deleteAttribute); |
604 checkUnnamed2173(o.deleteProvider); | 604 checkUnnamed2267(o.deleteProvider); |
605 unittest.expect(o.disableUser, unittest.isTrue); | 605 unittest.expect(o.disableUser, unittest.isTrue); |
606 unittest.expect(o.displayName, unittest.equals('foo')); | 606 unittest.expect(o.displayName, unittest.equals('foo')); |
607 unittest.expect(o.email, unittest.equals('foo')); | 607 unittest.expect(o.email, unittest.equals('foo')); |
608 unittest.expect(o.emailVerified, unittest.isTrue); | 608 unittest.expect(o.emailVerified, unittest.isTrue); |
609 unittest.expect(o.idToken, unittest.equals('foo')); | 609 unittest.expect(o.idToken, unittest.equals('foo')); |
610 unittest.expect(o.instanceId, unittest.equals('foo')); | 610 unittest.expect(o.instanceId, unittest.equals('foo')); |
611 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 611 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
612 unittest.expect(o.localId, unittest.equals('foo')); | 612 unittest.expect(o.localId, unittest.equals('foo')); |
613 unittest.expect(o.oobCode, unittest.equals('foo')); | 613 unittest.expect(o.oobCode, unittest.equals('foo')); |
614 unittest.expect(o.password, unittest.equals('foo')); | 614 unittest.expect(o.password, unittest.equals('foo')); |
615 unittest.expect(o.photoUrl, unittest.equals('foo')); | 615 unittest.expect(o.photoUrl, unittest.equals('foo')); |
616 checkUnnamed2174(o.provider); | 616 checkUnnamed2268(o.provider); |
617 unittest.expect(o.returnSecureToken, unittest.isTrue); | 617 unittest.expect(o.returnSecureToken, unittest.isTrue); |
618 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); | 618 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); |
619 unittest.expect(o.validSince, unittest.equals('foo')); | 619 unittest.expect(o.validSince, unittest.equals('foo')); |
620 } | 620 } |
621 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; | 621 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; |
622 } | 622 } |
623 | 623 |
624 buildUnnamed2175() { | 624 buildUnnamed2269() { |
625 var o = new core.List<core.String>(); | 625 var o = new core.List<core.String>(); |
626 o.add("foo"); | 626 o.add("foo"); |
627 o.add("foo"); | 627 o.add("foo"); |
628 return o; | 628 return o; |
629 } | 629 } |
630 | 630 |
631 checkUnnamed2175(core.List<core.String> o) { | 631 checkUnnamed2269(core.List<core.String> o) { |
632 unittest.expect(o, unittest.hasLength(2)); | 632 unittest.expect(o, unittest.hasLength(2)); |
633 unittest.expect(o[0], unittest.equals('foo')); | 633 unittest.expect(o[0], unittest.equals('foo')); |
634 unittest.expect(o[1], unittest.equals('foo')); | 634 unittest.expect(o[1], unittest.equals('foo')); |
635 } | 635 } |
636 | 636 |
637 buildUnnamed2176() { | 637 buildUnnamed2270() { |
638 var o = new core.List<api.IdpConfig>(); | 638 var o = new core.List<api.IdpConfig>(); |
639 o.add(buildIdpConfig()); | 639 o.add(buildIdpConfig()); |
640 o.add(buildIdpConfig()); | 640 o.add(buildIdpConfig()); |
641 return o; | 641 return o; |
642 } | 642 } |
643 | 643 |
644 checkUnnamed2176(core.List<api.IdpConfig> o) { | 644 checkUnnamed2270(core.List<api.IdpConfig> o) { |
645 unittest.expect(o, unittest.hasLength(2)); | 645 unittest.expect(o, unittest.hasLength(2)); |
646 checkIdpConfig(o[0]); | 646 checkIdpConfig(o[0]); |
647 checkIdpConfig(o[1]); | 647 checkIdpConfig(o[1]); |
648 } | 648 } |
649 | 649 |
650 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; | 650 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest = 0; |
651 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { | 651 buildIdentitytoolkitRelyingpartySetProjectConfigRequest() { |
652 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); | 652 var o = new api.IdentitytoolkitRelyingpartySetProjectConfigRequest(); |
653 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 653 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
654 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 654 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
655 o.allowPasswordUser = true; | 655 o.allowPasswordUser = true; |
656 o.apiKey = "foo"; | 656 o.apiKey = "foo"; |
657 o.authorizedDomains = buildUnnamed2175(); | 657 o.authorizedDomains = buildUnnamed2269(); |
658 o.changeEmailTemplate = buildEmailTemplate(); | 658 o.changeEmailTemplate = buildEmailTemplate(); |
659 o.delegatedProjectNumber = "foo"; | 659 o.delegatedProjectNumber = "foo"; |
660 o.enableAnonymousUser = true; | 660 o.enableAnonymousUser = true; |
661 o.idpConfig = buildUnnamed2176(); | 661 o.idpConfig = buildUnnamed2270(); |
662 o.legacyResetPasswordTemplate = buildEmailTemplate(); | 662 o.legacyResetPasswordTemplate = buildEmailTemplate(); |
663 o.resetPasswordTemplate = buildEmailTemplate(); | 663 o.resetPasswordTemplate = buildEmailTemplate(); |
664 o.useEmailSending = true; | 664 o.useEmailSending = true; |
665 o.verifyEmailTemplate = buildEmailTemplate(); | 665 o.verifyEmailTemplate = buildEmailTemplate(); |
666 } | 666 } |
667 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 667 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
668 return o; | 668 return o; |
669 } | 669 } |
670 | 670 |
671 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { | 671 checkIdentitytoolkitRelyingpartySetProjectConfigRequest(api.IdentitytoolkitRelyi
ngpartySetProjectConfigRequest o) { |
672 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; | 672 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest++; |
673 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { | 673 if (buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest < 3) { |
674 unittest.expect(o.allowPasswordUser, unittest.isTrue); | 674 unittest.expect(o.allowPasswordUser, unittest.isTrue); |
675 unittest.expect(o.apiKey, unittest.equals('foo')); | 675 unittest.expect(o.apiKey, unittest.equals('foo')); |
676 checkUnnamed2175(o.authorizedDomains); | 676 checkUnnamed2269(o.authorizedDomains); |
677 checkEmailTemplate(o.changeEmailTemplate); | 677 checkEmailTemplate(o.changeEmailTemplate); |
678 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 678 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
679 unittest.expect(o.enableAnonymousUser, unittest.isTrue); | 679 unittest.expect(o.enableAnonymousUser, unittest.isTrue); |
680 checkUnnamed2176(o.idpConfig); | 680 checkUnnamed2270(o.idpConfig); |
681 checkEmailTemplate(o.legacyResetPasswordTemplate); | 681 checkEmailTemplate(o.legacyResetPasswordTemplate); |
682 checkEmailTemplate(o.resetPasswordTemplate); | 682 checkEmailTemplate(o.resetPasswordTemplate); |
683 unittest.expect(o.useEmailSending, unittest.isTrue); | 683 unittest.expect(o.useEmailSending, unittest.isTrue); |
684 checkEmailTemplate(o.verifyEmailTemplate); | 684 checkEmailTemplate(o.verifyEmailTemplate); |
685 } | 685 } |
686 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; | 686 buildCounterIdentitytoolkitRelyingpartySetProjectConfigRequest--; |
687 } | 687 } |
688 | 688 |
689 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; | 689 core.int buildCounterIdentitytoolkitRelyingpartySetProjectConfigResponse = 0; |
690 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { | 690 buildIdentitytoolkitRelyingpartySetProjectConfigResponse() { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest++; | 751 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest++; |
752 if (buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest < 3) { | 752 if (buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest < 3) { |
753 o.captchaChallenge = "foo"; | 753 o.captchaChallenge = "foo"; |
754 o.captchaResponse = "foo"; | 754 o.captchaResponse = "foo"; |
755 o.disabled = true; | 755 o.disabled = true; |
756 o.displayName = "foo"; | 756 o.displayName = "foo"; |
757 o.email = "foo"; | 757 o.email = "foo"; |
758 o.emailVerified = true; | 758 o.emailVerified = true; |
759 o.idToken = "foo"; | 759 o.idToken = "foo"; |
760 o.instanceId = "foo"; | 760 o.instanceId = "foo"; |
| 761 o.localId = "foo"; |
761 o.password = "foo"; | 762 o.password = "foo"; |
762 o.photoUrl = "foo"; | 763 o.photoUrl = "foo"; |
763 } | 764 } |
764 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; | 765 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; |
765 return o; | 766 return o; |
766 } | 767 } |
767 | 768 |
768 checkIdentitytoolkitRelyingpartySignupNewUserRequest(api.IdentitytoolkitRelyingp
artySignupNewUserRequest o) { | 769 checkIdentitytoolkitRelyingpartySignupNewUserRequest(api.IdentitytoolkitRelyingp
artySignupNewUserRequest o) { |
769 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest++; | 770 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest++; |
770 if (buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest < 3) { | 771 if (buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest < 3) { |
771 unittest.expect(o.captchaChallenge, unittest.equals('foo')); | 772 unittest.expect(o.captchaChallenge, unittest.equals('foo')); |
772 unittest.expect(o.captchaResponse, unittest.equals('foo')); | 773 unittest.expect(o.captchaResponse, unittest.equals('foo')); |
773 unittest.expect(o.disabled, unittest.isTrue); | 774 unittest.expect(o.disabled, unittest.isTrue); |
774 unittest.expect(o.displayName, unittest.equals('foo')); | 775 unittest.expect(o.displayName, unittest.equals('foo')); |
775 unittest.expect(o.email, unittest.equals('foo')); | 776 unittest.expect(o.email, unittest.equals('foo')); |
776 unittest.expect(o.emailVerified, unittest.isTrue); | 777 unittest.expect(o.emailVerified, unittest.isTrue); |
777 unittest.expect(o.idToken, unittest.equals('foo')); | 778 unittest.expect(o.idToken, unittest.equals('foo')); |
778 unittest.expect(o.instanceId, unittest.equals('foo')); | 779 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 780 unittest.expect(o.localId, unittest.equals('foo')); |
779 unittest.expect(o.password, unittest.equals('foo')); | 781 unittest.expect(o.password, unittest.equals('foo')); |
780 unittest.expect(o.photoUrl, unittest.equals('foo')); | 782 unittest.expect(o.photoUrl, unittest.equals('foo')); |
781 } | 783 } |
782 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; | 784 buildCounterIdentitytoolkitRelyingpartySignupNewUserRequest--; |
783 } | 785 } |
784 | 786 |
785 buildUnnamed2177() { | 787 buildUnnamed2271() { |
786 var o = new core.List<api.UserInfo>(); | 788 var o = new core.List<api.UserInfo>(); |
787 o.add(buildUserInfo()); | 789 o.add(buildUserInfo()); |
788 o.add(buildUserInfo()); | 790 o.add(buildUserInfo()); |
789 return o; | 791 return o; |
790 } | 792 } |
791 | 793 |
792 checkUnnamed2177(core.List<api.UserInfo> o) { | 794 checkUnnamed2271(core.List<api.UserInfo> o) { |
793 unittest.expect(o, unittest.hasLength(2)); | 795 unittest.expect(o, unittest.hasLength(2)); |
794 checkUserInfo(o[0]); | 796 checkUserInfo(o[0]); |
795 checkUserInfo(o[1]); | 797 checkUserInfo(o[1]); |
796 } | 798 } |
797 | 799 |
798 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; | 800 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; |
799 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { | 801 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { |
800 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); | 802 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); |
801 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 803 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
802 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 804 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
803 o.allowOverwrite = true; | 805 o.allowOverwrite = true; |
804 o.delegatedProjectNumber = "foo"; | 806 o.delegatedProjectNumber = "foo"; |
805 o.hashAlgorithm = "foo"; | 807 o.hashAlgorithm = "foo"; |
806 o.memoryCost = 42; | 808 o.memoryCost = 42; |
807 o.rounds = 42; | 809 o.rounds = 42; |
808 o.saltSeparator = "foo"; | 810 o.saltSeparator = "foo"; |
809 o.sanityCheck = true; | 811 o.sanityCheck = true; |
810 o.signerKey = "foo"; | 812 o.signerKey = "foo"; |
811 o.targetProjectId = "foo"; | 813 o.targetProjectId = "foo"; |
812 o.users = buildUnnamed2177(); | 814 o.users = buildUnnamed2271(); |
813 } | 815 } |
814 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 816 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
815 return o; | 817 return o; |
816 } | 818 } |
817 | 819 |
818 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { | 820 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp
artyUploadAccountRequest o) { |
819 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; | 821 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; |
820 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { | 822 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { |
821 unittest.expect(o.allowOverwrite, unittest.isTrue); | 823 unittest.expect(o.allowOverwrite, unittest.isTrue); |
822 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); | 824 unittest.expect(o.delegatedProjectNumber, unittest.equals('foo')); |
823 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); | 825 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); |
824 unittest.expect(o.memoryCost, unittest.equals(42)); | 826 unittest.expect(o.memoryCost, unittest.equals(42)); |
825 unittest.expect(o.rounds, unittest.equals(42)); | 827 unittest.expect(o.rounds, unittest.equals(42)); |
826 unittest.expect(o.saltSeparator, unittest.equals('foo')); | 828 unittest.expect(o.saltSeparator, unittest.equals('foo')); |
827 unittest.expect(o.sanityCheck, unittest.isTrue); | 829 unittest.expect(o.sanityCheck, unittest.isTrue); |
828 unittest.expect(o.signerKey, unittest.equals('foo')); | 830 unittest.expect(o.signerKey, unittest.equals('foo')); |
829 unittest.expect(o.targetProjectId, unittest.equals('foo')); | 831 unittest.expect(o.targetProjectId, unittest.equals('foo')); |
830 checkUnnamed2177(o.users); | 832 checkUnnamed2271(o.users); |
831 } | 833 } |
832 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; | 834 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; |
833 } | 835 } |
834 | 836 |
835 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; | 837 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; |
836 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { | 838 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { |
837 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); | 839 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); |
838 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; | 840 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; |
839 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { | 841 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { |
840 o.delegatedProjectNumber = "foo"; | 842 o.delegatedProjectNumber = "foo"; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 unittest.expect(o.email, unittest.equals('foo')); | 924 unittest.expect(o.email, unittest.equals('foo')); |
923 unittest.expect(o.idToken, unittest.equals('foo')); | 925 unittest.expect(o.idToken, unittest.equals('foo')); |
924 unittest.expect(o.instanceId, unittest.equals('foo')); | 926 unittest.expect(o.instanceId, unittest.equals('foo')); |
925 unittest.expect(o.password, unittest.equals('foo')); | 927 unittest.expect(o.password, unittest.equals('foo')); |
926 unittest.expect(o.pendingIdToken, unittest.equals('foo')); | 928 unittest.expect(o.pendingIdToken, unittest.equals('foo')); |
927 unittest.expect(o.returnSecureToken, unittest.isTrue); | 929 unittest.expect(o.returnSecureToken, unittest.isTrue); |
928 } | 930 } |
929 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; | 931 buildCounterIdentitytoolkitRelyingpartyVerifyPasswordRequest--; |
930 } | 932 } |
931 | 933 |
932 buildUnnamed2178() { | 934 buildUnnamed2272() { |
933 var o = new core.List<core.String>(); | 935 var o = new core.List<core.String>(); |
934 o.add("foo"); | 936 o.add("foo"); |
935 o.add("foo"); | 937 o.add("foo"); |
936 return o; | 938 return o; |
937 } | 939 } |
938 | 940 |
939 checkUnnamed2178(core.List<core.String> o) { | 941 checkUnnamed2272(core.List<core.String> o) { |
940 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
941 unittest.expect(o[0], unittest.equals('foo')); | 943 unittest.expect(o[0], unittest.equals('foo')); |
942 unittest.expect(o[1], unittest.equals('foo')); | 944 unittest.expect(o[1], unittest.equals('foo')); |
943 } | 945 } |
944 | 946 |
945 core.int buildCounterIdpConfig = 0; | 947 core.int buildCounterIdpConfig = 0; |
946 buildIdpConfig() { | 948 buildIdpConfig() { |
947 var o = new api.IdpConfig(); | 949 var o = new api.IdpConfig(); |
948 buildCounterIdpConfig++; | 950 buildCounterIdpConfig++; |
949 if (buildCounterIdpConfig < 3) { | 951 if (buildCounterIdpConfig < 3) { |
950 o.clientId = "foo"; | 952 o.clientId = "foo"; |
951 o.enabled = true; | 953 o.enabled = true; |
952 o.experimentPercent = 42; | 954 o.experimentPercent = 42; |
953 o.provider = "foo"; | 955 o.provider = "foo"; |
954 o.secret = "foo"; | 956 o.secret = "foo"; |
955 o.whitelistedAudiences = buildUnnamed2178(); | 957 o.whitelistedAudiences = buildUnnamed2272(); |
956 } | 958 } |
957 buildCounterIdpConfig--; | 959 buildCounterIdpConfig--; |
958 return o; | 960 return o; |
959 } | 961 } |
960 | 962 |
961 checkIdpConfig(api.IdpConfig o) { | 963 checkIdpConfig(api.IdpConfig o) { |
962 buildCounterIdpConfig++; | 964 buildCounterIdpConfig++; |
963 if (buildCounterIdpConfig < 3) { | 965 if (buildCounterIdpConfig < 3) { |
964 unittest.expect(o.clientId, unittest.equals('foo')); | 966 unittest.expect(o.clientId, unittest.equals('foo')); |
965 unittest.expect(o.enabled, unittest.isTrue); | 967 unittest.expect(o.enabled, unittest.isTrue); |
966 unittest.expect(o.experimentPercent, unittest.equals(42)); | 968 unittest.expect(o.experimentPercent, unittest.equals(42)); |
967 unittest.expect(o.provider, unittest.equals('foo')); | 969 unittest.expect(o.provider, unittest.equals('foo')); |
968 unittest.expect(o.secret, unittest.equals('foo')); | 970 unittest.expect(o.secret, unittest.equals('foo')); |
969 checkUnnamed2178(o.whitelistedAudiences); | 971 checkUnnamed2272(o.whitelistedAudiences); |
970 } | 972 } |
971 buildCounterIdpConfig--; | 973 buildCounterIdpConfig--; |
972 } | 974 } |
973 | 975 |
974 core.int buildCounterRelyingparty = 0; | 976 core.int buildCounterRelyingparty = 0; |
975 buildRelyingparty() { | 977 buildRelyingparty() { |
976 var o = new api.Relyingparty(); | 978 var o = new api.Relyingparty(); |
977 buildCounterRelyingparty++; | 979 buildCounterRelyingparty++; |
978 if (buildCounterRelyingparty < 3) { | 980 if (buildCounterRelyingparty < 3) { |
979 o.captchaResp = "foo"; | 981 o.captchaResp = "foo"; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1047 buildCounterSetAccountInfoResponseProviderUserInfo++; | 1049 buildCounterSetAccountInfoResponseProviderUserInfo++; |
1048 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { | 1050 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { |
1049 unittest.expect(o.displayName, unittest.equals('foo')); | 1051 unittest.expect(o.displayName, unittest.equals('foo')); |
1050 unittest.expect(o.federatedId, unittest.equals('foo')); | 1052 unittest.expect(o.federatedId, unittest.equals('foo')); |
1051 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1053 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1052 unittest.expect(o.providerId, unittest.equals('foo')); | 1054 unittest.expect(o.providerId, unittest.equals('foo')); |
1053 } | 1055 } |
1054 buildCounterSetAccountInfoResponseProviderUserInfo--; | 1056 buildCounterSetAccountInfoResponseProviderUserInfo--; |
1055 } | 1057 } |
1056 | 1058 |
1057 buildUnnamed2179() { | 1059 buildUnnamed2273() { |
1058 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); | 1060 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); |
1059 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1061 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
1060 o.add(buildSetAccountInfoResponseProviderUserInfo()); | 1062 o.add(buildSetAccountInfoResponseProviderUserInfo()); |
1061 return o; | 1063 return o; |
1062 } | 1064 } |
1063 | 1065 |
1064 checkUnnamed2179(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { | 1066 checkUnnamed2273(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { |
1065 unittest.expect(o, unittest.hasLength(2)); | 1067 unittest.expect(o, unittest.hasLength(2)); |
1066 checkSetAccountInfoResponseProviderUserInfo(o[0]); | 1068 checkSetAccountInfoResponseProviderUserInfo(o[0]); |
1067 checkSetAccountInfoResponseProviderUserInfo(o[1]); | 1069 checkSetAccountInfoResponseProviderUserInfo(o[1]); |
1068 } | 1070 } |
1069 | 1071 |
1070 core.int buildCounterSetAccountInfoResponse = 0; | 1072 core.int buildCounterSetAccountInfoResponse = 0; |
1071 buildSetAccountInfoResponse() { | 1073 buildSetAccountInfoResponse() { |
1072 var o = new api.SetAccountInfoResponse(); | 1074 var o = new api.SetAccountInfoResponse(); |
1073 buildCounterSetAccountInfoResponse++; | 1075 buildCounterSetAccountInfoResponse++; |
1074 if (buildCounterSetAccountInfoResponse < 3) { | 1076 if (buildCounterSetAccountInfoResponse < 3) { |
1075 o.displayName = "foo"; | 1077 o.displayName = "foo"; |
1076 o.email = "foo"; | 1078 o.email = "foo"; |
| 1079 o.emailVerified = true; |
1077 o.expiresIn = "foo"; | 1080 o.expiresIn = "foo"; |
1078 o.idToken = "foo"; | 1081 o.idToken = "foo"; |
1079 o.kind = "foo"; | 1082 o.kind = "foo"; |
1080 o.localId = "foo"; | 1083 o.localId = "foo"; |
1081 o.newEmail = "foo"; | 1084 o.newEmail = "foo"; |
1082 o.passwordHash = "foo"; | 1085 o.passwordHash = "foo"; |
1083 o.photoUrl = "foo"; | 1086 o.photoUrl = "foo"; |
1084 o.providerUserInfo = buildUnnamed2179(); | 1087 o.providerUserInfo = buildUnnamed2273(); |
1085 o.refreshToken = "foo"; | 1088 o.refreshToken = "foo"; |
1086 } | 1089 } |
1087 buildCounterSetAccountInfoResponse--; | 1090 buildCounterSetAccountInfoResponse--; |
1088 return o; | 1091 return o; |
1089 } | 1092 } |
1090 | 1093 |
1091 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { | 1094 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { |
1092 buildCounterSetAccountInfoResponse++; | 1095 buildCounterSetAccountInfoResponse++; |
1093 if (buildCounterSetAccountInfoResponse < 3) { | 1096 if (buildCounterSetAccountInfoResponse < 3) { |
1094 unittest.expect(o.displayName, unittest.equals('foo')); | 1097 unittest.expect(o.displayName, unittest.equals('foo')); |
1095 unittest.expect(o.email, unittest.equals('foo')); | 1098 unittest.expect(o.email, unittest.equals('foo')); |
| 1099 unittest.expect(o.emailVerified, unittest.isTrue); |
1096 unittest.expect(o.expiresIn, unittest.equals('foo')); | 1100 unittest.expect(o.expiresIn, unittest.equals('foo')); |
1097 unittest.expect(o.idToken, unittest.equals('foo')); | 1101 unittest.expect(o.idToken, unittest.equals('foo')); |
1098 unittest.expect(o.kind, unittest.equals('foo')); | 1102 unittest.expect(o.kind, unittest.equals('foo')); |
1099 unittest.expect(o.localId, unittest.equals('foo')); | 1103 unittest.expect(o.localId, unittest.equals('foo')); |
1100 unittest.expect(o.newEmail, unittest.equals('foo')); | 1104 unittest.expect(o.newEmail, unittest.equals('foo')); |
1101 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1105 unittest.expect(o.passwordHash, unittest.equals('foo')); |
1102 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1106 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1103 checkUnnamed2179(o.providerUserInfo); | 1107 checkUnnamed2273(o.providerUserInfo); |
1104 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1108 unittest.expect(o.refreshToken, unittest.equals('foo')); |
1105 } | 1109 } |
1106 buildCounterSetAccountInfoResponse--; | 1110 buildCounterSetAccountInfoResponse--; |
1107 } | 1111 } |
1108 | 1112 |
1109 core.int buildCounterSignupNewUserResponse = 0; | 1113 core.int buildCounterSignupNewUserResponse = 0; |
1110 buildSignupNewUserResponse() { | 1114 buildSignupNewUserResponse() { |
1111 var o = new api.SignupNewUserResponse(); | 1115 var o = new api.SignupNewUserResponse(); |
1112 buildCounterSignupNewUserResponse++; | 1116 buildCounterSignupNewUserResponse++; |
1113 if (buildCounterSignupNewUserResponse < 3) { | 1117 if (buildCounterSignupNewUserResponse < 3) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1151 | 1155 |
1152 checkUploadAccountResponseError(api.UploadAccountResponseError o) { | 1156 checkUploadAccountResponseError(api.UploadAccountResponseError o) { |
1153 buildCounterUploadAccountResponseError++; | 1157 buildCounterUploadAccountResponseError++; |
1154 if (buildCounterUploadAccountResponseError < 3) { | 1158 if (buildCounterUploadAccountResponseError < 3) { |
1155 unittest.expect(o.index, unittest.equals(42)); | 1159 unittest.expect(o.index, unittest.equals(42)); |
1156 unittest.expect(o.message, unittest.equals('foo')); | 1160 unittest.expect(o.message, unittest.equals('foo')); |
1157 } | 1161 } |
1158 buildCounterUploadAccountResponseError--; | 1162 buildCounterUploadAccountResponseError--; |
1159 } | 1163 } |
1160 | 1164 |
1161 buildUnnamed2180() { | 1165 buildUnnamed2274() { |
1162 var o = new core.List<api.UploadAccountResponseError>(); | 1166 var o = new core.List<api.UploadAccountResponseError>(); |
1163 o.add(buildUploadAccountResponseError()); | 1167 o.add(buildUploadAccountResponseError()); |
1164 o.add(buildUploadAccountResponseError()); | 1168 o.add(buildUploadAccountResponseError()); |
1165 return o; | 1169 return o; |
1166 } | 1170 } |
1167 | 1171 |
1168 checkUnnamed2180(core.List<api.UploadAccountResponseError> o) { | 1172 checkUnnamed2274(core.List<api.UploadAccountResponseError> o) { |
1169 unittest.expect(o, unittest.hasLength(2)); | 1173 unittest.expect(o, unittest.hasLength(2)); |
1170 checkUploadAccountResponseError(o[0]); | 1174 checkUploadAccountResponseError(o[0]); |
1171 checkUploadAccountResponseError(o[1]); | 1175 checkUploadAccountResponseError(o[1]); |
1172 } | 1176 } |
1173 | 1177 |
1174 core.int buildCounterUploadAccountResponse = 0; | 1178 core.int buildCounterUploadAccountResponse = 0; |
1175 buildUploadAccountResponse() { | 1179 buildUploadAccountResponse() { |
1176 var o = new api.UploadAccountResponse(); | 1180 var o = new api.UploadAccountResponse(); |
1177 buildCounterUploadAccountResponse++; | 1181 buildCounterUploadAccountResponse++; |
1178 if (buildCounterUploadAccountResponse < 3) { | 1182 if (buildCounterUploadAccountResponse < 3) { |
1179 o.error = buildUnnamed2180(); | 1183 o.error = buildUnnamed2274(); |
1180 o.kind = "foo"; | 1184 o.kind = "foo"; |
1181 } | 1185 } |
1182 buildCounterUploadAccountResponse--; | 1186 buildCounterUploadAccountResponse--; |
1183 return o; | 1187 return o; |
1184 } | 1188 } |
1185 | 1189 |
1186 checkUploadAccountResponse(api.UploadAccountResponse o) { | 1190 checkUploadAccountResponse(api.UploadAccountResponse o) { |
1187 buildCounterUploadAccountResponse++; | 1191 buildCounterUploadAccountResponse++; |
1188 if (buildCounterUploadAccountResponse < 3) { | 1192 if (buildCounterUploadAccountResponse < 3) { |
1189 checkUnnamed2180(o.error); | 1193 checkUnnamed2274(o.error); |
1190 unittest.expect(o.kind, unittest.equals('foo')); | 1194 unittest.expect(o.kind, unittest.equals('foo')); |
1191 } | 1195 } |
1192 buildCounterUploadAccountResponse--; | 1196 buildCounterUploadAccountResponse--; |
1193 } | 1197 } |
1194 | 1198 |
1195 core.int buildCounterUserInfoProviderUserInfo = 0; | 1199 core.int buildCounterUserInfoProviderUserInfo = 0; |
1196 buildUserInfoProviderUserInfo() { | 1200 buildUserInfoProviderUserInfo() { |
1197 var o = new api.UserInfoProviderUserInfo(); | 1201 var o = new api.UserInfoProviderUserInfo(); |
1198 buildCounterUserInfoProviderUserInfo++; | 1202 buildCounterUserInfoProviderUserInfo++; |
1199 if (buildCounterUserInfoProviderUserInfo < 3) { | 1203 if (buildCounterUserInfoProviderUserInfo < 3) { |
(...skipping 16 matching lines...) Expand all Loading... |
1216 unittest.expect(o.email, unittest.equals('foo')); | 1220 unittest.expect(o.email, unittest.equals('foo')); |
1217 unittest.expect(o.federatedId, unittest.equals('foo')); | 1221 unittest.expect(o.federatedId, unittest.equals('foo')); |
1218 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1222 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1219 unittest.expect(o.providerId, unittest.equals('foo')); | 1223 unittest.expect(o.providerId, unittest.equals('foo')); |
1220 unittest.expect(o.rawId, unittest.equals('foo')); | 1224 unittest.expect(o.rawId, unittest.equals('foo')); |
1221 unittest.expect(o.screenName, unittest.equals('foo')); | 1225 unittest.expect(o.screenName, unittest.equals('foo')); |
1222 } | 1226 } |
1223 buildCounterUserInfoProviderUserInfo--; | 1227 buildCounterUserInfoProviderUserInfo--; |
1224 } | 1228 } |
1225 | 1229 |
1226 buildUnnamed2181() { | 1230 buildUnnamed2275() { |
1227 var o = new core.List<api.UserInfoProviderUserInfo>(); | 1231 var o = new core.List<api.UserInfoProviderUserInfo>(); |
1228 o.add(buildUserInfoProviderUserInfo()); | 1232 o.add(buildUserInfoProviderUserInfo()); |
1229 o.add(buildUserInfoProviderUserInfo()); | 1233 o.add(buildUserInfoProviderUserInfo()); |
1230 return o; | 1234 return o; |
1231 } | 1235 } |
1232 | 1236 |
1233 checkUnnamed2181(core.List<api.UserInfoProviderUserInfo> o) { | 1237 checkUnnamed2275(core.List<api.UserInfoProviderUserInfo> o) { |
1234 unittest.expect(o, unittest.hasLength(2)); | 1238 unittest.expect(o, unittest.hasLength(2)); |
1235 checkUserInfoProviderUserInfo(o[0]); | 1239 checkUserInfoProviderUserInfo(o[0]); |
1236 checkUserInfoProviderUserInfo(o[1]); | 1240 checkUserInfoProviderUserInfo(o[1]); |
1237 } | 1241 } |
1238 | 1242 |
1239 core.int buildCounterUserInfo = 0; | 1243 core.int buildCounterUserInfo = 0; |
1240 buildUserInfo() { | 1244 buildUserInfo() { |
1241 var o = new api.UserInfo(); | 1245 var o = new api.UserInfo(); |
1242 buildCounterUserInfo++; | 1246 buildCounterUserInfo++; |
1243 if (buildCounterUserInfo < 3) { | 1247 if (buildCounterUserInfo < 3) { |
1244 o.createdAt = "foo"; | 1248 o.createdAt = "foo"; |
1245 o.customAuth = true; | 1249 o.customAuth = true; |
1246 o.disabled = true; | 1250 o.disabled = true; |
1247 o.displayName = "foo"; | 1251 o.displayName = "foo"; |
1248 o.email = "foo"; | 1252 o.email = "foo"; |
1249 o.emailVerified = true; | 1253 o.emailVerified = true; |
1250 o.lastLoginAt = "foo"; | 1254 o.lastLoginAt = "foo"; |
1251 o.localId = "foo"; | 1255 o.localId = "foo"; |
1252 o.passwordHash = "foo"; | 1256 o.passwordHash = "foo"; |
1253 o.passwordUpdatedAt = 42.0; | 1257 o.passwordUpdatedAt = 42.0; |
1254 o.photoUrl = "foo"; | 1258 o.photoUrl = "foo"; |
1255 o.providerUserInfo = buildUnnamed2181(); | 1259 o.providerUserInfo = buildUnnamed2275(); |
1256 o.rawPassword = "foo"; | 1260 o.rawPassword = "foo"; |
1257 o.salt = "foo"; | 1261 o.salt = "foo"; |
1258 o.screenName = "foo"; | 1262 o.screenName = "foo"; |
1259 o.validSince = "foo"; | 1263 o.validSince = "foo"; |
1260 o.version = 42; | 1264 o.version = 42; |
1261 } | 1265 } |
1262 buildCounterUserInfo--; | 1266 buildCounterUserInfo--; |
1263 return o; | 1267 return o; |
1264 } | 1268 } |
1265 | 1269 |
1266 checkUserInfo(api.UserInfo o) { | 1270 checkUserInfo(api.UserInfo o) { |
1267 buildCounterUserInfo++; | 1271 buildCounterUserInfo++; |
1268 if (buildCounterUserInfo < 3) { | 1272 if (buildCounterUserInfo < 3) { |
1269 unittest.expect(o.createdAt, unittest.equals('foo')); | 1273 unittest.expect(o.createdAt, unittest.equals('foo')); |
1270 unittest.expect(o.customAuth, unittest.isTrue); | 1274 unittest.expect(o.customAuth, unittest.isTrue); |
1271 unittest.expect(o.disabled, unittest.isTrue); | 1275 unittest.expect(o.disabled, unittest.isTrue); |
1272 unittest.expect(o.displayName, unittest.equals('foo')); | 1276 unittest.expect(o.displayName, unittest.equals('foo')); |
1273 unittest.expect(o.email, unittest.equals('foo')); | 1277 unittest.expect(o.email, unittest.equals('foo')); |
1274 unittest.expect(o.emailVerified, unittest.isTrue); | 1278 unittest.expect(o.emailVerified, unittest.isTrue); |
1275 unittest.expect(o.lastLoginAt, unittest.equals('foo')); | 1279 unittest.expect(o.lastLoginAt, unittest.equals('foo')); |
1276 unittest.expect(o.localId, unittest.equals('foo')); | 1280 unittest.expect(o.localId, unittest.equals('foo')); |
1277 unittest.expect(o.passwordHash, unittest.equals('foo')); | 1281 unittest.expect(o.passwordHash, unittest.equals('foo')); |
1278 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); | 1282 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); |
1279 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1283 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1280 checkUnnamed2181(o.providerUserInfo); | 1284 checkUnnamed2275(o.providerUserInfo); |
1281 unittest.expect(o.rawPassword, unittest.equals('foo')); | 1285 unittest.expect(o.rawPassword, unittest.equals('foo')); |
1282 unittest.expect(o.salt, unittest.equals('foo')); | 1286 unittest.expect(o.salt, unittest.equals('foo')); |
1283 unittest.expect(o.screenName, unittest.equals('foo')); | 1287 unittest.expect(o.screenName, unittest.equals('foo')); |
1284 unittest.expect(o.validSince, unittest.equals('foo')); | 1288 unittest.expect(o.validSince, unittest.equals('foo')); |
1285 unittest.expect(o.version, unittest.equals(42)); | 1289 unittest.expect(o.version, unittest.equals(42)); |
1286 } | 1290 } |
1287 buildCounterUserInfo--; | 1291 buildCounterUserInfo--; |
1288 } | 1292 } |
1289 | 1293 |
1290 buildUnnamed2182() { | 1294 buildUnnamed2276() { |
1291 var o = new core.List<core.String>(); | 1295 var o = new core.List<core.String>(); |
1292 o.add("foo"); | 1296 o.add("foo"); |
1293 o.add("foo"); | 1297 o.add("foo"); |
1294 return o; | 1298 return o; |
1295 } | 1299 } |
1296 | 1300 |
1297 checkUnnamed2182(core.List<core.String> o) { | 1301 checkUnnamed2276(core.List<core.String> o) { |
1298 unittest.expect(o, unittest.hasLength(2)); | 1302 unittest.expect(o, unittest.hasLength(2)); |
1299 unittest.expect(o[0], unittest.equals('foo')); | 1303 unittest.expect(o[0], unittest.equals('foo')); |
1300 unittest.expect(o[1], unittest.equals('foo')); | 1304 unittest.expect(o[1], unittest.equals('foo')); |
1301 } | 1305 } |
1302 | 1306 |
1303 core.int buildCounterVerifyAssertionResponse = 0; | 1307 core.int buildCounterVerifyAssertionResponse = 0; |
1304 buildVerifyAssertionResponse() { | 1308 buildVerifyAssertionResponse() { |
1305 var o = new api.VerifyAssertionResponse(); | 1309 var o = new api.VerifyAssertionResponse(); |
1306 buildCounterVerifyAssertionResponse++; | 1310 buildCounterVerifyAssertionResponse++; |
1307 if (buildCounterVerifyAssertionResponse < 3) { | 1311 if (buildCounterVerifyAssertionResponse < 3) { |
1308 o.action = "foo"; | 1312 o.action = "foo"; |
1309 o.appInstallationUrl = "foo"; | 1313 o.appInstallationUrl = "foo"; |
1310 o.appScheme = "foo"; | 1314 o.appScheme = "foo"; |
1311 o.context = "foo"; | 1315 o.context = "foo"; |
1312 o.dateOfBirth = "foo"; | 1316 o.dateOfBirth = "foo"; |
1313 o.displayName = "foo"; | 1317 o.displayName = "foo"; |
1314 o.email = "foo"; | 1318 o.email = "foo"; |
1315 o.emailRecycled = true; | 1319 o.emailRecycled = true; |
1316 o.emailVerified = true; | 1320 o.emailVerified = true; |
1317 o.errorMessage = "foo"; | 1321 o.errorMessage = "foo"; |
1318 o.expiresIn = "foo"; | 1322 o.expiresIn = "foo"; |
1319 o.federatedId = "foo"; | 1323 o.federatedId = "foo"; |
1320 o.firstName = "foo"; | 1324 o.firstName = "foo"; |
1321 o.fullName = "foo"; | 1325 o.fullName = "foo"; |
1322 o.idToken = "foo"; | 1326 o.idToken = "foo"; |
1323 o.inputEmail = "foo"; | 1327 o.inputEmail = "foo"; |
| 1328 o.isNewUser = true; |
1324 o.kind = "foo"; | 1329 o.kind = "foo"; |
1325 o.language = "foo"; | 1330 o.language = "foo"; |
1326 o.lastName = "foo"; | 1331 o.lastName = "foo"; |
1327 o.localId = "foo"; | 1332 o.localId = "foo"; |
1328 o.needConfirmation = true; | 1333 o.needConfirmation = true; |
1329 o.needEmail = true; | 1334 o.needEmail = true; |
1330 o.nickName = "foo"; | 1335 o.nickName = "foo"; |
1331 o.oauthAccessToken = "foo"; | 1336 o.oauthAccessToken = "foo"; |
1332 o.oauthAuthorizationCode = "foo"; | 1337 o.oauthAuthorizationCode = "foo"; |
1333 o.oauthExpireIn = 42; | 1338 o.oauthExpireIn = 42; |
1334 o.oauthIdToken = "foo"; | 1339 o.oauthIdToken = "foo"; |
1335 o.oauthRequestToken = "foo"; | 1340 o.oauthRequestToken = "foo"; |
1336 o.oauthScope = "foo"; | 1341 o.oauthScope = "foo"; |
1337 o.oauthTokenSecret = "foo"; | 1342 o.oauthTokenSecret = "foo"; |
1338 o.originalEmail = "foo"; | 1343 o.originalEmail = "foo"; |
1339 o.photoUrl = "foo"; | 1344 o.photoUrl = "foo"; |
1340 o.providerId = "foo"; | 1345 o.providerId = "foo"; |
1341 o.rawUserInfo = "foo"; | 1346 o.rawUserInfo = "foo"; |
1342 o.refreshToken = "foo"; | 1347 o.refreshToken = "foo"; |
1343 o.screenName = "foo"; | 1348 o.screenName = "foo"; |
1344 o.timeZone = "foo"; | 1349 o.timeZone = "foo"; |
1345 o.verifiedProvider = buildUnnamed2182(); | 1350 o.verifiedProvider = buildUnnamed2276(); |
1346 } | 1351 } |
1347 buildCounterVerifyAssertionResponse--; | 1352 buildCounterVerifyAssertionResponse--; |
1348 return o; | 1353 return o; |
1349 } | 1354 } |
1350 | 1355 |
1351 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { | 1356 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { |
1352 buildCounterVerifyAssertionResponse++; | 1357 buildCounterVerifyAssertionResponse++; |
1353 if (buildCounterVerifyAssertionResponse < 3) { | 1358 if (buildCounterVerifyAssertionResponse < 3) { |
1354 unittest.expect(o.action, unittest.equals('foo')); | 1359 unittest.expect(o.action, unittest.equals('foo')); |
1355 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); | 1360 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); |
1356 unittest.expect(o.appScheme, unittest.equals('foo')); | 1361 unittest.expect(o.appScheme, unittest.equals('foo')); |
1357 unittest.expect(o.context, unittest.equals('foo')); | 1362 unittest.expect(o.context, unittest.equals('foo')); |
1358 unittest.expect(o.dateOfBirth, unittest.equals('foo')); | 1363 unittest.expect(o.dateOfBirth, unittest.equals('foo')); |
1359 unittest.expect(o.displayName, unittest.equals('foo')); | 1364 unittest.expect(o.displayName, unittest.equals('foo')); |
1360 unittest.expect(o.email, unittest.equals('foo')); | 1365 unittest.expect(o.email, unittest.equals('foo')); |
1361 unittest.expect(o.emailRecycled, unittest.isTrue); | 1366 unittest.expect(o.emailRecycled, unittest.isTrue); |
1362 unittest.expect(o.emailVerified, unittest.isTrue); | 1367 unittest.expect(o.emailVerified, unittest.isTrue); |
1363 unittest.expect(o.errorMessage, unittest.equals('foo')); | 1368 unittest.expect(o.errorMessage, unittest.equals('foo')); |
1364 unittest.expect(o.expiresIn, unittest.equals('foo')); | 1369 unittest.expect(o.expiresIn, unittest.equals('foo')); |
1365 unittest.expect(o.federatedId, unittest.equals('foo')); | 1370 unittest.expect(o.federatedId, unittest.equals('foo')); |
1366 unittest.expect(o.firstName, unittest.equals('foo')); | 1371 unittest.expect(o.firstName, unittest.equals('foo')); |
1367 unittest.expect(o.fullName, unittest.equals('foo')); | 1372 unittest.expect(o.fullName, unittest.equals('foo')); |
1368 unittest.expect(o.idToken, unittest.equals('foo')); | 1373 unittest.expect(o.idToken, unittest.equals('foo')); |
1369 unittest.expect(o.inputEmail, unittest.equals('foo')); | 1374 unittest.expect(o.inputEmail, unittest.equals('foo')); |
| 1375 unittest.expect(o.isNewUser, unittest.isTrue); |
1370 unittest.expect(o.kind, unittest.equals('foo')); | 1376 unittest.expect(o.kind, unittest.equals('foo')); |
1371 unittest.expect(o.language, unittest.equals('foo')); | 1377 unittest.expect(o.language, unittest.equals('foo')); |
1372 unittest.expect(o.lastName, unittest.equals('foo')); | 1378 unittest.expect(o.lastName, unittest.equals('foo')); |
1373 unittest.expect(o.localId, unittest.equals('foo')); | 1379 unittest.expect(o.localId, unittest.equals('foo')); |
1374 unittest.expect(o.needConfirmation, unittest.isTrue); | 1380 unittest.expect(o.needConfirmation, unittest.isTrue); |
1375 unittest.expect(o.needEmail, unittest.isTrue); | 1381 unittest.expect(o.needEmail, unittest.isTrue); |
1376 unittest.expect(o.nickName, unittest.equals('foo')); | 1382 unittest.expect(o.nickName, unittest.equals('foo')); |
1377 unittest.expect(o.oauthAccessToken, unittest.equals('foo')); | 1383 unittest.expect(o.oauthAccessToken, unittest.equals('foo')); |
1378 unittest.expect(o.oauthAuthorizationCode, unittest.equals('foo')); | 1384 unittest.expect(o.oauthAuthorizationCode, unittest.equals('foo')); |
1379 unittest.expect(o.oauthExpireIn, unittest.equals(42)); | 1385 unittest.expect(o.oauthExpireIn, unittest.equals(42)); |
1380 unittest.expect(o.oauthIdToken, unittest.equals('foo')); | 1386 unittest.expect(o.oauthIdToken, unittest.equals('foo')); |
1381 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); | 1387 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); |
1382 unittest.expect(o.oauthScope, unittest.equals('foo')); | 1388 unittest.expect(o.oauthScope, unittest.equals('foo')); |
1383 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); | 1389 unittest.expect(o.oauthTokenSecret, unittest.equals('foo')); |
1384 unittest.expect(o.originalEmail, unittest.equals('foo')); | 1390 unittest.expect(o.originalEmail, unittest.equals('foo')); |
1385 unittest.expect(o.photoUrl, unittest.equals('foo')); | 1391 unittest.expect(o.photoUrl, unittest.equals('foo')); |
1386 unittest.expect(o.providerId, unittest.equals('foo')); | 1392 unittest.expect(o.providerId, unittest.equals('foo')); |
1387 unittest.expect(o.rawUserInfo, unittest.equals('foo')); | 1393 unittest.expect(o.rawUserInfo, unittest.equals('foo')); |
1388 unittest.expect(o.refreshToken, unittest.equals('foo')); | 1394 unittest.expect(o.refreshToken, unittest.equals('foo')); |
1389 unittest.expect(o.screenName, unittest.equals('foo')); | 1395 unittest.expect(o.screenName, unittest.equals('foo')); |
1390 unittest.expect(o.timeZone, unittest.equals('foo')); | 1396 unittest.expect(o.timeZone, unittest.equals('foo')); |
1391 checkUnnamed2182(o.verifiedProvider); | 1397 checkUnnamed2276(o.verifiedProvider); |
1392 } | 1398 } |
1393 buildCounterVerifyAssertionResponse--; | 1399 buildCounterVerifyAssertionResponse--; |
1394 } | 1400 } |
1395 | 1401 |
1396 core.int buildCounterVerifyCustomTokenResponse = 0; | 1402 core.int buildCounterVerifyCustomTokenResponse = 0; |
1397 buildVerifyCustomTokenResponse() { | 1403 buildVerifyCustomTokenResponse() { |
1398 var o = new api.VerifyCustomTokenResponse(); | 1404 var o = new api.VerifyCustomTokenResponse(); |
1399 buildCounterVerifyCustomTokenResponse++; | 1405 buildCounterVerifyCustomTokenResponse++; |
1400 if (buildCounterVerifyCustomTokenResponse < 3) { | 1406 if (buildCounterVerifyCustomTokenResponse < 3) { |
1401 o.expiresIn = "foo"; | 1407 o.expiresIn = "foo"; |
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2618 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { | 2624 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass
wordResponse response) { |
2619 checkVerifyPasswordResponse(response); | 2625 checkVerifyPasswordResponse(response); |
2620 }))); | 2626 }))); |
2621 }); | 2627 }); |
2622 | 2628 |
2623 }); | 2629 }); |
2624 | 2630 |
2625 | 2631 |
2626 } | 2632 } |
2627 | 2633 |
OLD | NEW |