Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(618)

Side by Side Diff: generated/googleapis/test/identitytoolkit/v3_test.dart

Issue 770773002: Api roll 7: 2014-12-01 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } 57 }
58 58
59 checkDeleteAccountResponse(api.DeleteAccountResponse o) { 59 checkDeleteAccountResponse(api.DeleteAccountResponse o) {
60 buildCounterDeleteAccountResponse++; 60 buildCounterDeleteAccountResponse++;
61 if (buildCounterDeleteAccountResponse < 3) { 61 if (buildCounterDeleteAccountResponse < 3) {
62 unittest.expect(o.kind, unittest.equals('foo')); 62 unittest.expect(o.kind, unittest.equals('foo'));
63 } 63 }
64 buildCounterDeleteAccountResponse--; 64 buildCounterDeleteAccountResponse--;
65 } 65 }
66 66
67 buildUnnamed1024() { 67 buildUnnamed890() {
68 var o = new core.List<api.UserInfo>(); 68 var o = new core.List<api.UserInfo>();
69 o.add(buildUserInfo()); 69 o.add(buildUserInfo());
70 o.add(buildUserInfo()); 70 o.add(buildUserInfo());
71 return o; 71 return o;
72 } 72 }
73 73
74 checkUnnamed1024(core.List<api.UserInfo> o) { 74 checkUnnamed890(core.List<api.UserInfo> o) {
75 unittest.expect(o, unittest.hasLength(2)); 75 unittest.expect(o, unittest.hasLength(2));
76 checkUserInfo(o[0]); 76 checkUserInfo(o[0]);
77 checkUserInfo(o[1]); 77 checkUserInfo(o[1]);
78 } 78 }
79 79
80 core.int buildCounterDownloadAccountResponse = 0; 80 core.int buildCounterDownloadAccountResponse = 0;
81 buildDownloadAccountResponse() { 81 buildDownloadAccountResponse() {
82 var o = new api.DownloadAccountResponse(); 82 var o = new api.DownloadAccountResponse();
83 buildCounterDownloadAccountResponse++; 83 buildCounterDownloadAccountResponse++;
84 if (buildCounterDownloadAccountResponse < 3) { 84 if (buildCounterDownloadAccountResponse < 3) {
85 o.kind = "foo"; 85 o.kind = "foo";
86 o.nextPageToken = "foo"; 86 o.nextPageToken = "foo";
87 o.users = buildUnnamed1024(); 87 o.users = buildUnnamed890();
88 } 88 }
89 buildCounterDownloadAccountResponse--; 89 buildCounterDownloadAccountResponse--;
90 return o; 90 return o;
91 } 91 }
92 92
93 checkDownloadAccountResponse(api.DownloadAccountResponse o) { 93 checkDownloadAccountResponse(api.DownloadAccountResponse o) {
94 buildCounterDownloadAccountResponse++; 94 buildCounterDownloadAccountResponse++;
95 if (buildCounterDownloadAccountResponse < 3) { 95 if (buildCounterDownloadAccountResponse < 3) {
96 unittest.expect(o.kind, unittest.equals('foo')); 96 unittest.expect(o.kind, unittest.equals('foo'));
97 unittest.expect(o.nextPageToken, unittest.equals('foo')); 97 unittest.expect(o.nextPageToken, unittest.equals('foo'));
98 checkUnnamed1024(o.users); 98 checkUnnamed890(o.users);
99 } 99 }
100 buildCounterDownloadAccountResponse--; 100 buildCounterDownloadAccountResponse--;
101 } 101 }
102 102
103 buildUnnamed1025() { 103 buildUnnamed891() {
104 var o = new core.List<api.UserInfo>(); 104 var o = new core.List<api.UserInfo>();
105 o.add(buildUserInfo()); 105 o.add(buildUserInfo());
106 o.add(buildUserInfo()); 106 o.add(buildUserInfo());
107 return o; 107 return o;
108 } 108 }
109 109
110 checkUnnamed1025(core.List<api.UserInfo> o) { 110 checkUnnamed891(core.List<api.UserInfo> o) {
111 unittest.expect(o, unittest.hasLength(2)); 111 unittest.expect(o, unittest.hasLength(2));
112 checkUserInfo(o[0]); 112 checkUserInfo(o[0]);
113 checkUserInfo(o[1]); 113 checkUserInfo(o[1]);
114 } 114 }
115 115
116 core.int buildCounterGetAccountInfoResponse = 0; 116 core.int buildCounterGetAccountInfoResponse = 0;
117 buildGetAccountInfoResponse() { 117 buildGetAccountInfoResponse() {
118 var o = new api.GetAccountInfoResponse(); 118 var o = new api.GetAccountInfoResponse();
119 buildCounterGetAccountInfoResponse++; 119 buildCounterGetAccountInfoResponse++;
120 if (buildCounterGetAccountInfoResponse < 3) { 120 if (buildCounterGetAccountInfoResponse < 3) {
121 o.kind = "foo"; 121 o.kind = "foo";
122 o.users = buildUnnamed1025(); 122 o.users = buildUnnamed891();
123 } 123 }
124 buildCounterGetAccountInfoResponse--; 124 buildCounterGetAccountInfoResponse--;
125 return o; 125 return o;
126 } 126 }
127 127
128 checkGetAccountInfoResponse(api.GetAccountInfoResponse o) { 128 checkGetAccountInfoResponse(api.GetAccountInfoResponse o) {
129 buildCounterGetAccountInfoResponse++; 129 buildCounterGetAccountInfoResponse++;
130 if (buildCounterGetAccountInfoResponse < 3) { 130 if (buildCounterGetAccountInfoResponse < 3) {
131 unittest.expect(o.kind, unittest.equals('foo')); 131 unittest.expect(o.kind, unittest.equals('foo'));
132 checkUnnamed1025(o.users); 132 checkUnnamed891(o.users);
133 } 133 }
134 buildCounterGetAccountInfoResponse--; 134 buildCounterGetAccountInfoResponse--;
135 } 135 }
136 136
137 core.int buildCounterGetOobConfirmationCodeResponse = 0; 137 core.int buildCounterGetOobConfirmationCodeResponse = 0;
138 buildGetOobConfirmationCodeResponse() { 138 buildGetOobConfirmationCodeResponse() {
139 var o = new api.GetOobConfirmationCodeResponse(); 139 var o = new api.GetOobConfirmationCodeResponse();
140 buildCounterGetOobConfirmationCodeResponse++; 140 buildCounterGetOobConfirmationCodeResponse++;
141 if (buildCounterGetOobConfirmationCodeResponse < 3) { 141 if (buildCounterGetOobConfirmationCodeResponse < 3) {
142 o.kind = "foo"; 142 o.kind = "foo";
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin gpartyDownloadAccountRequest o) { 222 checkIdentitytoolkitRelyingpartyDownloadAccountRequest(api.IdentitytoolkitRelyin gpartyDownloadAccountRequest o) {
223 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++; 223 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest++;
224 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) { 224 if (buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest < 3) {
225 unittest.expect(o.maxResults, unittest.equals(42)); 225 unittest.expect(o.maxResults, unittest.equals(42));
226 unittest.expect(o.nextPageToken, unittest.equals('foo')); 226 unittest.expect(o.nextPageToken, unittest.equals('foo'));
227 } 227 }
228 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--; 228 buildCounterIdentitytoolkitRelyingpartyDownloadAccountRequest--;
229 } 229 }
230 230
231 buildUnnamed1026() { 231 buildUnnamed892() {
232 var o = new core.List<core.String>(); 232 var o = new core.List<core.String>();
233 o.add("foo"); 233 o.add("foo");
234 o.add("foo"); 234 o.add("foo");
235 return o; 235 return o;
236 } 236 }
237 237
238 checkUnnamed1026(core.List<core.String> o) { 238 checkUnnamed892(core.List<core.String> o) {
239 unittest.expect(o, unittest.hasLength(2)); 239 unittest.expect(o, unittest.hasLength(2));
240 unittest.expect(o[0], unittest.equals('foo')); 240 unittest.expect(o[0], unittest.equals('foo'));
241 unittest.expect(o[1], unittest.equals('foo')); 241 unittest.expect(o[1], unittest.equals('foo'));
242 } 242 }
243 243
244 buildUnnamed1027() { 244 buildUnnamed893() {
245 var o = new core.List<core.String>(); 245 var o = new core.List<core.String>();
246 o.add("foo"); 246 o.add("foo");
247 o.add("foo"); 247 o.add("foo");
248 return o; 248 return o;
249 } 249 }
250 250
251 checkUnnamed1027(core.List<core.String> o) { 251 checkUnnamed893(core.List<core.String> o) {
252 unittest.expect(o, unittest.hasLength(2)); 252 unittest.expect(o, unittest.hasLength(2));
253 unittest.expect(o[0], unittest.equals('foo')); 253 unittest.expect(o[0], unittest.equals('foo'));
254 unittest.expect(o[1], unittest.equals('foo')); 254 unittest.expect(o[1], unittest.equals('foo'));
255 } 255 }
256 256
257 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0; 257 core.int buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest = 0;
258 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() { 258 buildIdentitytoolkitRelyingpartyGetAccountInfoRequest() {
259 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest(); 259 var o = new api.IdentitytoolkitRelyingpartyGetAccountInfoRequest();
260 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; 260 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
261 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { 261 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
262 o.email = buildUnnamed1026(); 262 o.email = buildUnnamed892();
263 o.idToken = "foo"; 263 o.idToken = "foo";
264 o.localId = buildUnnamed1027(); 264 o.localId = buildUnnamed893();
265 } 265 }
266 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; 266 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
267 return o; 267 return o;
268 } 268 }
269 269
270 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying partyGetAccountInfoRequest o) { 270 checkIdentitytoolkitRelyingpartyGetAccountInfoRequest(api.IdentitytoolkitRelying partyGetAccountInfoRequest o) {
271 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++; 271 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest++;
272 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) { 272 if (buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest < 3) {
273 checkUnnamed1026(o.email); 273 checkUnnamed892(o.email);
274 unittest.expect(o.idToken, unittest.equals('foo')); 274 unittest.expect(o.idToken, unittest.equals('foo'));
275 checkUnnamed1027(o.localId); 275 checkUnnamed893(o.localId);
276 } 276 }
277 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--; 277 buildCounterIdentitytoolkitRelyingpartyGetAccountInfoRequest--;
278 } 278 }
279 279
280 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() { 280 buildIdentitytoolkitRelyingpartyGetPublicKeysResponse() {
281 var o = new api.IdentitytoolkitRelyingpartyGetPublicKeysResponse(); 281 var o = new api.IdentitytoolkitRelyingpartyGetPublicKeysResponse();
282 o["a"] = "foo"; 282 o["a"] = "foo";
283 o["b"] = "foo"; 283 o["b"] = "foo";
284 return o; 284 return o;
285 } 285 }
(...skipping 22 matching lines...) Expand all
308 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++; 308 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest++;
309 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) { 309 if (buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest < 3) {
310 unittest.expect(o.email, unittest.equals('foo')); 310 unittest.expect(o.email, unittest.equals('foo'));
311 unittest.expect(o.newPassword, unittest.equals('foo')); 311 unittest.expect(o.newPassword, unittest.equals('foo'));
312 unittest.expect(o.oldPassword, unittest.equals('foo')); 312 unittest.expect(o.oldPassword, unittest.equals('foo'));
313 unittest.expect(o.oobCode, unittest.equals('foo')); 313 unittest.expect(o.oobCode, unittest.equals('foo'));
314 } 314 }
315 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--; 315 buildCounterIdentitytoolkitRelyingpartyResetPasswordRequest--;
316 } 316 }
317 317
318 buildUnnamed1028() { 318 buildUnnamed894() {
319 var o = new core.List<core.String>(); 319 var o = new core.List<core.String>();
320 o.add("foo"); 320 o.add("foo");
321 o.add("foo"); 321 o.add("foo");
322 return o; 322 return o;
323 } 323 }
324 324
325 checkUnnamed1028(core.List<core.String> o) { 325 checkUnnamed894(core.List<core.String> o) {
326 unittest.expect(o, unittest.hasLength(2)); 326 unittest.expect(o, unittest.hasLength(2));
327 unittest.expect(o[0], unittest.equals('foo')); 327 unittest.expect(o[0], unittest.equals('foo'));
328 unittest.expect(o[1], unittest.equals('foo')); 328 unittest.expect(o[1], unittest.equals('foo'));
329 } 329 }
330 330
331 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0; 331 core.int buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest = 0;
332 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() { 332 buildIdentitytoolkitRelyingpartySetAccountInfoRequest() {
333 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest(); 333 var o = new api.IdentitytoolkitRelyingpartySetAccountInfoRequest();
334 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; 334 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++;
335 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { 335 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) {
336 o.captchaChallenge = "foo"; 336 o.captchaChallenge = "foo";
337 o.captchaResponse = "foo"; 337 o.captchaResponse = "foo";
338 o.displayName = "foo"; 338 o.displayName = "foo";
339 o.email = "foo"; 339 o.email = "foo";
340 o.emailVerified = true; 340 o.emailVerified = true;
341 o.idToken = "foo"; 341 o.idToken = "foo";
342 o.localId = "foo"; 342 o.localId = "foo";
343 o.oobCode = "foo"; 343 o.oobCode = "foo";
344 o.password = "foo"; 344 o.password = "foo";
345 o.provider = buildUnnamed1028(); 345 o.provider = buildUnnamed894();
346 o.upgradeToFederatedLogin = true; 346 o.upgradeToFederatedLogin = true;
347 } 347 }
348 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; 348 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
349 return o; 349 return o;
350 } 350 }
351 351
352 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying partySetAccountInfoRequest o) { 352 checkIdentitytoolkitRelyingpartySetAccountInfoRequest(api.IdentitytoolkitRelying partySetAccountInfoRequest o) {
353 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++; 353 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest++;
354 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) { 354 if (buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest < 3) {
355 unittest.expect(o.captchaChallenge, unittest.equals('foo')); 355 unittest.expect(o.captchaChallenge, unittest.equals('foo'));
356 unittest.expect(o.captchaResponse, unittest.equals('foo')); 356 unittest.expect(o.captchaResponse, unittest.equals('foo'));
357 unittest.expect(o.displayName, unittest.equals('foo')); 357 unittest.expect(o.displayName, unittest.equals('foo'));
358 unittest.expect(o.email, unittest.equals('foo')); 358 unittest.expect(o.email, unittest.equals('foo'));
359 unittest.expect(o.emailVerified, unittest.isTrue); 359 unittest.expect(o.emailVerified, unittest.isTrue);
360 unittest.expect(o.idToken, unittest.equals('foo')); 360 unittest.expect(o.idToken, unittest.equals('foo'));
361 unittest.expect(o.localId, unittest.equals('foo')); 361 unittest.expect(o.localId, unittest.equals('foo'));
362 unittest.expect(o.oobCode, unittest.equals('foo')); 362 unittest.expect(o.oobCode, unittest.equals('foo'));
363 unittest.expect(o.password, unittest.equals('foo')); 363 unittest.expect(o.password, unittest.equals('foo'));
364 checkUnnamed1028(o.provider); 364 checkUnnamed894(o.provider);
365 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue); 365 unittest.expect(o.upgradeToFederatedLogin, unittest.isTrue);
366 } 366 }
367 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--; 367 buildCounterIdentitytoolkitRelyingpartySetAccountInfoRequest--;
368 } 368 }
369 369
370 buildUnnamed1029() { 370 buildUnnamed895() {
371 var o = new core.List<api.UserInfo>(); 371 var o = new core.List<api.UserInfo>();
372 o.add(buildUserInfo()); 372 o.add(buildUserInfo());
373 o.add(buildUserInfo()); 373 o.add(buildUserInfo());
374 return o; 374 return o;
375 } 375 }
376 376
377 checkUnnamed1029(core.List<api.UserInfo> o) { 377 checkUnnamed895(core.List<api.UserInfo> o) {
378 unittest.expect(o, unittest.hasLength(2)); 378 unittest.expect(o, unittest.hasLength(2));
379 checkUserInfo(o[0]); 379 checkUserInfo(o[0]);
380 checkUserInfo(o[1]); 380 checkUserInfo(o[1]);
381 } 381 }
382 382
383 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0; 383 core.int buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest = 0;
384 buildIdentitytoolkitRelyingpartyUploadAccountRequest() { 384 buildIdentitytoolkitRelyingpartyUploadAccountRequest() {
385 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest(); 385 var o = new api.IdentitytoolkitRelyingpartyUploadAccountRequest();
386 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; 386 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++;
387 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { 387 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) {
388 o.hashAlgorithm = "foo"; 388 o.hashAlgorithm = "foo";
389 o.memoryCost = 42; 389 o.memoryCost = 42;
390 o.rounds = 42; 390 o.rounds = 42;
391 o.saltSeparator = "foo"; 391 o.saltSeparator = "foo";
392 o.signerKey = "foo"; 392 o.signerKey = "foo";
393 o.users = buildUnnamed1029(); 393 o.users = buildUnnamed895();
394 } 394 }
395 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; 395 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
396 return o; 396 return o;
397 } 397 }
398 398
399 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp artyUploadAccountRequest o) { 399 checkIdentitytoolkitRelyingpartyUploadAccountRequest(api.IdentitytoolkitRelyingp artyUploadAccountRequest o) {
400 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++; 400 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest++;
401 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) { 401 if (buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest < 3) {
402 unittest.expect(o.hashAlgorithm, unittest.equals('foo')); 402 unittest.expect(o.hashAlgorithm, unittest.equals('foo'));
403 unittest.expect(o.memoryCost, unittest.equals(42)); 403 unittest.expect(o.memoryCost, unittest.equals(42));
404 unittest.expect(o.rounds, unittest.equals(42)); 404 unittest.expect(o.rounds, unittest.equals(42));
405 unittest.expect(o.saltSeparator, unittest.equals('foo')); 405 unittest.expect(o.saltSeparator, unittest.equals('foo'));
406 unittest.expect(o.signerKey, unittest.equals('foo')); 406 unittest.expect(o.signerKey, unittest.equals('foo'));
407 checkUnnamed1029(o.users); 407 checkUnnamed895(o.users);
408 } 408 }
409 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--; 409 buildCounterIdentitytoolkitRelyingpartyUploadAccountRequest--;
410 } 410 }
411 411
412 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0; 412 core.int buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest = 0;
413 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() { 413 buildIdentitytoolkitRelyingpartyVerifyAssertionRequest() {
414 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest(); 414 var o = new api.IdentitytoolkitRelyingpartyVerifyAssertionRequest();
415 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++; 415 buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest++;
416 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) { 416 if (buildCounterIdentitytoolkitRelyingpartyVerifyAssertionRequest < 3) {
417 o.pendingIdToken = "foo"; 417 o.pendingIdToken = "foo";
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 checkSetAccountInfoResponseProviderUserInfo(api.SetAccountInfoResponseProviderUs erInfo o) { 529 checkSetAccountInfoResponseProviderUserInfo(api.SetAccountInfoResponseProviderUs erInfo o) {
530 buildCounterSetAccountInfoResponseProviderUserInfo++; 530 buildCounterSetAccountInfoResponseProviderUserInfo++;
531 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) { 531 if (buildCounterSetAccountInfoResponseProviderUserInfo < 3) {
532 unittest.expect(o.displayName, unittest.equals('foo')); 532 unittest.expect(o.displayName, unittest.equals('foo'));
533 unittest.expect(o.photoUrl, unittest.equals('foo')); 533 unittest.expect(o.photoUrl, unittest.equals('foo'));
534 unittest.expect(o.providerId, unittest.equals('foo')); 534 unittest.expect(o.providerId, unittest.equals('foo'));
535 } 535 }
536 buildCounterSetAccountInfoResponseProviderUserInfo--; 536 buildCounterSetAccountInfoResponseProviderUserInfo--;
537 } 537 }
538 538
539 buildUnnamed1030() { 539 buildUnnamed896() {
540 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>(); 540 var o = new core.List<api.SetAccountInfoResponseProviderUserInfo>();
541 o.add(buildSetAccountInfoResponseProviderUserInfo()); 541 o.add(buildSetAccountInfoResponseProviderUserInfo());
542 o.add(buildSetAccountInfoResponseProviderUserInfo()); 542 o.add(buildSetAccountInfoResponseProviderUserInfo());
543 return o; 543 return o;
544 } 544 }
545 545
546 checkUnnamed1030(core.List<api.SetAccountInfoResponseProviderUserInfo> o) { 546 checkUnnamed896(core.List<api.SetAccountInfoResponseProviderUserInfo> o) {
547 unittest.expect(o, unittest.hasLength(2)); 547 unittest.expect(o, unittest.hasLength(2));
548 checkSetAccountInfoResponseProviderUserInfo(o[0]); 548 checkSetAccountInfoResponseProviderUserInfo(o[0]);
549 checkSetAccountInfoResponseProviderUserInfo(o[1]); 549 checkSetAccountInfoResponseProviderUserInfo(o[1]);
550 } 550 }
551 551
552 core.int buildCounterSetAccountInfoResponse = 0; 552 core.int buildCounterSetAccountInfoResponse = 0;
553 buildSetAccountInfoResponse() { 553 buildSetAccountInfoResponse() {
554 var o = new api.SetAccountInfoResponse(); 554 var o = new api.SetAccountInfoResponse();
555 buildCounterSetAccountInfoResponse++; 555 buildCounterSetAccountInfoResponse++;
556 if (buildCounterSetAccountInfoResponse < 3) { 556 if (buildCounterSetAccountInfoResponse < 3) {
557 o.displayName = "foo"; 557 o.displayName = "foo";
558 o.email = "foo"; 558 o.email = "foo";
559 o.idToken = "foo"; 559 o.idToken = "foo";
560 o.kind = "foo"; 560 o.kind = "foo";
561 o.providerUserInfo = buildUnnamed1030(); 561 o.providerUserInfo = buildUnnamed896();
562 } 562 }
563 buildCounterSetAccountInfoResponse--; 563 buildCounterSetAccountInfoResponse--;
564 return o; 564 return o;
565 } 565 }
566 566
567 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) { 567 checkSetAccountInfoResponse(api.SetAccountInfoResponse o) {
568 buildCounterSetAccountInfoResponse++; 568 buildCounterSetAccountInfoResponse++;
569 if (buildCounterSetAccountInfoResponse < 3) { 569 if (buildCounterSetAccountInfoResponse < 3) {
570 unittest.expect(o.displayName, unittest.equals('foo')); 570 unittest.expect(o.displayName, unittest.equals('foo'));
571 unittest.expect(o.email, unittest.equals('foo')); 571 unittest.expect(o.email, unittest.equals('foo'));
572 unittest.expect(o.idToken, unittest.equals('foo')); 572 unittest.expect(o.idToken, unittest.equals('foo'));
573 unittest.expect(o.kind, unittest.equals('foo')); 573 unittest.expect(o.kind, unittest.equals('foo'));
574 checkUnnamed1030(o.providerUserInfo); 574 checkUnnamed896(o.providerUserInfo);
575 } 575 }
576 buildCounterSetAccountInfoResponse--; 576 buildCounterSetAccountInfoResponse--;
577 } 577 }
578 578
579 core.int buildCounterUploadAccountResponseError = 0; 579 core.int buildCounterUploadAccountResponseError = 0;
580 buildUploadAccountResponseError() { 580 buildUploadAccountResponseError() {
581 var o = new api.UploadAccountResponseError(); 581 var o = new api.UploadAccountResponseError();
582 buildCounterUploadAccountResponseError++; 582 buildCounterUploadAccountResponseError++;
583 if (buildCounterUploadAccountResponseError < 3) { 583 if (buildCounterUploadAccountResponseError < 3) {
584 o.index = 42; 584 o.index = 42;
585 o.message = "foo"; 585 o.message = "foo";
586 } 586 }
587 buildCounterUploadAccountResponseError--; 587 buildCounterUploadAccountResponseError--;
588 return o; 588 return o;
589 } 589 }
590 590
591 checkUploadAccountResponseError(api.UploadAccountResponseError o) { 591 checkUploadAccountResponseError(api.UploadAccountResponseError o) {
592 buildCounterUploadAccountResponseError++; 592 buildCounterUploadAccountResponseError++;
593 if (buildCounterUploadAccountResponseError < 3) { 593 if (buildCounterUploadAccountResponseError < 3) {
594 unittest.expect(o.index, unittest.equals(42)); 594 unittest.expect(o.index, unittest.equals(42));
595 unittest.expect(o.message, unittest.equals('foo')); 595 unittest.expect(o.message, unittest.equals('foo'));
596 } 596 }
597 buildCounterUploadAccountResponseError--; 597 buildCounterUploadAccountResponseError--;
598 } 598 }
599 599
600 buildUnnamed1031() { 600 buildUnnamed897() {
601 var o = new core.List<api.UploadAccountResponseError>(); 601 var o = new core.List<api.UploadAccountResponseError>();
602 o.add(buildUploadAccountResponseError()); 602 o.add(buildUploadAccountResponseError());
603 o.add(buildUploadAccountResponseError()); 603 o.add(buildUploadAccountResponseError());
604 return o; 604 return o;
605 } 605 }
606 606
607 checkUnnamed1031(core.List<api.UploadAccountResponseError> o) { 607 checkUnnamed897(core.List<api.UploadAccountResponseError> o) {
608 unittest.expect(o, unittest.hasLength(2)); 608 unittest.expect(o, unittest.hasLength(2));
609 checkUploadAccountResponseError(o[0]); 609 checkUploadAccountResponseError(o[0]);
610 checkUploadAccountResponseError(o[1]); 610 checkUploadAccountResponseError(o[1]);
611 } 611 }
612 612
613 core.int buildCounterUploadAccountResponse = 0; 613 core.int buildCounterUploadAccountResponse = 0;
614 buildUploadAccountResponse() { 614 buildUploadAccountResponse() {
615 var o = new api.UploadAccountResponse(); 615 var o = new api.UploadAccountResponse();
616 buildCounterUploadAccountResponse++; 616 buildCounterUploadAccountResponse++;
617 if (buildCounterUploadAccountResponse < 3) { 617 if (buildCounterUploadAccountResponse < 3) {
618 o.error = buildUnnamed1031(); 618 o.error = buildUnnamed897();
619 o.kind = "foo"; 619 o.kind = "foo";
620 } 620 }
621 buildCounterUploadAccountResponse--; 621 buildCounterUploadAccountResponse--;
622 return o; 622 return o;
623 } 623 }
624 624
625 checkUploadAccountResponse(api.UploadAccountResponse o) { 625 checkUploadAccountResponse(api.UploadAccountResponse o) {
626 buildCounterUploadAccountResponse++; 626 buildCounterUploadAccountResponse++;
627 if (buildCounterUploadAccountResponse < 3) { 627 if (buildCounterUploadAccountResponse < 3) {
628 checkUnnamed1031(o.error); 628 checkUnnamed897(o.error);
629 unittest.expect(o.kind, unittest.equals('foo')); 629 unittest.expect(o.kind, unittest.equals('foo'));
630 } 630 }
631 buildCounterUploadAccountResponse--; 631 buildCounterUploadAccountResponse--;
632 } 632 }
633 633
634 core.int buildCounterUserInfoProviderUserInfo = 0; 634 core.int buildCounterUserInfoProviderUserInfo = 0;
635 buildUserInfoProviderUserInfo() { 635 buildUserInfoProviderUserInfo() {
636 var o = new api.UserInfoProviderUserInfo(); 636 var o = new api.UserInfoProviderUserInfo();
637 buildCounterUserInfoProviderUserInfo++; 637 buildCounterUserInfoProviderUserInfo++;
638 if (buildCounterUserInfoProviderUserInfo < 3) { 638 if (buildCounterUserInfoProviderUserInfo < 3) {
(...skipping 10 matching lines...) Expand all
649 buildCounterUserInfoProviderUserInfo++; 649 buildCounterUserInfoProviderUserInfo++;
650 if (buildCounterUserInfoProviderUserInfo < 3) { 650 if (buildCounterUserInfoProviderUserInfo < 3) {
651 unittest.expect(o.displayName, unittest.equals('foo')); 651 unittest.expect(o.displayName, unittest.equals('foo'));
652 unittest.expect(o.federatedId, unittest.equals('foo')); 652 unittest.expect(o.federatedId, unittest.equals('foo'));
653 unittest.expect(o.photoUrl, unittest.equals('foo')); 653 unittest.expect(o.photoUrl, unittest.equals('foo'));
654 unittest.expect(o.providerId, unittest.equals('foo')); 654 unittest.expect(o.providerId, unittest.equals('foo'));
655 } 655 }
656 buildCounterUserInfoProviderUserInfo--; 656 buildCounterUserInfoProviderUserInfo--;
657 } 657 }
658 658
659 buildUnnamed1032() { 659 buildUnnamed898() {
660 var o = new core.List<api.UserInfoProviderUserInfo>(); 660 var o = new core.List<api.UserInfoProviderUserInfo>();
661 o.add(buildUserInfoProviderUserInfo()); 661 o.add(buildUserInfoProviderUserInfo());
662 o.add(buildUserInfoProviderUserInfo()); 662 o.add(buildUserInfoProviderUserInfo());
663 return o; 663 return o;
664 } 664 }
665 665
666 checkUnnamed1032(core.List<api.UserInfoProviderUserInfo> o) { 666 checkUnnamed898(core.List<api.UserInfoProviderUserInfo> o) {
667 unittest.expect(o, unittest.hasLength(2)); 667 unittest.expect(o, unittest.hasLength(2));
668 checkUserInfoProviderUserInfo(o[0]); 668 checkUserInfoProviderUserInfo(o[0]);
669 checkUserInfoProviderUserInfo(o[1]); 669 checkUserInfoProviderUserInfo(o[1]);
670 } 670 }
671 671
672 core.int buildCounterUserInfo = 0; 672 core.int buildCounterUserInfo = 0;
673 buildUserInfo() { 673 buildUserInfo() {
674 var o = new api.UserInfo(); 674 var o = new api.UserInfo();
675 buildCounterUserInfo++; 675 buildCounterUserInfo++;
676 if (buildCounterUserInfo < 3) { 676 if (buildCounterUserInfo < 3) {
677 o.displayName = "foo"; 677 o.displayName = "foo";
678 o.email = "foo"; 678 o.email = "foo";
679 o.emailVerified = true; 679 o.emailVerified = true;
680 o.localId = "foo"; 680 o.localId = "foo";
681 o.passwordHash = "foo"; 681 o.passwordHash = "foo";
682 o.passwordUpdatedAt = 42.0; 682 o.passwordUpdatedAt = 42.0;
683 o.photoUrl = "foo"; 683 o.photoUrl = "foo";
684 o.providerUserInfo = buildUnnamed1032(); 684 o.providerUserInfo = buildUnnamed898();
685 o.salt = "foo"; 685 o.salt = "foo";
686 o.version = 42; 686 o.version = 42;
687 } 687 }
688 buildCounterUserInfo--; 688 buildCounterUserInfo--;
689 return o; 689 return o;
690 } 690 }
691 691
692 checkUserInfo(api.UserInfo o) { 692 checkUserInfo(api.UserInfo o) {
693 buildCounterUserInfo++; 693 buildCounterUserInfo++;
694 if (buildCounterUserInfo < 3) { 694 if (buildCounterUserInfo < 3) {
695 unittest.expect(o.displayName, unittest.equals('foo')); 695 unittest.expect(o.displayName, unittest.equals('foo'));
696 unittest.expect(o.email, unittest.equals('foo')); 696 unittest.expect(o.email, unittest.equals('foo'));
697 unittest.expect(o.emailVerified, unittest.isTrue); 697 unittest.expect(o.emailVerified, unittest.isTrue);
698 unittest.expect(o.localId, unittest.equals('foo')); 698 unittest.expect(o.localId, unittest.equals('foo'));
699 unittest.expect(o.passwordHash, unittest.equals('foo')); 699 unittest.expect(o.passwordHash, unittest.equals('foo'));
700 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0)); 700 unittest.expect(o.passwordUpdatedAt, unittest.equals(42.0));
701 unittest.expect(o.photoUrl, unittest.equals('foo')); 701 unittest.expect(o.photoUrl, unittest.equals('foo'));
702 checkUnnamed1032(o.providerUserInfo); 702 checkUnnamed898(o.providerUserInfo);
703 unittest.expect(o.salt, unittest.equals('foo')); 703 unittest.expect(o.salt, unittest.equals('foo'));
704 unittest.expect(o.version, unittest.equals(42)); 704 unittest.expect(o.version, unittest.equals(42));
705 } 705 }
706 buildCounterUserInfo--; 706 buildCounterUserInfo--;
707 } 707 }
708 708
709 buildUnnamed1033() { 709 buildUnnamed899() {
710 var o = new core.List<core.String>(); 710 var o = new core.List<core.String>();
711 o.add("foo"); 711 o.add("foo");
712 o.add("foo"); 712 o.add("foo");
713 return o; 713 return o;
714 } 714 }
715 715
716 checkUnnamed1033(core.List<core.String> o) { 716 checkUnnamed899(core.List<core.String> o) {
717 unittest.expect(o, unittest.hasLength(2)); 717 unittest.expect(o, unittest.hasLength(2));
718 unittest.expect(o[0], unittest.equals('foo')); 718 unittest.expect(o[0], unittest.equals('foo'));
719 unittest.expect(o[1], unittest.equals('foo')); 719 unittest.expect(o[1], unittest.equals('foo'));
720 } 720 }
721 721
722 core.int buildCounterVerifyAssertionResponse = 0; 722 core.int buildCounterVerifyAssertionResponse = 0;
723 buildVerifyAssertionResponse() { 723 buildVerifyAssertionResponse() {
724 var o = new api.VerifyAssertionResponse(); 724 var o = new api.VerifyAssertionResponse();
725 buildCounterVerifyAssertionResponse++; 725 buildCounterVerifyAssertionResponse++;
726 if (buildCounterVerifyAssertionResponse < 3) { 726 if (buildCounterVerifyAssertionResponse < 3) {
(...skipping 16 matching lines...) Expand all
743 o.lastName = "foo"; 743 o.lastName = "foo";
744 o.localId = "foo"; 744 o.localId = "foo";
745 o.needConfirmation = true; 745 o.needConfirmation = true;
746 o.nickName = "foo"; 746 o.nickName = "foo";
747 o.oauthRequestToken = "foo"; 747 o.oauthRequestToken = "foo";
748 o.oauthScope = "foo"; 748 o.oauthScope = "foo";
749 o.originalEmail = "foo"; 749 o.originalEmail = "foo";
750 o.photoUrl = "foo"; 750 o.photoUrl = "foo";
751 o.providerId = "foo"; 751 o.providerId = "foo";
752 o.timeZone = "foo"; 752 o.timeZone = "foo";
753 o.verifiedProvider = buildUnnamed1033(); 753 o.verifiedProvider = buildUnnamed899();
754 } 754 }
755 buildCounterVerifyAssertionResponse--; 755 buildCounterVerifyAssertionResponse--;
756 return o; 756 return o;
757 } 757 }
758 758
759 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) { 759 checkVerifyAssertionResponse(api.VerifyAssertionResponse o) {
760 buildCounterVerifyAssertionResponse++; 760 buildCounterVerifyAssertionResponse++;
761 if (buildCounterVerifyAssertionResponse < 3) { 761 if (buildCounterVerifyAssertionResponse < 3) {
762 unittest.expect(o.action, unittest.equals('foo')); 762 unittest.expect(o.action, unittest.equals('foo'));
763 unittest.expect(o.appInstallationUrl, unittest.equals('foo')); 763 unittest.expect(o.appInstallationUrl, unittest.equals('foo'));
(...skipping 14 matching lines...) Expand all
778 unittest.expect(o.lastName, unittest.equals('foo')); 778 unittest.expect(o.lastName, unittest.equals('foo'));
779 unittest.expect(o.localId, unittest.equals('foo')); 779 unittest.expect(o.localId, unittest.equals('foo'));
780 unittest.expect(o.needConfirmation, unittest.isTrue); 780 unittest.expect(o.needConfirmation, unittest.isTrue);
781 unittest.expect(o.nickName, unittest.equals('foo')); 781 unittest.expect(o.nickName, unittest.equals('foo'));
782 unittest.expect(o.oauthRequestToken, unittest.equals('foo')); 782 unittest.expect(o.oauthRequestToken, unittest.equals('foo'));
783 unittest.expect(o.oauthScope, unittest.equals('foo')); 783 unittest.expect(o.oauthScope, unittest.equals('foo'));
784 unittest.expect(o.originalEmail, unittest.equals('foo')); 784 unittest.expect(o.originalEmail, unittest.equals('foo'));
785 unittest.expect(o.photoUrl, unittest.equals('foo')); 785 unittest.expect(o.photoUrl, unittest.equals('foo'));
786 unittest.expect(o.providerId, unittest.equals('foo')); 786 unittest.expect(o.providerId, unittest.equals('foo'));
787 unittest.expect(o.timeZone, unittest.equals('foo')); 787 unittest.expect(o.timeZone, unittest.equals('foo'));
788 checkUnnamed1033(o.verifiedProvider); 788 checkUnnamed899(o.verifiedProvider);
789 } 789 }
790 buildCounterVerifyAssertionResponse--; 790 buildCounterVerifyAssertionResponse--;
791 } 791 }
792 792
793 core.int buildCounterVerifyPasswordResponse = 0; 793 core.int buildCounterVerifyPasswordResponse = 0;
794 buildVerifyPasswordResponse() { 794 buildVerifyPasswordResponse() {
795 var o = new api.VerifyPasswordResponse(); 795 var o = new api.VerifyPasswordResponse();
796 buildCounterVerifyPasswordResponse++; 796 buildCounterVerifyPasswordResponse++;
797 if (buildCounterVerifyPasswordResponse < 3) { 797 if (buildCounterVerifyPasswordResponse < 3) {
798 o.displayName = "foo"; 798 o.displayName = "foo";
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass wordResponse response) { 1582 res.verifyPassword(arg_request).then(unittest.expectAsync(((api.VerifyPass wordResponse response) {
1583 checkVerifyPasswordResponse(response); 1583 checkVerifyPasswordResponse(response);
1584 }))); 1584 })));
1585 }); 1585 });
1586 1586
1587 }); 1587 });
1588 1588
1589 1589
1590 } 1590 }
1591 1591
OLDNEW
« no previous file with comments | « generated/googleapis/test/gmail/v1_test.dart ('k') | generated/googleapis/test/licensing/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698