OLD | NEW |
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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed686() { | 54 buildUnnamed703() { |
55 var o = new core.List<core.String>(); | 55 var o = new core.List<core.String>(); |
56 o.add("foo"); | 56 o.add("foo"); |
57 o.add("foo"); | 57 o.add("foo"); |
58 return o; | 58 return o; |
59 } | 59 } |
60 | 60 |
61 checkUnnamed686(core.List<core.String> o) { | 61 checkUnnamed703(core.List<core.String> o) { |
62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
63 unittest.expect(o[0], unittest.equals('foo')); | 63 unittest.expect(o[0], unittest.equals('foo')); |
64 unittest.expect(o[1], unittest.equals('foo')); | 64 unittest.expect(o[1], unittest.equals('foo')); |
65 } | 65 } |
66 | 66 |
67 core.int buildCounterAboutAdditionalRoleInfoRoleSets = 0; | 67 core.int buildCounterAboutAdditionalRoleInfoRoleSets = 0; |
68 buildAboutAdditionalRoleInfoRoleSets() { | 68 buildAboutAdditionalRoleInfoRoleSets() { |
69 var o = new api.AboutAdditionalRoleInfoRoleSets(); | 69 var o = new api.AboutAdditionalRoleInfoRoleSets(); |
70 buildCounterAboutAdditionalRoleInfoRoleSets++; | 70 buildCounterAboutAdditionalRoleInfoRoleSets++; |
71 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { | 71 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { |
72 o.additionalRoles = buildUnnamed686(); | 72 o.additionalRoles = buildUnnamed703(); |
73 o.primaryRole = "foo"; | 73 o.primaryRole = "foo"; |
74 } | 74 } |
75 buildCounterAboutAdditionalRoleInfoRoleSets--; | 75 buildCounterAboutAdditionalRoleInfoRoleSets--; |
76 return o; | 76 return o; |
77 } | 77 } |
78 | 78 |
79 checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { | 79 checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { |
80 buildCounterAboutAdditionalRoleInfoRoleSets++; | 80 buildCounterAboutAdditionalRoleInfoRoleSets++; |
81 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { | 81 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { |
82 checkUnnamed686(o.additionalRoles); | 82 checkUnnamed703(o.additionalRoles); |
83 unittest.expect(o.primaryRole, unittest.equals('foo')); | 83 unittest.expect(o.primaryRole, unittest.equals('foo')); |
84 } | 84 } |
85 buildCounterAboutAdditionalRoleInfoRoleSets--; | 85 buildCounterAboutAdditionalRoleInfoRoleSets--; |
86 } | 86 } |
87 | 87 |
88 buildUnnamed687() { | 88 buildUnnamed704() { |
89 var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); | 89 var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); |
90 o.add(buildAboutAdditionalRoleInfoRoleSets()); | 90 o.add(buildAboutAdditionalRoleInfoRoleSets()); |
91 o.add(buildAboutAdditionalRoleInfoRoleSets()); | 91 o.add(buildAboutAdditionalRoleInfoRoleSets()); |
92 return o; | 92 return o; |
93 } | 93 } |
94 | 94 |
95 checkUnnamed687(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { | 95 checkUnnamed704(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { |
96 unittest.expect(o, unittest.hasLength(2)); | 96 unittest.expect(o, unittest.hasLength(2)); |
97 checkAboutAdditionalRoleInfoRoleSets(o[0]); | 97 checkAboutAdditionalRoleInfoRoleSets(o[0]); |
98 checkAboutAdditionalRoleInfoRoleSets(o[1]); | 98 checkAboutAdditionalRoleInfoRoleSets(o[1]); |
99 } | 99 } |
100 | 100 |
101 core.int buildCounterAboutAdditionalRoleInfo = 0; | 101 core.int buildCounterAboutAdditionalRoleInfo = 0; |
102 buildAboutAdditionalRoleInfo() { | 102 buildAboutAdditionalRoleInfo() { |
103 var o = new api.AboutAdditionalRoleInfo(); | 103 var o = new api.AboutAdditionalRoleInfo(); |
104 buildCounterAboutAdditionalRoleInfo++; | 104 buildCounterAboutAdditionalRoleInfo++; |
105 if (buildCounterAboutAdditionalRoleInfo < 3) { | 105 if (buildCounterAboutAdditionalRoleInfo < 3) { |
106 o.roleSets = buildUnnamed687(); | 106 o.roleSets = buildUnnamed704(); |
107 o.type = "foo"; | 107 o.type = "foo"; |
108 } | 108 } |
109 buildCounterAboutAdditionalRoleInfo--; | 109 buildCounterAboutAdditionalRoleInfo--; |
110 return o; | 110 return o; |
111 } | 111 } |
112 | 112 |
113 checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { | 113 checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { |
114 buildCounterAboutAdditionalRoleInfo++; | 114 buildCounterAboutAdditionalRoleInfo++; |
115 if (buildCounterAboutAdditionalRoleInfo < 3) { | 115 if (buildCounterAboutAdditionalRoleInfo < 3) { |
116 checkUnnamed687(o.roleSets); | 116 checkUnnamed704(o.roleSets); |
117 unittest.expect(o.type, unittest.equals('foo')); | 117 unittest.expect(o.type, unittest.equals('foo')); |
118 } | 118 } |
119 buildCounterAboutAdditionalRoleInfo--; | 119 buildCounterAboutAdditionalRoleInfo--; |
120 } | 120 } |
121 | 121 |
122 buildUnnamed688() { | 122 buildUnnamed705() { |
123 var o = new core.List<api.AboutAdditionalRoleInfo>(); | 123 var o = new core.List<api.AboutAdditionalRoleInfo>(); |
124 o.add(buildAboutAdditionalRoleInfo()); | 124 o.add(buildAboutAdditionalRoleInfo()); |
125 o.add(buildAboutAdditionalRoleInfo()); | 125 o.add(buildAboutAdditionalRoleInfo()); |
126 return o; | 126 return o; |
127 } | 127 } |
128 | 128 |
129 checkUnnamed688(core.List<api.AboutAdditionalRoleInfo> o) { | 129 checkUnnamed705(core.List<api.AboutAdditionalRoleInfo> o) { |
130 unittest.expect(o, unittest.hasLength(2)); | 130 unittest.expect(o, unittest.hasLength(2)); |
131 checkAboutAdditionalRoleInfo(o[0]); | 131 checkAboutAdditionalRoleInfo(o[0]); |
132 checkAboutAdditionalRoleInfo(o[1]); | 132 checkAboutAdditionalRoleInfo(o[1]); |
133 } | 133 } |
134 | 134 |
135 buildUnnamed689() { | 135 buildUnnamed706() { |
136 var o = new core.List<core.String>(); | 136 var o = new core.List<core.String>(); |
137 o.add("foo"); | 137 o.add("foo"); |
138 o.add("foo"); | 138 o.add("foo"); |
139 return o; | 139 return o; |
140 } | 140 } |
141 | 141 |
142 checkUnnamed689(core.List<core.String> o) { | 142 checkUnnamed706(core.List<core.String> o) { |
143 unittest.expect(o, unittest.hasLength(2)); | 143 unittest.expect(o, unittest.hasLength(2)); |
144 unittest.expect(o[0], unittest.equals('foo')); | 144 unittest.expect(o[0], unittest.equals('foo')); |
145 unittest.expect(o[1], unittest.equals('foo')); | 145 unittest.expect(o[1], unittest.equals('foo')); |
146 } | 146 } |
147 | 147 |
148 core.int buildCounterAboutExportFormats = 0; | 148 core.int buildCounterAboutExportFormats = 0; |
149 buildAboutExportFormats() { | 149 buildAboutExportFormats() { |
150 var o = new api.AboutExportFormats(); | 150 var o = new api.AboutExportFormats(); |
151 buildCounterAboutExportFormats++; | 151 buildCounterAboutExportFormats++; |
152 if (buildCounterAboutExportFormats < 3) { | 152 if (buildCounterAboutExportFormats < 3) { |
153 o.source = "foo"; | 153 o.source = "foo"; |
154 o.targets = buildUnnamed689(); | 154 o.targets = buildUnnamed706(); |
155 } | 155 } |
156 buildCounterAboutExportFormats--; | 156 buildCounterAboutExportFormats--; |
157 return o; | 157 return o; |
158 } | 158 } |
159 | 159 |
160 checkAboutExportFormats(api.AboutExportFormats o) { | 160 checkAboutExportFormats(api.AboutExportFormats o) { |
161 buildCounterAboutExportFormats++; | 161 buildCounterAboutExportFormats++; |
162 if (buildCounterAboutExportFormats < 3) { | 162 if (buildCounterAboutExportFormats < 3) { |
163 unittest.expect(o.source, unittest.equals('foo')); | 163 unittest.expect(o.source, unittest.equals('foo')); |
164 checkUnnamed689(o.targets); | 164 checkUnnamed706(o.targets); |
165 } | 165 } |
166 buildCounterAboutExportFormats--; | 166 buildCounterAboutExportFormats--; |
167 } | 167 } |
168 | 168 |
169 buildUnnamed690() { | 169 buildUnnamed707() { |
170 var o = new core.List<api.AboutExportFormats>(); | 170 var o = new core.List<api.AboutExportFormats>(); |
171 o.add(buildAboutExportFormats()); | 171 o.add(buildAboutExportFormats()); |
172 o.add(buildAboutExportFormats()); | 172 o.add(buildAboutExportFormats()); |
173 return o; | 173 return o; |
174 } | 174 } |
175 | 175 |
176 checkUnnamed690(core.List<api.AboutExportFormats> o) { | 176 checkUnnamed707(core.List<api.AboutExportFormats> o) { |
177 unittest.expect(o, unittest.hasLength(2)); | 177 unittest.expect(o, unittest.hasLength(2)); |
178 checkAboutExportFormats(o[0]); | 178 checkAboutExportFormats(o[0]); |
179 checkAboutExportFormats(o[1]); | 179 checkAboutExportFormats(o[1]); |
180 } | 180 } |
181 | 181 |
182 core.int buildCounterAboutFeatures = 0; | 182 core.int buildCounterAboutFeatures = 0; |
183 buildAboutFeatures() { | 183 buildAboutFeatures() { |
184 var o = new api.AboutFeatures(); | 184 var o = new api.AboutFeatures(); |
185 buildCounterAboutFeatures++; | 185 buildCounterAboutFeatures++; |
186 if (buildCounterAboutFeatures < 3) { | 186 if (buildCounterAboutFeatures < 3) { |
187 o.featureName = "foo"; | 187 o.featureName = "foo"; |
188 o.featureRate = 42.0; | 188 o.featureRate = 42.0; |
189 } | 189 } |
190 buildCounterAboutFeatures--; | 190 buildCounterAboutFeatures--; |
191 return o; | 191 return o; |
192 } | 192 } |
193 | 193 |
194 checkAboutFeatures(api.AboutFeatures o) { | 194 checkAboutFeatures(api.AboutFeatures o) { |
195 buildCounterAboutFeatures++; | 195 buildCounterAboutFeatures++; |
196 if (buildCounterAboutFeatures < 3) { | 196 if (buildCounterAboutFeatures < 3) { |
197 unittest.expect(o.featureName, unittest.equals('foo')); | 197 unittest.expect(o.featureName, unittest.equals('foo')); |
198 unittest.expect(o.featureRate, unittest.equals(42.0)); | 198 unittest.expect(o.featureRate, unittest.equals(42.0)); |
199 } | 199 } |
200 buildCounterAboutFeatures--; | 200 buildCounterAboutFeatures--; |
201 } | 201 } |
202 | 202 |
203 buildUnnamed691() { | 203 buildUnnamed708() { |
204 var o = new core.List<api.AboutFeatures>(); | 204 var o = new core.List<api.AboutFeatures>(); |
205 o.add(buildAboutFeatures()); | 205 o.add(buildAboutFeatures()); |
206 o.add(buildAboutFeatures()); | 206 o.add(buildAboutFeatures()); |
207 return o; | 207 return o; |
208 } | 208 } |
209 | 209 |
210 checkUnnamed691(core.List<api.AboutFeatures> o) { | 210 checkUnnamed708(core.List<api.AboutFeatures> o) { |
211 unittest.expect(o, unittest.hasLength(2)); | 211 unittest.expect(o, unittest.hasLength(2)); |
212 checkAboutFeatures(o[0]); | 212 checkAboutFeatures(o[0]); |
213 checkAboutFeatures(o[1]); | 213 checkAboutFeatures(o[1]); |
214 } | 214 } |
215 | 215 |
216 buildUnnamed692() { | 216 buildUnnamed709() { |
217 var o = new core.List<core.String>(); | 217 var o = new core.List<core.String>(); |
218 o.add("foo"); | 218 o.add("foo"); |
219 o.add("foo"); | 219 o.add("foo"); |
220 return o; | 220 return o; |
221 } | 221 } |
222 | 222 |
223 checkUnnamed692(core.List<core.String> o) { | 223 checkUnnamed709(core.List<core.String> o) { |
224 unittest.expect(o, unittest.hasLength(2)); | 224 unittest.expect(o, unittest.hasLength(2)); |
225 unittest.expect(o[0], unittest.equals('foo')); | 225 unittest.expect(o[0], unittest.equals('foo')); |
226 unittest.expect(o[1], unittest.equals('foo')); | 226 unittest.expect(o[1], unittest.equals('foo')); |
227 } | 227 } |
228 | 228 |
229 buildUnnamed693() { | 229 buildUnnamed710() { |
230 var o = new core.List<core.String>(); | 230 var o = new core.List<core.String>(); |
231 o.add("foo"); | 231 o.add("foo"); |
232 o.add("foo"); | 232 o.add("foo"); |
233 return o; | 233 return o; |
234 } | 234 } |
235 | 235 |
236 checkUnnamed693(core.List<core.String> o) { | 236 checkUnnamed710(core.List<core.String> o) { |
237 unittest.expect(o, unittest.hasLength(2)); | 237 unittest.expect(o, unittest.hasLength(2)); |
238 unittest.expect(o[0], unittest.equals('foo')); | 238 unittest.expect(o[0], unittest.equals('foo')); |
239 unittest.expect(o[1], unittest.equals('foo')); | 239 unittest.expect(o[1], unittest.equals('foo')); |
240 } | 240 } |
241 | 241 |
242 core.int buildCounterAboutImportFormats = 0; | 242 core.int buildCounterAboutImportFormats = 0; |
243 buildAboutImportFormats() { | 243 buildAboutImportFormats() { |
244 var o = new api.AboutImportFormats(); | 244 var o = new api.AboutImportFormats(); |
245 buildCounterAboutImportFormats++; | 245 buildCounterAboutImportFormats++; |
246 if (buildCounterAboutImportFormats < 3) { | 246 if (buildCounterAboutImportFormats < 3) { |
247 o.source = "foo"; | 247 o.source = "foo"; |
248 o.targets = buildUnnamed693(); | 248 o.targets = buildUnnamed710(); |
249 } | 249 } |
250 buildCounterAboutImportFormats--; | 250 buildCounterAboutImportFormats--; |
251 return o; | 251 return o; |
252 } | 252 } |
253 | 253 |
254 checkAboutImportFormats(api.AboutImportFormats o) { | 254 checkAboutImportFormats(api.AboutImportFormats o) { |
255 buildCounterAboutImportFormats++; | 255 buildCounterAboutImportFormats++; |
256 if (buildCounterAboutImportFormats < 3) { | 256 if (buildCounterAboutImportFormats < 3) { |
257 unittest.expect(o.source, unittest.equals('foo')); | 257 unittest.expect(o.source, unittest.equals('foo')); |
258 checkUnnamed693(o.targets); | 258 checkUnnamed710(o.targets); |
259 } | 259 } |
260 buildCounterAboutImportFormats--; | 260 buildCounterAboutImportFormats--; |
261 } | 261 } |
262 | 262 |
263 buildUnnamed694() { | 263 buildUnnamed711() { |
264 var o = new core.List<api.AboutImportFormats>(); | 264 var o = new core.List<api.AboutImportFormats>(); |
265 o.add(buildAboutImportFormats()); | 265 o.add(buildAboutImportFormats()); |
266 o.add(buildAboutImportFormats()); | 266 o.add(buildAboutImportFormats()); |
267 return o; | 267 return o; |
268 } | 268 } |
269 | 269 |
270 checkUnnamed694(core.List<api.AboutImportFormats> o) { | 270 checkUnnamed711(core.List<api.AboutImportFormats> o) { |
271 unittest.expect(o, unittest.hasLength(2)); | 271 unittest.expect(o, unittest.hasLength(2)); |
272 checkAboutImportFormats(o[0]); | 272 checkAboutImportFormats(o[0]); |
273 checkAboutImportFormats(o[1]); | 273 checkAboutImportFormats(o[1]); |
274 } | 274 } |
275 | 275 |
276 core.int buildCounterAboutMaxUploadSizes = 0; | 276 core.int buildCounterAboutMaxUploadSizes = 0; |
277 buildAboutMaxUploadSizes() { | 277 buildAboutMaxUploadSizes() { |
278 var o = new api.AboutMaxUploadSizes(); | 278 var o = new api.AboutMaxUploadSizes(); |
279 buildCounterAboutMaxUploadSizes++; | 279 buildCounterAboutMaxUploadSizes++; |
280 if (buildCounterAboutMaxUploadSizes < 3) { | 280 if (buildCounterAboutMaxUploadSizes < 3) { |
281 o.size = "foo"; | 281 o.size = "foo"; |
282 o.type = "foo"; | 282 o.type = "foo"; |
283 } | 283 } |
284 buildCounterAboutMaxUploadSizes--; | 284 buildCounterAboutMaxUploadSizes--; |
285 return o; | 285 return o; |
286 } | 286 } |
287 | 287 |
288 checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { | 288 checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { |
289 buildCounterAboutMaxUploadSizes++; | 289 buildCounterAboutMaxUploadSizes++; |
290 if (buildCounterAboutMaxUploadSizes < 3) { | 290 if (buildCounterAboutMaxUploadSizes < 3) { |
291 unittest.expect(o.size, unittest.equals('foo')); | 291 unittest.expect(o.size, unittest.equals('foo')); |
292 unittest.expect(o.type, unittest.equals('foo')); | 292 unittest.expect(o.type, unittest.equals('foo')); |
293 } | 293 } |
294 buildCounterAboutMaxUploadSizes--; | 294 buildCounterAboutMaxUploadSizes--; |
295 } | 295 } |
296 | 296 |
297 buildUnnamed695() { | 297 buildUnnamed712() { |
298 var o = new core.List<api.AboutMaxUploadSizes>(); | 298 var o = new core.List<api.AboutMaxUploadSizes>(); |
299 o.add(buildAboutMaxUploadSizes()); | 299 o.add(buildAboutMaxUploadSizes()); |
300 o.add(buildAboutMaxUploadSizes()); | 300 o.add(buildAboutMaxUploadSizes()); |
301 return o; | 301 return o; |
302 } | 302 } |
303 | 303 |
304 checkUnnamed695(core.List<api.AboutMaxUploadSizes> o) { | 304 checkUnnamed712(core.List<api.AboutMaxUploadSizes> o) { |
305 unittest.expect(o, unittest.hasLength(2)); | 305 unittest.expect(o, unittest.hasLength(2)); |
306 checkAboutMaxUploadSizes(o[0]); | 306 checkAboutMaxUploadSizes(o[0]); |
307 checkAboutMaxUploadSizes(o[1]); | 307 checkAboutMaxUploadSizes(o[1]); |
308 } | 308 } |
309 | 309 |
310 core.int buildCounterAboutQuotaBytesByService = 0; | 310 core.int buildCounterAboutQuotaBytesByService = 0; |
311 buildAboutQuotaBytesByService() { | 311 buildAboutQuotaBytesByService() { |
312 var o = new api.AboutQuotaBytesByService(); | 312 var o = new api.AboutQuotaBytesByService(); |
313 buildCounterAboutQuotaBytesByService++; | 313 buildCounterAboutQuotaBytesByService++; |
314 if (buildCounterAboutQuotaBytesByService < 3) { | 314 if (buildCounterAboutQuotaBytesByService < 3) { |
315 o.bytesUsed = "foo"; | 315 o.bytesUsed = "foo"; |
316 o.serviceName = "foo"; | 316 o.serviceName = "foo"; |
317 } | 317 } |
318 buildCounterAboutQuotaBytesByService--; | 318 buildCounterAboutQuotaBytesByService--; |
319 return o; | 319 return o; |
320 } | 320 } |
321 | 321 |
322 checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { | 322 checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { |
323 buildCounterAboutQuotaBytesByService++; | 323 buildCounterAboutQuotaBytesByService++; |
324 if (buildCounterAboutQuotaBytesByService < 3) { | 324 if (buildCounterAboutQuotaBytesByService < 3) { |
325 unittest.expect(o.bytesUsed, unittest.equals('foo')); | 325 unittest.expect(o.bytesUsed, unittest.equals('foo')); |
326 unittest.expect(o.serviceName, unittest.equals('foo')); | 326 unittest.expect(o.serviceName, unittest.equals('foo')); |
327 } | 327 } |
328 buildCounterAboutQuotaBytesByService--; | 328 buildCounterAboutQuotaBytesByService--; |
329 } | 329 } |
330 | 330 |
331 buildUnnamed696() { | 331 buildUnnamed713() { |
332 var o = new core.List<api.AboutQuotaBytesByService>(); | 332 var o = new core.List<api.AboutQuotaBytesByService>(); |
333 o.add(buildAboutQuotaBytesByService()); | 333 o.add(buildAboutQuotaBytesByService()); |
334 o.add(buildAboutQuotaBytesByService()); | 334 o.add(buildAboutQuotaBytesByService()); |
335 return o; | 335 return o; |
336 } | 336 } |
337 | 337 |
338 checkUnnamed696(core.List<api.AboutQuotaBytesByService> o) { | 338 checkUnnamed713(core.List<api.AboutQuotaBytesByService> o) { |
339 unittest.expect(o, unittest.hasLength(2)); | 339 unittest.expect(o, unittest.hasLength(2)); |
340 checkAboutQuotaBytesByService(o[0]); | 340 checkAboutQuotaBytesByService(o[0]); |
341 checkAboutQuotaBytesByService(o[1]); | 341 checkAboutQuotaBytesByService(o[1]); |
342 } | 342 } |
343 | 343 |
344 core.int buildCounterAboutTeamDriveThemes = 0; | 344 core.int buildCounterAboutTeamDriveThemes = 0; |
345 buildAboutTeamDriveThemes() { | 345 buildAboutTeamDriveThemes() { |
346 var o = new api.AboutTeamDriveThemes(); | 346 var o = new api.AboutTeamDriveThemes(); |
347 buildCounterAboutTeamDriveThemes++; | 347 buildCounterAboutTeamDriveThemes++; |
348 if (buildCounterAboutTeamDriveThemes < 3) { | 348 if (buildCounterAboutTeamDriveThemes < 3) { |
349 o.backgroundImageLink = "foo"; | 349 o.backgroundImageLink = "foo"; |
350 o.colorRgb = "foo"; | 350 o.colorRgb = "foo"; |
351 o.id = "foo"; | 351 o.id = "foo"; |
352 } | 352 } |
353 buildCounterAboutTeamDriveThemes--; | 353 buildCounterAboutTeamDriveThemes--; |
354 return o; | 354 return o; |
355 } | 355 } |
356 | 356 |
357 checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) { | 357 checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) { |
358 buildCounterAboutTeamDriveThemes++; | 358 buildCounterAboutTeamDriveThemes++; |
359 if (buildCounterAboutTeamDriveThemes < 3) { | 359 if (buildCounterAboutTeamDriveThemes < 3) { |
360 unittest.expect(o.backgroundImageLink, unittest.equals('foo')); | 360 unittest.expect(o.backgroundImageLink, unittest.equals('foo')); |
361 unittest.expect(o.colorRgb, unittest.equals('foo')); | 361 unittest.expect(o.colorRgb, unittest.equals('foo')); |
362 unittest.expect(o.id, unittest.equals('foo')); | 362 unittest.expect(o.id, unittest.equals('foo')); |
363 } | 363 } |
364 buildCounterAboutTeamDriveThemes--; | 364 buildCounterAboutTeamDriveThemes--; |
365 } | 365 } |
366 | 366 |
367 buildUnnamed697() { | 367 buildUnnamed714() { |
368 var o = new core.List<api.AboutTeamDriveThemes>(); | 368 var o = new core.List<api.AboutTeamDriveThemes>(); |
369 o.add(buildAboutTeamDriveThemes()); | 369 o.add(buildAboutTeamDriveThemes()); |
370 o.add(buildAboutTeamDriveThemes()); | 370 o.add(buildAboutTeamDriveThemes()); |
371 return o; | 371 return o; |
372 } | 372 } |
373 | 373 |
374 checkUnnamed697(core.List<api.AboutTeamDriveThemes> o) { | 374 checkUnnamed714(core.List<api.AboutTeamDriveThemes> o) { |
375 unittest.expect(o, unittest.hasLength(2)); | 375 unittest.expect(o, unittest.hasLength(2)); |
376 checkAboutTeamDriveThemes(o[0]); | 376 checkAboutTeamDriveThemes(o[0]); |
377 checkAboutTeamDriveThemes(o[1]); | 377 checkAboutTeamDriveThemes(o[1]); |
378 } | 378 } |
379 | 379 |
380 core.int buildCounterAbout = 0; | 380 core.int buildCounterAbout = 0; |
381 buildAbout() { | 381 buildAbout() { |
382 var o = new api.About(); | 382 var o = new api.About(); |
383 buildCounterAbout++; | 383 buildCounterAbout++; |
384 if (buildCounterAbout < 3) { | 384 if (buildCounterAbout < 3) { |
385 o.additionalRoleInfo = buildUnnamed688(); | 385 o.additionalRoleInfo = buildUnnamed705(); |
386 o.domainSharingPolicy = "foo"; | 386 o.domainSharingPolicy = "foo"; |
387 o.etag = "foo"; | 387 o.etag = "foo"; |
388 o.exportFormats = buildUnnamed690(); | 388 o.exportFormats = buildUnnamed707(); |
389 o.features = buildUnnamed691(); | 389 o.features = buildUnnamed708(); |
390 o.folderColorPalette = buildUnnamed692(); | 390 o.folderColorPalette = buildUnnamed709(); |
391 o.importFormats = buildUnnamed694(); | 391 o.importFormats = buildUnnamed711(); |
392 o.isCurrentAppInstalled = true; | 392 o.isCurrentAppInstalled = true; |
393 o.kind = "foo"; | 393 o.kind = "foo"; |
394 o.languageCode = "foo"; | 394 o.languageCode = "foo"; |
395 o.largestChangeId = "foo"; | 395 o.largestChangeId = "foo"; |
396 o.maxUploadSizes = buildUnnamed695(); | 396 o.maxUploadSizes = buildUnnamed712(); |
397 o.name = "foo"; | 397 o.name = "foo"; |
398 o.permissionId = "foo"; | 398 o.permissionId = "foo"; |
399 o.quotaBytesByService = buildUnnamed696(); | 399 o.quotaBytesByService = buildUnnamed713(); |
400 o.quotaBytesTotal = "foo"; | 400 o.quotaBytesTotal = "foo"; |
401 o.quotaBytesUsed = "foo"; | 401 o.quotaBytesUsed = "foo"; |
402 o.quotaBytesUsedAggregate = "foo"; | 402 o.quotaBytesUsedAggregate = "foo"; |
403 o.quotaBytesUsedInTrash = "foo"; | 403 o.quotaBytesUsedInTrash = "foo"; |
404 o.quotaType = "foo"; | 404 o.quotaType = "foo"; |
405 o.remainingChangeIds = "foo"; | 405 o.remainingChangeIds = "foo"; |
406 o.rootFolderId = "foo"; | 406 o.rootFolderId = "foo"; |
407 o.selfLink = "foo"; | 407 o.selfLink = "foo"; |
408 o.teamDriveThemes = buildUnnamed697(); | 408 o.teamDriveThemes = buildUnnamed714(); |
409 o.user = buildUser(); | 409 o.user = buildUser(); |
410 } | 410 } |
411 buildCounterAbout--; | 411 buildCounterAbout--; |
412 return o; | 412 return o; |
413 } | 413 } |
414 | 414 |
415 checkAbout(api.About o) { | 415 checkAbout(api.About o) { |
416 buildCounterAbout++; | 416 buildCounterAbout++; |
417 if (buildCounterAbout < 3) { | 417 if (buildCounterAbout < 3) { |
418 checkUnnamed688(o.additionalRoleInfo); | 418 checkUnnamed705(o.additionalRoleInfo); |
419 unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); | 419 unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); |
420 unittest.expect(o.etag, unittest.equals('foo')); | 420 unittest.expect(o.etag, unittest.equals('foo')); |
421 checkUnnamed690(o.exportFormats); | 421 checkUnnamed707(o.exportFormats); |
422 checkUnnamed691(o.features); | 422 checkUnnamed708(o.features); |
423 checkUnnamed692(o.folderColorPalette); | 423 checkUnnamed709(o.folderColorPalette); |
424 checkUnnamed694(o.importFormats); | 424 checkUnnamed711(o.importFormats); |
425 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); | 425 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); |
426 unittest.expect(o.kind, unittest.equals('foo')); | 426 unittest.expect(o.kind, unittest.equals('foo')); |
427 unittest.expect(o.languageCode, unittest.equals('foo')); | 427 unittest.expect(o.languageCode, unittest.equals('foo')); |
428 unittest.expect(o.largestChangeId, unittest.equals('foo')); | 428 unittest.expect(o.largestChangeId, unittest.equals('foo')); |
429 checkUnnamed695(o.maxUploadSizes); | 429 checkUnnamed712(o.maxUploadSizes); |
430 unittest.expect(o.name, unittest.equals('foo')); | 430 unittest.expect(o.name, unittest.equals('foo')); |
431 unittest.expect(o.permissionId, unittest.equals('foo')); | 431 unittest.expect(o.permissionId, unittest.equals('foo')); |
432 checkUnnamed696(o.quotaBytesByService); | 432 checkUnnamed713(o.quotaBytesByService); |
433 unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); | 433 unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); |
434 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); | 434 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
435 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); | 435 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); |
436 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo')); | 436 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo')); |
437 unittest.expect(o.quotaType, unittest.equals('foo')); | 437 unittest.expect(o.quotaType, unittest.equals('foo')); |
438 unittest.expect(o.remainingChangeIds, unittest.equals('foo')); | 438 unittest.expect(o.remainingChangeIds, unittest.equals('foo')); |
439 unittest.expect(o.rootFolderId, unittest.equals('foo')); | 439 unittest.expect(o.rootFolderId, unittest.equals('foo')); |
440 unittest.expect(o.selfLink, unittest.equals('foo')); | 440 unittest.expect(o.selfLink, unittest.equals('foo')); |
441 checkUnnamed697(o.teamDriveThemes); | 441 checkUnnamed714(o.teamDriveThemes); |
442 checkUser(o.user); | 442 checkUser(o.user); |
443 } | 443 } |
444 buildCounterAbout--; | 444 buildCounterAbout--; |
445 } | 445 } |
446 | 446 |
447 core.int buildCounterAppIcons = 0; | 447 core.int buildCounterAppIcons = 0; |
448 buildAppIcons() { | 448 buildAppIcons() { |
449 var o = new api.AppIcons(); | 449 var o = new api.AppIcons(); |
450 buildCounterAppIcons++; | 450 buildCounterAppIcons++; |
451 if (buildCounterAppIcons < 3) { | 451 if (buildCounterAppIcons < 3) { |
452 o.category = "foo"; | 452 o.category = "foo"; |
453 o.iconUrl = "foo"; | 453 o.iconUrl = "foo"; |
454 o.size = 42; | 454 o.size = 42; |
455 } | 455 } |
456 buildCounterAppIcons--; | 456 buildCounterAppIcons--; |
457 return o; | 457 return o; |
458 } | 458 } |
459 | 459 |
460 checkAppIcons(api.AppIcons o) { | 460 checkAppIcons(api.AppIcons o) { |
461 buildCounterAppIcons++; | 461 buildCounterAppIcons++; |
462 if (buildCounterAppIcons < 3) { | 462 if (buildCounterAppIcons < 3) { |
463 unittest.expect(o.category, unittest.equals('foo')); | 463 unittest.expect(o.category, unittest.equals('foo')); |
464 unittest.expect(o.iconUrl, unittest.equals('foo')); | 464 unittest.expect(o.iconUrl, unittest.equals('foo')); |
465 unittest.expect(o.size, unittest.equals(42)); | 465 unittest.expect(o.size, unittest.equals(42)); |
466 } | 466 } |
467 buildCounterAppIcons--; | 467 buildCounterAppIcons--; |
468 } | 468 } |
469 | 469 |
470 buildUnnamed698() { | 470 buildUnnamed715() { |
471 var o = new core.List<api.AppIcons>(); | 471 var o = new core.List<api.AppIcons>(); |
472 o.add(buildAppIcons()); | 472 o.add(buildAppIcons()); |
473 o.add(buildAppIcons()); | 473 o.add(buildAppIcons()); |
474 return o; | 474 return o; |
475 } | 475 } |
476 | 476 |
477 checkUnnamed698(core.List<api.AppIcons> o) { | 477 checkUnnamed715(core.List<api.AppIcons> o) { |
478 unittest.expect(o, unittest.hasLength(2)); | 478 unittest.expect(o, unittest.hasLength(2)); |
479 checkAppIcons(o[0]); | 479 checkAppIcons(o[0]); |
480 checkAppIcons(o[1]); | 480 checkAppIcons(o[1]); |
481 } | 481 } |
482 | 482 |
483 buildUnnamed699() { | 483 buildUnnamed716() { |
484 var o = new core.List<core.String>(); | 484 var o = new core.List<core.String>(); |
485 o.add("foo"); | 485 o.add("foo"); |
486 o.add("foo"); | 486 o.add("foo"); |
487 return o; | 487 return o; |
488 } | 488 } |
489 | 489 |
490 checkUnnamed699(core.List<core.String> o) { | 490 checkUnnamed716(core.List<core.String> o) { |
491 unittest.expect(o, unittest.hasLength(2)); | 491 unittest.expect(o, unittest.hasLength(2)); |
492 unittest.expect(o[0], unittest.equals('foo')); | 492 unittest.expect(o[0], unittest.equals('foo')); |
493 unittest.expect(o[1], unittest.equals('foo')); | 493 unittest.expect(o[1], unittest.equals('foo')); |
494 } | 494 } |
495 | 495 |
496 buildUnnamed700() { | 496 buildUnnamed717() { |
497 var o = new core.List<core.String>(); | 497 var o = new core.List<core.String>(); |
498 o.add("foo"); | 498 o.add("foo"); |
499 o.add("foo"); | 499 o.add("foo"); |
500 return o; | 500 return o; |
501 } | 501 } |
502 | 502 |
503 checkUnnamed700(core.List<core.String> o) { | 503 checkUnnamed717(core.List<core.String> o) { |
504 unittest.expect(o, unittest.hasLength(2)); | 504 unittest.expect(o, unittest.hasLength(2)); |
505 unittest.expect(o[0], unittest.equals('foo')); | 505 unittest.expect(o[0], unittest.equals('foo')); |
506 unittest.expect(o[1], unittest.equals('foo')); | 506 unittest.expect(o[1], unittest.equals('foo')); |
507 } | 507 } |
508 | 508 |
509 buildUnnamed701() { | 509 buildUnnamed718() { |
510 var o = new core.List<core.String>(); | 510 var o = new core.List<core.String>(); |
511 o.add("foo"); | 511 o.add("foo"); |
512 o.add("foo"); | 512 o.add("foo"); |
513 return o; | 513 return o; |
514 } | 514 } |
515 | 515 |
516 checkUnnamed701(core.List<core.String> o) { | 516 checkUnnamed718(core.List<core.String> o) { |
517 unittest.expect(o, unittest.hasLength(2)); | 517 unittest.expect(o, unittest.hasLength(2)); |
518 unittest.expect(o[0], unittest.equals('foo')); | 518 unittest.expect(o[0], unittest.equals('foo')); |
519 unittest.expect(o[1], unittest.equals('foo')); | 519 unittest.expect(o[1], unittest.equals('foo')); |
520 } | 520 } |
521 | 521 |
522 buildUnnamed702() { | 522 buildUnnamed719() { |
523 var o = new core.List<core.String>(); | 523 var o = new core.List<core.String>(); |
524 o.add("foo"); | 524 o.add("foo"); |
525 o.add("foo"); | 525 o.add("foo"); |
526 return o; | 526 return o; |
527 } | 527 } |
528 | 528 |
529 checkUnnamed702(core.List<core.String> o) { | 529 checkUnnamed719(core.List<core.String> o) { |
530 unittest.expect(o, unittest.hasLength(2)); | 530 unittest.expect(o, unittest.hasLength(2)); |
531 unittest.expect(o[0], unittest.equals('foo')); | 531 unittest.expect(o[0], unittest.equals('foo')); |
532 unittest.expect(o[1], unittest.equals('foo')); | 532 unittest.expect(o[1], unittest.equals('foo')); |
533 } | 533 } |
534 | 534 |
535 core.int buildCounterApp = 0; | 535 core.int buildCounterApp = 0; |
536 buildApp() { | 536 buildApp() { |
537 var o = new api.App(); | 537 var o = new api.App(); |
538 buildCounterApp++; | 538 buildCounterApp++; |
539 if (buildCounterApp < 3) { | 539 if (buildCounterApp < 3) { |
540 o.authorized = true; | 540 o.authorized = true; |
541 o.createInFolderTemplate = "foo"; | 541 o.createInFolderTemplate = "foo"; |
542 o.createUrl = "foo"; | 542 o.createUrl = "foo"; |
543 o.hasDriveWideScope = true; | 543 o.hasDriveWideScope = true; |
544 o.icons = buildUnnamed698(); | 544 o.icons = buildUnnamed715(); |
545 o.id = "foo"; | 545 o.id = "foo"; |
546 o.installed = true; | 546 o.installed = true; |
547 o.kind = "foo"; | 547 o.kind = "foo"; |
548 o.longDescription = "foo"; | 548 o.longDescription = "foo"; |
549 o.name = "foo"; | 549 o.name = "foo"; |
550 o.objectType = "foo"; | 550 o.objectType = "foo"; |
551 o.openUrlTemplate = "foo"; | 551 o.openUrlTemplate = "foo"; |
552 o.primaryFileExtensions = buildUnnamed699(); | 552 o.primaryFileExtensions = buildUnnamed716(); |
553 o.primaryMimeTypes = buildUnnamed700(); | 553 o.primaryMimeTypes = buildUnnamed717(); |
554 o.productId = "foo"; | 554 o.productId = "foo"; |
555 o.productUrl = "foo"; | 555 o.productUrl = "foo"; |
556 o.secondaryFileExtensions = buildUnnamed701(); | 556 o.secondaryFileExtensions = buildUnnamed718(); |
557 o.secondaryMimeTypes = buildUnnamed702(); | 557 o.secondaryMimeTypes = buildUnnamed719(); |
558 o.shortDescription = "foo"; | 558 o.shortDescription = "foo"; |
559 o.supportsCreate = true; | 559 o.supportsCreate = true; |
560 o.supportsImport = true; | 560 o.supportsImport = true; |
561 o.supportsMultiOpen = true; | 561 o.supportsMultiOpen = true; |
562 o.supportsOfflineCreate = true; | 562 o.supportsOfflineCreate = true; |
563 o.useByDefault = true; | 563 o.useByDefault = true; |
564 } | 564 } |
565 buildCounterApp--; | 565 buildCounterApp--; |
566 return o; | 566 return o; |
567 } | 567 } |
568 | 568 |
569 checkApp(api.App o) { | 569 checkApp(api.App o) { |
570 buildCounterApp++; | 570 buildCounterApp++; |
571 if (buildCounterApp < 3) { | 571 if (buildCounterApp < 3) { |
572 unittest.expect(o.authorized, unittest.isTrue); | 572 unittest.expect(o.authorized, unittest.isTrue); |
573 unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); | 573 unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); |
574 unittest.expect(o.createUrl, unittest.equals('foo')); | 574 unittest.expect(o.createUrl, unittest.equals('foo')); |
575 unittest.expect(o.hasDriveWideScope, unittest.isTrue); | 575 unittest.expect(o.hasDriveWideScope, unittest.isTrue); |
576 checkUnnamed698(o.icons); | 576 checkUnnamed715(o.icons); |
577 unittest.expect(o.id, unittest.equals('foo')); | 577 unittest.expect(o.id, unittest.equals('foo')); |
578 unittest.expect(o.installed, unittest.isTrue); | 578 unittest.expect(o.installed, unittest.isTrue); |
579 unittest.expect(o.kind, unittest.equals('foo')); | 579 unittest.expect(o.kind, unittest.equals('foo')); |
580 unittest.expect(o.longDescription, unittest.equals('foo')); | 580 unittest.expect(o.longDescription, unittest.equals('foo')); |
581 unittest.expect(o.name, unittest.equals('foo')); | 581 unittest.expect(o.name, unittest.equals('foo')); |
582 unittest.expect(o.objectType, unittest.equals('foo')); | 582 unittest.expect(o.objectType, unittest.equals('foo')); |
583 unittest.expect(o.openUrlTemplate, unittest.equals('foo')); | 583 unittest.expect(o.openUrlTemplate, unittest.equals('foo')); |
584 checkUnnamed699(o.primaryFileExtensions); | 584 checkUnnamed716(o.primaryFileExtensions); |
585 checkUnnamed700(o.primaryMimeTypes); | 585 checkUnnamed717(o.primaryMimeTypes); |
586 unittest.expect(o.productId, unittest.equals('foo')); | 586 unittest.expect(o.productId, unittest.equals('foo')); |
587 unittest.expect(o.productUrl, unittest.equals('foo')); | 587 unittest.expect(o.productUrl, unittest.equals('foo')); |
588 checkUnnamed701(o.secondaryFileExtensions); | 588 checkUnnamed718(o.secondaryFileExtensions); |
589 checkUnnamed702(o.secondaryMimeTypes); | 589 checkUnnamed719(o.secondaryMimeTypes); |
590 unittest.expect(o.shortDescription, unittest.equals('foo')); | 590 unittest.expect(o.shortDescription, unittest.equals('foo')); |
591 unittest.expect(o.supportsCreate, unittest.isTrue); | 591 unittest.expect(o.supportsCreate, unittest.isTrue); |
592 unittest.expect(o.supportsImport, unittest.isTrue); | 592 unittest.expect(o.supportsImport, unittest.isTrue); |
593 unittest.expect(o.supportsMultiOpen, unittest.isTrue); | 593 unittest.expect(o.supportsMultiOpen, unittest.isTrue); |
594 unittest.expect(o.supportsOfflineCreate, unittest.isTrue); | 594 unittest.expect(o.supportsOfflineCreate, unittest.isTrue); |
595 unittest.expect(o.useByDefault, unittest.isTrue); | 595 unittest.expect(o.useByDefault, unittest.isTrue); |
596 } | 596 } |
597 buildCounterApp--; | 597 buildCounterApp--; |
598 } | 598 } |
599 | 599 |
600 buildUnnamed703() { | 600 buildUnnamed720() { |
601 var o = new core.List<core.String>(); | 601 var o = new core.List<core.String>(); |
602 o.add("foo"); | 602 o.add("foo"); |
603 o.add("foo"); | 603 o.add("foo"); |
604 return o; | 604 return o; |
605 } | 605 } |
606 | 606 |
607 checkUnnamed703(core.List<core.String> o) { | 607 checkUnnamed720(core.List<core.String> o) { |
608 unittest.expect(o, unittest.hasLength(2)); | 608 unittest.expect(o, unittest.hasLength(2)); |
609 unittest.expect(o[0], unittest.equals('foo')); | 609 unittest.expect(o[0], unittest.equals('foo')); |
610 unittest.expect(o[1], unittest.equals('foo')); | 610 unittest.expect(o[1], unittest.equals('foo')); |
611 } | 611 } |
612 | 612 |
613 buildUnnamed704() { | 613 buildUnnamed721() { |
614 var o = new core.List<api.App>(); | 614 var o = new core.List<api.App>(); |
615 o.add(buildApp()); | 615 o.add(buildApp()); |
616 o.add(buildApp()); | 616 o.add(buildApp()); |
617 return o; | 617 return o; |
618 } | 618 } |
619 | 619 |
620 checkUnnamed704(core.List<api.App> o) { | 620 checkUnnamed721(core.List<api.App> o) { |
621 unittest.expect(o, unittest.hasLength(2)); | 621 unittest.expect(o, unittest.hasLength(2)); |
622 checkApp(o[0]); | 622 checkApp(o[0]); |
623 checkApp(o[1]); | 623 checkApp(o[1]); |
624 } | 624 } |
625 | 625 |
626 core.int buildCounterAppList = 0; | 626 core.int buildCounterAppList = 0; |
627 buildAppList() { | 627 buildAppList() { |
628 var o = new api.AppList(); | 628 var o = new api.AppList(); |
629 buildCounterAppList++; | 629 buildCounterAppList++; |
630 if (buildCounterAppList < 3) { | 630 if (buildCounterAppList < 3) { |
631 o.defaultAppIds = buildUnnamed703(); | 631 o.defaultAppIds = buildUnnamed720(); |
632 o.etag = "foo"; | 632 o.etag = "foo"; |
633 o.items = buildUnnamed704(); | 633 o.items = buildUnnamed721(); |
634 o.kind = "foo"; | 634 o.kind = "foo"; |
635 o.selfLink = "foo"; | 635 o.selfLink = "foo"; |
636 } | 636 } |
637 buildCounterAppList--; | 637 buildCounterAppList--; |
638 return o; | 638 return o; |
639 } | 639 } |
640 | 640 |
641 checkAppList(api.AppList o) { | 641 checkAppList(api.AppList o) { |
642 buildCounterAppList++; | 642 buildCounterAppList++; |
643 if (buildCounterAppList < 3) { | 643 if (buildCounterAppList < 3) { |
644 checkUnnamed703(o.defaultAppIds); | 644 checkUnnamed720(o.defaultAppIds); |
645 unittest.expect(o.etag, unittest.equals('foo')); | 645 unittest.expect(o.etag, unittest.equals('foo')); |
646 checkUnnamed704(o.items); | 646 checkUnnamed721(o.items); |
647 unittest.expect(o.kind, unittest.equals('foo')); | 647 unittest.expect(o.kind, unittest.equals('foo')); |
648 unittest.expect(o.selfLink, unittest.equals('foo')); | 648 unittest.expect(o.selfLink, unittest.equals('foo')); |
649 } | 649 } |
650 buildCounterAppList--; | 650 buildCounterAppList--; |
651 } | 651 } |
652 | 652 |
653 core.int buildCounterChange = 0; | 653 core.int buildCounterChange = 0; |
654 buildChange() { | 654 buildChange() { |
655 var o = new api.Change(); | 655 var o = new api.Change(); |
656 buildCounterChange++; | 656 buildCounterChange++; |
(...skipping 23 matching lines...) Expand all Loading... |
680 unittest.expect(o.kind, unittest.equals('foo')); | 680 unittest.expect(o.kind, unittest.equals('foo')); |
681 unittest.expect(o.modificationDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 681 unittest.expect(o.modificationDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
682 unittest.expect(o.selfLink, unittest.equals('foo')); | 682 unittest.expect(o.selfLink, unittest.equals('foo')); |
683 checkTeamDrive(o.teamDrive); | 683 checkTeamDrive(o.teamDrive); |
684 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 684 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
685 unittest.expect(o.type, unittest.equals('foo')); | 685 unittest.expect(o.type, unittest.equals('foo')); |
686 } | 686 } |
687 buildCounterChange--; | 687 buildCounterChange--; |
688 } | 688 } |
689 | 689 |
690 buildUnnamed705() { | 690 buildUnnamed722() { |
691 var o = new core.List<api.Change>(); | 691 var o = new core.List<api.Change>(); |
692 o.add(buildChange()); | 692 o.add(buildChange()); |
693 o.add(buildChange()); | 693 o.add(buildChange()); |
694 return o; | 694 return o; |
695 } | 695 } |
696 | 696 |
697 checkUnnamed705(core.List<api.Change> o) { | 697 checkUnnamed722(core.List<api.Change> o) { |
698 unittest.expect(o, unittest.hasLength(2)); | 698 unittest.expect(o, unittest.hasLength(2)); |
699 checkChange(o[0]); | 699 checkChange(o[0]); |
700 checkChange(o[1]); | 700 checkChange(o[1]); |
701 } | 701 } |
702 | 702 |
703 core.int buildCounterChangeList = 0; | 703 core.int buildCounterChangeList = 0; |
704 buildChangeList() { | 704 buildChangeList() { |
705 var o = new api.ChangeList(); | 705 var o = new api.ChangeList(); |
706 buildCounterChangeList++; | 706 buildCounterChangeList++; |
707 if (buildCounterChangeList < 3) { | 707 if (buildCounterChangeList < 3) { |
708 o.etag = "foo"; | 708 o.etag = "foo"; |
709 o.items = buildUnnamed705(); | 709 o.items = buildUnnamed722(); |
710 o.kind = "foo"; | 710 o.kind = "foo"; |
711 o.largestChangeId = "foo"; | 711 o.largestChangeId = "foo"; |
712 o.newStartPageToken = "foo"; | 712 o.newStartPageToken = "foo"; |
713 o.nextLink = "foo"; | 713 o.nextLink = "foo"; |
714 o.nextPageToken = "foo"; | 714 o.nextPageToken = "foo"; |
715 o.selfLink = "foo"; | 715 o.selfLink = "foo"; |
716 } | 716 } |
717 buildCounterChangeList--; | 717 buildCounterChangeList--; |
718 return o; | 718 return o; |
719 } | 719 } |
720 | 720 |
721 checkChangeList(api.ChangeList o) { | 721 checkChangeList(api.ChangeList o) { |
722 buildCounterChangeList++; | 722 buildCounterChangeList++; |
723 if (buildCounterChangeList < 3) { | 723 if (buildCounterChangeList < 3) { |
724 unittest.expect(o.etag, unittest.equals('foo')); | 724 unittest.expect(o.etag, unittest.equals('foo')); |
725 checkUnnamed705(o.items); | 725 checkUnnamed722(o.items); |
726 unittest.expect(o.kind, unittest.equals('foo')); | 726 unittest.expect(o.kind, unittest.equals('foo')); |
727 unittest.expect(o.largestChangeId, unittest.equals('foo')); | 727 unittest.expect(o.largestChangeId, unittest.equals('foo')); |
728 unittest.expect(o.newStartPageToken, unittest.equals('foo')); | 728 unittest.expect(o.newStartPageToken, unittest.equals('foo')); |
729 unittest.expect(o.nextLink, unittest.equals('foo')); | 729 unittest.expect(o.nextLink, unittest.equals('foo')); |
730 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 730 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
731 unittest.expect(o.selfLink, unittest.equals('foo')); | 731 unittest.expect(o.selfLink, unittest.equals('foo')); |
732 } | 732 } |
733 buildCounterChangeList--; | 733 buildCounterChangeList--; |
734 } | 734 } |
735 | 735 |
736 buildUnnamed706() { | 736 buildUnnamed723() { |
737 var o = new core.Map<core.String, core.String>(); | 737 var o = new core.Map<core.String, core.String>(); |
738 o["x"] = "foo"; | 738 o["x"] = "foo"; |
739 o["y"] = "foo"; | 739 o["y"] = "foo"; |
740 return o; | 740 return o; |
741 } | 741 } |
742 | 742 |
743 checkUnnamed706(core.Map<core.String, core.String> o) { | 743 checkUnnamed723(core.Map<core.String, core.String> o) { |
744 unittest.expect(o, unittest.hasLength(2)); | 744 unittest.expect(o, unittest.hasLength(2)); |
745 unittest.expect(o["x"], unittest.equals('foo')); | 745 unittest.expect(o["x"], unittest.equals('foo')); |
746 unittest.expect(o["y"], unittest.equals('foo')); | 746 unittest.expect(o["y"], unittest.equals('foo')); |
747 } | 747 } |
748 | 748 |
749 core.int buildCounterChannel = 0; | 749 core.int buildCounterChannel = 0; |
750 buildChannel() { | 750 buildChannel() { |
751 var o = new api.Channel(); | 751 var o = new api.Channel(); |
752 buildCounterChannel++; | 752 buildCounterChannel++; |
753 if (buildCounterChannel < 3) { | 753 if (buildCounterChannel < 3) { |
754 o.address = "foo"; | 754 o.address = "foo"; |
755 o.expiration = "foo"; | 755 o.expiration = "foo"; |
756 o.id = "foo"; | 756 o.id = "foo"; |
757 o.kind = "foo"; | 757 o.kind = "foo"; |
758 o.params = buildUnnamed706(); | 758 o.params = buildUnnamed723(); |
759 o.payload = true; | 759 o.payload = true; |
760 o.resourceId = "foo"; | 760 o.resourceId = "foo"; |
761 o.resourceUri = "foo"; | 761 o.resourceUri = "foo"; |
762 o.token = "foo"; | 762 o.token = "foo"; |
763 o.type = "foo"; | 763 o.type = "foo"; |
764 } | 764 } |
765 buildCounterChannel--; | 765 buildCounterChannel--; |
766 return o; | 766 return o; |
767 } | 767 } |
768 | 768 |
769 checkChannel(api.Channel o) { | 769 checkChannel(api.Channel o) { |
770 buildCounterChannel++; | 770 buildCounterChannel++; |
771 if (buildCounterChannel < 3) { | 771 if (buildCounterChannel < 3) { |
772 unittest.expect(o.address, unittest.equals('foo')); | 772 unittest.expect(o.address, unittest.equals('foo')); |
773 unittest.expect(o.expiration, unittest.equals('foo')); | 773 unittest.expect(o.expiration, unittest.equals('foo')); |
774 unittest.expect(o.id, unittest.equals('foo')); | 774 unittest.expect(o.id, unittest.equals('foo')); |
775 unittest.expect(o.kind, unittest.equals('foo')); | 775 unittest.expect(o.kind, unittest.equals('foo')); |
776 checkUnnamed706(o.params); | 776 checkUnnamed723(o.params); |
777 unittest.expect(o.payload, unittest.isTrue); | 777 unittest.expect(o.payload, unittest.isTrue); |
778 unittest.expect(o.resourceId, unittest.equals('foo')); | 778 unittest.expect(o.resourceId, unittest.equals('foo')); |
779 unittest.expect(o.resourceUri, unittest.equals('foo')); | 779 unittest.expect(o.resourceUri, unittest.equals('foo')); |
780 unittest.expect(o.token, unittest.equals('foo')); | 780 unittest.expect(o.token, unittest.equals('foo')); |
781 unittest.expect(o.type, unittest.equals('foo')); | 781 unittest.expect(o.type, unittest.equals('foo')); |
782 } | 782 } |
783 buildCounterChannel--; | 783 buildCounterChannel--; |
784 } | 784 } |
785 | 785 |
786 buildUnnamed707() { | 786 buildUnnamed724() { |
787 var o = new core.List<api.ChildReference>(); | 787 var o = new core.List<api.ChildReference>(); |
788 o.add(buildChildReference()); | 788 o.add(buildChildReference()); |
789 o.add(buildChildReference()); | 789 o.add(buildChildReference()); |
790 return o; | 790 return o; |
791 } | 791 } |
792 | 792 |
793 checkUnnamed707(core.List<api.ChildReference> o) { | 793 checkUnnamed724(core.List<api.ChildReference> o) { |
794 unittest.expect(o, unittest.hasLength(2)); | 794 unittest.expect(o, unittest.hasLength(2)); |
795 checkChildReference(o[0]); | 795 checkChildReference(o[0]); |
796 checkChildReference(o[1]); | 796 checkChildReference(o[1]); |
797 } | 797 } |
798 | 798 |
799 core.int buildCounterChildList = 0; | 799 core.int buildCounterChildList = 0; |
800 buildChildList() { | 800 buildChildList() { |
801 var o = new api.ChildList(); | 801 var o = new api.ChildList(); |
802 buildCounterChildList++; | 802 buildCounterChildList++; |
803 if (buildCounterChildList < 3) { | 803 if (buildCounterChildList < 3) { |
804 o.etag = "foo"; | 804 o.etag = "foo"; |
805 o.items = buildUnnamed707(); | 805 o.items = buildUnnamed724(); |
806 o.kind = "foo"; | 806 o.kind = "foo"; |
807 o.nextLink = "foo"; | 807 o.nextLink = "foo"; |
808 o.nextPageToken = "foo"; | 808 o.nextPageToken = "foo"; |
809 o.selfLink = "foo"; | 809 o.selfLink = "foo"; |
810 } | 810 } |
811 buildCounterChildList--; | 811 buildCounterChildList--; |
812 return o; | 812 return o; |
813 } | 813 } |
814 | 814 |
815 checkChildList(api.ChildList o) { | 815 checkChildList(api.ChildList o) { |
816 buildCounterChildList++; | 816 buildCounterChildList++; |
817 if (buildCounterChildList < 3) { | 817 if (buildCounterChildList < 3) { |
818 unittest.expect(o.etag, unittest.equals('foo')); | 818 unittest.expect(o.etag, unittest.equals('foo')); |
819 checkUnnamed707(o.items); | 819 checkUnnamed724(o.items); |
820 unittest.expect(o.kind, unittest.equals('foo')); | 820 unittest.expect(o.kind, unittest.equals('foo')); |
821 unittest.expect(o.nextLink, unittest.equals('foo')); | 821 unittest.expect(o.nextLink, unittest.equals('foo')); |
822 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 822 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
823 unittest.expect(o.selfLink, unittest.equals('foo')); | 823 unittest.expect(o.selfLink, unittest.equals('foo')); |
824 } | 824 } |
825 buildCounterChildList--; | 825 buildCounterChildList--; |
826 } | 826 } |
827 | 827 |
828 core.int buildCounterChildReference = 0; | 828 core.int buildCounterChildReference = 0; |
829 buildChildReference() { | 829 buildChildReference() { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 | 864 |
865 checkCommentContext(api.CommentContext o) { | 865 checkCommentContext(api.CommentContext o) { |
866 buildCounterCommentContext++; | 866 buildCounterCommentContext++; |
867 if (buildCounterCommentContext < 3) { | 867 if (buildCounterCommentContext < 3) { |
868 unittest.expect(o.type, unittest.equals('foo')); | 868 unittest.expect(o.type, unittest.equals('foo')); |
869 unittest.expect(o.value, unittest.equals('foo')); | 869 unittest.expect(o.value, unittest.equals('foo')); |
870 } | 870 } |
871 buildCounterCommentContext--; | 871 buildCounterCommentContext--; |
872 } | 872 } |
873 | 873 |
874 buildUnnamed708() { | 874 buildUnnamed725() { |
875 var o = new core.List<api.CommentReply>(); | 875 var o = new core.List<api.CommentReply>(); |
876 o.add(buildCommentReply()); | 876 o.add(buildCommentReply()); |
877 o.add(buildCommentReply()); | 877 o.add(buildCommentReply()); |
878 return o; | 878 return o; |
879 } | 879 } |
880 | 880 |
881 checkUnnamed708(core.List<api.CommentReply> o) { | 881 checkUnnamed725(core.List<api.CommentReply> o) { |
882 unittest.expect(o, unittest.hasLength(2)); | 882 unittest.expect(o, unittest.hasLength(2)); |
883 checkCommentReply(o[0]); | 883 checkCommentReply(o[0]); |
884 checkCommentReply(o[1]); | 884 checkCommentReply(o[1]); |
885 } | 885 } |
886 | 886 |
887 core.int buildCounterComment = 0; | 887 core.int buildCounterComment = 0; |
888 buildComment() { | 888 buildComment() { |
889 var o = new api.Comment(); | 889 var o = new api.Comment(); |
890 buildCounterComment++; | 890 buildCounterComment++; |
891 if (buildCounterComment < 3) { | 891 if (buildCounterComment < 3) { |
892 o.anchor = "foo"; | 892 o.anchor = "foo"; |
893 o.author = buildUser(); | 893 o.author = buildUser(); |
894 o.commentId = "foo"; | 894 o.commentId = "foo"; |
895 o.content = "foo"; | 895 o.content = "foo"; |
896 o.context = buildCommentContext(); | 896 o.context = buildCommentContext(); |
897 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); | 897 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); |
898 o.deleted = true; | 898 o.deleted = true; |
899 o.fileId = "foo"; | 899 o.fileId = "foo"; |
900 o.fileTitle = "foo"; | 900 o.fileTitle = "foo"; |
901 o.htmlContent = "foo"; | 901 o.htmlContent = "foo"; |
902 o.kind = "foo"; | 902 o.kind = "foo"; |
903 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 903 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
904 o.replies = buildUnnamed708(); | 904 o.replies = buildUnnamed725(); |
905 o.selfLink = "foo"; | 905 o.selfLink = "foo"; |
906 o.status = "foo"; | 906 o.status = "foo"; |
907 } | 907 } |
908 buildCounterComment--; | 908 buildCounterComment--; |
909 return o; | 909 return o; |
910 } | 910 } |
911 | 911 |
912 checkComment(api.Comment o) { | 912 checkComment(api.Comment o) { |
913 buildCounterComment++; | 913 buildCounterComment++; |
914 if (buildCounterComment < 3) { | 914 if (buildCounterComment < 3) { |
915 unittest.expect(o.anchor, unittest.equals('foo')); | 915 unittest.expect(o.anchor, unittest.equals('foo')); |
916 checkUser(o.author); | 916 checkUser(o.author); |
917 unittest.expect(o.commentId, unittest.equals('foo')); | 917 unittest.expect(o.commentId, unittest.equals('foo')); |
918 unittest.expect(o.content, unittest.equals('foo')); | 918 unittest.expect(o.content, unittest.equals('foo')); |
919 checkCommentContext(o.context); | 919 checkCommentContext(o.context); |
920 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 920 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
921 unittest.expect(o.deleted, unittest.isTrue); | 921 unittest.expect(o.deleted, unittest.isTrue); |
922 unittest.expect(o.fileId, unittest.equals('foo')); | 922 unittest.expect(o.fileId, unittest.equals('foo')); |
923 unittest.expect(o.fileTitle, unittest.equals('foo')); | 923 unittest.expect(o.fileTitle, unittest.equals('foo')); |
924 unittest.expect(o.htmlContent, unittest.equals('foo')); | 924 unittest.expect(o.htmlContent, unittest.equals('foo')); |
925 unittest.expect(o.kind, unittest.equals('foo')); | 925 unittest.expect(o.kind, unittest.equals('foo')); |
926 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 926 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
927 checkUnnamed708(o.replies); | 927 checkUnnamed725(o.replies); |
928 unittest.expect(o.selfLink, unittest.equals('foo')); | 928 unittest.expect(o.selfLink, unittest.equals('foo')); |
929 unittest.expect(o.status, unittest.equals('foo')); | 929 unittest.expect(o.status, unittest.equals('foo')); |
930 } | 930 } |
931 buildCounterComment--; | 931 buildCounterComment--; |
932 } | 932 } |
933 | 933 |
934 buildUnnamed709() { | 934 buildUnnamed726() { |
935 var o = new core.List<api.Comment>(); | 935 var o = new core.List<api.Comment>(); |
936 o.add(buildComment()); | 936 o.add(buildComment()); |
937 o.add(buildComment()); | 937 o.add(buildComment()); |
938 return o; | 938 return o; |
939 } | 939 } |
940 | 940 |
941 checkUnnamed709(core.List<api.Comment> o) { | 941 checkUnnamed726(core.List<api.Comment> o) { |
942 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
943 checkComment(o[0]); | 943 checkComment(o[0]); |
944 checkComment(o[1]); | 944 checkComment(o[1]); |
945 } | 945 } |
946 | 946 |
947 core.int buildCounterCommentList = 0; | 947 core.int buildCounterCommentList = 0; |
948 buildCommentList() { | 948 buildCommentList() { |
949 var o = new api.CommentList(); | 949 var o = new api.CommentList(); |
950 buildCounterCommentList++; | 950 buildCounterCommentList++; |
951 if (buildCounterCommentList < 3) { | 951 if (buildCounterCommentList < 3) { |
952 o.items = buildUnnamed709(); | 952 o.items = buildUnnamed726(); |
953 o.kind = "foo"; | 953 o.kind = "foo"; |
954 o.nextLink = "foo"; | 954 o.nextLink = "foo"; |
955 o.nextPageToken = "foo"; | 955 o.nextPageToken = "foo"; |
956 o.selfLink = "foo"; | 956 o.selfLink = "foo"; |
957 } | 957 } |
958 buildCounterCommentList--; | 958 buildCounterCommentList--; |
959 return o; | 959 return o; |
960 } | 960 } |
961 | 961 |
962 checkCommentList(api.CommentList o) { | 962 checkCommentList(api.CommentList o) { |
963 buildCounterCommentList++; | 963 buildCounterCommentList++; |
964 if (buildCounterCommentList < 3) { | 964 if (buildCounterCommentList < 3) { |
965 checkUnnamed709(o.items); | 965 checkUnnamed726(o.items); |
966 unittest.expect(o.kind, unittest.equals('foo')); | 966 unittest.expect(o.kind, unittest.equals('foo')); |
967 unittest.expect(o.nextLink, unittest.equals('foo')); | 967 unittest.expect(o.nextLink, unittest.equals('foo')); |
968 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 968 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
969 unittest.expect(o.selfLink, unittest.equals('foo')); | 969 unittest.expect(o.selfLink, unittest.equals('foo')); |
970 } | 970 } |
971 buildCounterCommentList--; | 971 buildCounterCommentList--; |
972 } | 972 } |
973 | 973 |
974 core.int buildCounterCommentReply = 0; | 974 core.int buildCounterCommentReply = 0; |
975 buildCommentReply() { | 975 buildCommentReply() { |
(...skipping 23 matching lines...) Expand all Loading... |
999 unittest.expect(o.deleted, unittest.isTrue); | 999 unittest.expect(o.deleted, unittest.isTrue); |
1000 unittest.expect(o.htmlContent, unittest.equals('foo')); | 1000 unittest.expect(o.htmlContent, unittest.equals('foo')); |
1001 unittest.expect(o.kind, unittest.equals('foo')); | 1001 unittest.expect(o.kind, unittest.equals('foo')); |
1002 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1002 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1003 unittest.expect(o.replyId, unittest.equals('foo')); | 1003 unittest.expect(o.replyId, unittest.equals('foo')); |
1004 unittest.expect(o.verb, unittest.equals('foo')); | 1004 unittest.expect(o.verb, unittest.equals('foo')); |
1005 } | 1005 } |
1006 buildCounterCommentReply--; | 1006 buildCounterCommentReply--; |
1007 } | 1007 } |
1008 | 1008 |
1009 buildUnnamed710() { | 1009 buildUnnamed727() { |
1010 var o = new core.List<api.CommentReply>(); | 1010 var o = new core.List<api.CommentReply>(); |
1011 o.add(buildCommentReply()); | 1011 o.add(buildCommentReply()); |
1012 o.add(buildCommentReply()); | 1012 o.add(buildCommentReply()); |
1013 return o; | 1013 return o; |
1014 } | 1014 } |
1015 | 1015 |
1016 checkUnnamed710(core.List<api.CommentReply> o) { | 1016 checkUnnamed727(core.List<api.CommentReply> o) { |
1017 unittest.expect(o, unittest.hasLength(2)); | 1017 unittest.expect(o, unittest.hasLength(2)); |
1018 checkCommentReply(o[0]); | 1018 checkCommentReply(o[0]); |
1019 checkCommentReply(o[1]); | 1019 checkCommentReply(o[1]); |
1020 } | 1020 } |
1021 | 1021 |
1022 core.int buildCounterCommentReplyList = 0; | 1022 core.int buildCounterCommentReplyList = 0; |
1023 buildCommentReplyList() { | 1023 buildCommentReplyList() { |
1024 var o = new api.CommentReplyList(); | 1024 var o = new api.CommentReplyList(); |
1025 buildCounterCommentReplyList++; | 1025 buildCounterCommentReplyList++; |
1026 if (buildCounterCommentReplyList < 3) { | 1026 if (buildCounterCommentReplyList < 3) { |
1027 o.items = buildUnnamed710(); | 1027 o.items = buildUnnamed727(); |
1028 o.kind = "foo"; | 1028 o.kind = "foo"; |
1029 o.nextLink = "foo"; | 1029 o.nextLink = "foo"; |
1030 o.nextPageToken = "foo"; | 1030 o.nextPageToken = "foo"; |
1031 o.selfLink = "foo"; | 1031 o.selfLink = "foo"; |
1032 } | 1032 } |
1033 buildCounterCommentReplyList--; | 1033 buildCounterCommentReplyList--; |
1034 return o; | 1034 return o; |
1035 } | 1035 } |
1036 | 1036 |
1037 checkCommentReplyList(api.CommentReplyList o) { | 1037 checkCommentReplyList(api.CommentReplyList o) { |
1038 buildCounterCommentReplyList++; | 1038 buildCounterCommentReplyList++; |
1039 if (buildCounterCommentReplyList < 3) { | 1039 if (buildCounterCommentReplyList < 3) { |
1040 checkUnnamed710(o.items); | 1040 checkUnnamed727(o.items); |
1041 unittest.expect(o.kind, unittest.equals('foo')); | 1041 unittest.expect(o.kind, unittest.equals('foo')); |
1042 unittest.expect(o.nextLink, unittest.equals('foo')); | 1042 unittest.expect(o.nextLink, unittest.equals('foo')); |
1043 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1043 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1044 unittest.expect(o.selfLink, unittest.equals('foo')); | 1044 unittest.expect(o.selfLink, unittest.equals('foo')); |
1045 } | 1045 } |
1046 buildCounterCommentReplyList--; | 1046 buildCounterCommentReplyList--; |
1047 } | 1047 } |
1048 | 1048 |
1049 core.int buildCounterFileCapabilities = 0; | 1049 core.int buildCounterFileCapabilities = 0; |
1050 buildFileCapabilities() { | 1050 buildFileCapabilities() { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 unittest.expect(o.canReadTeamDrive, unittest.isTrue); | 1090 unittest.expect(o.canReadTeamDrive, unittest.isTrue); |
1091 unittest.expect(o.canRemoveChildren, unittest.isTrue); | 1091 unittest.expect(o.canRemoveChildren, unittest.isTrue); |
1092 unittest.expect(o.canRename, unittest.isTrue); | 1092 unittest.expect(o.canRename, unittest.isTrue); |
1093 unittest.expect(o.canShare, unittest.isTrue); | 1093 unittest.expect(o.canShare, unittest.isTrue); |
1094 unittest.expect(o.canTrash, unittest.isTrue); | 1094 unittest.expect(o.canTrash, unittest.isTrue); |
1095 unittest.expect(o.canUntrash, unittest.isTrue); | 1095 unittest.expect(o.canUntrash, unittest.isTrue); |
1096 } | 1096 } |
1097 buildCounterFileCapabilities--; | 1097 buildCounterFileCapabilities--; |
1098 } | 1098 } |
1099 | 1099 |
1100 buildUnnamed711() { | 1100 buildUnnamed728() { |
1101 var o = new core.Map<core.String, core.String>(); | 1101 var o = new core.Map<core.String, core.String>(); |
1102 o["x"] = "foo"; | 1102 o["x"] = "foo"; |
1103 o["y"] = "foo"; | 1103 o["y"] = "foo"; |
1104 return o; | 1104 return o; |
1105 } | 1105 } |
1106 | 1106 |
1107 checkUnnamed711(core.Map<core.String, core.String> o) { | 1107 checkUnnamed728(core.Map<core.String, core.String> o) { |
1108 unittest.expect(o, unittest.hasLength(2)); | 1108 unittest.expect(o, unittest.hasLength(2)); |
1109 unittest.expect(o["x"], unittest.equals('foo')); | 1109 unittest.expect(o["x"], unittest.equals('foo')); |
1110 unittest.expect(o["y"], unittest.equals('foo')); | 1110 unittest.expect(o["y"], unittest.equals('foo')); |
1111 } | 1111 } |
1112 | 1112 |
1113 core.int buildCounterFileImageMediaMetadataLocation = 0; | 1113 core.int buildCounterFileImageMediaMetadataLocation = 0; |
1114 buildFileImageMediaMetadataLocation() { | 1114 buildFileImageMediaMetadataLocation() { |
1115 var o = new api.FileImageMediaMetadataLocation(); | 1115 var o = new api.FileImageMediaMetadataLocation(); |
1116 buildCounterFileImageMediaMetadataLocation++; | 1116 buildCounterFileImageMediaMetadataLocation++; |
1117 if (buildCounterFileImageMediaMetadataLocation < 3) { | 1117 if (buildCounterFileImageMediaMetadataLocation < 3) { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 unittest.expect(o.hidden, unittest.isTrue); | 1233 unittest.expect(o.hidden, unittest.isTrue); |
1234 unittest.expect(o.modified, unittest.isTrue); | 1234 unittest.expect(o.modified, unittest.isTrue); |
1235 unittest.expect(o.restricted, unittest.isTrue); | 1235 unittest.expect(o.restricted, unittest.isTrue); |
1236 unittest.expect(o.starred, unittest.isTrue); | 1236 unittest.expect(o.starred, unittest.isTrue); |
1237 unittest.expect(o.trashed, unittest.isTrue); | 1237 unittest.expect(o.trashed, unittest.isTrue); |
1238 unittest.expect(o.viewed, unittest.isTrue); | 1238 unittest.expect(o.viewed, unittest.isTrue); |
1239 } | 1239 } |
1240 buildCounterFileLabels--; | 1240 buildCounterFileLabels--; |
1241 } | 1241 } |
1242 | 1242 |
1243 buildUnnamed712() { | 1243 buildUnnamed729() { |
1244 var o = new core.Map<core.String, core.String>(); | 1244 var o = new core.Map<core.String, core.String>(); |
1245 o["x"] = "foo"; | 1245 o["x"] = "foo"; |
1246 o["y"] = "foo"; | 1246 o["y"] = "foo"; |
1247 return o; | 1247 return o; |
1248 } | 1248 } |
1249 | 1249 |
1250 checkUnnamed712(core.Map<core.String, core.String> o) { | 1250 checkUnnamed729(core.Map<core.String, core.String> o) { |
1251 unittest.expect(o, unittest.hasLength(2)); | 1251 unittest.expect(o, unittest.hasLength(2)); |
1252 unittest.expect(o["x"], unittest.equals('foo')); | 1252 unittest.expect(o["x"], unittest.equals('foo')); |
1253 unittest.expect(o["y"], unittest.equals('foo')); | 1253 unittest.expect(o["y"], unittest.equals('foo')); |
1254 } | 1254 } |
1255 | 1255 |
1256 buildUnnamed713() { | 1256 buildUnnamed730() { |
1257 var o = new core.List<core.String>(); | 1257 var o = new core.List<core.String>(); |
1258 o.add("foo"); | 1258 o.add("foo"); |
1259 o.add("foo"); | 1259 o.add("foo"); |
1260 return o; | 1260 return o; |
1261 } | 1261 } |
1262 | 1262 |
1263 checkUnnamed713(core.List<core.String> o) { | 1263 checkUnnamed730(core.List<core.String> o) { |
1264 unittest.expect(o, unittest.hasLength(2)); | 1264 unittest.expect(o, unittest.hasLength(2)); |
1265 unittest.expect(o[0], unittest.equals('foo')); | 1265 unittest.expect(o[0], unittest.equals('foo')); |
1266 unittest.expect(o[1], unittest.equals('foo')); | 1266 unittest.expect(o[1], unittest.equals('foo')); |
1267 } | 1267 } |
1268 | 1268 |
1269 buildUnnamed714() { | 1269 buildUnnamed731() { |
1270 var o = new core.List<api.User>(); | 1270 var o = new core.List<api.User>(); |
1271 o.add(buildUser()); | 1271 o.add(buildUser()); |
1272 o.add(buildUser()); | 1272 o.add(buildUser()); |
1273 return o; | 1273 return o; |
1274 } | 1274 } |
1275 | 1275 |
1276 checkUnnamed714(core.List<api.User> o) { | 1276 checkUnnamed731(core.List<api.User> o) { |
1277 unittest.expect(o, unittest.hasLength(2)); | 1277 unittest.expect(o, unittest.hasLength(2)); |
1278 checkUser(o[0]); | 1278 checkUser(o[0]); |
1279 checkUser(o[1]); | 1279 checkUser(o[1]); |
1280 } | 1280 } |
1281 | 1281 |
1282 buildUnnamed715() { | 1282 buildUnnamed732() { |
1283 var o = new core.List<api.ParentReference>(); | 1283 var o = new core.List<api.ParentReference>(); |
1284 o.add(buildParentReference()); | 1284 o.add(buildParentReference()); |
1285 o.add(buildParentReference()); | 1285 o.add(buildParentReference()); |
1286 return o; | 1286 return o; |
1287 } | 1287 } |
1288 | 1288 |
1289 checkUnnamed715(core.List<api.ParentReference> o) { | 1289 checkUnnamed732(core.List<api.ParentReference> o) { |
1290 unittest.expect(o, unittest.hasLength(2)); | 1290 unittest.expect(o, unittest.hasLength(2)); |
1291 checkParentReference(o[0]); | 1291 checkParentReference(o[0]); |
1292 checkParentReference(o[1]); | 1292 checkParentReference(o[1]); |
1293 } | 1293 } |
1294 | 1294 |
1295 buildUnnamed716() { | 1295 buildUnnamed733() { |
1296 var o = new core.List<api.Permission>(); | 1296 var o = new core.List<api.Permission>(); |
1297 o.add(buildPermission()); | 1297 o.add(buildPermission()); |
1298 o.add(buildPermission()); | 1298 o.add(buildPermission()); |
1299 return o; | 1299 return o; |
1300 } | 1300 } |
1301 | 1301 |
1302 checkUnnamed716(core.List<api.Permission> o) { | 1302 checkUnnamed733(core.List<api.Permission> o) { |
1303 unittest.expect(o, unittest.hasLength(2)); | 1303 unittest.expect(o, unittest.hasLength(2)); |
1304 checkPermission(o[0]); | 1304 checkPermission(o[0]); |
1305 checkPermission(o[1]); | 1305 checkPermission(o[1]); |
1306 } | 1306 } |
1307 | 1307 |
1308 buildUnnamed717() { | 1308 buildUnnamed734() { |
1309 var o = new core.List<api.Property>(); | 1309 var o = new core.List<api.Property>(); |
1310 o.add(buildProperty()); | 1310 o.add(buildProperty()); |
1311 o.add(buildProperty()); | 1311 o.add(buildProperty()); |
1312 return o; | 1312 return o; |
1313 } | 1313 } |
1314 | 1314 |
1315 checkUnnamed717(core.List<api.Property> o) { | 1315 checkUnnamed734(core.List<api.Property> o) { |
1316 unittest.expect(o, unittest.hasLength(2)); | 1316 unittest.expect(o, unittest.hasLength(2)); |
1317 checkProperty(o[0]); | 1317 checkProperty(o[0]); |
1318 checkProperty(o[1]); | 1318 checkProperty(o[1]); |
1319 } | 1319 } |
1320 | 1320 |
1321 buildUnnamed718() { | 1321 buildUnnamed735() { |
1322 var o = new core.List<core.String>(); | 1322 var o = new core.List<core.String>(); |
1323 o.add("foo"); | 1323 o.add("foo"); |
1324 o.add("foo"); | 1324 o.add("foo"); |
1325 return o; | 1325 return o; |
1326 } | 1326 } |
1327 | 1327 |
1328 checkUnnamed718(core.List<core.String> o) { | 1328 checkUnnamed735(core.List<core.String> o) { |
1329 unittest.expect(o, unittest.hasLength(2)); | 1329 unittest.expect(o, unittest.hasLength(2)); |
1330 unittest.expect(o[0], unittest.equals('foo')); | 1330 unittest.expect(o[0], unittest.equals('foo')); |
1331 unittest.expect(o[1], unittest.equals('foo')); | 1331 unittest.expect(o[1], unittest.equals('foo')); |
1332 } | 1332 } |
1333 | 1333 |
1334 core.int buildCounterFileThumbnail = 0; | 1334 core.int buildCounterFileThumbnail = 0; |
1335 buildFileThumbnail() { | 1335 buildFileThumbnail() { |
1336 var o = new api.FileThumbnail(); | 1336 var o = new api.FileThumbnail(); |
1337 buildCounterFileThumbnail++; | 1337 buildCounterFileThumbnail++; |
1338 if (buildCounterFileThumbnail < 3) { | 1338 if (buildCounterFileThumbnail < 3) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1387 o.capabilities = buildFileCapabilities(); | 1387 o.capabilities = buildFileCapabilities(); |
1388 o.copyable = true; | 1388 o.copyable = true; |
1389 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1389 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1390 o.defaultOpenWithLink = "foo"; | 1390 o.defaultOpenWithLink = "foo"; |
1391 o.description = "foo"; | 1391 o.description = "foo"; |
1392 o.downloadUrl = "foo"; | 1392 o.downloadUrl = "foo"; |
1393 o.editable = true; | 1393 o.editable = true; |
1394 o.embedLink = "foo"; | 1394 o.embedLink = "foo"; |
1395 o.etag = "foo"; | 1395 o.etag = "foo"; |
1396 o.explicitlyTrashed = true; | 1396 o.explicitlyTrashed = true; |
1397 o.exportLinks = buildUnnamed711(); | 1397 o.exportLinks = buildUnnamed728(); |
1398 o.fileExtension = "foo"; | 1398 o.fileExtension = "foo"; |
1399 o.fileSize = "foo"; | 1399 o.fileSize = "foo"; |
1400 o.folderColorRgb = "foo"; | 1400 o.folderColorRgb = "foo"; |
1401 o.fullFileExtension = "foo"; | 1401 o.fullFileExtension = "foo"; |
1402 o.hasAugmentedPermissions = true; | 1402 o.hasAugmentedPermissions = true; |
1403 o.hasThumbnail = true; | 1403 o.hasThumbnail = true; |
1404 o.headRevisionId = "foo"; | 1404 o.headRevisionId = "foo"; |
1405 o.iconLink = "foo"; | 1405 o.iconLink = "foo"; |
1406 o.id = "foo"; | 1406 o.id = "foo"; |
1407 o.imageMediaMetadata = buildFileImageMediaMetadata(); | 1407 o.imageMediaMetadata = buildFileImageMediaMetadata(); |
1408 o.indexableText = buildFileIndexableText(); | 1408 o.indexableText = buildFileIndexableText(); |
1409 o.isAppAuthorized = true; | 1409 o.isAppAuthorized = true; |
1410 o.kind = "foo"; | 1410 o.kind = "foo"; |
1411 o.labels = buildFileLabels(); | 1411 o.labels = buildFileLabels(); |
1412 o.lastModifyingUser = buildUser(); | 1412 o.lastModifyingUser = buildUser(); |
1413 o.lastModifyingUserName = "foo"; | 1413 o.lastModifyingUserName = "foo"; |
1414 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1414 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1415 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1415 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1416 o.md5Checksum = "foo"; | 1416 o.md5Checksum = "foo"; |
1417 o.mimeType = "foo"; | 1417 o.mimeType = "foo"; |
1418 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1418 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1419 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1419 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1420 o.openWithLinks = buildUnnamed712(); | 1420 o.openWithLinks = buildUnnamed729(); |
1421 o.originalFilename = "foo"; | 1421 o.originalFilename = "foo"; |
1422 o.ownedByMe = true; | 1422 o.ownedByMe = true; |
1423 o.ownerNames = buildUnnamed713(); | 1423 o.ownerNames = buildUnnamed730(); |
1424 o.owners = buildUnnamed714(); | 1424 o.owners = buildUnnamed731(); |
1425 o.parents = buildUnnamed715(); | 1425 o.parents = buildUnnamed732(); |
1426 o.permissions = buildUnnamed716(); | 1426 o.permissions = buildUnnamed733(); |
1427 o.properties = buildUnnamed717(); | 1427 o.properties = buildUnnamed734(); |
1428 o.quotaBytesUsed = "foo"; | 1428 o.quotaBytesUsed = "foo"; |
1429 o.selfLink = "foo"; | 1429 o.selfLink = "foo"; |
1430 o.shareable = true; | 1430 o.shareable = true; |
1431 o.shared = true; | 1431 o.shared = true; |
1432 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1432 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1433 o.sharingUser = buildUser(); | 1433 o.sharingUser = buildUser(); |
1434 o.spaces = buildUnnamed718(); | 1434 o.spaces = buildUnnamed735(); |
1435 o.teamDriveId = "foo"; | 1435 o.teamDriveId = "foo"; |
1436 o.thumbnail = buildFileThumbnail(); | 1436 o.thumbnail = buildFileThumbnail(); |
1437 o.thumbnailLink = "foo"; | 1437 o.thumbnailLink = "foo"; |
1438 o.thumbnailVersion = "foo"; | 1438 o.thumbnailVersion = "foo"; |
1439 o.title = "foo"; | 1439 o.title = "foo"; |
1440 o.trashedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1440 o.trashedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1441 o.trashingUser = buildUser(); | 1441 o.trashingUser = buildUser(); |
1442 o.userPermission = buildPermission(); | 1442 o.userPermission = buildPermission(); |
1443 o.version = "foo"; | 1443 o.version = "foo"; |
1444 o.videoMediaMetadata = buildFileVideoMediaMetadata(); | 1444 o.videoMediaMetadata = buildFileVideoMediaMetadata(); |
(...skipping 15 matching lines...) Expand all Loading... |
1460 checkFileCapabilities(o.capabilities); | 1460 checkFileCapabilities(o.capabilities); |
1461 unittest.expect(o.copyable, unittest.isTrue); | 1461 unittest.expect(o.copyable, unittest.isTrue); |
1462 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1462 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
1463 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); | 1463 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); |
1464 unittest.expect(o.description, unittest.equals('foo')); | 1464 unittest.expect(o.description, unittest.equals('foo')); |
1465 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1465 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
1466 unittest.expect(o.editable, unittest.isTrue); | 1466 unittest.expect(o.editable, unittest.isTrue); |
1467 unittest.expect(o.embedLink, unittest.equals('foo')); | 1467 unittest.expect(o.embedLink, unittest.equals('foo')); |
1468 unittest.expect(o.etag, unittest.equals('foo')); | 1468 unittest.expect(o.etag, unittest.equals('foo')); |
1469 unittest.expect(o.explicitlyTrashed, unittest.isTrue); | 1469 unittest.expect(o.explicitlyTrashed, unittest.isTrue); |
1470 checkUnnamed711(o.exportLinks); | 1470 checkUnnamed728(o.exportLinks); |
1471 unittest.expect(o.fileExtension, unittest.equals('foo')); | 1471 unittest.expect(o.fileExtension, unittest.equals('foo')); |
1472 unittest.expect(o.fileSize, unittest.equals('foo')); | 1472 unittest.expect(o.fileSize, unittest.equals('foo')); |
1473 unittest.expect(o.folderColorRgb, unittest.equals('foo')); | 1473 unittest.expect(o.folderColorRgb, unittest.equals('foo')); |
1474 unittest.expect(o.fullFileExtension, unittest.equals('foo')); | 1474 unittest.expect(o.fullFileExtension, unittest.equals('foo')); |
1475 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); | 1475 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); |
1476 unittest.expect(o.hasThumbnail, unittest.isTrue); | 1476 unittest.expect(o.hasThumbnail, unittest.isTrue); |
1477 unittest.expect(o.headRevisionId, unittest.equals('foo')); | 1477 unittest.expect(o.headRevisionId, unittest.equals('foo')); |
1478 unittest.expect(o.iconLink, unittest.equals('foo')); | 1478 unittest.expect(o.iconLink, unittest.equals('foo')); |
1479 unittest.expect(o.id, unittest.equals('foo')); | 1479 unittest.expect(o.id, unittest.equals('foo')); |
1480 checkFileImageMediaMetadata(o.imageMediaMetadata); | 1480 checkFileImageMediaMetadata(o.imageMediaMetadata); |
1481 checkFileIndexableText(o.indexableText); | 1481 checkFileIndexableText(o.indexableText); |
1482 unittest.expect(o.isAppAuthorized, unittest.isTrue); | 1482 unittest.expect(o.isAppAuthorized, unittest.isTrue); |
1483 unittest.expect(o.kind, unittest.equals('foo')); | 1483 unittest.expect(o.kind, unittest.equals('foo')); |
1484 checkFileLabels(o.labels); | 1484 checkFileLabels(o.labels); |
1485 checkUser(o.lastModifyingUser); | 1485 checkUser(o.lastModifyingUser); |
1486 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); | 1486 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); |
1487 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1487 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
1488 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse(
"2002-02-27T14:01:02"))); | 1488 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse(
"2002-02-27T14:01:02"))); |
1489 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1489 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
1490 unittest.expect(o.mimeType, unittest.equals('foo')); | 1490 unittest.expect(o.mimeType, unittest.equals('foo')); |
1491 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1491 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1492 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1492 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1493 checkUnnamed712(o.openWithLinks); | 1493 checkUnnamed729(o.openWithLinks); |
1494 unittest.expect(o.originalFilename, unittest.equals('foo')); | 1494 unittest.expect(o.originalFilename, unittest.equals('foo')); |
1495 unittest.expect(o.ownedByMe, unittest.isTrue); | 1495 unittest.expect(o.ownedByMe, unittest.isTrue); |
1496 checkUnnamed713(o.ownerNames); | 1496 checkUnnamed730(o.ownerNames); |
1497 checkUnnamed714(o.owners); | 1497 checkUnnamed731(o.owners); |
1498 checkUnnamed715(o.parents); | 1498 checkUnnamed732(o.parents); |
1499 checkUnnamed716(o.permissions); | 1499 checkUnnamed733(o.permissions); |
1500 checkUnnamed717(o.properties); | 1500 checkUnnamed734(o.properties); |
1501 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); | 1501 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
1502 unittest.expect(o.selfLink, unittest.equals('foo')); | 1502 unittest.expect(o.selfLink, unittest.equals('foo')); |
1503 unittest.expect(o.shareable, unittest.isTrue); | 1503 unittest.expect(o.shareable, unittest.isTrue); |
1504 unittest.expect(o.shared, unittest.isTrue); | 1504 unittest.expect(o.shared, unittest.isTrue); |
1505 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1505 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1506 checkUser(o.sharingUser); | 1506 checkUser(o.sharingUser); |
1507 checkUnnamed718(o.spaces); | 1507 checkUnnamed735(o.spaces); |
1508 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 1508 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
1509 checkFileThumbnail(o.thumbnail); | 1509 checkFileThumbnail(o.thumbnail); |
1510 unittest.expect(o.thumbnailLink, unittest.equals('foo')); | 1510 unittest.expect(o.thumbnailLink, unittest.equals('foo')); |
1511 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); | 1511 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); |
1512 unittest.expect(o.title, unittest.equals('foo')); | 1512 unittest.expect(o.title, unittest.equals('foo')); |
1513 unittest.expect(o.trashedDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1513 unittest.expect(o.trashedDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
1514 checkUser(o.trashingUser); | 1514 checkUser(o.trashingUser); |
1515 checkPermission(o.userPermission); | 1515 checkPermission(o.userPermission); |
1516 unittest.expect(o.version, unittest.equals('foo')); | 1516 unittest.expect(o.version, unittest.equals('foo')); |
1517 checkFileVideoMediaMetadata(o.videoMediaMetadata); | 1517 checkFileVideoMediaMetadata(o.videoMediaMetadata); |
1518 unittest.expect(o.webContentLink, unittest.equals('foo')); | 1518 unittest.expect(o.webContentLink, unittest.equals('foo')); |
1519 unittest.expect(o.webViewLink, unittest.equals('foo')); | 1519 unittest.expect(o.webViewLink, unittest.equals('foo')); |
1520 unittest.expect(o.writersCanShare, unittest.isTrue); | 1520 unittest.expect(o.writersCanShare, unittest.isTrue); |
1521 } | 1521 } |
1522 buildCounterFile--; | 1522 buildCounterFile--; |
1523 } | 1523 } |
1524 | 1524 |
1525 buildUnnamed719() { | 1525 buildUnnamed736() { |
1526 var o = new core.List<api.File>(); | 1526 var o = new core.List<api.File>(); |
1527 o.add(buildFile()); | 1527 o.add(buildFile()); |
1528 o.add(buildFile()); | 1528 o.add(buildFile()); |
1529 return o; | 1529 return o; |
1530 } | 1530 } |
1531 | 1531 |
1532 checkUnnamed719(core.List<api.File> o) { | 1532 checkUnnamed736(core.List<api.File> o) { |
1533 unittest.expect(o, unittest.hasLength(2)); | 1533 unittest.expect(o, unittest.hasLength(2)); |
1534 checkFile(o[0]); | 1534 checkFile(o[0]); |
1535 checkFile(o[1]); | 1535 checkFile(o[1]); |
1536 } | 1536 } |
1537 | 1537 |
1538 core.int buildCounterFileList = 0; | 1538 core.int buildCounterFileList = 0; |
1539 buildFileList() { | 1539 buildFileList() { |
1540 var o = new api.FileList(); | 1540 var o = new api.FileList(); |
1541 buildCounterFileList++; | 1541 buildCounterFileList++; |
1542 if (buildCounterFileList < 3) { | 1542 if (buildCounterFileList < 3) { |
1543 o.etag = "foo"; | 1543 o.etag = "foo"; |
1544 o.incompleteSearch = true; | 1544 o.incompleteSearch = true; |
1545 o.items = buildUnnamed719(); | 1545 o.items = buildUnnamed736(); |
1546 o.kind = "foo"; | 1546 o.kind = "foo"; |
1547 o.nextLink = "foo"; | 1547 o.nextLink = "foo"; |
1548 o.nextPageToken = "foo"; | 1548 o.nextPageToken = "foo"; |
1549 o.selfLink = "foo"; | 1549 o.selfLink = "foo"; |
1550 } | 1550 } |
1551 buildCounterFileList--; | 1551 buildCounterFileList--; |
1552 return o; | 1552 return o; |
1553 } | 1553 } |
1554 | 1554 |
1555 checkFileList(api.FileList o) { | 1555 checkFileList(api.FileList o) { |
1556 buildCounterFileList++; | 1556 buildCounterFileList++; |
1557 if (buildCounterFileList < 3) { | 1557 if (buildCounterFileList < 3) { |
1558 unittest.expect(o.etag, unittest.equals('foo')); | 1558 unittest.expect(o.etag, unittest.equals('foo')); |
1559 unittest.expect(o.incompleteSearch, unittest.isTrue); | 1559 unittest.expect(o.incompleteSearch, unittest.isTrue); |
1560 checkUnnamed719(o.items); | 1560 checkUnnamed736(o.items); |
1561 unittest.expect(o.kind, unittest.equals('foo')); | 1561 unittest.expect(o.kind, unittest.equals('foo')); |
1562 unittest.expect(o.nextLink, unittest.equals('foo')); | 1562 unittest.expect(o.nextLink, unittest.equals('foo')); |
1563 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1563 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1564 unittest.expect(o.selfLink, unittest.equals('foo')); | 1564 unittest.expect(o.selfLink, unittest.equals('foo')); |
1565 } | 1565 } |
1566 buildCounterFileList--; | 1566 buildCounterFileList--; |
1567 } | 1567 } |
1568 | 1568 |
1569 buildUnnamed720() { | 1569 buildUnnamed737() { |
1570 var o = new core.List<core.String>(); | 1570 var o = new core.List<core.String>(); |
1571 o.add("foo"); | 1571 o.add("foo"); |
1572 o.add("foo"); | 1572 o.add("foo"); |
1573 return o; | 1573 return o; |
1574 } | 1574 } |
1575 | 1575 |
1576 checkUnnamed720(core.List<core.String> o) { | 1576 checkUnnamed737(core.List<core.String> o) { |
1577 unittest.expect(o, unittest.hasLength(2)); | 1577 unittest.expect(o, unittest.hasLength(2)); |
1578 unittest.expect(o[0], unittest.equals('foo')); | 1578 unittest.expect(o[0], unittest.equals('foo')); |
1579 unittest.expect(o[1], unittest.equals('foo')); | 1579 unittest.expect(o[1], unittest.equals('foo')); |
1580 } | 1580 } |
1581 | 1581 |
1582 core.int buildCounterGeneratedIds = 0; | 1582 core.int buildCounterGeneratedIds = 0; |
1583 buildGeneratedIds() { | 1583 buildGeneratedIds() { |
1584 var o = new api.GeneratedIds(); | 1584 var o = new api.GeneratedIds(); |
1585 buildCounterGeneratedIds++; | 1585 buildCounterGeneratedIds++; |
1586 if (buildCounterGeneratedIds < 3) { | 1586 if (buildCounterGeneratedIds < 3) { |
1587 o.ids = buildUnnamed720(); | 1587 o.ids = buildUnnamed737(); |
1588 o.kind = "foo"; | 1588 o.kind = "foo"; |
1589 o.space = "foo"; | 1589 o.space = "foo"; |
1590 } | 1590 } |
1591 buildCounterGeneratedIds--; | 1591 buildCounterGeneratedIds--; |
1592 return o; | 1592 return o; |
1593 } | 1593 } |
1594 | 1594 |
1595 checkGeneratedIds(api.GeneratedIds o) { | 1595 checkGeneratedIds(api.GeneratedIds o) { |
1596 buildCounterGeneratedIds++; | 1596 buildCounterGeneratedIds++; |
1597 if (buildCounterGeneratedIds < 3) { | 1597 if (buildCounterGeneratedIds < 3) { |
1598 checkUnnamed720(o.ids); | 1598 checkUnnamed737(o.ids); |
1599 unittest.expect(o.kind, unittest.equals('foo')); | 1599 unittest.expect(o.kind, unittest.equals('foo')); |
1600 unittest.expect(o.space, unittest.equals('foo')); | 1600 unittest.expect(o.space, unittest.equals('foo')); |
1601 } | 1601 } |
1602 buildCounterGeneratedIds--; | 1602 buildCounterGeneratedIds--; |
1603 } | 1603 } |
1604 | 1604 |
1605 buildUnnamed721() { | 1605 buildUnnamed738() { |
1606 var o = new core.List<api.ParentReference>(); | 1606 var o = new core.List<api.ParentReference>(); |
1607 o.add(buildParentReference()); | 1607 o.add(buildParentReference()); |
1608 o.add(buildParentReference()); | 1608 o.add(buildParentReference()); |
1609 return o; | 1609 return o; |
1610 } | 1610 } |
1611 | 1611 |
1612 checkUnnamed721(core.List<api.ParentReference> o) { | 1612 checkUnnamed738(core.List<api.ParentReference> o) { |
1613 unittest.expect(o, unittest.hasLength(2)); | 1613 unittest.expect(o, unittest.hasLength(2)); |
1614 checkParentReference(o[0]); | 1614 checkParentReference(o[0]); |
1615 checkParentReference(o[1]); | 1615 checkParentReference(o[1]); |
1616 } | 1616 } |
1617 | 1617 |
1618 core.int buildCounterParentList = 0; | 1618 core.int buildCounterParentList = 0; |
1619 buildParentList() { | 1619 buildParentList() { |
1620 var o = new api.ParentList(); | 1620 var o = new api.ParentList(); |
1621 buildCounterParentList++; | 1621 buildCounterParentList++; |
1622 if (buildCounterParentList < 3) { | 1622 if (buildCounterParentList < 3) { |
1623 o.etag = "foo"; | 1623 o.etag = "foo"; |
1624 o.items = buildUnnamed721(); | 1624 o.items = buildUnnamed738(); |
1625 o.kind = "foo"; | 1625 o.kind = "foo"; |
1626 o.selfLink = "foo"; | 1626 o.selfLink = "foo"; |
1627 } | 1627 } |
1628 buildCounterParentList--; | 1628 buildCounterParentList--; |
1629 return o; | 1629 return o; |
1630 } | 1630 } |
1631 | 1631 |
1632 checkParentList(api.ParentList o) { | 1632 checkParentList(api.ParentList o) { |
1633 buildCounterParentList++; | 1633 buildCounterParentList++; |
1634 if (buildCounterParentList < 3) { | 1634 if (buildCounterParentList < 3) { |
1635 unittest.expect(o.etag, unittest.equals('foo')); | 1635 unittest.expect(o.etag, unittest.equals('foo')); |
1636 checkUnnamed721(o.items); | 1636 checkUnnamed738(o.items); |
1637 unittest.expect(o.kind, unittest.equals('foo')); | 1637 unittest.expect(o.kind, unittest.equals('foo')); |
1638 unittest.expect(o.selfLink, unittest.equals('foo')); | 1638 unittest.expect(o.selfLink, unittest.equals('foo')); |
1639 } | 1639 } |
1640 buildCounterParentList--; | 1640 buildCounterParentList--; |
1641 } | 1641 } |
1642 | 1642 |
1643 core.int buildCounterParentReference = 0; | 1643 core.int buildCounterParentReference = 0; |
1644 buildParentReference() { | 1644 buildParentReference() { |
1645 var o = new api.ParentReference(); | 1645 var o = new api.ParentReference(); |
1646 buildCounterParentReference++; | 1646 buildCounterParentReference++; |
(...skipping 13 matching lines...) Expand all Loading... |
1660 if (buildCounterParentReference < 3) { | 1660 if (buildCounterParentReference < 3) { |
1661 unittest.expect(o.id, unittest.equals('foo')); | 1661 unittest.expect(o.id, unittest.equals('foo')); |
1662 unittest.expect(o.isRoot, unittest.isTrue); | 1662 unittest.expect(o.isRoot, unittest.isTrue); |
1663 unittest.expect(o.kind, unittest.equals('foo')); | 1663 unittest.expect(o.kind, unittest.equals('foo')); |
1664 unittest.expect(o.parentLink, unittest.equals('foo')); | 1664 unittest.expect(o.parentLink, unittest.equals('foo')); |
1665 unittest.expect(o.selfLink, unittest.equals('foo')); | 1665 unittest.expect(o.selfLink, unittest.equals('foo')); |
1666 } | 1666 } |
1667 buildCounterParentReference--; | 1667 buildCounterParentReference--; |
1668 } | 1668 } |
1669 | 1669 |
1670 buildUnnamed722() { | 1670 buildUnnamed739() { |
1671 var o = new core.List<core.String>(); | 1671 var o = new core.List<core.String>(); |
1672 o.add("foo"); | 1672 o.add("foo"); |
1673 o.add("foo"); | 1673 o.add("foo"); |
1674 return o; | 1674 return o; |
1675 } | 1675 } |
1676 | 1676 |
1677 checkUnnamed722(core.List<core.String> o) { | 1677 checkUnnamed739(core.List<core.String> o) { |
1678 unittest.expect(o, unittest.hasLength(2)); | 1678 unittest.expect(o, unittest.hasLength(2)); |
1679 unittest.expect(o[0], unittest.equals('foo')); | 1679 unittest.expect(o[0], unittest.equals('foo')); |
1680 unittest.expect(o[1], unittest.equals('foo')); | 1680 unittest.expect(o[1], unittest.equals('foo')); |
1681 } | 1681 } |
1682 | 1682 |
1683 buildUnnamed723() { | 1683 buildUnnamed740() { |
1684 var o = new core.List<core.String>(); | 1684 var o = new core.List<core.String>(); |
1685 o.add("foo"); | 1685 o.add("foo"); |
1686 o.add("foo"); | 1686 o.add("foo"); |
1687 return o; | 1687 return o; |
1688 } | 1688 } |
1689 | 1689 |
1690 checkUnnamed723(core.List<core.String> o) { | 1690 checkUnnamed740(core.List<core.String> o) { |
1691 unittest.expect(o, unittest.hasLength(2)); | 1691 unittest.expect(o, unittest.hasLength(2)); |
1692 unittest.expect(o[0], unittest.equals('foo')); | 1692 unittest.expect(o[0], unittest.equals('foo')); |
1693 unittest.expect(o[1], unittest.equals('foo')); | 1693 unittest.expect(o[1], unittest.equals('foo')); |
1694 } | 1694 } |
1695 | 1695 |
1696 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; | 1696 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; |
1697 buildPermissionTeamDrivePermissionDetails() { | 1697 buildPermissionTeamDrivePermissionDetails() { |
1698 var o = new api.PermissionTeamDrivePermissionDetails(); | 1698 var o = new api.PermissionTeamDrivePermissionDetails(); |
1699 buildCounterPermissionTeamDrivePermissionDetails++; | 1699 buildCounterPermissionTeamDrivePermissionDetails++; |
1700 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { | 1700 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
1701 o.additionalRoles = buildUnnamed723(); | 1701 o.additionalRoles = buildUnnamed740(); |
1702 o.inherited = true; | 1702 o.inherited = true; |
1703 o.inheritedFrom = "foo"; | 1703 o.inheritedFrom = "foo"; |
1704 o.role = "foo"; | 1704 o.role = "foo"; |
1705 o.teamDrivePermissionType = "foo"; | 1705 o.teamDrivePermissionType = "foo"; |
1706 } | 1706 } |
1707 buildCounterPermissionTeamDrivePermissionDetails--; | 1707 buildCounterPermissionTeamDrivePermissionDetails--; |
1708 return o; | 1708 return o; |
1709 } | 1709 } |
1710 | 1710 |
1711 checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetai
ls o) { | 1711 checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetai
ls o) { |
1712 buildCounterPermissionTeamDrivePermissionDetails++; | 1712 buildCounterPermissionTeamDrivePermissionDetails++; |
1713 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { | 1713 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
1714 checkUnnamed723(o.additionalRoles); | 1714 checkUnnamed740(o.additionalRoles); |
1715 unittest.expect(o.inherited, unittest.isTrue); | 1715 unittest.expect(o.inherited, unittest.isTrue); |
1716 unittest.expect(o.inheritedFrom, unittest.equals('foo')); | 1716 unittest.expect(o.inheritedFrom, unittest.equals('foo')); |
1717 unittest.expect(o.role, unittest.equals('foo')); | 1717 unittest.expect(o.role, unittest.equals('foo')); |
1718 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); | 1718 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); |
1719 } | 1719 } |
1720 buildCounterPermissionTeamDrivePermissionDetails--; | 1720 buildCounterPermissionTeamDrivePermissionDetails--; |
1721 } | 1721 } |
1722 | 1722 |
1723 buildUnnamed724() { | 1723 buildUnnamed741() { |
1724 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); | 1724 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); |
1725 o.add(buildPermissionTeamDrivePermissionDetails()); | 1725 o.add(buildPermissionTeamDrivePermissionDetails()); |
1726 o.add(buildPermissionTeamDrivePermissionDetails()); | 1726 o.add(buildPermissionTeamDrivePermissionDetails()); |
1727 return o; | 1727 return o; |
1728 } | 1728 } |
1729 | 1729 |
1730 checkUnnamed724(core.List<api.PermissionTeamDrivePermissionDetails> o) { | 1730 checkUnnamed741(core.List<api.PermissionTeamDrivePermissionDetails> o) { |
1731 unittest.expect(o, unittest.hasLength(2)); | 1731 unittest.expect(o, unittest.hasLength(2)); |
1732 checkPermissionTeamDrivePermissionDetails(o[0]); | 1732 checkPermissionTeamDrivePermissionDetails(o[0]); |
1733 checkPermissionTeamDrivePermissionDetails(o[1]); | 1733 checkPermissionTeamDrivePermissionDetails(o[1]); |
1734 } | 1734 } |
1735 | 1735 |
1736 core.int buildCounterPermission = 0; | 1736 core.int buildCounterPermission = 0; |
1737 buildPermission() { | 1737 buildPermission() { |
1738 var o = new api.Permission(); | 1738 var o = new api.Permission(); |
1739 buildCounterPermission++; | 1739 buildCounterPermission++; |
1740 if (buildCounterPermission < 3) { | 1740 if (buildCounterPermission < 3) { |
1741 o.additionalRoles = buildUnnamed722(); | 1741 o.additionalRoles = buildUnnamed739(); |
1742 o.authKey = "foo"; | 1742 o.authKey = "foo"; |
1743 o.deleted = true; | 1743 o.deleted = true; |
1744 o.domain = "foo"; | 1744 o.domain = "foo"; |
1745 o.emailAddress = "foo"; | 1745 o.emailAddress = "foo"; |
1746 o.etag = "foo"; | 1746 o.etag = "foo"; |
1747 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1747 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1748 o.id = "foo"; | 1748 o.id = "foo"; |
1749 o.kind = "foo"; | 1749 o.kind = "foo"; |
1750 o.name = "foo"; | 1750 o.name = "foo"; |
1751 o.photoLink = "foo"; | 1751 o.photoLink = "foo"; |
1752 o.role = "foo"; | 1752 o.role = "foo"; |
1753 o.selfLink = "foo"; | 1753 o.selfLink = "foo"; |
1754 o.teamDrivePermissionDetails = buildUnnamed724(); | 1754 o.teamDrivePermissionDetails = buildUnnamed741(); |
1755 o.type = "foo"; | 1755 o.type = "foo"; |
1756 o.value = "foo"; | 1756 o.value = "foo"; |
1757 o.withLink = true; | 1757 o.withLink = true; |
1758 } | 1758 } |
1759 buildCounterPermission--; | 1759 buildCounterPermission--; |
1760 return o; | 1760 return o; |
1761 } | 1761 } |
1762 | 1762 |
1763 checkPermission(api.Permission o) { | 1763 checkPermission(api.Permission o) { |
1764 buildCounterPermission++; | 1764 buildCounterPermission++; |
1765 if (buildCounterPermission < 3) { | 1765 if (buildCounterPermission < 3) { |
1766 checkUnnamed722(o.additionalRoles); | 1766 checkUnnamed739(o.additionalRoles); |
1767 unittest.expect(o.authKey, unittest.equals('foo')); | 1767 unittest.expect(o.authKey, unittest.equals('foo')); |
1768 unittest.expect(o.deleted, unittest.isTrue); | 1768 unittest.expect(o.deleted, unittest.isTrue); |
1769 unittest.expect(o.domain, unittest.equals('foo')); | 1769 unittest.expect(o.domain, unittest.equals('foo')); |
1770 unittest.expect(o.emailAddress, unittest.equals('foo')); | 1770 unittest.expect(o.emailAddress, unittest.equals('foo')); |
1771 unittest.expect(o.etag, unittest.equals('foo')); | 1771 unittest.expect(o.etag, unittest.equals('foo')); |
1772 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); | 1772 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); |
1773 unittest.expect(o.id, unittest.equals('foo')); | 1773 unittest.expect(o.id, unittest.equals('foo')); |
1774 unittest.expect(o.kind, unittest.equals('foo')); | 1774 unittest.expect(o.kind, unittest.equals('foo')); |
1775 unittest.expect(o.name, unittest.equals('foo')); | 1775 unittest.expect(o.name, unittest.equals('foo')); |
1776 unittest.expect(o.photoLink, unittest.equals('foo')); | 1776 unittest.expect(o.photoLink, unittest.equals('foo')); |
1777 unittest.expect(o.role, unittest.equals('foo')); | 1777 unittest.expect(o.role, unittest.equals('foo')); |
1778 unittest.expect(o.selfLink, unittest.equals('foo')); | 1778 unittest.expect(o.selfLink, unittest.equals('foo')); |
1779 checkUnnamed724(o.teamDrivePermissionDetails); | 1779 checkUnnamed741(o.teamDrivePermissionDetails); |
1780 unittest.expect(o.type, unittest.equals('foo')); | 1780 unittest.expect(o.type, unittest.equals('foo')); |
1781 unittest.expect(o.value, unittest.equals('foo')); | 1781 unittest.expect(o.value, unittest.equals('foo')); |
1782 unittest.expect(o.withLink, unittest.isTrue); | 1782 unittest.expect(o.withLink, unittest.isTrue); |
1783 } | 1783 } |
1784 buildCounterPermission--; | 1784 buildCounterPermission--; |
1785 } | 1785 } |
1786 | 1786 |
1787 core.int buildCounterPermissionId = 0; | 1787 core.int buildCounterPermissionId = 0; |
1788 buildPermissionId() { | 1788 buildPermissionId() { |
1789 var o = new api.PermissionId(); | 1789 var o = new api.PermissionId(); |
1790 buildCounterPermissionId++; | 1790 buildCounterPermissionId++; |
1791 if (buildCounterPermissionId < 3) { | 1791 if (buildCounterPermissionId < 3) { |
1792 o.id = "foo"; | 1792 o.id = "foo"; |
1793 o.kind = "foo"; | 1793 o.kind = "foo"; |
1794 } | 1794 } |
1795 buildCounterPermissionId--; | 1795 buildCounterPermissionId--; |
1796 return o; | 1796 return o; |
1797 } | 1797 } |
1798 | 1798 |
1799 checkPermissionId(api.PermissionId o) { | 1799 checkPermissionId(api.PermissionId o) { |
1800 buildCounterPermissionId++; | 1800 buildCounterPermissionId++; |
1801 if (buildCounterPermissionId < 3) { | 1801 if (buildCounterPermissionId < 3) { |
1802 unittest.expect(o.id, unittest.equals('foo')); | 1802 unittest.expect(o.id, unittest.equals('foo')); |
1803 unittest.expect(o.kind, unittest.equals('foo')); | 1803 unittest.expect(o.kind, unittest.equals('foo')); |
1804 } | 1804 } |
1805 buildCounterPermissionId--; | 1805 buildCounterPermissionId--; |
1806 } | 1806 } |
1807 | 1807 |
1808 buildUnnamed725() { | 1808 buildUnnamed742() { |
1809 var o = new core.List<api.Permission>(); | 1809 var o = new core.List<api.Permission>(); |
1810 o.add(buildPermission()); | 1810 o.add(buildPermission()); |
1811 o.add(buildPermission()); | 1811 o.add(buildPermission()); |
1812 return o; | 1812 return o; |
1813 } | 1813 } |
1814 | 1814 |
1815 checkUnnamed725(core.List<api.Permission> o) { | 1815 checkUnnamed742(core.List<api.Permission> o) { |
1816 unittest.expect(o, unittest.hasLength(2)); | 1816 unittest.expect(o, unittest.hasLength(2)); |
1817 checkPermission(o[0]); | 1817 checkPermission(o[0]); |
1818 checkPermission(o[1]); | 1818 checkPermission(o[1]); |
1819 } | 1819 } |
1820 | 1820 |
1821 core.int buildCounterPermissionList = 0; | 1821 core.int buildCounterPermissionList = 0; |
1822 buildPermissionList() { | 1822 buildPermissionList() { |
1823 var o = new api.PermissionList(); | 1823 var o = new api.PermissionList(); |
1824 buildCounterPermissionList++; | 1824 buildCounterPermissionList++; |
1825 if (buildCounterPermissionList < 3) { | 1825 if (buildCounterPermissionList < 3) { |
1826 o.etag = "foo"; | 1826 o.etag = "foo"; |
1827 o.items = buildUnnamed725(); | 1827 o.items = buildUnnamed742(); |
1828 o.kind = "foo"; | 1828 o.kind = "foo"; |
1829 o.nextPageToken = "foo"; | 1829 o.nextPageToken = "foo"; |
1830 o.selfLink = "foo"; | 1830 o.selfLink = "foo"; |
1831 } | 1831 } |
1832 buildCounterPermissionList--; | 1832 buildCounterPermissionList--; |
1833 return o; | 1833 return o; |
1834 } | 1834 } |
1835 | 1835 |
1836 checkPermissionList(api.PermissionList o) { | 1836 checkPermissionList(api.PermissionList o) { |
1837 buildCounterPermissionList++; | 1837 buildCounterPermissionList++; |
1838 if (buildCounterPermissionList < 3) { | 1838 if (buildCounterPermissionList < 3) { |
1839 unittest.expect(o.etag, unittest.equals('foo')); | 1839 unittest.expect(o.etag, unittest.equals('foo')); |
1840 checkUnnamed725(o.items); | 1840 checkUnnamed742(o.items); |
1841 unittest.expect(o.kind, unittest.equals('foo')); | 1841 unittest.expect(o.kind, unittest.equals('foo')); |
1842 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1842 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1843 unittest.expect(o.selfLink, unittest.equals('foo')); | 1843 unittest.expect(o.selfLink, unittest.equals('foo')); |
1844 } | 1844 } |
1845 buildCounterPermissionList--; | 1845 buildCounterPermissionList--; |
1846 } | 1846 } |
1847 | 1847 |
1848 core.int buildCounterProperty = 0; | 1848 core.int buildCounterProperty = 0; |
1849 buildProperty() { | 1849 buildProperty() { |
1850 var o = new api.Property(); | 1850 var o = new api.Property(); |
(...skipping 16 matching lines...) Expand all Loading... |
1867 unittest.expect(o.etag, unittest.equals('foo')); | 1867 unittest.expect(o.etag, unittest.equals('foo')); |
1868 unittest.expect(o.key, unittest.equals('foo')); | 1868 unittest.expect(o.key, unittest.equals('foo')); |
1869 unittest.expect(o.kind, unittest.equals('foo')); | 1869 unittest.expect(o.kind, unittest.equals('foo')); |
1870 unittest.expect(o.selfLink, unittest.equals('foo')); | 1870 unittest.expect(o.selfLink, unittest.equals('foo')); |
1871 unittest.expect(o.value, unittest.equals('foo')); | 1871 unittest.expect(o.value, unittest.equals('foo')); |
1872 unittest.expect(o.visibility, unittest.equals('foo')); | 1872 unittest.expect(o.visibility, unittest.equals('foo')); |
1873 } | 1873 } |
1874 buildCounterProperty--; | 1874 buildCounterProperty--; |
1875 } | 1875 } |
1876 | 1876 |
1877 buildUnnamed726() { | 1877 buildUnnamed743() { |
1878 var o = new core.List<api.Property>(); | 1878 var o = new core.List<api.Property>(); |
1879 o.add(buildProperty()); | 1879 o.add(buildProperty()); |
1880 o.add(buildProperty()); | 1880 o.add(buildProperty()); |
1881 return o; | 1881 return o; |
1882 } | 1882 } |
1883 | 1883 |
1884 checkUnnamed726(core.List<api.Property> o) { | 1884 checkUnnamed743(core.List<api.Property> o) { |
1885 unittest.expect(o, unittest.hasLength(2)); | 1885 unittest.expect(o, unittest.hasLength(2)); |
1886 checkProperty(o[0]); | 1886 checkProperty(o[0]); |
1887 checkProperty(o[1]); | 1887 checkProperty(o[1]); |
1888 } | 1888 } |
1889 | 1889 |
1890 core.int buildCounterPropertyList = 0; | 1890 core.int buildCounterPropertyList = 0; |
1891 buildPropertyList() { | 1891 buildPropertyList() { |
1892 var o = new api.PropertyList(); | 1892 var o = new api.PropertyList(); |
1893 buildCounterPropertyList++; | 1893 buildCounterPropertyList++; |
1894 if (buildCounterPropertyList < 3) { | 1894 if (buildCounterPropertyList < 3) { |
1895 o.etag = "foo"; | 1895 o.etag = "foo"; |
1896 o.items = buildUnnamed726(); | 1896 o.items = buildUnnamed743(); |
1897 o.kind = "foo"; | 1897 o.kind = "foo"; |
1898 o.selfLink = "foo"; | 1898 o.selfLink = "foo"; |
1899 } | 1899 } |
1900 buildCounterPropertyList--; | 1900 buildCounterPropertyList--; |
1901 return o; | 1901 return o; |
1902 } | 1902 } |
1903 | 1903 |
1904 checkPropertyList(api.PropertyList o) { | 1904 checkPropertyList(api.PropertyList o) { |
1905 buildCounterPropertyList++; | 1905 buildCounterPropertyList++; |
1906 if (buildCounterPropertyList < 3) { | 1906 if (buildCounterPropertyList < 3) { |
1907 unittest.expect(o.etag, unittest.equals('foo')); | 1907 unittest.expect(o.etag, unittest.equals('foo')); |
1908 checkUnnamed726(o.items); | 1908 checkUnnamed743(o.items); |
1909 unittest.expect(o.kind, unittest.equals('foo')); | 1909 unittest.expect(o.kind, unittest.equals('foo')); |
1910 unittest.expect(o.selfLink, unittest.equals('foo')); | 1910 unittest.expect(o.selfLink, unittest.equals('foo')); |
1911 } | 1911 } |
1912 buildCounterPropertyList--; | 1912 buildCounterPropertyList--; |
1913 } | 1913 } |
1914 | 1914 |
1915 buildUnnamed727() { | 1915 buildUnnamed744() { |
1916 var o = new core.Map<core.String, core.String>(); | 1916 var o = new core.Map<core.String, core.String>(); |
1917 o["x"] = "foo"; | 1917 o["x"] = "foo"; |
1918 o["y"] = "foo"; | 1918 o["y"] = "foo"; |
1919 return o; | 1919 return o; |
1920 } | 1920 } |
1921 | 1921 |
1922 checkUnnamed727(core.Map<core.String, core.String> o) { | 1922 checkUnnamed744(core.Map<core.String, core.String> o) { |
1923 unittest.expect(o, unittest.hasLength(2)); | 1923 unittest.expect(o, unittest.hasLength(2)); |
1924 unittest.expect(o["x"], unittest.equals('foo')); | 1924 unittest.expect(o["x"], unittest.equals('foo')); |
1925 unittest.expect(o["y"], unittest.equals('foo')); | 1925 unittest.expect(o["y"], unittest.equals('foo')); |
1926 } | 1926 } |
1927 | 1927 |
1928 core.int buildCounterRevision = 0; | 1928 core.int buildCounterRevision = 0; |
1929 buildRevision() { | 1929 buildRevision() { |
1930 var o = new api.Revision(); | 1930 var o = new api.Revision(); |
1931 buildCounterRevision++; | 1931 buildCounterRevision++; |
1932 if (buildCounterRevision < 3) { | 1932 if (buildCounterRevision < 3) { |
1933 o.downloadUrl = "foo"; | 1933 o.downloadUrl = "foo"; |
1934 o.etag = "foo"; | 1934 o.etag = "foo"; |
1935 o.exportLinks = buildUnnamed727(); | 1935 o.exportLinks = buildUnnamed744(); |
1936 o.fileSize = "foo"; | 1936 o.fileSize = "foo"; |
1937 o.id = "foo"; | 1937 o.id = "foo"; |
1938 o.kind = "foo"; | 1938 o.kind = "foo"; |
1939 o.lastModifyingUser = buildUser(); | 1939 o.lastModifyingUser = buildUser(); |
1940 o.lastModifyingUserName = "foo"; | 1940 o.lastModifyingUserName = "foo"; |
1941 o.md5Checksum = "foo"; | 1941 o.md5Checksum = "foo"; |
1942 o.mimeType = "foo"; | 1942 o.mimeType = "foo"; |
1943 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1943 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1944 o.originalFilename = "foo"; | 1944 o.originalFilename = "foo"; |
1945 o.pinned = true; | 1945 o.pinned = true; |
1946 o.publishAuto = true; | 1946 o.publishAuto = true; |
1947 o.published = true; | 1947 o.published = true; |
1948 o.publishedLink = "foo"; | 1948 o.publishedLink = "foo"; |
1949 o.publishedOutsideDomain = true; | 1949 o.publishedOutsideDomain = true; |
1950 o.selfLink = "foo"; | 1950 o.selfLink = "foo"; |
1951 } | 1951 } |
1952 buildCounterRevision--; | 1952 buildCounterRevision--; |
1953 return o; | 1953 return o; |
1954 } | 1954 } |
1955 | 1955 |
1956 checkRevision(api.Revision o) { | 1956 checkRevision(api.Revision o) { |
1957 buildCounterRevision++; | 1957 buildCounterRevision++; |
1958 if (buildCounterRevision < 3) { | 1958 if (buildCounterRevision < 3) { |
1959 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1959 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
1960 unittest.expect(o.etag, unittest.equals('foo')); | 1960 unittest.expect(o.etag, unittest.equals('foo')); |
1961 checkUnnamed727(o.exportLinks); | 1961 checkUnnamed744(o.exportLinks); |
1962 unittest.expect(o.fileSize, unittest.equals('foo')); | 1962 unittest.expect(o.fileSize, unittest.equals('foo')); |
1963 unittest.expect(o.id, unittest.equals('foo')); | 1963 unittest.expect(o.id, unittest.equals('foo')); |
1964 unittest.expect(o.kind, unittest.equals('foo')); | 1964 unittest.expect(o.kind, unittest.equals('foo')); |
1965 checkUser(o.lastModifyingUser); | 1965 checkUser(o.lastModifyingUser); |
1966 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); | 1966 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); |
1967 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1967 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
1968 unittest.expect(o.mimeType, unittest.equals('foo')); | 1968 unittest.expect(o.mimeType, unittest.equals('foo')); |
1969 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1969 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1970 unittest.expect(o.originalFilename, unittest.equals('foo')); | 1970 unittest.expect(o.originalFilename, unittest.equals('foo')); |
1971 unittest.expect(o.pinned, unittest.isTrue); | 1971 unittest.expect(o.pinned, unittest.isTrue); |
1972 unittest.expect(o.publishAuto, unittest.isTrue); | 1972 unittest.expect(o.publishAuto, unittest.isTrue); |
1973 unittest.expect(o.published, unittest.isTrue); | 1973 unittest.expect(o.published, unittest.isTrue); |
1974 unittest.expect(o.publishedLink, unittest.equals('foo')); | 1974 unittest.expect(o.publishedLink, unittest.equals('foo')); |
1975 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); | 1975 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); |
1976 unittest.expect(o.selfLink, unittest.equals('foo')); | 1976 unittest.expect(o.selfLink, unittest.equals('foo')); |
1977 } | 1977 } |
1978 buildCounterRevision--; | 1978 buildCounterRevision--; |
1979 } | 1979 } |
1980 | 1980 |
1981 buildUnnamed728() { | 1981 buildUnnamed745() { |
1982 var o = new core.List<api.Revision>(); | 1982 var o = new core.List<api.Revision>(); |
1983 o.add(buildRevision()); | 1983 o.add(buildRevision()); |
1984 o.add(buildRevision()); | 1984 o.add(buildRevision()); |
1985 return o; | 1985 return o; |
1986 } | 1986 } |
1987 | 1987 |
1988 checkUnnamed728(core.List<api.Revision> o) { | 1988 checkUnnamed745(core.List<api.Revision> o) { |
1989 unittest.expect(o, unittest.hasLength(2)); | 1989 unittest.expect(o, unittest.hasLength(2)); |
1990 checkRevision(o[0]); | 1990 checkRevision(o[0]); |
1991 checkRevision(o[1]); | 1991 checkRevision(o[1]); |
1992 } | 1992 } |
1993 | 1993 |
1994 core.int buildCounterRevisionList = 0; | 1994 core.int buildCounterRevisionList = 0; |
1995 buildRevisionList() { | 1995 buildRevisionList() { |
1996 var o = new api.RevisionList(); | 1996 var o = new api.RevisionList(); |
1997 buildCounterRevisionList++; | 1997 buildCounterRevisionList++; |
1998 if (buildCounterRevisionList < 3) { | 1998 if (buildCounterRevisionList < 3) { |
1999 o.etag = "foo"; | 1999 o.etag = "foo"; |
2000 o.items = buildUnnamed728(); | 2000 o.items = buildUnnamed745(); |
2001 o.kind = "foo"; | 2001 o.kind = "foo"; |
2002 o.nextPageToken = "foo"; | 2002 o.nextPageToken = "foo"; |
2003 o.selfLink = "foo"; | 2003 o.selfLink = "foo"; |
2004 } | 2004 } |
2005 buildCounterRevisionList--; | 2005 buildCounterRevisionList--; |
2006 return o; | 2006 return o; |
2007 } | 2007 } |
2008 | 2008 |
2009 checkRevisionList(api.RevisionList o) { | 2009 checkRevisionList(api.RevisionList o) { |
2010 buildCounterRevisionList++; | 2010 buildCounterRevisionList++; |
2011 if (buildCounterRevisionList < 3) { | 2011 if (buildCounterRevisionList < 3) { |
2012 unittest.expect(o.etag, unittest.equals('foo')); | 2012 unittest.expect(o.etag, unittest.equals('foo')); |
2013 checkUnnamed728(o.items); | 2013 checkUnnamed745(o.items); |
2014 unittest.expect(o.kind, unittest.equals('foo')); | 2014 unittest.expect(o.kind, unittest.equals('foo')); |
2015 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2015 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2016 unittest.expect(o.selfLink, unittest.equals('foo')); | 2016 unittest.expect(o.selfLink, unittest.equals('foo')); |
2017 } | 2017 } |
2018 buildCounterRevisionList--; | 2018 buildCounterRevisionList--; |
2019 } | 2019 } |
2020 | 2020 |
2021 core.int buildCounterStartPageToken = 0; | 2021 core.int buildCounterStartPageToken = 0; |
2022 buildStartPageToken() { | 2022 buildStartPageToken() { |
2023 var o = new api.StartPageToken(); | 2023 var o = new api.StartPageToken(); |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2135 checkTeamDriveCapabilities(o.capabilities); | 2135 checkTeamDriveCapabilities(o.capabilities); |
2136 unittest.expect(o.colorRgb, unittest.equals('foo')); | 2136 unittest.expect(o.colorRgb, unittest.equals('foo')); |
2137 unittest.expect(o.id, unittest.equals('foo')); | 2137 unittest.expect(o.id, unittest.equals('foo')); |
2138 unittest.expect(o.kind, unittest.equals('foo')); | 2138 unittest.expect(o.kind, unittest.equals('foo')); |
2139 unittest.expect(o.name, unittest.equals('foo')); | 2139 unittest.expect(o.name, unittest.equals('foo')); |
2140 unittest.expect(o.themeId, unittest.equals('foo')); | 2140 unittest.expect(o.themeId, unittest.equals('foo')); |
2141 } | 2141 } |
2142 buildCounterTeamDrive--; | 2142 buildCounterTeamDrive--; |
2143 } | 2143 } |
2144 | 2144 |
2145 buildUnnamed729() { | 2145 buildUnnamed746() { |
2146 var o = new core.List<api.TeamDrive>(); | 2146 var o = new core.List<api.TeamDrive>(); |
2147 o.add(buildTeamDrive()); | 2147 o.add(buildTeamDrive()); |
2148 o.add(buildTeamDrive()); | 2148 o.add(buildTeamDrive()); |
2149 return o; | 2149 return o; |
2150 } | 2150 } |
2151 | 2151 |
2152 checkUnnamed729(core.List<api.TeamDrive> o) { | 2152 checkUnnamed746(core.List<api.TeamDrive> o) { |
2153 unittest.expect(o, unittest.hasLength(2)); | 2153 unittest.expect(o, unittest.hasLength(2)); |
2154 checkTeamDrive(o[0]); | 2154 checkTeamDrive(o[0]); |
2155 checkTeamDrive(o[1]); | 2155 checkTeamDrive(o[1]); |
2156 } | 2156 } |
2157 | 2157 |
2158 core.int buildCounterTeamDriveList = 0; | 2158 core.int buildCounterTeamDriveList = 0; |
2159 buildTeamDriveList() { | 2159 buildTeamDriveList() { |
2160 var o = new api.TeamDriveList(); | 2160 var o = new api.TeamDriveList(); |
2161 buildCounterTeamDriveList++; | 2161 buildCounterTeamDriveList++; |
2162 if (buildCounterTeamDriveList < 3) { | 2162 if (buildCounterTeamDriveList < 3) { |
2163 o.items = buildUnnamed729(); | 2163 o.items = buildUnnamed746(); |
2164 o.kind = "foo"; | 2164 o.kind = "foo"; |
2165 o.nextPageToken = "foo"; | 2165 o.nextPageToken = "foo"; |
2166 } | 2166 } |
2167 buildCounterTeamDriveList--; | 2167 buildCounterTeamDriveList--; |
2168 return o; | 2168 return o; |
2169 } | 2169 } |
2170 | 2170 |
2171 checkTeamDriveList(api.TeamDriveList o) { | 2171 checkTeamDriveList(api.TeamDriveList o) { |
2172 buildCounterTeamDriveList++; | 2172 buildCounterTeamDriveList++; |
2173 if (buildCounterTeamDriveList < 3) { | 2173 if (buildCounterTeamDriveList < 3) { |
2174 checkUnnamed729(o.items); | 2174 checkUnnamed746(o.items); |
2175 unittest.expect(o.kind, unittest.equals('foo')); | 2175 unittest.expect(o.kind, unittest.equals('foo')); |
2176 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2176 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2177 } | 2177 } |
2178 buildCounterTeamDriveList--; | 2178 buildCounterTeamDriveList--; |
2179 } | 2179 } |
2180 | 2180 |
2181 core.int buildCounterUserPicture = 0; | 2181 core.int buildCounterUserPicture = 0; |
2182 buildUserPicture() { | 2182 buildUserPicture() { |
2183 var o = new api.UserPicture(); | 2183 var o = new api.UserPicture(); |
2184 buildCounterUserPicture++; | 2184 buildCounterUserPicture++; |
(...skipping 4466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6651 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync1(((api.
TeamDrive response) { | 6651 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync1(((api.
TeamDrive response) { |
6652 checkTeamDrive(response); | 6652 checkTeamDrive(response); |
6653 }))); | 6653 }))); |
6654 }); | 6654 }); |
6655 | 6655 |
6656 }); | 6656 }); |
6657 | 6657 |
6658 | 6658 |
6659 } | 6659 } |
6660 | 6660 |
OLD | NEW |