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

Side by Side Diff: generated/googleapis/test/oauth2/v2_test.dart

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months 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.oauth2.v2.test; 1 library googleapis.oauth2.v2.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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 unittest.expect(o.alg, unittest.equals('foo')); 73 unittest.expect(o.alg, unittest.equals('foo'));
74 unittest.expect(o.e, unittest.equals('foo')); 74 unittest.expect(o.e, unittest.equals('foo'));
75 unittest.expect(o.kid, unittest.equals('foo')); 75 unittest.expect(o.kid, unittest.equals('foo'));
76 unittest.expect(o.kty, unittest.equals('foo')); 76 unittest.expect(o.kty, unittest.equals('foo'));
77 unittest.expect(o.n, unittest.equals('foo')); 77 unittest.expect(o.n, unittest.equals('foo'));
78 unittest.expect(o.use, unittest.equals('foo')); 78 unittest.expect(o.use, unittest.equals('foo'));
79 } 79 }
80 buildCounterJwkKeys--; 80 buildCounterJwkKeys--;
81 } 81 }
82 82
83 buildUnnamed2779() { 83 buildUnnamed2873() {
84 var o = new core.List<api.JwkKeys>(); 84 var o = new core.List<api.JwkKeys>();
85 o.add(buildJwkKeys()); 85 o.add(buildJwkKeys());
86 o.add(buildJwkKeys()); 86 o.add(buildJwkKeys());
87 return o; 87 return o;
88 } 88 }
89 89
90 checkUnnamed2779(core.List<api.JwkKeys> o) { 90 checkUnnamed2873(core.List<api.JwkKeys> o) {
91 unittest.expect(o, unittest.hasLength(2)); 91 unittest.expect(o, unittest.hasLength(2));
92 checkJwkKeys(o[0]); 92 checkJwkKeys(o[0]);
93 checkJwkKeys(o[1]); 93 checkJwkKeys(o[1]);
94 } 94 }
95 95
96 core.int buildCounterJwk = 0; 96 core.int buildCounterJwk = 0;
97 buildJwk() { 97 buildJwk() {
98 var o = new api.Jwk(); 98 var o = new api.Jwk();
99 buildCounterJwk++; 99 buildCounterJwk++;
100 if (buildCounterJwk < 3) { 100 if (buildCounterJwk < 3) {
101 o.keys = buildUnnamed2779(); 101 o.keys = buildUnnamed2873();
102 } 102 }
103 buildCounterJwk--; 103 buildCounterJwk--;
104 return o; 104 return o;
105 } 105 }
106 106
107 checkJwk(api.Jwk o) { 107 checkJwk(api.Jwk o) {
108 buildCounterJwk++; 108 buildCounterJwk++;
109 if (buildCounterJwk < 3) { 109 if (buildCounterJwk < 3) {
110 checkUnnamed2779(o.keys); 110 checkUnnamed2873(o.keys);
111 } 111 }
112 buildCounterJwk--; 112 buildCounterJwk--;
113 } 113 }
114 114
115 core.int buildCounterTokeninfo = 0; 115 core.int buildCounterTokeninfo = 0;
116 buildTokeninfo() { 116 buildTokeninfo() {
117 var o = new api.Tokeninfo(); 117 var o = new api.Tokeninfo();
118 buildCounterTokeninfo++; 118 buildCounterTokeninfo++;
119 if (buildCounterTokeninfo < 3) { 119 if (buildCounterTokeninfo < 3) {
120 o.accessType = "foo"; 120 o.accessType = "foo";
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 res.get().then(unittest.expectAsync(((api.Userinfoplus response) { 409 res.get().then(unittest.expectAsync(((api.Userinfoplus response) {
410 checkUserinfoplus(response); 410 checkUserinfoplus(response);
411 }))); 411 })));
412 }); 412 });
413 413
414 }); 414 });
415 415
416 416
417 } 417 }
418 418
OLDNEW
« no previous file with comments | « generated/googleapis/test/monitoring/v3_test.dart ('k') | generated/googleapis/test/pagespeedonline/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698