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

Side by Side Diff: generated/googleapis/test/drive/v2_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.drive.v2.test; 1 library googleapis.drive.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;
11 import 'package:googleapis/common/common.dart' as common; 11 import 'package:googleapis/common/common.dart' as common;
12 import 'package:googleapis/src/common_internal.dart' as common_internal; 12 import 'package:googleapis/src/common_internal.dart' as common_internal;
13 import '../common/common_internal_test.dart' as common_test; 13 import '../common/common_internal_test.dart' as common_test;
14 14
15 import 'package:googleapis/drive/v2.dart' as api; 15 import 'package:googleapis/drive/v2.dart' as api;
16 16
17 17
18 18
19 buildUnnamed403() { 19 buildUnnamed722() {
20 var o = new core.List<core.String>(); 20 var o = new core.List<core.String>();
21 o.add("foo"); 21 o.add("foo");
22 o.add("foo"); 22 o.add("foo");
23 return o; 23 return o;
24 } 24 }
25 25
26 checkUnnamed403(core.List<core.String> o) { 26 checkUnnamed722(core.List<core.String> o) {
27 unittest.expect(o, unittest.hasLength(2)); 27 unittest.expect(o, unittest.hasLength(2));
28 unittest.expect(o[0], unittest.equals('foo')); 28 unittest.expect(o[0], unittest.equals('foo'));
29 unittest.expect(o[1], unittest.equals('foo')); 29 unittest.expect(o[1], unittest.equals('foo'));
30 } 30 }
31 31
32 core.int buildCounterAboutAdditionalRoleInfoRoleSets = 0; 32 core.int buildCounterAboutAdditionalRoleInfoRoleSets = 0;
33 buildAboutAdditionalRoleInfoRoleSets() { 33 buildAboutAdditionalRoleInfoRoleSets() {
34 var o = new api.AboutAdditionalRoleInfoRoleSets(); 34 var o = new api.AboutAdditionalRoleInfoRoleSets();
35 buildCounterAboutAdditionalRoleInfoRoleSets++; 35 buildCounterAboutAdditionalRoleInfoRoleSets++;
36 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { 36 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
37 o.additionalRoles = buildUnnamed403(); 37 o.additionalRoles = buildUnnamed722();
38 o.primaryRole = "foo"; 38 o.primaryRole = "foo";
39 } 39 }
40 buildCounterAboutAdditionalRoleInfoRoleSets--; 40 buildCounterAboutAdditionalRoleInfoRoleSets--;
41 return o; 41 return o;
42 } 42 }
43 43
44 checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { 44 checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
45 buildCounterAboutAdditionalRoleInfoRoleSets++; 45 buildCounterAboutAdditionalRoleInfoRoleSets++;
46 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { 46 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
47 checkUnnamed403(o.additionalRoles); 47 checkUnnamed722(o.additionalRoles);
48 unittest.expect(o.primaryRole, unittest.equals('foo')); 48 unittest.expect(o.primaryRole, unittest.equals('foo'));
49 } 49 }
50 buildCounterAboutAdditionalRoleInfoRoleSets--; 50 buildCounterAboutAdditionalRoleInfoRoleSets--;
51 } 51 }
52 52
53 buildUnnamed404() { 53 buildUnnamed723() {
54 var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); 54 var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
55 o.add(buildAboutAdditionalRoleInfoRoleSets()); 55 o.add(buildAboutAdditionalRoleInfoRoleSets());
56 o.add(buildAboutAdditionalRoleInfoRoleSets()); 56 o.add(buildAboutAdditionalRoleInfoRoleSets());
57 return o; 57 return o;
58 } 58 }
59 59
60 checkUnnamed404(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { 60 checkUnnamed723(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
61 unittest.expect(o, unittest.hasLength(2)); 61 unittest.expect(o, unittest.hasLength(2));
62 checkAboutAdditionalRoleInfoRoleSets(o[0]); 62 checkAboutAdditionalRoleInfoRoleSets(o[0]);
63 checkAboutAdditionalRoleInfoRoleSets(o[1]); 63 checkAboutAdditionalRoleInfoRoleSets(o[1]);
64 } 64 }
65 65
66 core.int buildCounterAboutAdditionalRoleInfo = 0; 66 core.int buildCounterAboutAdditionalRoleInfo = 0;
67 buildAboutAdditionalRoleInfo() { 67 buildAboutAdditionalRoleInfo() {
68 var o = new api.AboutAdditionalRoleInfo(); 68 var o = new api.AboutAdditionalRoleInfo();
69 buildCounterAboutAdditionalRoleInfo++; 69 buildCounterAboutAdditionalRoleInfo++;
70 if (buildCounterAboutAdditionalRoleInfo < 3) { 70 if (buildCounterAboutAdditionalRoleInfo < 3) {
71 o.roleSets = buildUnnamed404(); 71 o.roleSets = buildUnnamed723();
72 o.type = "foo"; 72 o.type = "foo";
73 } 73 }
74 buildCounterAboutAdditionalRoleInfo--; 74 buildCounterAboutAdditionalRoleInfo--;
75 return o; 75 return o;
76 } 76 }
77 77
78 checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { 78 checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
79 buildCounterAboutAdditionalRoleInfo++; 79 buildCounterAboutAdditionalRoleInfo++;
80 if (buildCounterAboutAdditionalRoleInfo < 3) { 80 if (buildCounterAboutAdditionalRoleInfo < 3) {
81 checkUnnamed404(o.roleSets); 81 checkUnnamed723(o.roleSets);
82 unittest.expect(o.type, unittest.equals('foo')); 82 unittest.expect(o.type, unittest.equals('foo'));
83 } 83 }
84 buildCounterAboutAdditionalRoleInfo--; 84 buildCounterAboutAdditionalRoleInfo--;
85 } 85 }
86 86
87 buildUnnamed405() { 87 buildUnnamed724() {
88 var o = new core.List<api.AboutAdditionalRoleInfo>(); 88 var o = new core.List<api.AboutAdditionalRoleInfo>();
89 o.add(buildAboutAdditionalRoleInfo()); 89 o.add(buildAboutAdditionalRoleInfo());
90 o.add(buildAboutAdditionalRoleInfo()); 90 o.add(buildAboutAdditionalRoleInfo());
91 return o; 91 return o;
92 } 92 }
93 93
94 checkUnnamed405(core.List<api.AboutAdditionalRoleInfo> o) { 94 checkUnnamed724(core.List<api.AboutAdditionalRoleInfo> o) {
95 unittest.expect(o, unittest.hasLength(2)); 95 unittest.expect(o, unittest.hasLength(2));
96 checkAboutAdditionalRoleInfo(o[0]); 96 checkAboutAdditionalRoleInfo(o[0]);
97 checkAboutAdditionalRoleInfo(o[1]); 97 checkAboutAdditionalRoleInfo(o[1]);
98 } 98 }
99 99
100 buildUnnamed406() { 100 buildUnnamed725() {
101 var o = new core.List<core.String>(); 101 var o = new core.List<core.String>();
102 o.add("foo"); 102 o.add("foo");
103 o.add("foo"); 103 o.add("foo");
104 return o; 104 return o;
105 } 105 }
106 106
107 checkUnnamed406(core.List<core.String> o) { 107 checkUnnamed725(core.List<core.String> o) {
108 unittest.expect(o, unittest.hasLength(2)); 108 unittest.expect(o, unittest.hasLength(2));
109 unittest.expect(o[0], unittest.equals('foo')); 109 unittest.expect(o[0], unittest.equals('foo'));
110 unittest.expect(o[1], unittest.equals('foo')); 110 unittest.expect(o[1], unittest.equals('foo'));
111 } 111 }
112 112
113 core.int buildCounterAboutExportFormats = 0; 113 core.int buildCounterAboutExportFormats = 0;
114 buildAboutExportFormats() { 114 buildAboutExportFormats() {
115 var o = new api.AboutExportFormats(); 115 var o = new api.AboutExportFormats();
116 buildCounterAboutExportFormats++; 116 buildCounterAboutExportFormats++;
117 if (buildCounterAboutExportFormats < 3) { 117 if (buildCounterAboutExportFormats < 3) {
118 o.source = "foo"; 118 o.source = "foo";
119 o.targets = buildUnnamed406(); 119 o.targets = buildUnnamed725();
120 } 120 }
121 buildCounterAboutExportFormats--; 121 buildCounterAboutExportFormats--;
122 return o; 122 return o;
123 } 123 }
124 124
125 checkAboutExportFormats(api.AboutExportFormats o) { 125 checkAboutExportFormats(api.AboutExportFormats o) {
126 buildCounterAboutExportFormats++; 126 buildCounterAboutExportFormats++;
127 if (buildCounterAboutExportFormats < 3) { 127 if (buildCounterAboutExportFormats < 3) {
128 unittest.expect(o.source, unittest.equals('foo')); 128 unittest.expect(o.source, unittest.equals('foo'));
129 checkUnnamed406(o.targets); 129 checkUnnamed725(o.targets);
130 } 130 }
131 buildCounterAboutExportFormats--; 131 buildCounterAboutExportFormats--;
132 } 132 }
133 133
134 buildUnnamed407() { 134 buildUnnamed726() {
135 var o = new core.List<api.AboutExportFormats>(); 135 var o = new core.List<api.AboutExportFormats>();
136 o.add(buildAboutExportFormats()); 136 o.add(buildAboutExportFormats());
137 o.add(buildAboutExportFormats()); 137 o.add(buildAboutExportFormats());
138 return o; 138 return o;
139 } 139 }
140 140
141 checkUnnamed407(core.List<api.AboutExportFormats> o) { 141 checkUnnamed726(core.List<api.AboutExportFormats> o) {
142 unittest.expect(o, unittest.hasLength(2)); 142 unittest.expect(o, unittest.hasLength(2));
143 checkAboutExportFormats(o[0]); 143 checkAboutExportFormats(o[0]);
144 checkAboutExportFormats(o[1]); 144 checkAboutExportFormats(o[1]);
145 } 145 }
146 146
147 core.int buildCounterAboutFeatures = 0; 147 core.int buildCounterAboutFeatures = 0;
148 buildAboutFeatures() { 148 buildAboutFeatures() {
149 var o = new api.AboutFeatures(); 149 var o = new api.AboutFeatures();
150 buildCounterAboutFeatures++; 150 buildCounterAboutFeatures++;
151 if (buildCounterAboutFeatures < 3) { 151 if (buildCounterAboutFeatures < 3) {
152 o.featureName = "foo"; 152 o.featureName = "foo";
153 o.featureRate = 42.0; 153 o.featureRate = 42.0;
154 } 154 }
155 buildCounterAboutFeatures--; 155 buildCounterAboutFeatures--;
156 return o; 156 return o;
157 } 157 }
158 158
159 checkAboutFeatures(api.AboutFeatures o) { 159 checkAboutFeatures(api.AboutFeatures o) {
160 buildCounterAboutFeatures++; 160 buildCounterAboutFeatures++;
161 if (buildCounterAboutFeatures < 3) { 161 if (buildCounterAboutFeatures < 3) {
162 unittest.expect(o.featureName, unittest.equals('foo')); 162 unittest.expect(o.featureName, unittest.equals('foo'));
163 unittest.expect(o.featureRate, unittest.equals(42.0)); 163 unittest.expect(o.featureRate, unittest.equals(42.0));
164 } 164 }
165 buildCounterAboutFeatures--; 165 buildCounterAboutFeatures--;
166 } 166 }
167 167
168 buildUnnamed408() { 168 buildUnnamed727() {
169 var o = new core.List<api.AboutFeatures>(); 169 var o = new core.List<api.AboutFeatures>();
170 o.add(buildAboutFeatures()); 170 o.add(buildAboutFeatures());
171 o.add(buildAboutFeatures()); 171 o.add(buildAboutFeatures());
172 return o; 172 return o;
173 } 173 }
174 174
175 checkUnnamed408(core.List<api.AboutFeatures> o) { 175 checkUnnamed727(core.List<api.AboutFeatures> o) {
176 unittest.expect(o, unittest.hasLength(2)); 176 unittest.expect(o, unittest.hasLength(2));
177 checkAboutFeatures(o[0]); 177 checkAboutFeatures(o[0]);
178 checkAboutFeatures(o[1]); 178 checkAboutFeatures(o[1]);
179 } 179 }
180 180
181 buildUnnamed409() { 181 buildUnnamed728() {
182 var o = new core.List<core.String>(); 182 var o = new core.List<core.String>();
183 o.add("foo"); 183 o.add("foo");
184 o.add("foo"); 184 o.add("foo");
185 return o; 185 return o;
186 } 186 }
187 187
188 checkUnnamed409(core.List<core.String> o) { 188 checkUnnamed728(core.List<core.String> o) {
189 unittest.expect(o, unittest.hasLength(2)); 189 unittest.expect(o, unittest.hasLength(2));
190 unittest.expect(o[0], unittest.equals('foo')); 190 unittest.expect(o[0], unittest.equals('foo'));
191 unittest.expect(o[1], unittest.equals('foo')); 191 unittest.expect(o[1], unittest.equals('foo'));
192 } 192 }
193 193
194 core.int buildCounterAboutImportFormats = 0; 194 core.int buildCounterAboutImportFormats = 0;
195 buildAboutImportFormats() { 195 buildAboutImportFormats() {
196 var o = new api.AboutImportFormats(); 196 var o = new api.AboutImportFormats();
197 buildCounterAboutImportFormats++; 197 buildCounterAboutImportFormats++;
198 if (buildCounterAboutImportFormats < 3) { 198 if (buildCounterAboutImportFormats < 3) {
199 o.source = "foo"; 199 o.source = "foo";
200 o.targets = buildUnnamed409(); 200 o.targets = buildUnnamed728();
201 } 201 }
202 buildCounterAboutImportFormats--; 202 buildCounterAboutImportFormats--;
203 return o; 203 return o;
204 } 204 }
205 205
206 checkAboutImportFormats(api.AboutImportFormats o) { 206 checkAboutImportFormats(api.AboutImportFormats o) {
207 buildCounterAboutImportFormats++; 207 buildCounterAboutImportFormats++;
208 if (buildCounterAboutImportFormats < 3) { 208 if (buildCounterAboutImportFormats < 3) {
209 unittest.expect(o.source, unittest.equals('foo')); 209 unittest.expect(o.source, unittest.equals('foo'));
210 checkUnnamed409(o.targets); 210 checkUnnamed728(o.targets);
211 } 211 }
212 buildCounterAboutImportFormats--; 212 buildCounterAboutImportFormats--;
213 } 213 }
214 214
215 buildUnnamed410() { 215 buildUnnamed729() {
216 var o = new core.List<api.AboutImportFormats>(); 216 var o = new core.List<api.AboutImportFormats>();
217 o.add(buildAboutImportFormats()); 217 o.add(buildAboutImportFormats());
218 o.add(buildAboutImportFormats()); 218 o.add(buildAboutImportFormats());
219 return o; 219 return o;
220 } 220 }
221 221
222 checkUnnamed410(core.List<api.AboutImportFormats> o) { 222 checkUnnamed729(core.List<api.AboutImportFormats> o) {
223 unittest.expect(o, unittest.hasLength(2)); 223 unittest.expect(o, unittest.hasLength(2));
224 checkAboutImportFormats(o[0]); 224 checkAboutImportFormats(o[0]);
225 checkAboutImportFormats(o[1]); 225 checkAboutImportFormats(o[1]);
226 } 226 }
227 227
228 core.int buildCounterAboutMaxUploadSizes = 0; 228 core.int buildCounterAboutMaxUploadSizes = 0;
229 buildAboutMaxUploadSizes() { 229 buildAboutMaxUploadSizes() {
230 var o = new api.AboutMaxUploadSizes(); 230 var o = new api.AboutMaxUploadSizes();
231 buildCounterAboutMaxUploadSizes++; 231 buildCounterAboutMaxUploadSizes++;
232 if (buildCounterAboutMaxUploadSizes < 3) { 232 if (buildCounterAboutMaxUploadSizes < 3) {
233 o.size = "foo"; 233 o.size = "foo";
234 o.type = "foo"; 234 o.type = "foo";
235 } 235 }
236 buildCounterAboutMaxUploadSizes--; 236 buildCounterAboutMaxUploadSizes--;
237 return o; 237 return o;
238 } 238 }
239 239
240 checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { 240 checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) {
241 buildCounterAboutMaxUploadSizes++; 241 buildCounterAboutMaxUploadSizes++;
242 if (buildCounterAboutMaxUploadSizes < 3) { 242 if (buildCounterAboutMaxUploadSizes < 3) {
243 unittest.expect(o.size, unittest.equals('foo')); 243 unittest.expect(o.size, unittest.equals('foo'));
244 unittest.expect(o.type, unittest.equals('foo')); 244 unittest.expect(o.type, unittest.equals('foo'));
245 } 245 }
246 buildCounterAboutMaxUploadSizes--; 246 buildCounterAboutMaxUploadSizes--;
247 } 247 }
248 248
249 buildUnnamed411() { 249 buildUnnamed730() {
250 var o = new core.List<api.AboutMaxUploadSizes>(); 250 var o = new core.List<api.AboutMaxUploadSizes>();
251 o.add(buildAboutMaxUploadSizes()); 251 o.add(buildAboutMaxUploadSizes());
252 o.add(buildAboutMaxUploadSizes()); 252 o.add(buildAboutMaxUploadSizes());
253 return o; 253 return o;
254 } 254 }
255 255
256 checkUnnamed411(core.List<api.AboutMaxUploadSizes> o) { 256 checkUnnamed730(core.List<api.AboutMaxUploadSizes> o) {
257 unittest.expect(o, unittest.hasLength(2)); 257 unittest.expect(o, unittest.hasLength(2));
258 checkAboutMaxUploadSizes(o[0]); 258 checkAboutMaxUploadSizes(o[0]);
259 checkAboutMaxUploadSizes(o[1]); 259 checkAboutMaxUploadSizes(o[1]);
260 } 260 }
261 261
262 core.int buildCounterAboutQuotaBytesByService = 0; 262 core.int buildCounterAboutQuotaBytesByService = 0;
263 buildAboutQuotaBytesByService() { 263 buildAboutQuotaBytesByService() {
264 var o = new api.AboutQuotaBytesByService(); 264 var o = new api.AboutQuotaBytesByService();
265 buildCounterAboutQuotaBytesByService++; 265 buildCounterAboutQuotaBytesByService++;
266 if (buildCounterAboutQuotaBytesByService < 3) { 266 if (buildCounterAboutQuotaBytesByService < 3) {
267 o.bytesUsed = "foo"; 267 o.bytesUsed = "foo";
268 o.serviceName = "foo"; 268 o.serviceName = "foo";
269 } 269 }
270 buildCounterAboutQuotaBytesByService--; 270 buildCounterAboutQuotaBytesByService--;
271 return o; 271 return o;
272 } 272 }
273 273
274 checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { 274 checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) {
275 buildCounterAboutQuotaBytesByService++; 275 buildCounterAboutQuotaBytesByService++;
276 if (buildCounterAboutQuotaBytesByService < 3) { 276 if (buildCounterAboutQuotaBytesByService < 3) {
277 unittest.expect(o.bytesUsed, unittest.equals('foo')); 277 unittest.expect(o.bytesUsed, unittest.equals('foo'));
278 unittest.expect(o.serviceName, unittest.equals('foo')); 278 unittest.expect(o.serviceName, unittest.equals('foo'));
279 } 279 }
280 buildCounterAboutQuotaBytesByService--; 280 buildCounterAboutQuotaBytesByService--;
281 } 281 }
282 282
283 buildUnnamed412() { 283 buildUnnamed731() {
284 var o = new core.List<api.AboutQuotaBytesByService>(); 284 var o = new core.List<api.AboutQuotaBytesByService>();
285 o.add(buildAboutQuotaBytesByService()); 285 o.add(buildAboutQuotaBytesByService());
286 o.add(buildAboutQuotaBytesByService()); 286 o.add(buildAboutQuotaBytesByService());
287 return o; 287 return o;
288 } 288 }
289 289
290 checkUnnamed412(core.List<api.AboutQuotaBytesByService> o) { 290 checkUnnamed731(core.List<api.AboutQuotaBytesByService> o) {
291 unittest.expect(o, unittest.hasLength(2)); 291 unittest.expect(o, unittest.hasLength(2));
292 checkAboutQuotaBytesByService(o[0]); 292 checkAboutQuotaBytesByService(o[0]);
293 checkAboutQuotaBytesByService(o[1]); 293 checkAboutQuotaBytesByService(o[1]);
294 } 294 }
295 295
296 core.int buildCounterAbout = 0; 296 core.int buildCounterAbout = 0;
297 buildAbout() { 297 buildAbout() {
298 var o = new api.About(); 298 var o = new api.About();
299 buildCounterAbout++; 299 buildCounterAbout++;
300 if (buildCounterAbout < 3) { 300 if (buildCounterAbout < 3) {
301 o.additionalRoleInfo = buildUnnamed405(); 301 o.additionalRoleInfo = buildUnnamed724();
302 o.domainSharingPolicy = "foo"; 302 o.domainSharingPolicy = "foo";
303 o.etag = "foo"; 303 o.etag = "foo";
304 o.exportFormats = buildUnnamed407(); 304 o.exportFormats = buildUnnamed726();
305 o.features = buildUnnamed408(); 305 o.features = buildUnnamed727();
306 o.importFormats = buildUnnamed410(); 306 o.importFormats = buildUnnamed729();
307 o.isCurrentAppInstalled = true; 307 o.isCurrentAppInstalled = true;
308 o.kind = "foo"; 308 o.kind = "foo";
309 o.languageCode = "foo"; 309 o.languageCode = "foo";
310 o.largestChangeId = "foo"; 310 o.largestChangeId = "foo";
311 o.maxUploadSizes = buildUnnamed411(); 311 o.maxUploadSizes = buildUnnamed730();
312 o.name = "foo"; 312 o.name = "foo";
313 o.permissionId = "foo"; 313 o.permissionId = "foo";
314 o.quotaBytesByService = buildUnnamed412(); 314 o.quotaBytesByService = buildUnnamed731();
315 o.quotaBytesTotal = "foo"; 315 o.quotaBytesTotal = "foo";
316 o.quotaBytesUsed = "foo"; 316 o.quotaBytesUsed = "foo";
317 o.quotaBytesUsedAggregate = "foo"; 317 o.quotaBytesUsedAggregate = "foo";
318 o.quotaBytesUsedInTrash = "foo"; 318 o.quotaBytesUsedInTrash = "foo";
319 o.quotaType = "foo"; 319 o.quotaType = "foo";
320 o.remainingChangeIds = "foo"; 320 o.remainingChangeIds = "foo";
321 o.rootFolderId = "foo"; 321 o.rootFolderId = "foo";
322 o.selfLink = "foo"; 322 o.selfLink = "foo";
323 o.user = buildUser(); 323 o.user = buildUser();
324 } 324 }
325 buildCounterAbout--; 325 buildCounterAbout--;
326 return o; 326 return o;
327 } 327 }
328 328
329 checkAbout(api.About o) { 329 checkAbout(api.About o) {
330 buildCounterAbout++; 330 buildCounterAbout++;
331 if (buildCounterAbout < 3) { 331 if (buildCounterAbout < 3) {
332 checkUnnamed405(o.additionalRoleInfo); 332 checkUnnamed724(o.additionalRoleInfo);
333 unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); 333 unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
334 unittest.expect(o.etag, unittest.equals('foo')); 334 unittest.expect(o.etag, unittest.equals('foo'));
335 checkUnnamed407(o.exportFormats); 335 checkUnnamed726(o.exportFormats);
336 checkUnnamed408(o.features); 336 checkUnnamed727(o.features);
337 checkUnnamed410(o.importFormats); 337 checkUnnamed729(o.importFormats);
338 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); 338 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue);
339 unittest.expect(o.kind, unittest.equals('foo')); 339 unittest.expect(o.kind, unittest.equals('foo'));
340 unittest.expect(o.languageCode, unittest.equals('foo')); 340 unittest.expect(o.languageCode, unittest.equals('foo'));
341 unittest.expect(o.largestChangeId, unittest.equals('foo')); 341 unittest.expect(o.largestChangeId, unittest.equals('foo'));
342 checkUnnamed411(o.maxUploadSizes); 342 checkUnnamed730(o.maxUploadSizes);
343 unittest.expect(o.name, unittest.equals('foo')); 343 unittest.expect(o.name, unittest.equals('foo'));
344 unittest.expect(o.permissionId, unittest.equals('foo')); 344 unittest.expect(o.permissionId, unittest.equals('foo'));
345 checkUnnamed412(o.quotaBytesByService); 345 checkUnnamed731(o.quotaBytesByService);
346 unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); 346 unittest.expect(o.quotaBytesTotal, unittest.equals('foo'));
347 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); 347 unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
348 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); 348 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo'));
349 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo')); 349 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo'));
350 unittest.expect(o.quotaType, unittest.equals('foo')); 350 unittest.expect(o.quotaType, unittest.equals('foo'));
351 unittest.expect(o.remainingChangeIds, unittest.equals('foo')); 351 unittest.expect(o.remainingChangeIds, unittest.equals('foo'));
352 unittest.expect(o.rootFolderId, unittest.equals('foo')); 352 unittest.expect(o.rootFolderId, unittest.equals('foo'));
353 unittest.expect(o.selfLink, unittest.equals('foo')); 353 unittest.expect(o.selfLink, unittest.equals('foo'));
354 checkUser(o.user); 354 checkUser(o.user);
355 } 355 }
(...skipping 16 matching lines...) Expand all
372 checkAppIcons(api.AppIcons o) { 372 checkAppIcons(api.AppIcons o) {
373 buildCounterAppIcons++; 373 buildCounterAppIcons++;
374 if (buildCounterAppIcons < 3) { 374 if (buildCounterAppIcons < 3) {
375 unittest.expect(o.category, unittest.equals('foo')); 375 unittest.expect(o.category, unittest.equals('foo'));
376 unittest.expect(o.iconUrl, unittest.equals('foo')); 376 unittest.expect(o.iconUrl, unittest.equals('foo'));
377 unittest.expect(o.size, unittest.equals(42)); 377 unittest.expect(o.size, unittest.equals(42));
378 } 378 }
379 buildCounterAppIcons--; 379 buildCounterAppIcons--;
380 } 380 }
381 381
382 buildUnnamed413() { 382 buildUnnamed732() {
383 var o = new core.List<api.AppIcons>(); 383 var o = new core.List<api.AppIcons>();
384 o.add(buildAppIcons()); 384 o.add(buildAppIcons());
385 o.add(buildAppIcons()); 385 o.add(buildAppIcons());
386 return o; 386 return o;
387 } 387 }
388 388
389 checkUnnamed413(core.List<api.AppIcons> o) { 389 checkUnnamed732(core.List<api.AppIcons> o) {
390 unittest.expect(o, unittest.hasLength(2)); 390 unittest.expect(o, unittest.hasLength(2));
391 checkAppIcons(o[0]); 391 checkAppIcons(o[0]);
392 checkAppIcons(o[1]); 392 checkAppIcons(o[1]);
393 } 393 }
394 394
395 buildUnnamed414() { 395 buildUnnamed733() {
396 var o = new core.List<core.String>(); 396 var o = new core.List<core.String>();
397 o.add("foo"); 397 o.add("foo");
398 o.add("foo"); 398 o.add("foo");
399 return o; 399 return o;
400 } 400 }
401 401
402 checkUnnamed414(core.List<core.String> o) { 402 checkUnnamed733(core.List<core.String> o) {
403 unittest.expect(o, unittest.hasLength(2)); 403 unittest.expect(o, unittest.hasLength(2));
404 unittest.expect(o[0], unittest.equals('foo')); 404 unittest.expect(o[0], unittest.equals('foo'));
405 unittest.expect(o[1], unittest.equals('foo')); 405 unittest.expect(o[1], unittest.equals('foo'));
406 } 406 }
407 407
408 buildUnnamed415() { 408 buildUnnamed734() {
409 var o = new core.List<core.String>(); 409 var o = new core.List<core.String>();
410 o.add("foo"); 410 o.add("foo");
411 o.add("foo"); 411 o.add("foo");
412 return o; 412 return o;
413 } 413 }
414 414
415 checkUnnamed415(core.List<core.String> o) { 415 checkUnnamed734(core.List<core.String> o) {
416 unittest.expect(o, unittest.hasLength(2)); 416 unittest.expect(o, unittest.hasLength(2));
417 unittest.expect(o[0], unittest.equals('foo')); 417 unittest.expect(o[0], unittest.equals('foo'));
418 unittest.expect(o[1], unittest.equals('foo')); 418 unittest.expect(o[1], unittest.equals('foo'));
419 } 419 }
420 420
421 buildUnnamed416() { 421 buildUnnamed735() {
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 checkUnnamed416(core.List<core.String> o) { 428 checkUnnamed735(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 buildUnnamed417() { 434 buildUnnamed736() {
435 var o = new core.List<core.String>(); 435 var o = new core.List<core.String>();
436 o.add("foo"); 436 o.add("foo");
437 o.add("foo"); 437 o.add("foo");
438 return o; 438 return o;
439 } 439 }
440 440
441 checkUnnamed417(core.List<core.String> o) { 441 checkUnnamed736(core.List<core.String> o) {
442 unittest.expect(o, unittest.hasLength(2)); 442 unittest.expect(o, unittest.hasLength(2));
443 unittest.expect(o[0], unittest.equals('foo')); 443 unittest.expect(o[0], unittest.equals('foo'));
444 unittest.expect(o[1], unittest.equals('foo')); 444 unittest.expect(o[1], unittest.equals('foo'));
445 } 445 }
446 446
447 core.int buildCounterApp = 0; 447 core.int buildCounterApp = 0;
448 buildApp() { 448 buildApp() {
449 var o = new api.App(); 449 var o = new api.App();
450 buildCounterApp++; 450 buildCounterApp++;
451 if (buildCounterApp < 3) { 451 if (buildCounterApp < 3) {
452 o.authorized = true; 452 o.authorized = true;
453 o.createInFolderTemplate = "foo"; 453 o.createInFolderTemplate = "foo";
454 o.createUrl = "foo"; 454 o.createUrl = "foo";
455 o.hasDriveWideScope = true; 455 o.hasDriveWideScope = true;
456 o.icons = buildUnnamed413(); 456 o.icons = buildUnnamed732();
457 o.id = "foo"; 457 o.id = "foo";
458 o.installed = true; 458 o.installed = true;
459 o.kind = "foo"; 459 o.kind = "foo";
460 o.longDescription = "foo"; 460 o.longDescription = "foo";
461 o.name = "foo"; 461 o.name = "foo";
462 o.objectType = "foo"; 462 o.objectType = "foo";
463 o.openUrlTemplate = "foo"; 463 o.openUrlTemplate = "foo";
464 o.primaryFileExtensions = buildUnnamed414(); 464 o.primaryFileExtensions = buildUnnamed733();
465 o.primaryMimeTypes = buildUnnamed415(); 465 o.primaryMimeTypes = buildUnnamed734();
466 o.productId = "foo"; 466 o.productId = "foo";
467 o.productUrl = "foo"; 467 o.productUrl = "foo";
468 o.secondaryFileExtensions = buildUnnamed416(); 468 o.secondaryFileExtensions = buildUnnamed735();
469 o.secondaryMimeTypes = buildUnnamed417(); 469 o.secondaryMimeTypes = buildUnnamed736();
470 o.shortDescription = "foo"; 470 o.shortDescription = "foo";
471 o.supportsCreate = true; 471 o.supportsCreate = true;
472 o.supportsImport = true; 472 o.supportsImport = true;
473 o.supportsMultiOpen = true; 473 o.supportsMultiOpen = true;
474 o.supportsOfflineCreate = true; 474 o.supportsOfflineCreate = true;
475 o.useByDefault = true; 475 o.useByDefault = true;
476 } 476 }
477 buildCounterApp--; 477 buildCounterApp--;
478 return o; 478 return o;
479 } 479 }
480 480
481 checkApp(api.App o) { 481 checkApp(api.App o) {
482 buildCounterApp++; 482 buildCounterApp++;
483 if (buildCounterApp < 3) { 483 if (buildCounterApp < 3) {
484 unittest.expect(o.authorized, unittest.isTrue); 484 unittest.expect(o.authorized, unittest.isTrue);
485 unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); 485 unittest.expect(o.createInFolderTemplate, unittest.equals('foo'));
486 unittest.expect(o.createUrl, unittest.equals('foo')); 486 unittest.expect(o.createUrl, unittest.equals('foo'));
487 unittest.expect(o.hasDriveWideScope, unittest.isTrue); 487 unittest.expect(o.hasDriveWideScope, unittest.isTrue);
488 checkUnnamed413(o.icons); 488 checkUnnamed732(o.icons);
489 unittest.expect(o.id, unittest.equals('foo')); 489 unittest.expect(o.id, unittest.equals('foo'));
490 unittest.expect(o.installed, unittest.isTrue); 490 unittest.expect(o.installed, unittest.isTrue);
491 unittest.expect(o.kind, unittest.equals('foo')); 491 unittest.expect(o.kind, unittest.equals('foo'));
492 unittest.expect(o.longDescription, unittest.equals('foo')); 492 unittest.expect(o.longDescription, unittest.equals('foo'));
493 unittest.expect(o.name, unittest.equals('foo')); 493 unittest.expect(o.name, unittest.equals('foo'));
494 unittest.expect(o.objectType, unittest.equals('foo')); 494 unittest.expect(o.objectType, unittest.equals('foo'));
495 unittest.expect(o.openUrlTemplate, unittest.equals('foo')); 495 unittest.expect(o.openUrlTemplate, unittest.equals('foo'));
496 checkUnnamed414(o.primaryFileExtensions); 496 checkUnnamed733(o.primaryFileExtensions);
497 checkUnnamed415(o.primaryMimeTypes); 497 checkUnnamed734(o.primaryMimeTypes);
498 unittest.expect(o.productId, unittest.equals('foo')); 498 unittest.expect(o.productId, unittest.equals('foo'));
499 unittest.expect(o.productUrl, unittest.equals('foo')); 499 unittest.expect(o.productUrl, unittest.equals('foo'));
500 checkUnnamed416(o.secondaryFileExtensions); 500 checkUnnamed735(o.secondaryFileExtensions);
501 checkUnnamed417(o.secondaryMimeTypes); 501 checkUnnamed736(o.secondaryMimeTypes);
502 unittest.expect(o.shortDescription, unittest.equals('foo')); 502 unittest.expect(o.shortDescription, unittest.equals('foo'));
503 unittest.expect(o.supportsCreate, unittest.isTrue); 503 unittest.expect(o.supportsCreate, unittest.isTrue);
504 unittest.expect(o.supportsImport, unittest.isTrue); 504 unittest.expect(o.supportsImport, unittest.isTrue);
505 unittest.expect(o.supportsMultiOpen, unittest.isTrue); 505 unittest.expect(o.supportsMultiOpen, unittest.isTrue);
506 unittest.expect(o.supportsOfflineCreate, unittest.isTrue); 506 unittest.expect(o.supportsOfflineCreate, unittest.isTrue);
507 unittest.expect(o.useByDefault, unittest.isTrue); 507 unittest.expect(o.useByDefault, unittest.isTrue);
508 } 508 }
509 buildCounterApp--; 509 buildCounterApp--;
510 } 510 }
511 511
512 buildUnnamed418() { 512 buildUnnamed737() {
513 var o = new core.List<core.String>(); 513 var o = new core.List<core.String>();
514 o.add("foo"); 514 o.add("foo");
515 o.add("foo"); 515 o.add("foo");
516 return o; 516 return o;
517 } 517 }
518 518
519 checkUnnamed418(core.List<core.String> o) { 519 checkUnnamed737(core.List<core.String> o) {
520 unittest.expect(o, unittest.hasLength(2)); 520 unittest.expect(o, unittest.hasLength(2));
521 unittest.expect(o[0], unittest.equals('foo')); 521 unittest.expect(o[0], unittest.equals('foo'));
522 unittest.expect(o[1], unittest.equals('foo')); 522 unittest.expect(o[1], unittest.equals('foo'));
523 } 523 }
524 524
525 buildUnnamed419() { 525 buildUnnamed738() {
526 var o = new core.List<api.App>(); 526 var o = new core.List<api.App>();
527 o.add(buildApp()); 527 o.add(buildApp());
528 o.add(buildApp()); 528 o.add(buildApp());
529 return o; 529 return o;
530 } 530 }
531 531
532 checkUnnamed419(core.List<api.App> o) { 532 checkUnnamed738(core.List<api.App> o) {
533 unittest.expect(o, unittest.hasLength(2)); 533 unittest.expect(o, unittest.hasLength(2));
534 checkApp(o[0]); 534 checkApp(o[0]);
535 checkApp(o[1]); 535 checkApp(o[1]);
536 } 536 }
537 537
538 core.int buildCounterAppList = 0; 538 core.int buildCounterAppList = 0;
539 buildAppList() { 539 buildAppList() {
540 var o = new api.AppList(); 540 var o = new api.AppList();
541 buildCounterAppList++; 541 buildCounterAppList++;
542 if (buildCounterAppList < 3) { 542 if (buildCounterAppList < 3) {
543 o.defaultAppIds = buildUnnamed418(); 543 o.defaultAppIds = buildUnnamed737();
544 o.etag = "foo"; 544 o.etag = "foo";
545 o.items = buildUnnamed419(); 545 o.items = buildUnnamed738();
546 o.kind = "foo"; 546 o.kind = "foo";
547 o.selfLink = "foo"; 547 o.selfLink = "foo";
548 } 548 }
549 buildCounterAppList--; 549 buildCounterAppList--;
550 return o; 550 return o;
551 } 551 }
552 552
553 checkAppList(api.AppList o) { 553 checkAppList(api.AppList o) {
554 buildCounterAppList++; 554 buildCounterAppList++;
555 if (buildCounterAppList < 3) { 555 if (buildCounterAppList < 3) {
556 checkUnnamed418(o.defaultAppIds); 556 checkUnnamed737(o.defaultAppIds);
557 unittest.expect(o.etag, unittest.equals('foo')); 557 unittest.expect(o.etag, unittest.equals('foo'));
558 checkUnnamed419(o.items); 558 checkUnnamed738(o.items);
559 unittest.expect(o.kind, unittest.equals('foo')); 559 unittest.expect(o.kind, unittest.equals('foo'));
560 unittest.expect(o.selfLink, unittest.equals('foo')); 560 unittest.expect(o.selfLink, unittest.equals('foo'));
561 } 561 }
562 buildCounterAppList--; 562 buildCounterAppList--;
563 } 563 }
564 564
565 core.int buildCounterChange = 0; 565 core.int buildCounterChange = 0;
566 buildChange() { 566 buildChange() {
567 var o = new api.Change(); 567 var o = new api.Change();
568 buildCounterChange++; 568 buildCounterChange++;
(...skipping 17 matching lines...) Expand all
586 checkFile(o.file); 586 checkFile(o.file);
587 unittest.expect(o.fileId, unittest.equals('foo')); 587 unittest.expect(o.fileId, unittest.equals('foo'));
588 unittest.expect(o.id, unittest.equals('foo')); 588 unittest.expect(o.id, unittest.equals('foo'));
589 unittest.expect(o.kind, unittest.equals('foo')); 589 unittest.expect(o.kind, unittest.equals('foo'));
590 unittest.expect(o.modificationDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02"))); 590 unittest.expect(o.modificationDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02")));
591 unittest.expect(o.selfLink, unittest.equals('foo')); 591 unittest.expect(o.selfLink, unittest.equals('foo'));
592 } 592 }
593 buildCounterChange--; 593 buildCounterChange--;
594 } 594 }
595 595
596 buildUnnamed420() { 596 buildUnnamed739() {
597 var o = new core.List<api.Change>(); 597 var o = new core.List<api.Change>();
598 o.add(buildChange()); 598 o.add(buildChange());
599 o.add(buildChange()); 599 o.add(buildChange());
600 return o; 600 return o;
601 } 601 }
602 602
603 checkUnnamed420(core.List<api.Change> o) { 603 checkUnnamed739(core.List<api.Change> o) {
604 unittest.expect(o, unittest.hasLength(2)); 604 unittest.expect(o, unittest.hasLength(2));
605 checkChange(o[0]); 605 checkChange(o[0]);
606 checkChange(o[1]); 606 checkChange(o[1]);
607 } 607 }
608 608
609 core.int buildCounterChangeList = 0; 609 core.int buildCounterChangeList = 0;
610 buildChangeList() { 610 buildChangeList() {
611 var o = new api.ChangeList(); 611 var o = new api.ChangeList();
612 buildCounterChangeList++; 612 buildCounterChangeList++;
613 if (buildCounterChangeList < 3) { 613 if (buildCounterChangeList < 3) {
614 o.etag = "foo"; 614 o.etag = "foo";
615 o.items = buildUnnamed420(); 615 o.items = buildUnnamed739();
616 o.kind = "foo"; 616 o.kind = "foo";
617 o.largestChangeId = "foo"; 617 o.largestChangeId = "foo";
618 o.nextLink = "foo"; 618 o.nextLink = "foo";
619 o.nextPageToken = "foo"; 619 o.nextPageToken = "foo";
620 o.selfLink = "foo"; 620 o.selfLink = "foo";
621 } 621 }
622 buildCounterChangeList--; 622 buildCounterChangeList--;
623 return o; 623 return o;
624 } 624 }
625 625
626 checkChangeList(api.ChangeList o) { 626 checkChangeList(api.ChangeList o) {
627 buildCounterChangeList++; 627 buildCounterChangeList++;
628 if (buildCounterChangeList < 3) { 628 if (buildCounterChangeList < 3) {
629 unittest.expect(o.etag, unittest.equals('foo')); 629 unittest.expect(o.etag, unittest.equals('foo'));
630 checkUnnamed420(o.items); 630 checkUnnamed739(o.items);
631 unittest.expect(o.kind, unittest.equals('foo')); 631 unittest.expect(o.kind, unittest.equals('foo'));
632 unittest.expect(o.largestChangeId, unittest.equals('foo')); 632 unittest.expect(o.largestChangeId, unittest.equals('foo'));
633 unittest.expect(o.nextLink, unittest.equals('foo')); 633 unittest.expect(o.nextLink, unittest.equals('foo'));
634 unittest.expect(o.nextPageToken, unittest.equals('foo')); 634 unittest.expect(o.nextPageToken, unittest.equals('foo'));
635 unittest.expect(o.selfLink, unittest.equals('foo')); 635 unittest.expect(o.selfLink, unittest.equals('foo'));
636 } 636 }
637 buildCounterChangeList--; 637 buildCounterChangeList--;
638 } 638 }
639 639
640 buildUnnamed421() { 640 buildUnnamed740() {
641 var o = new core.Map<core.String, core.String>(); 641 var o = new core.Map<core.String, core.String>();
642 o["x"] = "foo"; 642 o["x"] = "foo";
643 o["y"] = "foo"; 643 o["y"] = "foo";
644 return o; 644 return o;
645 } 645 }
646 646
647 checkUnnamed421(core.Map<core.String, core.String> o) { 647 checkUnnamed740(core.Map<core.String, core.String> o) {
648 unittest.expect(o, unittest.hasLength(2)); 648 unittest.expect(o, unittest.hasLength(2));
649 unittest.expect(o["x"], unittest.equals('foo')); 649 unittest.expect(o["x"], unittest.equals('foo'));
650 unittest.expect(o["y"], unittest.equals('foo')); 650 unittest.expect(o["y"], unittest.equals('foo'));
651 } 651 }
652 652
653 core.int buildCounterChannel = 0; 653 core.int buildCounterChannel = 0;
654 buildChannel() { 654 buildChannel() {
655 var o = new api.Channel(); 655 var o = new api.Channel();
656 buildCounterChannel++; 656 buildCounterChannel++;
657 if (buildCounterChannel < 3) { 657 if (buildCounterChannel < 3) {
658 o.address = "foo"; 658 o.address = "foo";
659 o.expiration = "foo"; 659 o.expiration = "foo";
660 o.id = "foo"; 660 o.id = "foo";
661 o.kind = "foo"; 661 o.kind = "foo";
662 o.params = buildUnnamed421(); 662 o.params = buildUnnamed740();
663 o.payload = true; 663 o.payload = true;
664 o.resourceId = "foo"; 664 o.resourceId = "foo";
665 o.resourceUri = "foo"; 665 o.resourceUri = "foo";
666 o.token = "foo"; 666 o.token = "foo";
667 o.type = "foo"; 667 o.type = "foo";
668 } 668 }
669 buildCounterChannel--; 669 buildCounterChannel--;
670 return o; 670 return o;
671 } 671 }
672 672
673 checkChannel(api.Channel o) { 673 checkChannel(api.Channel o) {
674 buildCounterChannel++; 674 buildCounterChannel++;
675 if (buildCounterChannel < 3) { 675 if (buildCounterChannel < 3) {
676 unittest.expect(o.address, unittest.equals('foo')); 676 unittest.expect(o.address, unittest.equals('foo'));
677 unittest.expect(o.expiration, unittest.equals('foo')); 677 unittest.expect(o.expiration, unittest.equals('foo'));
678 unittest.expect(o.id, unittest.equals('foo')); 678 unittest.expect(o.id, unittest.equals('foo'));
679 unittest.expect(o.kind, unittest.equals('foo')); 679 unittest.expect(o.kind, unittest.equals('foo'));
680 checkUnnamed421(o.params); 680 checkUnnamed740(o.params);
681 unittest.expect(o.payload, unittest.isTrue); 681 unittest.expect(o.payload, unittest.isTrue);
682 unittest.expect(o.resourceId, unittest.equals('foo')); 682 unittest.expect(o.resourceId, unittest.equals('foo'));
683 unittest.expect(o.resourceUri, unittest.equals('foo')); 683 unittest.expect(o.resourceUri, unittest.equals('foo'));
684 unittest.expect(o.token, unittest.equals('foo')); 684 unittest.expect(o.token, unittest.equals('foo'));
685 unittest.expect(o.type, unittest.equals('foo')); 685 unittest.expect(o.type, unittest.equals('foo'));
686 } 686 }
687 buildCounterChannel--; 687 buildCounterChannel--;
688 } 688 }
689 689
690 buildUnnamed422() { 690 buildUnnamed741() {
691 var o = new core.List<api.ChildReference>(); 691 var o = new core.List<api.ChildReference>();
692 o.add(buildChildReference()); 692 o.add(buildChildReference());
693 o.add(buildChildReference()); 693 o.add(buildChildReference());
694 return o; 694 return o;
695 } 695 }
696 696
697 checkUnnamed422(core.List<api.ChildReference> o) { 697 checkUnnamed741(core.List<api.ChildReference> o) {
698 unittest.expect(o, unittest.hasLength(2)); 698 unittest.expect(o, unittest.hasLength(2));
699 checkChildReference(o[0]); 699 checkChildReference(o[0]);
700 checkChildReference(o[1]); 700 checkChildReference(o[1]);
701 } 701 }
702 702
703 core.int buildCounterChildList = 0; 703 core.int buildCounterChildList = 0;
704 buildChildList() { 704 buildChildList() {
705 var o = new api.ChildList(); 705 var o = new api.ChildList();
706 buildCounterChildList++; 706 buildCounterChildList++;
707 if (buildCounterChildList < 3) { 707 if (buildCounterChildList < 3) {
708 o.etag = "foo"; 708 o.etag = "foo";
709 o.items = buildUnnamed422(); 709 o.items = buildUnnamed741();
710 o.kind = "foo"; 710 o.kind = "foo";
711 o.nextLink = "foo"; 711 o.nextLink = "foo";
712 o.nextPageToken = "foo"; 712 o.nextPageToken = "foo";
713 o.selfLink = "foo"; 713 o.selfLink = "foo";
714 } 714 }
715 buildCounterChildList--; 715 buildCounterChildList--;
716 return o; 716 return o;
717 } 717 }
718 718
719 checkChildList(api.ChildList o) { 719 checkChildList(api.ChildList o) {
720 buildCounterChildList++; 720 buildCounterChildList++;
721 if (buildCounterChildList < 3) { 721 if (buildCounterChildList < 3) {
722 unittest.expect(o.etag, unittest.equals('foo')); 722 unittest.expect(o.etag, unittest.equals('foo'));
723 checkUnnamed422(o.items); 723 checkUnnamed741(o.items);
724 unittest.expect(o.kind, unittest.equals('foo')); 724 unittest.expect(o.kind, unittest.equals('foo'));
725 unittest.expect(o.nextLink, unittest.equals('foo')); 725 unittest.expect(o.nextLink, unittest.equals('foo'));
726 unittest.expect(o.nextPageToken, unittest.equals('foo')); 726 unittest.expect(o.nextPageToken, unittest.equals('foo'));
727 unittest.expect(o.selfLink, unittest.equals('foo')); 727 unittest.expect(o.selfLink, unittest.equals('foo'));
728 } 728 }
729 buildCounterChildList--; 729 buildCounterChildList--;
730 } 730 }
731 731
732 core.int buildCounterChildReference = 0; 732 core.int buildCounterChildReference = 0;
733 buildChildReference() { 733 buildChildReference() {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 768
769 checkCommentContext(api.CommentContext o) { 769 checkCommentContext(api.CommentContext o) {
770 buildCounterCommentContext++; 770 buildCounterCommentContext++;
771 if (buildCounterCommentContext < 3) { 771 if (buildCounterCommentContext < 3) {
772 unittest.expect(o.type, unittest.equals('foo')); 772 unittest.expect(o.type, unittest.equals('foo'));
773 unittest.expect(o.value, unittest.equals('foo')); 773 unittest.expect(o.value, unittest.equals('foo'));
774 } 774 }
775 buildCounterCommentContext--; 775 buildCounterCommentContext--;
776 } 776 }
777 777
778 buildUnnamed423() { 778 buildUnnamed742() {
779 var o = new core.List<api.CommentReply>(); 779 var o = new core.List<api.CommentReply>();
780 o.add(buildCommentReply()); 780 o.add(buildCommentReply());
781 o.add(buildCommentReply()); 781 o.add(buildCommentReply());
782 return o; 782 return o;
783 } 783 }
784 784
785 checkUnnamed423(core.List<api.CommentReply> o) { 785 checkUnnamed742(core.List<api.CommentReply> o) {
786 unittest.expect(o, unittest.hasLength(2)); 786 unittest.expect(o, unittest.hasLength(2));
787 checkCommentReply(o[0]); 787 checkCommentReply(o[0]);
788 checkCommentReply(o[1]); 788 checkCommentReply(o[1]);
789 } 789 }
790 790
791 core.int buildCounterComment = 0; 791 core.int buildCounterComment = 0;
792 buildComment() { 792 buildComment() {
793 var o = new api.Comment(); 793 var o = new api.Comment();
794 buildCounterComment++; 794 buildCounterComment++;
795 if (buildCounterComment < 3) { 795 if (buildCounterComment < 3) {
796 o.anchor = "foo"; 796 o.anchor = "foo";
797 o.author = buildUser(); 797 o.author = buildUser();
798 o.commentId = "foo"; 798 o.commentId = "foo";
799 o.content = "foo"; 799 o.content = "foo";
800 o.context = buildCommentContext(); 800 o.context = buildCommentContext();
801 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); 801 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02");
802 o.deleted = true; 802 o.deleted = true;
803 o.fileId = "foo"; 803 o.fileId = "foo";
804 o.fileTitle = "foo"; 804 o.fileTitle = "foo";
805 o.htmlContent = "foo"; 805 o.htmlContent = "foo";
806 o.kind = "foo"; 806 o.kind = "foo";
807 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); 807 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
808 o.replies = buildUnnamed423(); 808 o.replies = buildUnnamed742();
809 o.selfLink = "foo"; 809 o.selfLink = "foo";
810 o.status = "foo"; 810 o.status = "foo";
811 } 811 }
812 buildCounterComment--; 812 buildCounterComment--;
813 return o; 813 return o;
814 } 814 }
815 815
816 checkComment(api.Comment o) { 816 checkComment(api.Comment o) {
817 buildCounterComment++; 817 buildCounterComment++;
818 if (buildCounterComment < 3) { 818 if (buildCounterComment < 3) {
819 unittest.expect(o.anchor, unittest.equals('foo')); 819 unittest.expect(o.anchor, unittest.equals('foo'));
820 checkUser(o.author); 820 checkUser(o.author);
821 unittest.expect(o.commentId, unittest.equals('foo')); 821 unittest.expect(o.commentId, unittest.equals('foo'));
822 unittest.expect(o.content, unittest.equals('foo')); 822 unittest.expect(o.content, unittest.equals('foo'));
823 checkCommentContext(o.context); 823 checkCommentContext(o.context);
824 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02"))); 824 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02")));
825 unittest.expect(o.deleted, unittest.isTrue); 825 unittest.expect(o.deleted, unittest.isTrue);
826 unittest.expect(o.fileId, unittest.equals('foo')); 826 unittest.expect(o.fileId, unittest.equals('foo'));
827 unittest.expect(o.fileTitle, unittest.equals('foo')); 827 unittest.expect(o.fileTitle, unittest.equals('foo'));
828 unittest.expect(o.htmlContent, unittest.equals('foo')); 828 unittest.expect(o.htmlContent, unittest.equals('foo'));
829 unittest.expect(o.kind, unittest.equals('foo')); 829 unittest.expect(o.kind, unittest.equals('foo'));
830 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 830 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
831 checkUnnamed423(o.replies); 831 checkUnnamed742(o.replies);
832 unittest.expect(o.selfLink, unittest.equals('foo')); 832 unittest.expect(o.selfLink, unittest.equals('foo'));
833 unittest.expect(o.status, unittest.equals('foo')); 833 unittest.expect(o.status, unittest.equals('foo'));
834 } 834 }
835 buildCounterComment--; 835 buildCounterComment--;
836 } 836 }
837 837
838 buildUnnamed424() { 838 buildUnnamed743() {
839 var o = new core.List<api.Comment>(); 839 var o = new core.List<api.Comment>();
840 o.add(buildComment()); 840 o.add(buildComment());
841 o.add(buildComment()); 841 o.add(buildComment());
842 return o; 842 return o;
843 } 843 }
844 844
845 checkUnnamed424(core.List<api.Comment> o) { 845 checkUnnamed743(core.List<api.Comment> o) {
846 unittest.expect(o, unittest.hasLength(2)); 846 unittest.expect(o, unittest.hasLength(2));
847 checkComment(o[0]); 847 checkComment(o[0]);
848 checkComment(o[1]); 848 checkComment(o[1]);
849 } 849 }
850 850
851 core.int buildCounterCommentList = 0; 851 core.int buildCounterCommentList = 0;
852 buildCommentList() { 852 buildCommentList() {
853 var o = new api.CommentList(); 853 var o = new api.CommentList();
854 buildCounterCommentList++; 854 buildCounterCommentList++;
855 if (buildCounterCommentList < 3) { 855 if (buildCounterCommentList < 3) {
856 o.items = buildUnnamed424(); 856 o.items = buildUnnamed743();
857 o.kind = "foo"; 857 o.kind = "foo";
858 o.nextLink = "foo"; 858 o.nextLink = "foo";
859 o.nextPageToken = "foo"; 859 o.nextPageToken = "foo";
860 o.selfLink = "foo"; 860 o.selfLink = "foo";
861 } 861 }
862 buildCounterCommentList--; 862 buildCounterCommentList--;
863 return o; 863 return o;
864 } 864 }
865 865
866 checkCommentList(api.CommentList o) { 866 checkCommentList(api.CommentList o) {
867 buildCounterCommentList++; 867 buildCounterCommentList++;
868 if (buildCounterCommentList < 3) { 868 if (buildCounterCommentList < 3) {
869 checkUnnamed424(o.items); 869 checkUnnamed743(o.items);
870 unittest.expect(o.kind, unittest.equals('foo')); 870 unittest.expect(o.kind, unittest.equals('foo'));
871 unittest.expect(o.nextLink, unittest.equals('foo')); 871 unittest.expect(o.nextLink, unittest.equals('foo'));
872 unittest.expect(o.nextPageToken, unittest.equals('foo')); 872 unittest.expect(o.nextPageToken, unittest.equals('foo'));
873 unittest.expect(o.selfLink, unittest.equals('foo')); 873 unittest.expect(o.selfLink, unittest.equals('foo'));
874 } 874 }
875 buildCounterCommentList--; 875 buildCounterCommentList--;
876 } 876 }
877 877
878 core.int buildCounterCommentReply = 0; 878 core.int buildCounterCommentReply = 0;
879 buildCommentReply() { 879 buildCommentReply() {
(...skipping 23 matching lines...) Expand all
903 unittest.expect(o.deleted, unittest.isTrue); 903 unittest.expect(o.deleted, unittest.isTrue);
904 unittest.expect(o.htmlContent, unittest.equals('foo')); 904 unittest.expect(o.htmlContent, unittest.equals('foo'));
905 unittest.expect(o.kind, unittest.equals('foo')); 905 unittest.expect(o.kind, unittest.equals('foo'));
906 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 906 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
907 unittest.expect(o.replyId, unittest.equals('foo')); 907 unittest.expect(o.replyId, unittest.equals('foo'));
908 unittest.expect(o.verb, unittest.equals('foo')); 908 unittest.expect(o.verb, unittest.equals('foo'));
909 } 909 }
910 buildCounterCommentReply--; 910 buildCounterCommentReply--;
911 } 911 }
912 912
913 buildUnnamed425() { 913 buildUnnamed744() {
914 var o = new core.List<api.CommentReply>(); 914 var o = new core.List<api.CommentReply>();
915 o.add(buildCommentReply()); 915 o.add(buildCommentReply());
916 o.add(buildCommentReply()); 916 o.add(buildCommentReply());
917 return o; 917 return o;
918 } 918 }
919 919
920 checkUnnamed425(core.List<api.CommentReply> o) { 920 checkUnnamed744(core.List<api.CommentReply> o) {
921 unittest.expect(o, unittest.hasLength(2)); 921 unittest.expect(o, unittest.hasLength(2));
922 checkCommentReply(o[0]); 922 checkCommentReply(o[0]);
923 checkCommentReply(o[1]); 923 checkCommentReply(o[1]);
924 } 924 }
925 925
926 core.int buildCounterCommentReplyList = 0; 926 core.int buildCounterCommentReplyList = 0;
927 buildCommentReplyList() { 927 buildCommentReplyList() {
928 var o = new api.CommentReplyList(); 928 var o = new api.CommentReplyList();
929 buildCounterCommentReplyList++; 929 buildCounterCommentReplyList++;
930 if (buildCounterCommentReplyList < 3) { 930 if (buildCounterCommentReplyList < 3) {
931 o.items = buildUnnamed425(); 931 o.items = buildUnnamed744();
932 o.kind = "foo"; 932 o.kind = "foo";
933 o.nextLink = "foo"; 933 o.nextLink = "foo";
934 o.nextPageToken = "foo"; 934 o.nextPageToken = "foo";
935 o.selfLink = "foo"; 935 o.selfLink = "foo";
936 } 936 }
937 buildCounterCommentReplyList--; 937 buildCounterCommentReplyList--;
938 return o; 938 return o;
939 } 939 }
940 940
941 checkCommentReplyList(api.CommentReplyList o) { 941 checkCommentReplyList(api.CommentReplyList o) {
942 buildCounterCommentReplyList++; 942 buildCounterCommentReplyList++;
943 if (buildCounterCommentReplyList < 3) { 943 if (buildCounterCommentReplyList < 3) {
944 checkUnnamed425(o.items); 944 checkUnnamed744(o.items);
945 unittest.expect(o.kind, unittest.equals('foo')); 945 unittest.expect(o.kind, unittest.equals('foo'));
946 unittest.expect(o.nextLink, unittest.equals('foo')); 946 unittest.expect(o.nextLink, unittest.equals('foo'));
947 unittest.expect(o.nextPageToken, unittest.equals('foo')); 947 unittest.expect(o.nextPageToken, unittest.equals('foo'));
948 unittest.expect(o.selfLink, unittest.equals('foo')); 948 unittest.expect(o.selfLink, unittest.equals('foo'));
949 } 949 }
950 buildCounterCommentReplyList--; 950 buildCounterCommentReplyList--;
951 } 951 }
952 952
953 buildUnnamed426() { 953 buildUnnamed745() {
954 var o = new core.Map<core.String, core.String>(); 954 var o = new core.Map<core.String, core.String>();
955 o["x"] = "foo"; 955 o["x"] = "foo";
956 o["y"] = "foo"; 956 o["y"] = "foo";
957 return o; 957 return o;
958 } 958 }
959 959
960 checkUnnamed426(core.Map<core.String, core.String> o) { 960 checkUnnamed745(core.Map<core.String, core.String> o) {
961 unittest.expect(o, unittest.hasLength(2)); 961 unittest.expect(o, unittest.hasLength(2));
962 unittest.expect(o["x"], unittest.equals('foo')); 962 unittest.expect(o["x"], unittest.equals('foo'));
963 unittest.expect(o["y"], unittest.equals('foo')); 963 unittest.expect(o["y"], unittest.equals('foo'));
964 } 964 }
965 965
966 core.int buildCounterFileImageMediaMetadataLocation = 0; 966 core.int buildCounterFileImageMediaMetadataLocation = 0;
967 buildFileImageMediaMetadataLocation() { 967 buildFileImageMediaMetadataLocation() {
968 var o = new api.FileImageMediaMetadataLocation(); 968 var o = new api.FileImageMediaMetadataLocation();
969 buildCounterFileImageMediaMetadataLocation++; 969 buildCounterFileImageMediaMetadataLocation++;
970 if (buildCounterFileImageMediaMetadataLocation < 3) { 970 if (buildCounterFileImageMediaMetadataLocation < 3) {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 if (buildCounterFileLabels < 3) { 1084 if (buildCounterFileLabels < 3) {
1085 unittest.expect(o.hidden, unittest.isTrue); 1085 unittest.expect(o.hidden, unittest.isTrue);
1086 unittest.expect(o.restricted, unittest.isTrue); 1086 unittest.expect(o.restricted, unittest.isTrue);
1087 unittest.expect(o.starred, unittest.isTrue); 1087 unittest.expect(o.starred, unittest.isTrue);
1088 unittest.expect(o.trashed, unittest.isTrue); 1088 unittest.expect(o.trashed, unittest.isTrue);
1089 unittest.expect(o.viewed, unittest.isTrue); 1089 unittest.expect(o.viewed, unittest.isTrue);
1090 } 1090 }
1091 buildCounterFileLabels--; 1091 buildCounterFileLabels--;
1092 } 1092 }
1093 1093
1094 buildUnnamed427() { 1094 buildUnnamed746() {
1095 var o = new core.Map<core.String, core.String>(); 1095 var o = new core.Map<core.String, core.String>();
1096 o["x"] = "foo"; 1096 o["x"] = "foo";
1097 o["y"] = "foo"; 1097 o["y"] = "foo";
1098 return o; 1098 return o;
1099 } 1099 }
1100 1100
1101 checkUnnamed427(core.Map<core.String, core.String> o) { 1101 checkUnnamed746(core.Map<core.String, core.String> o) {
1102 unittest.expect(o, unittest.hasLength(2)); 1102 unittest.expect(o, unittest.hasLength(2));
1103 unittest.expect(o["x"], unittest.equals('foo')); 1103 unittest.expect(o["x"], unittest.equals('foo'));
1104 unittest.expect(o["y"], unittest.equals('foo')); 1104 unittest.expect(o["y"], unittest.equals('foo'));
1105 } 1105 }
1106 1106
1107 buildUnnamed428() { 1107 buildUnnamed747() {
1108 var o = new core.List<core.String>(); 1108 var o = new core.List<core.String>();
1109 o.add("foo"); 1109 o.add("foo");
1110 o.add("foo"); 1110 o.add("foo");
1111 return o; 1111 return o;
1112 } 1112 }
1113 1113
1114 checkUnnamed428(core.List<core.String> o) { 1114 checkUnnamed747(core.List<core.String> o) {
1115 unittest.expect(o, unittest.hasLength(2)); 1115 unittest.expect(o, unittest.hasLength(2));
1116 unittest.expect(o[0], unittest.equals('foo')); 1116 unittest.expect(o[0], unittest.equals('foo'));
1117 unittest.expect(o[1], unittest.equals('foo')); 1117 unittest.expect(o[1], unittest.equals('foo'));
1118 } 1118 }
1119 1119
1120 buildUnnamed429() { 1120 buildUnnamed748() {
1121 var o = new core.List<api.User>(); 1121 var o = new core.List<api.User>();
1122 o.add(buildUser()); 1122 o.add(buildUser());
1123 o.add(buildUser()); 1123 o.add(buildUser());
1124 return o; 1124 return o;
1125 } 1125 }
1126 1126
1127 checkUnnamed429(core.List<api.User> o) { 1127 checkUnnamed748(core.List<api.User> o) {
1128 unittest.expect(o, unittest.hasLength(2)); 1128 unittest.expect(o, unittest.hasLength(2));
1129 checkUser(o[0]); 1129 checkUser(o[0]);
1130 checkUser(o[1]); 1130 checkUser(o[1]);
1131 } 1131 }
1132 1132
1133 buildUnnamed430() { 1133 buildUnnamed749() {
1134 var o = new core.List<api.ParentReference>(); 1134 var o = new core.List<api.ParentReference>();
1135 o.add(buildParentReference()); 1135 o.add(buildParentReference());
1136 o.add(buildParentReference()); 1136 o.add(buildParentReference());
1137 return o; 1137 return o;
1138 } 1138 }
1139 1139
1140 checkUnnamed430(core.List<api.ParentReference> o) { 1140 checkUnnamed749(core.List<api.ParentReference> o) {
1141 unittest.expect(o, unittest.hasLength(2)); 1141 unittest.expect(o, unittest.hasLength(2));
1142 checkParentReference(o[0]); 1142 checkParentReference(o[0]);
1143 checkParentReference(o[1]); 1143 checkParentReference(o[1]);
1144 } 1144 }
1145 1145
1146 buildUnnamed431() { 1146 buildUnnamed750() {
1147 var o = new core.List<api.Permission>(); 1147 var o = new core.List<api.Permission>();
1148 o.add(buildPermission()); 1148 o.add(buildPermission());
1149 o.add(buildPermission()); 1149 o.add(buildPermission());
1150 return o; 1150 return o;
1151 } 1151 }
1152 1152
1153 checkUnnamed431(core.List<api.Permission> o) { 1153 checkUnnamed750(core.List<api.Permission> o) {
1154 unittest.expect(o, unittest.hasLength(2)); 1154 unittest.expect(o, unittest.hasLength(2));
1155 checkPermission(o[0]); 1155 checkPermission(o[0]);
1156 checkPermission(o[1]); 1156 checkPermission(o[1]);
1157 } 1157 }
1158 1158
1159 buildUnnamed432() { 1159 buildUnnamed751() {
1160 var o = new core.List<api.Property>(); 1160 var o = new core.List<api.Property>();
1161 o.add(buildProperty()); 1161 o.add(buildProperty());
1162 o.add(buildProperty()); 1162 o.add(buildProperty());
1163 return o; 1163 return o;
1164 } 1164 }
1165 1165
1166 checkUnnamed432(core.List<api.Property> o) { 1166 checkUnnamed751(core.List<api.Property> o) {
1167 unittest.expect(o, unittest.hasLength(2)); 1167 unittest.expect(o, unittest.hasLength(2));
1168 checkProperty(o[0]); 1168 checkProperty(o[0]);
1169 checkProperty(o[1]); 1169 checkProperty(o[1]);
1170 } 1170 }
1171 1171
1172 core.int buildCounterFileThumbnail = 0; 1172 core.int buildCounterFileThumbnail = 0;
1173 buildFileThumbnail() { 1173 buildFileThumbnail() {
1174 var o = new api.FileThumbnail(); 1174 var o = new api.FileThumbnail();
1175 buildCounterFileThumbnail++; 1175 buildCounterFileThumbnail++;
1176 if (buildCounterFileThumbnail < 3) { 1176 if (buildCounterFileThumbnail < 3) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 o.appDataContents = true; 1222 o.appDataContents = true;
1223 o.copyable = true; 1223 o.copyable = true;
1224 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); 1224 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02");
1225 o.defaultOpenWithLink = "foo"; 1225 o.defaultOpenWithLink = "foo";
1226 o.description = "foo"; 1226 o.description = "foo";
1227 o.downloadUrl = "foo"; 1227 o.downloadUrl = "foo";
1228 o.editable = true; 1228 o.editable = true;
1229 o.embedLink = "foo"; 1229 o.embedLink = "foo";
1230 o.etag = "foo"; 1230 o.etag = "foo";
1231 o.explicitlyTrashed = true; 1231 o.explicitlyTrashed = true;
1232 o.exportLinks = buildUnnamed426(); 1232 o.exportLinks = buildUnnamed745();
1233 o.fileExtension = "foo"; 1233 o.fileExtension = "foo";
1234 o.fileSize = "foo"; 1234 o.fileSize = "foo";
1235 o.headRevisionId = "foo"; 1235 o.headRevisionId = "foo";
1236 o.iconLink = "foo"; 1236 o.iconLink = "foo";
1237 o.id = "foo"; 1237 o.id = "foo";
1238 o.imageMediaMetadata = buildFileImageMediaMetadata(); 1238 o.imageMediaMetadata = buildFileImageMediaMetadata();
1239 o.indexableText = buildFileIndexableText(); 1239 o.indexableText = buildFileIndexableText();
1240 o.kind = "foo"; 1240 o.kind = "foo";
1241 o.labels = buildFileLabels(); 1241 o.labels = buildFileLabels();
1242 o.lastModifyingUser = buildUser(); 1242 o.lastModifyingUser = buildUser();
1243 o.lastModifyingUserName = "foo"; 1243 o.lastModifyingUserName = "foo";
1244 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1244 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1245 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1245 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1246 o.md5Checksum = "foo"; 1246 o.md5Checksum = "foo";
1247 o.mimeType = "foo"; 1247 o.mimeType = "foo";
1248 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1248 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1249 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); 1249 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
1250 o.openWithLinks = buildUnnamed427(); 1250 o.openWithLinks = buildUnnamed746();
1251 o.originalFilename = "foo"; 1251 o.originalFilename = "foo";
1252 o.ownerNames = buildUnnamed428(); 1252 o.ownerNames = buildUnnamed747();
1253 o.owners = buildUnnamed429(); 1253 o.owners = buildUnnamed748();
1254 o.parents = buildUnnamed430(); 1254 o.parents = buildUnnamed749();
1255 o.permissions = buildUnnamed431(); 1255 o.permissions = buildUnnamed750();
1256 o.properties = buildUnnamed432(); 1256 o.properties = buildUnnamed751();
1257 o.quotaBytesUsed = "foo"; 1257 o.quotaBytesUsed = "foo";
1258 o.selfLink = "foo"; 1258 o.selfLink = "foo";
1259 o.shared = true; 1259 o.shared = true;
1260 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1260 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1261 o.sharingUser = buildUser(); 1261 o.sharingUser = buildUser();
1262 o.thumbnail = buildFileThumbnail(); 1262 o.thumbnail = buildFileThumbnail();
1263 o.thumbnailLink = "foo"; 1263 o.thumbnailLink = "foo";
1264 o.title = "foo"; 1264 o.title = "foo";
1265 o.userPermission = buildPermission(); 1265 o.userPermission = buildPermission();
1266 o.version = "foo"; 1266 o.version = "foo";
(...skipping 13 matching lines...) Expand all
1280 unittest.expect(o.appDataContents, unittest.isTrue); 1280 unittest.expect(o.appDataContents, unittest.isTrue);
1281 unittest.expect(o.copyable, unittest.isTrue); 1281 unittest.expect(o.copyable, unittest.isTrue);
1282 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02"))); 1282 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02")));
1283 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); 1283 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo'));
1284 unittest.expect(o.description, unittest.equals('foo')); 1284 unittest.expect(o.description, unittest.equals('foo'));
1285 unittest.expect(o.downloadUrl, unittest.equals('foo')); 1285 unittest.expect(o.downloadUrl, unittest.equals('foo'));
1286 unittest.expect(o.editable, unittest.isTrue); 1286 unittest.expect(o.editable, unittest.isTrue);
1287 unittest.expect(o.embedLink, unittest.equals('foo')); 1287 unittest.expect(o.embedLink, unittest.equals('foo'));
1288 unittest.expect(o.etag, unittest.equals('foo')); 1288 unittest.expect(o.etag, unittest.equals('foo'));
1289 unittest.expect(o.explicitlyTrashed, unittest.isTrue); 1289 unittest.expect(o.explicitlyTrashed, unittest.isTrue);
1290 checkUnnamed426(o.exportLinks); 1290 checkUnnamed745(o.exportLinks);
1291 unittest.expect(o.fileExtension, unittest.equals('foo')); 1291 unittest.expect(o.fileExtension, unittest.equals('foo'));
1292 unittest.expect(o.fileSize, unittest.equals('foo')); 1292 unittest.expect(o.fileSize, unittest.equals('foo'));
1293 unittest.expect(o.headRevisionId, unittest.equals('foo')); 1293 unittest.expect(o.headRevisionId, unittest.equals('foo'));
1294 unittest.expect(o.iconLink, unittest.equals('foo')); 1294 unittest.expect(o.iconLink, unittest.equals('foo'));
1295 unittest.expect(o.id, unittest.equals('foo')); 1295 unittest.expect(o.id, unittest.equals('foo'));
1296 checkFileImageMediaMetadata(o.imageMediaMetadata); 1296 checkFileImageMediaMetadata(o.imageMediaMetadata);
1297 checkFileIndexableText(o.indexableText); 1297 checkFileIndexableText(o.indexableText);
1298 unittest.expect(o.kind, unittest.equals('foo')); 1298 unittest.expect(o.kind, unittest.equals('foo'));
1299 checkFileLabels(o.labels); 1299 checkFileLabels(o.labels);
1300 checkUser(o.lastModifyingUser); 1300 checkUser(o.lastModifyingUser);
1301 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); 1301 unittest.expect(o.lastModifyingUserName, unittest.equals('foo'));
1302 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 1302 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
1303 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse( "2002-02-27T14:01:02"))); 1303 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse( "2002-02-27T14:01:02")));
1304 unittest.expect(o.md5Checksum, unittest.equals('foo')); 1304 unittest.expect(o.md5Checksum, unittest.equals('foo'));
1305 unittest.expect(o.mimeType, unittest.equals('foo')); 1305 unittest.expect(o.mimeType, unittest.equals('foo'));
1306 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02"))); 1306 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02")));
1307 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1307 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1308 checkUnnamed427(o.openWithLinks); 1308 checkUnnamed746(o.openWithLinks);
1309 unittest.expect(o.originalFilename, unittest.equals('foo')); 1309 unittest.expect(o.originalFilename, unittest.equals('foo'));
1310 checkUnnamed428(o.ownerNames); 1310 checkUnnamed747(o.ownerNames);
1311 checkUnnamed429(o.owners); 1311 checkUnnamed748(o.owners);
1312 checkUnnamed430(o.parents); 1312 checkUnnamed749(o.parents);
1313 checkUnnamed431(o.permissions); 1313 checkUnnamed750(o.permissions);
1314 checkUnnamed432(o.properties); 1314 checkUnnamed751(o.properties);
1315 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); 1315 unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
1316 unittest.expect(o.selfLink, unittest.equals('foo')); 1316 unittest.expect(o.selfLink, unittest.equals('foo'));
1317 unittest.expect(o.shared, unittest.isTrue); 1317 unittest.expect(o.shared, unittest.isTrue);
1318 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02"))); 1318 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02")));
1319 checkUser(o.sharingUser); 1319 checkUser(o.sharingUser);
1320 checkFileThumbnail(o.thumbnail); 1320 checkFileThumbnail(o.thumbnail);
1321 unittest.expect(o.thumbnailLink, unittest.equals('foo')); 1321 unittest.expect(o.thumbnailLink, unittest.equals('foo'));
1322 unittest.expect(o.title, unittest.equals('foo')); 1322 unittest.expect(o.title, unittest.equals('foo'));
1323 checkPermission(o.userPermission); 1323 checkPermission(o.userPermission);
1324 unittest.expect(o.version, unittest.equals('foo')); 1324 unittest.expect(o.version, unittest.equals('foo'));
1325 checkFileVideoMediaMetadata(o.videoMediaMetadata); 1325 checkFileVideoMediaMetadata(o.videoMediaMetadata);
1326 unittest.expect(o.webContentLink, unittest.equals('foo')); 1326 unittest.expect(o.webContentLink, unittest.equals('foo'));
1327 unittest.expect(o.webViewLink, unittest.equals('foo')); 1327 unittest.expect(o.webViewLink, unittest.equals('foo'));
1328 unittest.expect(o.writersCanShare, unittest.isTrue); 1328 unittest.expect(o.writersCanShare, unittest.isTrue);
1329 } 1329 }
1330 buildCounterFile--; 1330 buildCounterFile--;
1331 } 1331 }
1332 1332
1333 buildUnnamed433() { 1333 buildUnnamed752() {
1334 var o = new core.List<api.File>(); 1334 var o = new core.List<api.File>();
1335 o.add(buildFile()); 1335 o.add(buildFile());
1336 o.add(buildFile()); 1336 o.add(buildFile());
1337 return o; 1337 return o;
1338 } 1338 }
1339 1339
1340 checkUnnamed433(core.List<api.File> o) { 1340 checkUnnamed752(core.List<api.File> o) {
1341 unittest.expect(o, unittest.hasLength(2)); 1341 unittest.expect(o, unittest.hasLength(2));
1342 checkFile(o[0]); 1342 checkFile(o[0]);
1343 checkFile(o[1]); 1343 checkFile(o[1]);
1344 } 1344 }
1345 1345
1346 core.int buildCounterFileList = 0; 1346 core.int buildCounterFileList = 0;
1347 buildFileList() { 1347 buildFileList() {
1348 var o = new api.FileList(); 1348 var o = new api.FileList();
1349 buildCounterFileList++; 1349 buildCounterFileList++;
1350 if (buildCounterFileList < 3) { 1350 if (buildCounterFileList < 3) {
1351 o.etag = "foo"; 1351 o.etag = "foo";
1352 o.items = buildUnnamed433(); 1352 o.items = buildUnnamed752();
1353 o.kind = "foo"; 1353 o.kind = "foo";
1354 o.nextLink = "foo"; 1354 o.nextLink = "foo";
1355 o.nextPageToken = "foo"; 1355 o.nextPageToken = "foo";
1356 o.selfLink = "foo"; 1356 o.selfLink = "foo";
1357 } 1357 }
1358 buildCounterFileList--; 1358 buildCounterFileList--;
1359 return o; 1359 return o;
1360 } 1360 }
1361 1361
1362 checkFileList(api.FileList o) { 1362 checkFileList(api.FileList o) {
1363 buildCounterFileList++; 1363 buildCounterFileList++;
1364 if (buildCounterFileList < 3) { 1364 if (buildCounterFileList < 3) {
1365 unittest.expect(o.etag, unittest.equals('foo')); 1365 unittest.expect(o.etag, unittest.equals('foo'));
1366 checkUnnamed433(o.items); 1366 checkUnnamed752(o.items);
1367 unittest.expect(o.kind, unittest.equals('foo')); 1367 unittest.expect(o.kind, unittest.equals('foo'));
1368 unittest.expect(o.nextLink, unittest.equals('foo')); 1368 unittest.expect(o.nextLink, unittest.equals('foo'));
1369 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1369 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1370 unittest.expect(o.selfLink, unittest.equals('foo')); 1370 unittest.expect(o.selfLink, unittest.equals('foo'));
1371 } 1371 }
1372 buildCounterFileList--; 1372 buildCounterFileList--;
1373 } 1373 }
1374 1374
1375 buildUnnamed434() { 1375 buildUnnamed753() {
1376 var o = new core.List<api.ParentReference>(); 1376 var o = new core.List<api.ParentReference>();
1377 o.add(buildParentReference()); 1377 o.add(buildParentReference());
1378 o.add(buildParentReference()); 1378 o.add(buildParentReference());
1379 return o; 1379 return o;
1380 } 1380 }
1381 1381
1382 checkUnnamed434(core.List<api.ParentReference> o) { 1382 checkUnnamed753(core.List<api.ParentReference> o) {
1383 unittest.expect(o, unittest.hasLength(2)); 1383 unittest.expect(o, unittest.hasLength(2));
1384 checkParentReference(o[0]); 1384 checkParentReference(o[0]);
1385 checkParentReference(o[1]); 1385 checkParentReference(o[1]);
1386 } 1386 }
1387 1387
1388 core.int buildCounterParentList = 0; 1388 core.int buildCounterParentList = 0;
1389 buildParentList() { 1389 buildParentList() {
1390 var o = new api.ParentList(); 1390 var o = new api.ParentList();
1391 buildCounterParentList++; 1391 buildCounterParentList++;
1392 if (buildCounterParentList < 3) { 1392 if (buildCounterParentList < 3) {
1393 o.etag = "foo"; 1393 o.etag = "foo";
1394 o.items = buildUnnamed434(); 1394 o.items = buildUnnamed753();
1395 o.kind = "foo"; 1395 o.kind = "foo";
1396 o.selfLink = "foo"; 1396 o.selfLink = "foo";
1397 } 1397 }
1398 buildCounterParentList--; 1398 buildCounterParentList--;
1399 return o; 1399 return o;
1400 } 1400 }
1401 1401
1402 checkParentList(api.ParentList o) { 1402 checkParentList(api.ParentList o) {
1403 buildCounterParentList++; 1403 buildCounterParentList++;
1404 if (buildCounterParentList < 3) { 1404 if (buildCounterParentList < 3) {
1405 unittest.expect(o.etag, unittest.equals('foo')); 1405 unittest.expect(o.etag, unittest.equals('foo'));
1406 checkUnnamed434(o.items); 1406 checkUnnamed753(o.items);
1407 unittest.expect(o.kind, unittest.equals('foo')); 1407 unittest.expect(o.kind, unittest.equals('foo'));
1408 unittest.expect(o.selfLink, unittest.equals('foo')); 1408 unittest.expect(o.selfLink, unittest.equals('foo'));
1409 } 1409 }
1410 buildCounterParentList--; 1410 buildCounterParentList--;
1411 } 1411 }
1412 1412
1413 core.int buildCounterParentReference = 0; 1413 core.int buildCounterParentReference = 0;
1414 buildParentReference() { 1414 buildParentReference() {
1415 var o = new api.ParentReference(); 1415 var o = new api.ParentReference();
1416 buildCounterParentReference++; 1416 buildCounterParentReference++;
(...skipping 13 matching lines...) Expand all
1430 if (buildCounterParentReference < 3) { 1430 if (buildCounterParentReference < 3) {
1431 unittest.expect(o.id, unittest.equals('foo')); 1431 unittest.expect(o.id, unittest.equals('foo'));
1432 unittest.expect(o.isRoot, unittest.isTrue); 1432 unittest.expect(o.isRoot, unittest.isTrue);
1433 unittest.expect(o.kind, unittest.equals('foo')); 1433 unittest.expect(o.kind, unittest.equals('foo'));
1434 unittest.expect(o.parentLink, unittest.equals('foo')); 1434 unittest.expect(o.parentLink, unittest.equals('foo'));
1435 unittest.expect(o.selfLink, unittest.equals('foo')); 1435 unittest.expect(o.selfLink, unittest.equals('foo'));
1436 } 1436 }
1437 buildCounterParentReference--; 1437 buildCounterParentReference--;
1438 } 1438 }
1439 1439
1440 buildUnnamed435() { 1440 buildUnnamed754() {
1441 var o = new core.List<core.String>(); 1441 var o = new core.List<core.String>();
1442 o.add("foo"); 1442 o.add("foo");
1443 o.add("foo"); 1443 o.add("foo");
1444 return o; 1444 return o;
1445 } 1445 }
1446 1446
1447 checkUnnamed435(core.List<core.String> o) { 1447 checkUnnamed754(core.List<core.String> o) {
1448 unittest.expect(o, unittest.hasLength(2)); 1448 unittest.expect(o, unittest.hasLength(2));
1449 unittest.expect(o[0], unittest.equals('foo')); 1449 unittest.expect(o[0], unittest.equals('foo'));
1450 unittest.expect(o[1], unittest.equals('foo')); 1450 unittest.expect(o[1], unittest.equals('foo'));
1451 } 1451 }
1452 1452
1453 core.int buildCounterPermission = 0; 1453 core.int buildCounterPermission = 0;
1454 buildPermission() { 1454 buildPermission() {
1455 var o = new api.Permission(); 1455 var o = new api.Permission();
1456 buildCounterPermission++; 1456 buildCounterPermission++;
1457 if (buildCounterPermission < 3) { 1457 if (buildCounterPermission < 3) {
1458 o.additionalRoles = buildUnnamed435(); 1458 o.additionalRoles = buildUnnamed754();
1459 o.authKey = "foo"; 1459 o.authKey = "foo";
1460 o.domain = "foo"; 1460 o.domain = "foo";
1461 o.emailAddress = "foo"; 1461 o.emailAddress = "foo";
1462 o.etag = "foo"; 1462 o.etag = "foo";
1463 o.id = "foo"; 1463 o.id = "foo";
1464 o.kind = "foo"; 1464 o.kind = "foo";
1465 o.name = "foo"; 1465 o.name = "foo";
1466 o.photoLink = "foo"; 1466 o.photoLink = "foo";
1467 o.role = "foo"; 1467 o.role = "foo";
1468 o.selfLink = "foo"; 1468 o.selfLink = "foo";
1469 o.type = "foo"; 1469 o.type = "foo";
1470 o.value = "foo"; 1470 o.value = "foo";
1471 o.withLink = true; 1471 o.withLink = true;
1472 } 1472 }
1473 buildCounterPermission--; 1473 buildCounterPermission--;
1474 return o; 1474 return o;
1475 } 1475 }
1476 1476
1477 checkPermission(api.Permission o) { 1477 checkPermission(api.Permission o) {
1478 buildCounterPermission++; 1478 buildCounterPermission++;
1479 if (buildCounterPermission < 3) { 1479 if (buildCounterPermission < 3) {
1480 checkUnnamed435(o.additionalRoles); 1480 checkUnnamed754(o.additionalRoles);
1481 unittest.expect(o.authKey, unittest.equals('foo')); 1481 unittest.expect(o.authKey, unittest.equals('foo'));
1482 unittest.expect(o.domain, unittest.equals('foo')); 1482 unittest.expect(o.domain, unittest.equals('foo'));
1483 unittest.expect(o.emailAddress, unittest.equals('foo')); 1483 unittest.expect(o.emailAddress, unittest.equals('foo'));
1484 unittest.expect(o.etag, unittest.equals('foo')); 1484 unittest.expect(o.etag, unittest.equals('foo'));
1485 unittest.expect(o.id, unittest.equals('foo')); 1485 unittest.expect(o.id, unittest.equals('foo'));
1486 unittest.expect(o.kind, unittest.equals('foo')); 1486 unittest.expect(o.kind, unittest.equals('foo'));
1487 unittest.expect(o.name, unittest.equals('foo')); 1487 unittest.expect(o.name, unittest.equals('foo'));
1488 unittest.expect(o.photoLink, unittest.equals('foo')); 1488 unittest.expect(o.photoLink, unittest.equals('foo'));
1489 unittest.expect(o.role, unittest.equals('foo')); 1489 unittest.expect(o.role, unittest.equals('foo'));
1490 unittest.expect(o.selfLink, unittest.equals('foo')); 1490 unittest.expect(o.selfLink, unittest.equals('foo'));
(...skipping 18 matching lines...) Expand all
1509 1509
1510 checkPermissionId(api.PermissionId o) { 1510 checkPermissionId(api.PermissionId o) {
1511 buildCounterPermissionId++; 1511 buildCounterPermissionId++;
1512 if (buildCounterPermissionId < 3) { 1512 if (buildCounterPermissionId < 3) {
1513 unittest.expect(o.id, unittest.equals('foo')); 1513 unittest.expect(o.id, unittest.equals('foo'));
1514 unittest.expect(o.kind, unittest.equals('foo')); 1514 unittest.expect(o.kind, unittest.equals('foo'));
1515 } 1515 }
1516 buildCounterPermissionId--; 1516 buildCounterPermissionId--;
1517 } 1517 }
1518 1518
1519 buildUnnamed436() { 1519 buildUnnamed755() {
1520 var o = new core.List<api.Permission>(); 1520 var o = new core.List<api.Permission>();
1521 o.add(buildPermission()); 1521 o.add(buildPermission());
1522 o.add(buildPermission()); 1522 o.add(buildPermission());
1523 return o; 1523 return o;
1524 } 1524 }
1525 1525
1526 checkUnnamed436(core.List<api.Permission> o) { 1526 checkUnnamed755(core.List<api.Permission> o) {
1527 unittest.expect(o, unittest.hasLength(2)); 1527 unittest.expect(o, unittest.hasLength(2));
1528 checkPermission(o[0]); 1528 checkPermission(o[0]);
1529 checkPermission(o[1]); 1529 checkPermission(o[1]);
1530 } 1530 }
1531 1531
1532 core.int buildCounterPermissionList = 0; 1532 core.int buildCounterPermissionList = 0;
1533 buildPermissionList() { 1533 buildPermissionList() {
1534 var o = new api.PermissionList(); 1534 var o = new api.PermissionList();
1535 buildCounterPermissionList++; 1535 buildCounterPermissionList++;
1536 if (buildCounterPermissionList < 3) { 1536 if (buildCounterPermissionList < 3) {
1537 o.etag = "foo"; 1537 o.etag = "foo";
1538 o.items = buildUnnamed436(); 1538 o.items = buildUnnamed755();
1539 o.kind = "foo"; 1539 o.kind = "foo";
1540 o.selfLink = "foo"; 1540 o.selfLink = "foo";
1541 } 1541 }
1542 buildCounterPermissionList--; 1542 buildCounterPermissionList--;
1543 return o; 1543 return o;
1544 } 1544 }
1545 1545
1546 checkPermissionList(api.PermissionList o) { 1546 checkPermissionList(api.PermissionList o) {
1547 buildCounterPermissionList++; 1547 buildCounterPermissionList++;
1548 if (buildCounterPermissionList < 3) { 1548 if (buildCounterPermissionList < 3) {
1549 unittest.expect(o.etag, unittest.equals('foo')); 1549 unittest.expect(o.etag, unittest.equals('foo'));
1550 checkUnnamed436(o.items); 1550 checkUnnamed755(o.items);
1551 unittest.expect(o.kind, unittest.equals('foo')); 1551 unittest.expect(o.kind, unittest.equals('foo'));
1552 unittest.expect(o.selfLink, unittest.equals('foo')); 1552 unittest.expect(o.selfLink, unittest.equals('foo'));
1553 } 1553 }
1554 buildCounterPermissionList--; 1554 buildCounterPermissionList--;
1555 } 1555 }
1556 1556
1557 core.int buildCounterProperty = 0; 1557 core.int buildCounterProperty = 0;
1558 buildProperty() { 1558 buildProperty() {
1559 var o = new api.Property(); 1559 var o = new api.Property();
1560 buildCounterProperty++; 1560 buildCounterProperty++;
(...skipping 15 matching lines...) Expand all
1576 unittest.expect(o.etag, unittest.equals('foo')); 1576 unittest.expect(o.etag, unittest.equals('foo'));
1577 unittest.expect(o.key, unittest.equals('foo')); 1577 unittest.expect(o.key, unittest.equals('foo'));
1578 unittest.expect(o.kind, unittest.equals('foo')); 1578 unittest.expect(o.kind, unittest.equals('foo'));
1579 unittest.expect(o.selfLink, unittest.equals('foo')); 1579 unittest.expect(o.selfLink, unittest.equals('foo'));
1580 unittest.expect(o.value, unittest.equals('foo')); 1580 unittest.expect(o.value, unittest.equals('foo'));
1581 unittest.expect(o.visibility, unittest.equals('foo')); 1581 unittest.expect(o.visibility, unittest.equals('foo'));
1582 } 1582 }
1583 buildCounterProperty--; 1583 buildCounterProperty--;
1584 } 1584 }
1585 1585
1586 buildUnnamed437() { 1586 buildUnnamed756() {
1587 var o = new core.List<api.Property>(); 1587 var o = new core.List<api.Property>();
1588 o.add(buildProperty()); 1588 o.add(buildProperty());
1589 o.add(buildProperty()); 1589 o.add(buildProperty());
1590 return o; 1590 return o;
1591 } 1591 }
1592 1592
1593 checkUnnamed437(core.List<api.Property> o) { 1593 checkUnnamed756(core.List<api.Property> o) {
1594 unittest.expect(o, unittest.hasLength(2)); 1594 unittest.expect(o, unittest.hasLength(2));
1595 checkProperty(o[0]); 1595 checkProperty(o[0]);
1596 checkProperty(o[1]); 1596 checkProperty(o[1]);
1597 } 1597 }
1598 1598
1599 core.int buildCounterPropertyList = 0; 1599 core.int buildCounterPropertyList = 0;
1600 buildPropertyList() { 1600 buildPropertyList() {
1601 var o = new api.PropertyList(); 1601 var o = new api.PropertyList();
1602 buildCounterPropertyList++; 1602 buildCounterPropertyList++;
1603 if (buildCounterPropertyList < 3) { 1603 if (buildCounterPropertyList < 3) {
1604 o.etag = "foo"; 1604 o.etag = "foo";
1605 o.items = buildUnnamed437(); 1605 o.items = buildUnnamed756();
1606 o.kind = "foo"; 1606 o.kind = "foo";
1607 o.selfLink = "foo"; 1607 o.selfLink = "foo";
1608 } 1608 }
1609 buildCounterPropertyList--; 1609 buildCounterPropertyList--;
1610 return o; 1610 return o;
1611 } 1611 }
1612 1612
1613 checkPropertyList(api.PropertyList o) { 1613 checkPropertyList(api.PropertyList o) {
1614 buildCounterPropertyList++; 1614 buildCounterPropertyList++;
1615 if (buildCounterPropertyList < 3) { 1615 if (buildCounterPropertyList < 3) {
1616 unittest.expect(o.etag, unittest.equals('foo')); 1616 unittest.expect(o.etag, unittest.equals('foo'));
1617 checkUnnamed437(o.items); 1617 checkUnnamed756(o.items);
1618 unittest.expect(o.kind, unittest.equals('foo')); 1618 unittest.expect(o.kind, unittest.equals('foo'));
1619 unittest.expect(o.selfLink, unittest.equals('foo')); 1619 unittest.expect(o.selfLink, unittest.equals('foo'));
1620 } 1620 }
1621 buildCounterPropertyList--; 1621 buildCounterPropertyList--;
1622 } 1622 }
1623 1623
1624 buildUnnamed438() { 1624 buildUnnamed757() {
1625 var o = new core.Map<core.String, core.String>(); 1625 var o = new core.Map<core.String, core.String>();
1626 o["x"] = "foo"; 1626 o["x"] = "foo";
1627 o["y"] = "foo"; 1627 o["y"] = "foo";
1628 return o; 1628 return o;
1629 } 1629 }
1630 1630
1631 checkUnnamed438(core.Map<core.String, core.String> o) { 1631 checkUnnamed757(core.Map<core.String, core.String> o) {
1632 unittest.expect(o, unittest.hasLength(2)); 1632 unittest.expect(o, unittest.hasLength(2));
1633 unittest.expect(o["x"], unittest.equals('foo')); 1633 unittest.expect(o["x"], unittest.equals('foo'));
1634 unittest.expect(o["y"], unittest.equals('foo')); 1634 unittest.expect(o["y"], unittest.equals('foo'));
1635 } 1635 }
1636 1636
1637 core.int buildCounterRevision = 0; 1637 core.int buildCounterRevision = 0;
1638 buildRevision() { 1638 buildRevision() {
1639 var o = new api.Revision(); 1639 var o = new api.Revision();
1640 buildCounterRevision++; 1640 buildCounterRevision++;
1641 if (buildCounterRevision < 3) { 1641 if (buildCounterRevision < 3) {
1642 o.downloadUrl = "foo"; 1642 o.downloadUrl = "foo";
1643 o.etag = "foo"; 1643 o.etag = "foo";
1644 o.exportLinks = buildUnnamed438(); 1644 o.exportLinks = buildUnnamed757();
1645 o.fileSize = "foo"; 1645 o.fileSize = "foo";
1646 o.id = "foo"; 1646 o.id = "foo";
1647 o.kind = "foo"; 1647 o.kind = "foo";
1648 o.lastModifyingUser = buildUser(); 1648 o.lastModifyingUser = buildUser();
1649 o.lastModifyingUserName = "foo"; 1649 o.lastModifyingUserName = "foo";
1650 o.md5Checksum = "foo"; 1650 o.md5Checksum = "foo";
1651 o.mimeType = "foo"; 1651 o.mimeType = "foo";
1652 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); 1652 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
1653 o.originalFilename = "foo"; 1653 o.originalFilename = "foo";
1654 o.pinned = true; 1654 o.pinned = true;
1655 o.publishAuto = true; 1655 o.publishAuto = true;
1656 o.published = true; 1656 o.published = true;
1657 o.publishedLink = "foo"; 1657 o.publishedLink = "foo";
1658 o.publishedOutsideDomain = true; 1658 o.publishedOutsideDomain = true;
1659 o.selfLink = "foo"; 1659 o.selfLink = "foo";
1660 } 1660 }
1661 buildCounterRevision--; 1661 buildCounterRevision--;
1662 return o; 1662 return o;
1663 } 1663 }
1664 1664
1665 checkRevision(api.Revision o) { 1665 checkRevision(api.Revision o) {
1666 buildCounterRevision++; 1666 buildCounterRevision++;
1667 if (buildCounterRevision < 3) { 1667 if (buildCounterRevision < 3) {
1668 unittest.expect(o.downloadUrl, unittest.equals('foo')); 1668 unittest.expect(o.downloadUrl, unittest.equals('foo'));
1669 unittest.expect(o.etag, unittest.equals('foo')); 1669 unittest.expect(o.etag, unittest.equals('foo'));
1670 checkUnnamed438(o.exportLinks); 1670 checkUnnamed757(o.exportLinks);
1671 unittest.expect(o.fileSize, unittest.equals('foo')); 1671 unittest.expect(o.fileSize, unittest.equals('foo'));
1672 unittest.expect(o.id, unittest.equals('foo')); 1672 unittest.expect(o.id, unittest.equals('foo'));
1673 unittest.expect(o.kind, unittest.equals('foo')); 1673 unittest.expect(o.kind, unittest.equals('foo'));
1674 checkUser(o.lastModifyingUser); 1674 checkUser(o.lastModifyingUser);
1675 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); 1675 unittest.expect(o.lastModifyingUserName, unittest.equals('foo'));
1676 unittest.expect(o.md5Checksum, unittest.equals('foo')); 1676 unittest.expect(o.md5Checksum, unittest.equals('foo'));
1677 unittest.expect(o.mimeType, unittest.equals('foo')); 1677 unittest.expect(o.mimeType, unittest.equals('foo'));
1678 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1678 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1679 unittest.expect(o.originalFilename, unittest.equals('foo')); 1679 unittest.expect(o.originalFilename, unittest.equals('foo'));
1680 unittest.expect(o.pinned, unittest.isTrue); 1680 unittest.expect(o.pinned, unittest.isTrue);
1681 unittest.expect(o.publishAuto, unittest.isTrue); 1681 unittest.expect(o.publishAuto, unittest.isTrue);
1682 unittest.expect(o.published, unittest.isTrue); 1682 unittest.expect(o.published, unittest.isTrue);
1683 unittest.expect(o.publishedLink, unittest.equals('foo')); 1683 unittest.expect(o.publishedLink, unittest.equals('foo'));
1684 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); 1684 unittest.expect(o.publishedOutsideDomain, unittest.isTrue);
1685 unittest.expect(o.selfLink, unittest.equals('foo')); 1685 unittest.expect(o.selfLink, unittest.equals('foo'));
1686 } 1686 }
1687 buildCounterRevision--; 1687 buildCounterRevision--;
1688 } 1688 }
1689 1689
1690 buildUnnamed439() { 1690 buildUnnamed758() {
1691 var o = new core.List<api.Revision>(); 1691 var o = new core.List<api.Revision>();
1692 o.add(buildRevision()); 1692 o.add(buildRevision());
1693 o.add(buildRevision()); 1693 o.add(buildRevision());
1694 return o; 1694 return o;
1695 } 1695 }
1696 1696
1697 checkUnnamed439(core.List<api.Revision> o) { 1697 checkUnnamed758(core.List<api.Revision> o) {
1698 unittest.expect(o, unittest.hasLength(2)); 1698 unittest.expect(o, unittest.hasLength(2));
1699 checkRevision(o[0]); 1699 checkRevision(o[0]);
1700 checkRevision(o[1]); 1700 checkRevision(o[1]);
1701 } 1701 }
1702 1702
1703 core.int buildCounterRevisionList = 0; 1703 core.int buildCounterRevisionList = 0;
1704 buildRevisionList() { 1704 buildRevisionList() {
1705 var o = new api.RevisionList(); 1705 var o = new api.RevisionList();
1706 buildCounterRevisionList++; 1706 buildCounterRevisionList++;
1707 if (buildCounterRevisionList < 3) { 1707 if (buildCounterRevisionList < 3) {
1708 o.etag = "foo"; 1708 o.etag = "foo";
1709 o.items = buildUnnamed439(); 1709 o.items = buildUnnamed758();
1710 o.kind = "foo"; 1710 o.kind = "foo";
1711 o.selfLink = "foo"; 1711 o.selfLink = "foo";
1712 } 1712 }
1713 buildCounterRevisionList--; 1713 buildCounterRevisionList--;
1714 return o; 1714 return o;
1715 } 1715 }
1716 1716
1717 checkRevisionList(api.RevisionList o) { 1717 checkRevisionList(api.RevisionList o) {
1718 buildCounterRevisionList++; 1718 buildCounterRevisionList++;
1719 if (buildCounterRevisionList < 3) { 1719 if (buildCounterRevisionList < 3) {
1720 unittest.expect(o.etag, unittest.equals('foo')); 1720 unittest.expect(o.etag, unittest.equals('foo'));
1721 checkUnnamed439(o.items); 1721 checkUnnamed758(o.items);
1722 unittest.expect(o.kind, unittest.equals('foo')); 1722 unittest.expect(o.kind, unittest.equals('foo'));
1723 unittest.expect(o.selfLink, unittest.equals('foo')); 1723 unittest.expect(o.selfLink, unittest.equals('foo'));
1724 } 1724 }
1725 buildCounterRevisionList--; 1725 buildCounterRevisionList--;
1726 } 1726 }
1727 1727
1728 core.int buildCounterUserPicture = 0; 1728 core.int buildCounterUserPicture = 0;
1729 buildUserPicture() { 1729 buildUserPicture() {
1730 var o = new api.UserPicture(); 1730 var o = new api.UserPicture();
1731 buildCounterUserPicture++; 1731 buildCounterUserPicture++;
(...skipping 3885 matching lines...) Expand 10 before | Expand all | Expand 10 after
5617 res.update(arg_request, arg_fileId, arg_revisionId).then(unittest.expectAs ync(((api.Revision response) { 5617 res.update(arg_request, arg_fileId, arg_revisionId).then(unittest.expectAs ync(((api.Revision response) {
5618 checkRevision(response); 5618 checkRevision(response);
5619 }))); 5619 })));
5620 }); 5620 });
5621 5621
5622 }); 5622 });
5623 5623
5624 5624
5625 } 5625 }
5626 5626
OLDNEW
« no previous file with comments | « generated/googleapis/test/doubleclicksearch/v2_test.dart ('k') | generated/googleapis/test/fitness/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698