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:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 } | 46 } |
47 | 47 |
48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map headers, core.String body) { |
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
52 } | 52 } |
53 | 53 |
54 buildUnnamed631() { | 54 buildUnnamed617() { |
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 checkUnnamed631(core.List<core.String> o) { | 61 checkUnnamed617(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 = buildUnnamed631(); | 72 o.additionalRoles = buildUnnamed617(); |
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 checkUnnamed631(o.additionalRoles); | 82 checkUnnamed617(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 buildUnnamed632() { | 88 buildUnnamed618() { |
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 checkUnnamed632(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { | 95 checkUnnamed618(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 = buildUnnamed632(); | 106 o.roleSets = buildUnnamed618(); |
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 checkUnnamed632(o.roleSets); | 116 checkUnnamed618(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 buildUnnamed633() { | 122 buildUnnamed619() { |
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 checkUnnamed633(core.List<api.AboutAdditionalRoleInfo> o) { | 129 checkUnnamed619(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 buildUnnamed634() { | 135 buildUnnamed620() { |
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 checkUnnamed634(core.List<core.String> o) { | 142 checkUnnamed620(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 = buildUnnamed634(); | 154 o.targets = buildUnnamed620(); |
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 checkUnnamed634(o.targets); | 164 checkUnnamed620(o.targets); |
165 } | 165 } |
166 buildCounterAboutExportFormats--; | 166 buildCounterAboutExportFormats--; |
167 } | 167 } |
168 | 168 |
169 buildUnnamed635() { | 169 buildUnnamed621() { |
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 checkUnnamed635(core.List<api.AboutExportFormats> o) { | 176 checkUnnamed621(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 buildUnnamed636() { | 203 buildUnnamed622() { |
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 checkUnnamed636(core.List<api.AboutFeatures> o) { | 210 checkUnnamed622(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 buildUnnamed637() { | 216 buildUnnamed623() { |
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 checkUnnamed637(core.List<core.String> o) { | 223 checkUnnamed623(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 buildUnnamed638() { | 229 buildUnnamed624() { |
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 checkUnnamed638(core.List<core.String> o) { | 236 checkUnnamed624(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 = buildUnnamed638(); | 248 o.targets = buildUnnamed624(); |
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 checkUnnamed638(o.targets); | 258 checkUnnamed624(o.targets); |
259 } | 259 } |
260 buildCounterAboutImportFormats--; | 260 buildCounterAboutImportFormats--; |
261 } | 261 } |
262 | 262 |
263 buildUnnamed639() { | 263 buildUnnamed625() { |
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 checkUnnamed639(core.List<api.AboutImportFormats> o) { | 270 checkUnnamed625(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 buildUnnamed640() { | 297 buildUnnamed626() { |
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 checkUnnamed640(core.List<api.AboutMaxUploadSizes> o) { | 304 checkUnnamed626(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 buildUnnamed641() { | 331 buildUnnamed627() { |
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 checkUnnamed641(core.List<api.AboutQuotaBytesByService> o) { | 338 checkUnnamed627(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; |
| 345 buildAboutTeamDriveThemes() { |
| 346 var o = new api.AboutTeamDriveThemes(); |
| 347 buildCounterAboutTeamDriveThemes++; |
| 348 if (buildCounterAboutTeamDriveThemes < 3) { |
| 349 o.backgroundImageLink = "foo"; |
| 350 o.colorRgb = "foo"; |
| 351 o.id = "foo"; |
| 352 } |
| 353 buildCounterAboutTeamDriveThemes--; |
| 354 return o; |
| 355 } |
| 356 |
| 357 checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) { |
| 358 buildCounterAboutTeamDriveThemes++; |
| 359 if (buildCounterAboutTeamDriveThemes < 3) { |
| 360 unittest.expect(o.backgroundImageLink, unittest.equals('foo')); |
| 361 unittest.expect(o.colorRgb, unittest.equals('foo')); |
| 362 unittest.expect(o.id, unittest.equals('foo')); |
| 363 } |
| 364 buildCounterAboutTeamDriveThemes--; |
| 365 } |
| 366 |
| 367 buildUnnamed628() { |
| 368 var o = new core.List<api.AboutTeamDriveThemes>(); |
| 369 o.add(buildAboutTeamDriveThemes()); |
| 370 o.add(buildAboutTeamDriveThemes()); |
| 371 return o; |
| 372 } |
| 373 |
| 374 checkUnnamed628(core.List<api.AboutTeamDriveThemes> o) { |
| 375 unittest.expect(o, unittest.hasLength(2)); |
| 376 checkAboutTeamDriveThemes(o[0]); |
| 377 checkAboutTeamDriveThemes(o[1]); |
| 378 } |
| 379 |
344 core.int buildCounterAbout = 0; | 380 core.int buildCounterAbout = 0; |
345 buildAbout() { | 381 buildAbout() { |
346 var o = new api.About(); | 382 var o = new api.About(); |
347 buildCounterAbout++; | 383 buildCounterAbout++; |
348 if (buildCounterAbout < 3) { | 384 if (buildCounterAbout < 3) { |
349 o.additionalRoleInfo = buildUnnamed633(); | 385 o.additionalRoleInfo = buildUnnamed619(); |
350 o.domainSharingPolicy = "foo"; | 386 o.domainSharingPolicy = "foo"; |
351 o.etag = "foo"; | 387 o.etag = "foo"; |
352 o.exportFormats = buildUnnamed635(); | 388 o.exportFormats = buildUnnamed621(); |
353 o.features = buildUnnamed636(); | 389 o.features = buildUnnamed622(); |
354 o.folderColorPalette = buildUnnamed637(); | 390 o.folderColorPalette = buildUnnamed623(); |
355 o.importFormats = buildUnnamed639(); | 391 o.importFormats = buildUnnamed625(); |
356 o.isCurrentAppInstalled = true; | 392 o.isCurrentAppInstalled = true; |
357 o.kind = "foo"; | 393 o.kind = "foo"; |
358 o.languageCode = "foo"; | 394 o.languageCode = "foo"; |
359 o.largestChangeId = "foo"; | 395 o.largestChangeId = "foo"; |
360 o.maxUploadSizes = buildUnnamed640(); | 396 o.maxUploadSizes = buildUnnamed626(); |
361 o.name = "foo"; | 397 o.name = "foo"; |
362 o.permissionId = "foo"; | 398 o.permissionId = "foo"; |
363 o.quotaBytesByService = buildUnnamed641(); | 399 o.quotaBytesByService = buildUnnamed627(); |
364 o.quotaBytesTotal = "foo"; | 400 o.quotaBytesTotal = "foo"; |
365 o.quotaBytesUsed = "foo"; | 401 o.quotaBytesUsed = "foo"; |
366 o.quotaBytesUsedAggregate = "foo"; | 402 o.quotaBytesUsedAggregate = "foo"; |
367 o.quotaBytesUsedInTrash = "foo"; | 403 o.quotaBytesUsedInTrash = "foo"; |
368 o.quotaType = "foo"; | 404 o.quotaType = "foo"; |
369 o.remainingChangeIds = "foo"; | 405 o.remainingChangeIds = "foo"; |
370 o.rootFolderId = "foo"; | 406 o.rootFolderId = "foo"; |
371 o.selfLink = "foo"; | 407 o.selfLink = "foo"; |
| 408 o.teamDriveThemes = buildUnnamed628(); |
372 o.user = buildUser(); | 409 o.user = buildUser(); |
373 } | 410 } |
374 buildCounterAbout--; | 411 buildCounterAbout--; |
375 return o; | 412 return o; |
376 } | 413 } |
377 | 414 |
378 checkAbout(api.About o) { | 415 checkAbout(api.About o) { |
379 buildCounterAbout++; | 416 buildCounterAbout++; |
380 if (buildCounterAbout < 3) { | 417 if (buildCounterAbout < 3) { |
381 checkUnnamed633(o.additionalRoleInfo); | 418 checkUnnamed619(o.additionalRoleInfo); |
382 unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); | 419 unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); |
383 unittest.expect(o.etag, unittest.equals('foo')); | 420 unittest.expect(o.etag, unittest.equals('foo')); |
384 checkUnnamed635(o.exportFormats); | 421 checkUnnamed621(o.exportFormats); |
385 checkUnnamed636(o.features); | 422 checkUnnamed622(o.features); |
386 checkUnnamed637(o.folderColorPalette); | 423 checkUnnamed623(o.folderColorPalette); |
387 checkUnnamed639(o.importFormats); | 424 checkUnnamed625(o.importFormats); |
388 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); | 425 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); |
389 unittest.expect(o.kind, unittest.equals('foo')); | 426 unittest.expect(o.kind, unittest.equals('foo')); |
390 unittest.expect(o.languageCode, unittest.equals('foo')); | 427 unittest.expect(o.languageCode, unittest.equals('foo')); |
391 unittest.expect(o.largestChangeId, unittest.equals('foo')); | 428 unittest.expect(o.largestChangeId, unittest.equals('foo')); |
392 checkUnnamed640(o.maxUploadSizes); | 429 checkUnnamed626(o.maxUploadSizes); |
393 unittest.expect(o.name, unittest.equals('foo')); | 430 unittest.expect(o.name, unittest.equals('foo')); |
394 unittest.expect(o.permissionId, unittest.equals('foo')); | 431 unittest.expect(o.permissionId, unittest.equals('foo')); |
395 checkUnnamed641(o.quotaBytesByService); | 432 checkUnnamed627(o.quotaBytesByService); |
396 unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); | 433 unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); |
397 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); | 434 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
398 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); | 435 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); |
399 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo')); | 436 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo')); |
400 unittest.expect(o.quotaType, unittest.equals('foo')); | 437 unittest.expect(o.quotaType, unittest.equals('foo')); |
401 unittest.expect(o.remainingChangeIds, unittest.equals('foo')); | 438 unittest.expect(o.remainingChangeIds, unittest.equals('foo')); |
402 unittest.expect(o.rootFolderId, unittest.equals('foo')); | 439 unittest.expect(o.rootFolderId, unittest.equals('foo')); |
403 unittest.expect(o.selfLink, unittest.equals('foo')); | 440 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 441 checkUnnamed628(o.teamDriveThemes); |
404 checkUser(o.user); | 442 checkUser(o.user); |
405 } | 443 } |
406 buildCounterAbout--; | 444 buildCounterAbout--; |
407 } | 445 } |
408 | 446 |
409 core.int buildCounterAppIcons = 0; | 447 core.int buildCounterAppIcons = 0; |
410 buildAppIcons() { | 448 buildAppIcons() { |
411 var o = new api.AppIcons(); | 449 var o = new api.AppIcons(); |
412 buildCounterAppIcons++; | 450 buildCounterAppIcons++; |
413 if (buildCounterAppIcons < 3) { | 451 if (buildCounterAppIcons < 3) { |
414 o.category = "foo"; | 452 o.category = "foo"; |
415 o.iconUrl = "foo"; | 453 o.iconUrl = "foo"; |
416 o.size = 42; | 454 o.size = 42; |
417 } | 455 } |
418 buildCounterAppIcons--; | 456 buildCounterAppIcons--; |
419 return o; | 457 return o; |
420 } | 458 } |
421 | 459 |
422 checkAppIcons(api.AppIcons o) { | 460 checkAppIcons(api.AppIcons o) { |
423 buildCounterAppIcons++; | 461 buildCounterAppIcons++; |
424 if (buildCounterAppIcons < 3) { | 462 if (buildCounterAppIcons < 3) { |
425 unittest.expect(o.category, unittest.equals('foo')); | 463 unittest.expect(o.category, unittest.equals('foo')); |
426 unittest.expect(o.iconUrl, unittest.equals('foo')); | 464 unittest.expect(o.iconUrl, unittest.equals('foo')); |
427 unittest.expect(o.size, unittest.equals(42)); | 465 unittest.expect(o.size, unittest.equals(42)); |
428 } | 466 } |
429 buildCounterAppIcons--; | 467 buildCounterAppIcons--; |
430 } | 468 } |
431 | 469 |
432 buildUnnamed642() { | 470 buildUnnamed629() { |
433 var o = new core.List<api.AppIcons>(); | 471 var o = new core.List<api.AppIcons>(); |
434 o.add(buildAppIcons()); | 472 o.add(buildAppIcons()); |
435 o.add(buildAppIcons()); | 473 o.add(buildAppIcons()); |
436 return o; | 474 return o; |
437 } | 475 } |
438 | 476 |
439 checkUnnamed642(core.List<api.AppIcons> o) { | 477 checkUnnamed629(core.List<api.AppIcons> o) { |
440 unittest.expect(o, unittest.hasLength(2)); | 478 unittest.expect(o, unittest.hasLength(2)); |
441 checkAppIcons(o[0]); | 479 checkAppIcons(o[0]); |
442 checkAppIcons(o[1]); | 480 checkAppIcons(o[1]); |
443 } | 481 } |
444 | 482 |
445 buildUnnamed643() { | 483 buildUnnamed630() { |
446 var o = new core.List<core.String>(); | 484 var o = new core.List<core.String>(); |
447 o.add("foo"); | 485 o.add("foo"); |
448 o.add("foo"); | 486 o.add("foo"); |
449 return o; | 487 return o; |
450 } | 488 } |
451 | 489 |
452 checkUnnamed643(core.List<core.String> o) { | 490 checkUnnamed630(core.List<core.String> o) { |
453 unittest.expect(o, unittest.hasLength(2)); | 491 unittest.expect(o, unittest.hasLength(2)); |
454 unittest.expect(o[0], unittest.equals('foo')); | 492 unittest.expect(o[0], unittest.equals('foo')); |
455 unittest.expect(o[1], unittest.equals('foo')); | 493 unittest.expect(o[1], unittest.equals('foo')); |
456 } | 494 } |
457 | 495 |
458 buildUnnamed644() { | 496 buildUnnamed631() { |
459 var o = new core.List<core.String>(); | 497 var o = new core.List<core.String>(); |
460 o.add("foo"); | 498 o.add("foo"); |
461 o.add("foo"); | 499 o.add("foo"); |
462 return o; | 500 return o; |
463 } | 501 } |
464 | 502 |
465 checkUnnamed644(core.List<core.String> o) { | 503 checkUnnamed631(core.List<core.String> o) { |
466 unittest.expect(o, unittest.hasLength(2)); | 504 unittest.expect(o, unittest.hasLength(2)); |
467 unittest.expect(o[0], unittest.equals('foo')); | 505 unittest.expect(o[0], unittest.equals('foo')); |
468 unittest.expect(o[1], unittest.equals('foo')); | 506 unittest.expect(o[1], unittest.equals('foo')); |
469 } | 507 } |
470 | 508 |
471 buildUnnamed645() { | 509 buildUnnamed632() { |
472 var o = new core.List<core.String>(); | 510 var o = new core.List<core.String>(); |
473 o.add("foo"); | 511 o.add("foo"); |
474 o.add("foo"); | 512 o.add("foo"); |
475 return o; | 513 return o; |
476 } | 514 } |
477 | 515 |
478 checkUnnamed645(core.List<core.String> o) { | 516 checkUnnamed632(core.List<core.String> o) { |
479 unittest.expect(o, unittest.hasLength(2)); | 517 unittest.expect(o, unittest.hasLength(2)); |
480 unittest.expect(o[0], unittest.equals('foo')); | 518 unittest.expect(o[0], unittest.equals('foo')); |
481 unittest.expect(o[1], unittest.equals('foo')); | 519 unittest.expect(o[1], unittest.equals('foo')); |
482 } | 520 } |
483 | 521 |
484 buildUnnamed646() { | 522 buildUnnamed633() { |
485 var o = new core.List<core.String>(); | 523 var o = new core.List<core.String>(); |
486 o.add("foo"); | 524 o.add("foo"); |
487 o.add("foo"); | 525 o.add("foo"); |
488 return o; | 526 return o; |
489 } | 527 } |
490 | 528 |
491 checkUnnamed646(core.List<core.String> o) { | 529 checkUnnamed633(core.List<core.String> o) { |
492 unittest.expect(o, unittest.hasLength(2)); | 530 unittest.expect(o, unittest.hasLength(2)); |
493 unittest.expect(o[0], unittest.equals('foo')); | 531 unittest.expect(o[0], unittest.equals('foo')); |
494 unittest.expect(o[1], unittest.equals('foo')); | 532 unittest.expect(o[1], unittest.equals('foo')); |
495 } | 533 } |
496 | 534 |
497 core.int buildCounterApp = 0; | 535 core.int buildCounterApp = 0; |
498 buildApp() { | 536 buildApp() { |
499 var o = new api.App(); | 537 var o = new api.App(); |
500 buildCounterApp++; | 538 buildCounterApp++; |
501 if (buildCounterApp < 3) { | 539 if (buildCounterApp < 3) { |
502 o.authorized = true; | 540 o.authorized = true; |
503 o.createInFolderTemplate = "foo"; | 541 o.createInFolderTemplate = "foo"; |
504 o.createUrl = "foo"; | 542 o.createUrl = "foo"; |
505 o.hasDriveWideScope = true; | 543 o.hasDriveWideScope = true; |
506 o.icons = buildUnnamed642(); | 544 o.icons = buildUnnamed629(); |
507 o.id = "foo"; | 545 o.id = "foo"; |
508 o.installed = true; | 546 o.installed = true; |
509 o.kind = "foo"; | 547 o.kind = "foo"; |
510 o.longDescription = "foo"; | 548 o.longDescription = "foo"; |
511 o.name = "foo"; | 549 o.name = "foo"; |
512 o.objectType = "foo"; | 550 o.objectType = "foo"; |
513 o.openUrlTemplate = "foo"; | 551 o.openUrlTemplate = "foo"; |
514 o.primaryFileExtensions = buildUnnamed643(); | 552 o.primaryFileExtensions = buildUnnamed630(); |
515 o.primaryMimeTypes = buildUnnamed644(); | 553 o.primaryMimeTypes = buildUnnamed631(); |
516 o.productId = "foo"; | 554 o.productId = "foo"; |
517 o.productUrl = "foo"; | 555 o.productUrl = "foo"; |
518 o.secondaryFileExtensions = buildUnnamed645(); | 556 o.secondaryFileExtensions = buildUnnamed632(); |
519 o.secondaryMimeTypes = buildUnnamed646(); | 557 o.secondaryMimeTypes = buildUnnamed633(); |
520 o.shortDescription = "foo"; | 558 o.shortDescription = "foo"; |
521 o.supportsCreate = true; | 559 o.supportsCreate = true; |
522 o.supportsImport = true; | 560 o.supportsImport = true; |
523 o.supportsMultiOpen = true; | 561 o.supportsMultiOpen = true; |
524 o.supportsOfflineCreate = true; | 562 o.supportsOfflineCreate = true; |
525 o.useByDefault = true; | 563 o.useByDefault = true; |
526 } | 564 } |
527 buildCounterApp--; | 565 buildCounterApp--; |
528 return o; | 566 return o; |
529 } | 567 } |
530 | 568 |
531 checkApp(api.App o) { | 569 checkApp(api.App o) { |
532 buildCounterApp++; | 570 buildCounterApp++; |
533 if (buildCounterApp < 3) { | 571 if (buildCounterApp < 3) { |
534 unittest.expect(o.authorized, unittest.isTrue); | 572 unittest.expect(o.authorized, unittest.isTrue); |
535 unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); | 573 unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); |
536 unittest.expect(o.createUrl, unittest.equals('foo')); | 574 unittest.expect(o.createUrl, unittest.equals('foo')); |
537 unittest.expect(o.hasDriveWideScope, unittest.isTrue); | 575 unittest.expect(o.hasDriveWideScope, unittest.isTrue); |
538 checkUnnamed642(o.icons); | 576 checkUnnamed629(o.icons); |
539 unittest.expect(o.id, unittest.equals('foo')); | 577 unittest.expect(o.id, unittest.equals('foo')); |
540 unittest.expect(o.installed, unittest.isTrue); | 578 unittest.expect(o.installed, unittest.isTrue); |
541 unittest.expect(o.kind, unittest.equals('foo')); | 579 unittest.expect(o.kind, unittest.equals('foo')); |
542 unittest.expect(o.longDescription, unittest.equals('foo')); | 580 unittest.expect(o.longDescription, unittest.equals('foo')); |
543 unittest.expect(o.name, unittest.equals('foo')); | 581 unittest.expect(o.name, unittest.equals('foo')); |
544 unittest.expect(o.objectType, unittest.equals('foo')); | 582 unittest.expect(o.objectType, unittest.equals('foo')); |
545 unittest.expect(o.openUrlTemplate, unittest.equals('foo')); | 583 unittest.expect(o.openUrlTemplate, unittest.equals('foo')); |
546 checkUnnamed643(o.primaryFileExtensions); | 584 checkUnnamed630(o.primaryFileExtensions); |
547 checkUnnamed644(o.primaryMimeTypes); | 585 checkUnnamed631(o.primaryMimeTypes); |
548 unittest.expect(o.productId, unittest.equals('foo')); | 586 unittest.expect(o.productId, unittest.equals('foo')); |
549 unittest.expect(o.productUrl, unittest.equals('foo')); | 587 unittest.expect(o.productUrl, unittest.equals('foo')); |
550 checkUnnamed645(o.secondaryFileExtensions); | 588 checkUnnamed632(o.secondaryFileExtensions); |
551 checkUnnamed646(o.secondaryMimeTypes); | 589 checkUnnamed633(o.secondaryMimeTypes); |
552 unittest.expect(o.shortDescription, unittest.equals('foo')); | 590 unittest.expect(o.shortDescription, unittest.equals('foo')); |
553 unittest.expect(o.supportsCreate, unittest.isTrue); | 591 unittest.expect(o.supportsCreate, unittest.isTrue); |
554 unittest.expect(o.supportsImport, unittest.isTrue); | 592 unittest.expect(o.supportsImport, unittest.isTrue); |
555 unittest.expect(o.supportsMultiOpen, unittest.isTrue); | 593 unittest.expect(o.supportsMultiOpen, unittest.isTrue); |
556 unittest.expect(o.supportsOfflineCreate, unittest.isTrue); | 594 unittest.expect(o.supportsOfflineCreate, unittest.isTrue); |
557 unittest.expect(o.useByDefault, unittest.isTrue); | 595 unittest.expect(o.useByDefault, unittest.isTrue); |
558 } | 596 } |
559 buildCounterApp--; | 597 buildCounterApp--; |
560 } | 598 } |
561 | 599 |
562 buildUnnamed647() { | 600 buildUnnamed634() { |
563 var o = new core.List<core.String>(); | 601 var o = new core.List<core.String>(); |
564 o.add("foo"); | 602 o.add("foo"); |
565 o.add("foo"); | 603 o.add("foo"); |
566 return o; | 604 return o; |
567 } | 605 } |
568 | 606 |
569 checkUnnamed647(core.List<core.String> o) { | 607 checkUnnamed634(core.List<core.String> o) { |
570 unittest.expect(o, unittest.hasLength(2)); | 608 unittest.expect(o, unittest.hasLength(2)); |
571 unittest.expect(o[0], unittest.equals('foo')); | 609 unittest.expect(o[0], unittest.equals('foo')); |
572 unittest.expect(o[1], unittest.equals('foo')); | 610 unittest.expect(o[1], unittest.equals('foo')); |
573 } | 611 } |
574 | 612 |
575 buildUnnamed648() { | 613 buildUnnamed635() { |
576 var o = new core.List<api.App>(); | 614 var o = new core.List<api.App>(); |
577 o.add(buildApp()); | 615 o.add(buildApp()); |
578 o.add(buildApp()); | 616 o.add(buildApp()); |
579 return o; | 617 return o; |
580 } | 618 } |
581 | 619 |
582 checkUnnamed648(core.List<api.App> o) { | 620 checkUnnamed635(core.List<api.App> o) { |
583 unittest.expect(o, unittest.hasLength(2)); | 621 unittest.expect(o, unittest.hasLength(2)); |
584 checkApp(o[0]); | 622 checkApp(o[0]); |
585 checkApp(o[1]); | 623 checkApp(o[1]); |
586 } | 624 } |
587 | 625 |
588 core.int buildCounterAppList = 0; | 626 core.int buildCounterAppList = 0; |
589 buildAppList() { | 627 buildAppList() { |
590 var o = new api.AppList(); | 628 var o = new api.AppList(); |
591 buildCounterAppList++; | 629 buildCounterAppList++; |
592 if (buildCounterAppList < 3) { | 630 if (buildCounterAppList < 3) { |
593 o.defaultAppIds = buildUnnamed647(); | 631 o.defaultAppIds = buildUnnamed634(); |
594 o.etag = "foo"; | 632 o.etag = "foo"; |
595 o.items = buildUnnamed648(); | 633 o.items = buildUnnamed635(); |
596 o.kind = "foo"; | 634 o.kind = "foo"; |
597 o.selfLink = "foo"; | 635 o.selfLink = "foo"; |
598 } | 636 } |
599 buildCounterAppList--; | 637 buildCounterAppList--; |
600 return o; | 638 return o; |
601 } | 639 } |
602 | 640 |
603 checkAppList(api.AppList o) { | 641 checkAppList(api.AppList o) { |
604 buildCounterAppList++; | 642 buildCounterAppList++; |
605 if (buildCounterAppList < 3) { | 643 if (buildCounterAppList < 3) { |
606 checkUnnamed647(o.defaultAppIds); | 644 checkUnnamed634(o.defaultAppIds); |
607 unittest.expect(o.etag, unittest.equals('foo')); | 645 unittest.expect(o.etag, unittest.equals('foo')); |
608 checkUnnamed648(o.items); | 646 checkUnnamed635(o.items); |
609 unittest.expect(o.kind, unittest.equals('foo')); | 647 unittest.expect(o.kind, unittest.equals('foo')); |
610 unittest.expect(o.selfLink, unittest.equals('foo')); | 648 unittest.expect(o.selfLink, unittest.equals('foo')); |
611 } | 649 } |
612 buildCounterAppList--; | 650 buildCounterAppList--; |
613 } | 651 } |
614 | 652 |
615 core.int buildCounterChange = 0; | 653 core.int buildCounterChange = 0; |
616 buildChange() { | 654 buildChange() { |
617 var o = new api.Change(); | 655 var o = new api.Change(); |
618 buildCounterChange++; | 656 buildCounterChange++; |
(...skipping 23 matching lines...) Expand all Loading... |
642 unittest.expect(o.kind, unittest.equals('foo')); | 680 unittest.expect(o.kind, unittest.equals('foo')); |
643 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"))); |
644 unittest.expect(o.selfLink, unittest.equals('foo')); | 682 unittest.expect(o.selfLink, unittest.equals('foo')); |
645 checkTeamDrive(o.teamDrive); | 683 checkTeamDrive(o.teamDrive); |
646 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 684 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
647 unittest.expect(o.type, unittest.equals('foo')); | 685 unittest.expect(o.type, unittest.equals('foo')); |
648 } | 686 } |
649 buildCounterChange--; | 687 buildCounterChange--; |
650 } | 688 } |
651 | 689 |
652 buildUnnamed649() { | 690 buildUnnamed636() { |
653 var o = new core.List<api.Change>(); | 691 var o = new core.List<api.Change>(); |
654 o.add(buildChange()); | 692 o.add(buildChange()); |
655 o.add(buildChange()); | 693 o.add(buildChange()); |
656 return o; | 694 return o; |
657 } | 695 } |
658 | 696 |
659 checkUnnamed649(core.List<api.Change> o) { | 697 checkUnnamed636(core.List<api.Change> o) { |
660 unittest.expect(o, unittest.hasLength(2)); | 698 unittest.expect(o, unittest.hasLength(2)); |
661 checkChange(o[0]); | 699 checkChange(o[0]); |
662 checkChange(o[1]); | 700 checkChange(o[1]); |
663 } | 701 } |
664 | 702 |
665 core.int buildCounterChangeList = 0; | 703 core.int buildCounterChangeList = 0; |
666 buildChangeList() { | 704 buildChangeList() { |
667 var o = new api.ChangeList(); | 705 var o = new api.ChangeList(); |
668 buildCounterChangeList++; | 706 buildCounterChangeList++; |
669 if (buildCounterChangeList < 3) { | 707 if (buildCounterChangeList < 3) { |
670 o.etag = "foo"; | 708 o.etag = "foo"; |
671 o.items = buildUnnamed649(); | 709 o.items = buildUnnamed636(); |
672 o.kind = "foo"; | 710 o.kind = "foo"; |
673 o.largestChangeId = "foo"; | 711 o.largestChangeId = "foo"; |
674 o.newStartPageToken = "foo"; | 712 o.newStartPageToken = "foo"; |
675 o.nextLink = "foo"; | 713 o.nextLink = "foo"; |
676 o.nextPageToken = "foo"; | 714 o.nextPageToken = "foo"; |
677 o.selfLink = "foo"; | 715 o.selfLink = "foo"; |
678 } | 716 } |
679 buildCounterChangeList--; | 717 buildCounterChangeList--; |
680 return o; | 718 return o; |
681 } | 719 } |
682 | 720 |
683 checkChangeList(api.ChangeList o) { | 721 checkChangeList(api.ChangeList o) { |
684 buildCounterChangeList++; | 722 buildCounterChangeList++; |
685 if (buildCounterChangeList < 3) { | 723 if (buildCounterChangeList < 3) { |
686 unittest.expect(o.etag, unittest.equals('foo')); | 724 unittest.expect(o.etag, unittest.equals('foo')); |
687 checkUnnamed649(o.items); | 725 checkUnnamed636(o.items); |
688 unittest.expect(o.kind, unittest.equals('foo')); | 726 unittest.expect(o.kind, unittest.equals('foo')); |
689 unittest.expect(o.largestChangeId, unittest.equals('foo')); | 727 unittest.expect(o.largestChangeId, unittest.equals('foo')); |
690 unittest.expect(o.newStartPageToken, unittest.equals('foo')); | 728 unittest.expect(o.newStartPageToken, unittest.equals('foo')); |
691 unittest.expect(o.nextLink, unittest.equals('foo')); | 729 unittest.expect(o.nextLink, unittest.equals('foo')); |
692 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 730 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
693 unittest.expect(o.selfLink, unittest.equals('foo')); | 731 unittest.expect(o.selfLink, unittest.equals('foo')); |
694 } | 732 } |
695 buildCounterChangeList--; | 733 buildCounterChangeList--; |
696 } | 734 } |
697 | 735 |
698 buildUnnamed650() { | 736 buildUnnamed637() { |
699 var o = new core.Map<core.String, core.String>(); | 737 var o = new core.Map<core.String, core.String>(); |
700 o["x"] = "foo"; | 738 o["x"] = "foo"; |
701 o["y"] = "foo"; | 739 o["y"] = "foo"; |
702 return o; | 740 return o; |
703 } | 741 } |
704 | 742 |
705 checkUnnamed650(core.Map<core.String, core.String> o) { | 743 checkUnnamed637(core.Map<core.String, core.String> o) { |
706 unittest.expect(o, unittest.hasLength(2)); | 744 unittest.expect(o, unittest.hasLength(2)); |
707 unittest.expect(o["x"], unittest.equals('foo')); | 745 unittest.expect(o["x"], unittest.equals('foo')); |
708 unittest.expect(o["y"], unittest.equals('foo')); | 746 unittest.expect(o["y"], unittest.equals('foo')); |
709 } | 747 } |
710 | 748 |
711 core.int buildCounterChannel = 0; | 749 core.int buildCounterChannel = 0; |
712 buildChannel() { | 750 buildChannel() { |
713 var o = new api.Channel(); | 751 var o = new api.Channel(); |
714 buildCounterChannel++; | 752 buildCounterChannel++; |
715 if (buildCounterChannel < 3) { | 753 if (buildCounterChannel < 3) { |
716 o.address = "foo"; | 754 o.address = "foo"; |
717 o.expiration = "foo"; | 755 o.expiration = "foo"; |
718 o.id = "foo"; | 756 o.id = "foo"; |
719 o.kind = "foo"; | 757 o.kind = "foo"; |
720 o.params = buildUnnamed650(); | 758 o.params = buildUnnamed637(); |
721 o.payload = true; | 759 o.payload = true; |
722 o.resourceId = "foo"; | 760 o.resourceId = "foo"; |
723 o.resourceUri = "foo"; | 761 o.resourceUri = "foo"; |
724 o.token = "foo"; | 762 o.token = "foo"; |
725 o.type = "foo"; | 763 o.type = "foo"; |
726 } | 764 } |
727 buildCounterChannel--; | 765 buildCounterChannel--; |
728 return o; | 766 return o; |
729 } | 767 } |
730 | 768 |
731 checkChannel(api.Channel o) { | 769 checkChannel(api.Channel o) { |
732 buildCounterChannel++; | 770 buildCounterChannel++; |
733 if (buildCounterChannel < 3) { | 771 if (buildCounterChannel < 3) { |
734 unittest.expect(o.address, unittest.equals('foo')); | 772 unittest.expect(o.address, unittest.equals('foo')); |
735 unittest.expect(o.expiration, unittest.equals('foo')); | 773 unittest.expect(o.expiration, unittest.equals('foo')); |
736 unittest.expect(o.id, unittest.equals('foo')); | 774 unittest.expect(o.id, unittest.equals('foo')); |
737 unittest.expect(o.kind, unittest.equals('foo')); | 775 unittest.expect(o.kind, unittest.equals('foo')); |
738 checkUnnamed650(o.params); | 776 checkUnnamed637(o.params); |
739 unittest.expect(o.payload, unittest.isTrue); | 777 unittest.expect(o.payload, unittest.isTrue); |
740 unittest.expect(o.resourceId, unittest.equals('foo')); | 778 unittest.expect(o.resourceId, unittest.equals('foo')); |
741 unittest.expect(o.resourceUri, unittest.equals('foo')); | 779 unittest.expect(o.resourceUri, unittest.equals('foo')); |
742 unittest.expect(o.token, unittest.equals('foo')); | 780 unittest.expect(o.token, unittest.equals('foo')); |
743 unittest.expect(o.type, unittest.equals('foo')); | 781 unittest.expect(o.type, unittest.equals('foo')); |
744 } | 782 } |
745 buildCounterChannel--; | 783 buildCounterChannel--; |
746 } | 784 } |
747 | 785 |
748 buildUnnamed651() { | 786 buildUnnamed638() { |
749 var o = new core.List<api.ChildReference>(); | 787 var o = new core.List<api.ChildReference>(); |
750 o.add(buildChildReference()); | 788 o.add(buildChildReference()); |
751 o.add(buildChildReference()); | 789 o.add(buildChildReference()); |
752 return o; | 790 return o; |
753 } | 791 } |
754 | 792 |
755 checkUnnamed651(core.List<api.ChildReference> o) { | 793 checkUnnamed638(core.List<api.ChildReference> o) { |
756 unittest.expect(o, unittest.hasLength(2)); | 794 unittest.expect(o, unittest.hasLength(2)); |
757 checkChildReference(o[0]); | 795 checkChildReference(o[0]); |
758 checkChildReference(o[1]); | 796 checkChildReference(o[1]); |
759 } | 797 } |
760 | 798 |
761 core.int buildCounterChildList = 0; | 799 core.int buildCounterChildList = 0; |
762 buildChildList() { | 800 buildChildList() { |
763 var o = new api.ChildList(); | 801 var o = new api.ChildList(); |
764 buildCounterChildList++; | 802 buildCounterChildList++; |
765 if (buildCounterChildList < 3) { | 803 if (buildCounterChildList < 3) { |
766 o.etag = "foo"; | 804 o.etag = "foo"; |
767 o.items = buildUnnamed651(); | 805 o.items = buildUnnamed638(); |
768 o.kind = "foo"; | 806 o.kind = "foo"; |
769 o.nextLink = "foo"; | 807 o.nextLink = "foo"; |
770 o.nextPageToken = "foo"; | 808 o.nextPageToken = "foo"; |
771 o.selfLink = "foo"; | 809 o.selfLink = "foo"; |
772 } | 810 } |
773 buildCounterChildList--; | 811 buildCounterChildList--; |
774 return o; | 812 return o; |
775 } | 813 } |
776 | 814 |
777 checkChildList(api.ChildList o) { | 815 checkChildList(api.ChildList o) { |
778 buildCounterChildList++; | 816 buildCounterChildList++; |
779 if (buildCounterChildList < 3) { | 817 if (buildCounterChildList < 3) { |
780 unittest.expect(o.etag, unittest.equals('foo')); | 818 unittest.expect(o.etag, unittest.equals('foo')); |
781 checkUnnamed651(o.items); | 819 checkUnnamed638(o.items); |
782 unittest.expect(o.kind, unittest.equals('foo')); | 820 unittest.expect(o.kind, unittest.equals('foo')); |
783 unittest.expect(o.nextLink, unittest.equals('foo')); | 821 unittest.expect(o.nextLink, unittest.equals('foo')); |
784 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 822 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
785 unittest.expect(o.selfLink, unittest.equals('foo')); | 823 unittest.expect(o.selfLink, unittest.equals('foo')); |
786 } | 824 } |
787 buildCounterChildList--; | 825 buildCounterChildList--; |
788 } | 826 } |
789 | 827 |
790 core.int buildCounterChildReference = 0; | 828 core.int buildCounterChildReference = 0; |
791 buildChildReference() { | 829 buildChildReference() { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 | 864 |
827 checkCommentContext(api.CommentContext o) { | 865 checkCommentContext(api.CommentContext o) { |
828 buildCounterCommentContext++; | 866 buildCounterCommentContext++; |
829 if (buildCounterCommentContext < 3) { | 867 if (buildCounterCommentContext < 3) { |
830 unittest.expect(o.type, unittest.equals('foo')); | 868 unittest.expect(o.type, unittest.equals('foo')); |
831 unittest.expect(o.value, unittest.equals('foo')); | 869 unittest.expect(o.value, unittest.equals('foo')); |
832 } | 870 } |
833 buildCounterCommentContext--; | 871 buildCounterCommentContext--; |
834 } | 872 } |
835 | 873 |
836 buildUnnamed652() { | 874 buildUnnamed639() { |
837 var o = new core.List<api.CommentReply>(); | 875 var o = new core.List<api.CommentReply>(); |
838 o.add(buildCommentReply()); | 876 o.add(buildCommentReply()); |
839 o.add(buildCommentReply()); | 877 o.add(buildCommentReply()); |
840 return o; | 878 return o; |
841 } | 879 } |
842 | 880 |
843 checkUnnamed652(core.List<api.CommentReply> o) { | 881 checkUnnamed639(core.List<api.CommentReply> o) { |
844 unittest.expect(o, unittest.hasLength(2)); | 882 unittest.expect(o, unittest.hasLength(2)); |
845 checkCommentReply(o[0]); | 883 checkCommentReply(o[0]); |
846 checkCommentReply(o[1]); | 884 checkCommentReply(o[1]); |
847 } | 885 } |
848 | 886 |
849 core.int buildCounterComment = 0; | 887 core.int buildCounterComment = 0; |
850 buildComment() { | 888 buildComment() { |
851 var o = new api.Comment(); | 889 var o = new api.Comment(); |
852 buildCounterComment++; | 890 buildCounterComment++; |
853 if (buildCounterComment < 3) { | 891 if (buildCounterComment < 3) { |
854 o.anchor = "foo"; | 892 o.anchor = "foo"; |
855 o.author = buildUser(); | 893 o.author = buildUser(); |
856 o.commentId = "foo"; | 894 o.commentId = "foo"; |
857 o.content = "foo"; | 895 o.content = "foo"; |
858 o.context = buildCommentContext(); | 896 o.context = buildCommentContext(); |
859 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); | 897 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); |
860 o.deleted = true; | 898 o.deleted = true; |
861 o.fileId = "foo"; | 899 o.fileId = "foo"; |
862 o.fileTitle = "foo"; | 900 o.fileTitle = "foo"; |
863 o.htmlContent = "foo"; | 901 o.htmlContent = "foo"; |
864 o.kind = "foo"; | 902 o.kind = "foo"; |
865 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 903 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
866 o.replies = buildUnnamed652(); | 904 o.replies = buildUnnamed639(); |
867 o.selfLink = "foo"; | 905 o.selfLink = "foo"; |
868 o.status = "foo"; | 906 o.status = "foo"; |
869 } | 907 } |
870 buildCounterComment--; | 908 buildCounterComment--; |
871 return o; | 909 return o; |
872 } | 910 } |
873 | 911 |
874 checkComment(api.Comment o) { | 912 checkComment(api.Comment o) { |
875 buildCounterComment++; | 913 buildCounterComment++; |
876 if (buildCounterComment < 3) { | 914 if (buildCounterComment < 3) { |
877 unittest.expect(o.anchor, unittest.equals('foo')); | 915 unittest.expect(o.anchor, unittest.equals('foo')); |
878 checkUser(o.author); | 916 checkUser(o.author); |
879 unittest.expect(o.commentId, unittest.equals('foo')); | 917 unittest.expect(o.commentId, unittest.equals('foo')); |
880 unittest.expect(o.content, unittest.equals('foo')); | 918 unittest.expect(o.content, unittest.equals('foo')); |
881 checkCommentContext(o.context); | 919 checkCommentContext(o.context); |
882 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"))); |
883 unittest.expect(o.deleted, unittest.isTrue); | 921 unittest.expect(o.deleted, unittest.isTrue); |
884 unittest.expect(o.fileId, unittest.equals('foo')); | 922 unittest.expect(o.fileId, unittest.equals('foo')); |
885 unittest.expect(o.fileTitle, unittest.equals('foo')); | 923 unittest.expect(o.fileTitle, unittest.equals('foo')); |
886 unittest.expect(o.htmlContent, unittest.equals('foo')); | 924 unittest.expect(o.htmlContent, unittest.equals('foo')); |
887 unittest.expect(o.kind, unittest.equals('foo')); | 925 unittest.expect(o.kind, unittest.equals('foo')); |
888 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"))); |
889 checkUnnamed652(o.replies); | 927 checkUnnamed639(o.replies); |
890 unittest.expect(o.selfLink, unittest.equals('foo')); | 928 unittest.expect(o.selfLink, unittest.equals('foo')); |
891 unittest.expect(o.status, unittest.equals('foo')); | 929 unittest.expect(o.status, unittest.equals('foo')); |
892 } | 930 } |
893 buildCounterComment--; | 931 buildCounterComment--; |
894 } | 932 } |
895 | 933 |
896 buildUnnamed653() { | 934 buildUnnamed640() { |
897 var o = new core.List<api.Comment>(); | 935 var o = new core.List<api.Comment>(); |
898 o.add(buildComment()); | 936 o.add(buildComment()); |
899 o.add(buildComment()); | 937 o.add(buildComment()); |
900 return o; | 938 return o; |
901 } | 939 } |
902 | 940 |
903 checkUnnamed653(core.List<api.Comment> o) { | 941 checkUnnamed640(core.List<api.Comment> o) { |
904 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
905 checkComment(o[0]); | 943 checkComment(o[0]); |
906 checkComment(o[1]); | 944 checkComment(o[1]); |
907 } | 945 } |
908 | 946 |
909 core.int buildCounterCommentList = 0; | 947 core.int buildCounterCommentList = 0; |
910 buildCommentList() { | 948 buildCommentList() { |
911 var o = new api.CommentList(); | 949 var o = new api.CommentList(); |
912 buildCounterCommentList++; | 950 buildCounterCommentList++; |
913 if (buildCounterCommentList < 3) { | 951 if (buildCounterCommentList < 3) { |
914 o.items = buildUnnamed653(); | 952 o.items = buildUnnamed640(); |
915 o.kind = "foo"; | 953 o.kind = "foo"; |
916 o.nextLink = "foo"; | 954 o.nextLink = "foo"; |
917 o.nextPageToken = "foo"; | 955 o.nextPageToken = "foo"; |
918 o.selfLink = "foo"; | 956 o.selfLink = "foo"; |
919 } | 957 } |
920 buildCounterCommentList--; | 958 buildCounterCommentList--; |
921 return o; | 959 return o; |
922 } | 960 } |
923 | 961 |
924 checkCommentList(api.CommentList o) { | 962 checkCommentList(api.CommentList o) { |
925 buildCounterCommentList++; | 963 buildCounterCommentList++; |
926 if (buildCounterCommentList < 3) { | 964 if (buildCounterCommentList < 3) { |
927 checkUnnamed653(o.items); | 965 checkUnnamed640(o.items); |
928 unittest.expect(o.kind, unittest.equals('foo')); | 966 unittest.expect(o.kind, unittest.equals('foo')); |
929 unittest.expect(o.nextLink, unittest.equals('foo')); | 967 unittest.expect(o.nextLink, unittest.equals('foo')); |
930 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 968 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
931 unittest.expect(o.selfLink, unittest.equals('foo')); | 969 unittest.expect(o.selfLink, unittest.equals('foo')); |
932 } | 970 } |
933 buildCounterCommentList--; | 971 buildCounterCommentList--; |
934 } | 972 } |
935 | 973 |
936 core.int buildCounterCommentReply = 0; | 974 core.int buildCounterCommentReply = 0; |
937 buildCommentReply() { | 975 buildCommentReply() { |
(...skipping 23 matching lines...) Expand all Loading... |
961 unittest.expect(o.deleted, unittest.isTrue); | 999 unittest.expect(o.deleted, unittest.isTrue); |
962 unittest.expect(o.htmlContent, unittest.equals('foo')); | 1000 unittest.expect(o.htmlContent, unittest.equals('foo')); |
963 unittest.expect(o.kind, unittest.equals('foo')); | 1001 unittest.expect(o.kind, unittest.equals('foo')); |
964 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"))); |
965 unittest.expect(o.replyId, unittest.equals('foo')); | 1003 unittest.expect(o.replyId, unittest.equals('foo')); |
966 unittest.expect(o.verb, unittest.equals('foo')); | 1004 unittest.expect(o.verb, unittest.equals('foo')); |
967 } | 1005 } |
968 buildCounterCommentReply--; | 1006 buildCounterCommentReply--; |
969 } | 1007 } |
970 | 1008 |
971 buildUnnamed654() { | 1009 buildUnnamed641() { |
972 var o = new core.List<api.CommentReply>(); | 1010 var o = new core.List<api.CommentReply>(); |
973 o.add(buildCommentReply()); | 1011 o.add(buildCommentReply()); |
974 o.add(buildCommentReply()); | 1012 o.add(buildCommentReply()); |
975 return o; | 1013 return o; |
976 } | 1014 } |
977 | 1015 |
978 checkUnnamed654(core.List<api.CommentReply> o) { | 1016 checkUnnamed641(core.List<api.CommentReply> o) { |
979 unittest.expect(o, unittest.hasLength(2)); | 1017 unittest.expect(o, unittest.hasLength(2)); |
980 checkCommentReply(o[0]); | 1018 checkCommentReply(o[0]); |
981 checkCommentReply(o[1]); | 1019 checkCommentReply(o[1]); |
982 } | 1020 } |
983 | 1021 |
984 core.int buildCounterCommentReplyList = 0; | 1022 core.int buildCounterCommentReplyList = 0; |
985 buildCommentReplyList() { | 1023 buildCommentReplyList() { |
986 var o = new api.CommentReplyList(); | 1024 var o = new api.CommentReplyList(); |
987 buildCounterCommentReplyList++; | 1025 buildCounterCommentReplyList++; |
988 if (buildCounterCommentReplyList < 3) { | 1026 if (buildCounterCommentReplyList < 3) { |
989 o.items = buildUnnamed654(); | 1027 o.items = buildUnnamed641(); |
990 o.kind = "foo"; | 1028 o.kind = "foo"; |
991 o.nextLink = "foo"; | 1029 o.nextLink = "foo"; |
992 o.nextPageToken = "foo"; | 1030 o.nextPageToken = "foo"; |
993 o.selfLink = "foo"; | 1031 o.selfLink = "foo"; |
994 } | 1032 } |
995 buildCounterCommentReplyList--; | 1033 buildCounterCommentReplyList--; |
996 return o; | 1034 return o; |
997 } | 1035 } |
998 | 1036 |
999 checkCommentReplyList(api.CommentReplyList o) { | 1037 checkCommentReplyList(api.CommentReplyList o) { |
1000 buildCounterCommentReplyList++; | 1038 buildCounterCommentReplyList++; |
1001 if (buildCounterCommentReplyList < 3) { | 1039 if (buildCounterCommentReplyList < 3) { |
1002 checkUnnamed654(o.items); | 1040 checkUnnamed641(o.items); |
1003 unittest.expect(o.kind, unittest.equals('foo')); | 1041 unittest.expect(o.kind, unittest.equals('foo')); |
1004 unittest.expect(o.nextLink, unittest.equals('foo')); | 1042 unittest.expect(o.nextLink, unittest.equals('foo')); |
1005 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1043 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1006 unittest.expect(o.selfLink, unittest.equals('foo')); | 1044 unittest.expect(o.selfLink, unittest.equals('foo')); |
1007 } | 1045 } |
1008 buildCounterCommentReplyList--; | 1046 buildCounterCommentReplyList--; |
1009 } | 1047 } |
1010 | 1048 |
1011 core.int buildCounterFileCapabilities = 0; | 1049 core.int buildCounterFileCapabilities = 0; |
1012 buildFileCapabilities() { | 1050 buildFileCapabilities() { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1050 unittest.expect(o.canReadTeamDrive, unittest.isTrue); | 1088 unittest.expect(o.canReadTeamDrive, unittest.isTrue); |
1051 unittest.expect(o.canRemoveChildren, unittest.isTrue); | 1089 unittest.expect(o.canRemoveChildren, unittest.isTrue); |
1052 unittest.expect(o.canRename, unittest.isTrue); | 1090 unittest.expect(o.canRename, unittest.isTrue); |
1053 unittest.expect(o.canShare, unittest.isTrue); | 1091 unittest.expect(o.canShare, unittest.isTrue); |
1054 unittest.expect(o.canTrash, unittest.isTrue); | 1092 unittest.expect(o.canTrash, unittest.isTrue); |
1055 unittest.expect(o.canUntrash, unittest.isTrue); | 1093 unittest.expect(o.canUntrash, unittest.isTrue); |
1056 } | 1094 } |
1057 buildCounterFileCapabilities--; | 1095 buildCounterFileCapabilities--; |
1058 } | 1096 } |
1059 | 1097 |
1060 buildUnnamed655() { | 1098 buildUnnamed642() { |
1061 var o = new core.Map<core.String, core.String>(); | 1099 var o = new core.Map<core.String, core.String>(); |
1062 o["x"] = "foo"; | 1100 o["x"] = "foo"; |
1063 o["y"] = "foo"; | 1101 o["y"] = "foo"; |
1064 return o; | 1102 return o; |
1065 } | 1103 } |
1066 | 1104 |
1067 checkUnnamed655(core.Map<core.String, core.String> o) { | 1105 checkUnnamed642(core.Map<core.String, core.String> o) { |
1068 unittest.expect(o, unittest.hasLength(2)); | 1106 unittest.expect(o, unittest.hasLength(2)); |
1069 unittest.expect(o["x"], unittest.equals('foo')); | 1107 unittest.expect(o["x"], unittest.equals('foo')); |
1070 unittest.expect(o["y"], unittest.equals('foo')); | 1108 unittest.expect(o["y"], unittest.equals('foo')); |
1071 } | 1109 } |
1072 | 1110 |
1073 core.int buildCounterFileImageMediaMetadataLocation = 0; | 1111 core.int buildCounterFileImageMediaMetadataLocation = 0; |
1074 buildFileImageMediaMetadataLocation() { | 1112 buildFileImageMediaMetadataLocation() { |
1075 var o = new api.FileImageMediaMetadataLocation(); | 1113 var o = new api.FileImageMediaMetadataLocation(); |
1076 buildCounterFileImageMediaMetadataLocation++; | 1114 buildCounterFileImageMediaMetadataLocation++; |
1077 if (buildCounterFileImageMediaMetadataLocation < 3) { | 1115 if (buildCounterFileImageMediaMetadataLocation < 3) { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 unittest.expect(o.hidden, unittest.isTrue); | 1231 unittest.expect(o.hidden, unittest.isTrue); |
1194 unittest.expect(o.modified, unittest.isTrue); | 1232 unittest.expect(o.modified, unittest.isTrue); |
1195 unittest.expect(o.restricted, unittest.isTrue); | 1233 unittest.expect(o.restricted, unittest.isTrue); |
1196 unittest.expect(o.starred, unittest.isTrue); | 1234 unittest.expect(o.starred, unittest.isTrue); |
1197 unittest.expect(o.trashed, unittest.isTrue); | 1235 unittest.expect(o.trashed, unittest.isTrue); |
1198 unittest.expect(o.viewed, unittest.isTrue); | 1236 unittest.expect(o.viewed, unittest.isTrue); |
1199 } | 1237 } |
1200 buildCounterFileLabels--; | 1238 buildCounterFileLabels--; |
1201 } | 1239 } |
1202 | 1240 |
1203 buildUnnamed656() { | 1241 buildUnnamed643() { |
1204 var o = new core.Map<core.String, core.String>(); | 1242 var o = new core.Map<core.String, core.String>(); |
1205 o["x"] = "foo"; | 1243 o["x"] = "foo"; |
1206 o["y"] = "foo"; | 1244 o["y"] = "foo"; |
1207 return o; | 1245 return o; |
1208 } | 1246 } |
1209 | 1247 |
1210 checkUnnamed656(core.Map<core.String, core.String> o) { | 1248 checkUnnamed643(core.Map<core.String, core.String> o) { |
1211 unittest.expect(o, unittest.hasLength(2)); | 1249 unittest.expect(o, unittest.hasLength(2)); |
1212 unittest.expect(o["x"], unittest.equals('foo')); | 1250 unittest.expect(o["x"], unittest.equals('foo')); |
1213 unittest.expect(o["y"], unittest.equals('foo')); | 1251 unittest.expect(o["y"], unittest.equals('foo')); |
1214 } | 1252 } |
1215 | 1253 |
1216 buildUnnamed657() { | 1254 buildUnnamed644() { |
1217 var o = new core.List<core.String>(); | 1255 var o = new core.List<core.String>(); |
1218 o.add("foo"); | 1256 o.add("foo"); |
1219 o.add("foo"); | 1257 o.add("foo"); |
1220 return o; | 1258 return o; |
1221 } | 1259 } |
1222 | 1260 |
1223 checkUnnamed657(core.List<core.String> o) { | 1261 checkUnnamed644(core.List<core.String> o) { |
1224 unittest.expect(o, unittest.hasLength(2)); | 1262 unittest.expect(o, unittest.hasLength(2)); |
1225 unittest.expect(o[0], unittest.equals('foo')); | 1263 unittest.expect(o[0], unittest.equals('foo')); |
1226 unittest.expect(o[1], unittest.equals('foo')); | 1264 unittest.expect(o[1], unittest.equals('foo')); |
1227 } | 1265 } |
1228 | 1266 |
1229 buildUnnamed658() { | 1267 buildUnnamed645() { |
1230 var o = new core.List<api.User>(); | 1268 var o = new core.List<api.User>(); |
1231 o.add(buildUser()); | 1269 o.add(buildUser()); |
1232 o.add(buildUser()); | 1270 o.add(buildUser()); |
1233 return o; | 1271 return o; |
1234 } | 1272 } |
1235 | 1273 |
1236 checkUnnamed658(core.List<api.User> o) { | 1274 checkUnnamed645(core.List<api.User> o) { |
1237 unittest.expect(o, unittest.hasLength(2)); | 1275 unittest.expect(o, unittest.hasLength(2)); |
1238 checkUser(o[0]); | 1276 checkUser(o[0]); |
1239 checkUser(o[1]); | 1277 checkUser(o[1]); |
1240 } | 1278 } |
1241 | 1279 |
1242 buildUnnamed659() { | 1280 buildUnnamed646() { |
1243 var o = new core.List<api.ParentReference>(); | 1281 var o = new core.List<api.ParentReference>(); |
1244 o.add(buildParentReference()); | 1282 o.add(buildParentReference()); |
1245 o.add(buildParentReference()); | 1283 o.add(buildParentReference()); |
1246 return o; | 1284 return o; |
1247 } | 1285 } |
1248 | 1286 |
1249 checkUnnamed659(core.List<api.ParentReference> o) { | 1287 checkUnnamed646(core.List<api.ParentReference> o) { |
1250 unittest.expect(o, unittest.hasLength(2)); | 1288 unittest.expect(o, unittest.hasLength(2)); |
1251 checkParentReference(o[0]); | 1289 checkParentReference(o[0]); |
1252 checkParentReference(o[1]); | 1290 checkParentReference(o[1]); |
1253 } | 1291 } |
1254 | 1292 |
1255 buildUnnamed660() { | 1293 buildUnnamed647() { |
1256 var o = new core.List<api.Permission>(); | 1294 var o = new core.List<api.Permission>(); |
1257 o.add(buildPermission()); | 1295 o.add(buildPermission()); |
1258 o.add(buildPermission()); | 1296 o.add(buildPermission()); |
1259 return o; | 1297 return o; |
1260 } | 1298 } |
1261 | 1299 |
1262 checkUnnamed660(core.List<api.Permission> o) { | 1300 checkUnnamed647(core.List<api.Permission> o) { |
1263 unittest.expect(o, unittest.hasLength(2)); | 1301 unittest.expect(o, unittest.hasLength(2)); |
1264 checkPermission(o[0]); | 1302 checkPermission(o[0]); |
1265 checkPermission(o[1]); | 1303 checkPermission(o[1]); |
1266 } | 1304 } |
1267 | 1305 |
1268 buildUnnamed661() { | 1306 buildUnnamed648() { |
1269 var o = new core.List<api.Property>(); | 1307 var o = new core.List<api.Property>(); |
1270 o.add(buildProperty()); | 1308 o.add(buildProperty()); |
1271 o.add(buildProperty()); | 1309 o.add(buildProperty()); |
1272 return o; | 1310 return o; |
1273 } | 1311 } |
1274 | 1312 |
1275 checkUnnamed661(core.List<api.Property> o) { | 1313 checkUnnamed648(core.List<api.Property> o) { |
1276 unittest.expect(o, unittest.hasLength(2)); | 1314 unittest.expect(o, unittest.hasLength(2)); |
1277 checkProperty(o[0]); | 1315 checkProperty(o[0]); |
1278 checkProperty(o[1]); | 1316 checkProperty(o[1]); |
1279 } | 1317 } |
1280 | 1318 |
1281 buildUnnamed662() { | 1319 buildUnnamed649() { |
1282 var o = new core.List<core.String>(); | 1320 var o = new core.List<core.String>(); |
1283 o.add("foo"); | 1321 o.add("foo"); |
1284 o.add("foo"); | 1322 o.add("foo"); |
1285 return o; | 1323 return o; |
1286 } | 1324 } |
1287 | 1325 |
1288 checkUnnamed662(core.List<core.String> o) { | 1326 checkUnnamed649(core.List<core.String> o) { |
1289 unittest.expect(o, unittest.hasLength(2)); | 1327 unittest.expect(o, unittest.hasLength(2)); |
1290 unittest.expect(o[0], unittest.equals('foo')); | 1328 unittest.expect(o[0], unittest.equals('foo')); |
1291 unittest.expect(o[1], unittest.equals('foo')); | 1329 unittest.expect(o[1], unittest.equals('foo')); |
1292 } | 1330 } |
1293 | 1331 |
1294 core.int buildCounterFileThumbnail = 0; | 1332 core.int buildCounterFileThumbnail = 0; |
1295 buildFileThumbnail() { | 1333 buildFileThumbnail() { |
1296 var o = new api.FileThumbnail(); | 1334 var o = new api.FileThumbnail(); |
1297 buildCounterFileThumbnail++; | 1335 buildCounterFileThumbnail++; |
1298 if (buildCounterFileThumbnail < 3) { | 1336 if (buildCounterFileThumbnail < 3) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1347 o.capabilities = buildFileCapabilities(); | 1385 o.capabilities = buildFileCapabilities(); |
1348 o.copyable = true; | 1386 o.copyable = true; |
1349 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1387 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1350 o.defaultOpenWithLink = "foo"; | 1388 o.defaultOpenWithLink = "foo"; |
1351 o.description = "foo"; | 1389 o.description = "foo"; |
1352 o.downloadUrl = "foo"; | 1390 o.downloadUrl = "foo"; |
1353 o.editable = true; | 1391 o.editable = true; |
1354 o.embedLink = "foo"; | 1392 o.embedLink = "foo"; |
1355 o.etag = "foo"; | 1393 o.etag = "foo"; |
1356 o.explicitlyTrashed = true; | 1394 o.explicitlyTrashed = true; |
1357 o.exportLinks = buildUnnamed655(); | 1395 o.exportLinks = buildUnnamed642(); |
1358 o.fileExtension = "foo"; | 1396 o.fileExtension = "foo"; |
1359 o.fileSize = "foo"; | 1397 o.fileSize = "foo"; |
1360 o.folderColorRgb = "foo"; | 1398 o.folderColorRgb = "foo"; |
1361 o.fullFileExtension = "foo"; | 1399 o.fullFileExtension = "foo"; |
1362 o.hasAugmentedPermissions = true; | 1400 o.hasAugmentedPermissions = true; |
1363 o.hasThumbnail = true; | 1401 o.hasThumbnail = true; |
1364 o.headRevisionId = "foo"; | 1402 o.headRevisionId = "foo"; |
1365 o.iconLink = "foo"; | 1403 o.iconLink = "foo"; |
1366 o.id = "foo"; | 1404 o.id = "foo"; |
1367 o.imageMediaMetadata = buildFileImageMediaMetadata(); | 1405 o.imageMediaMetadata = buildFileImageMediaMetadata(); |
1368 o.indexableText = buildFileIndexableText(); | 1406 o.indexableText = buildFileIndexableText(); |
1369 o.isAppAuthorized = true; | 1407 o.isAppAuthorized = true; |
1370 o.kind = "foo"; | 1408 o.kind = "foo"; |
1371 o.labels = buildFileLabels(); | 1409 o.labels = buildFileLabels(); |
1372 o.lastModifyingUser = buildUser(); | 1410 o.lastModifyingUser = buildUser(); |
1373 o.lastModifyingUserName = "foo"; | 1411 o.lastModifyingUserName = "foo"; |
1374 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1412 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1375 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1413 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1376 o.md5Checksum = "foo"; | 1414 o.md5Checksum = "foo"; |
1377 o.mimeType = "foo"; | 1415 o.mimeType = "foo"; |
1378 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1416 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1379 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1417 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1380 o.openWithLinks = buildUnnamed656(); | 1418 o.openWithLinks = buildUnnamed643(); |
1381 o.originalFilename = "foo"; | 1419 o.originalFilename = "foo"; |
1382 o.ownedByMe = true; | 1420 o.ownedByMe = true; |
1383 o.ownerNames = buildUnnamed657(); | 1421 o.ownerNames = buildUnnamed644(); |
1384 o.owners = buildUnnamed658(); | 1422 o.owners = buildUnnamed645(); |
1385 o.parents = buildUnnamed659(); | 1423 o.parents = buildUnnamed646(); |
1386 o.permissions = buildUnnamed660(); | 1424 o.permissions = buildUnnamed647(); |
1387 o.properties = buildUnnamed661(); | 1425 o.properties = buildUnnamed648(); |
1388 o.quotaBytesUsed = "foo"; | 1426 o.quotaBytesUsed = "foo"; |
1389 o.selfLink = "foo"; | 1427 o.selfLink = "foo"; |
1390 o.shareable = true; | 1428 o.shareable = true; |
1391 o.shared = true; | 1429 o.shared = true; |
1392 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1430 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1393 o.sharingUser = buildUser(); | 1431 o.sharingUser = buildUser(); |
1394 o.spaces = buildUnnamed662(); | 1432 o.spaces = buildUnnamed649(); |
1395 o.teamDriveId = "foo"; | 1433 o.teamDriveId = "foo"; |
1396 o.thumbnail = buildFileThumbnail(); | 1434 o.thumbnail = buildFileThumbnail(); |
1397 o.thumbnailLink = "foo"; | 1435 o.thumbnailLink = "foo"; |
1398 o.thumbnailVersion = "foo"; | 1436 o.thumbnailVersion = "foo"; |
1399 o.title = "foo"; | 1437 o.title = "foo"; |
1400 o.trashedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1438 o.trashedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1401 o.trashingUser = buildUser(); | 1439 o.trashingUser = buildUser(); |
1402 o.userPermission = buildPermission(); | 1440 o.userPermission = buildPermission(); |
1403 o.version = "foo"; | 1441 o.version = "foo"; |
1404 o.videoMediaMetadata = buildFileVideoMediaMetadata(); | 1442 o.videoMediaMetadata = buildFileVideoMediaMetadata(); |
(...skipping 15 matching lines...) Expand all Loading... |
1420 checkFileCapabilities(o.capabilities); | 1458 checkFileCapabilities(o.capabilities); |
1421 unittest.expect(o.copyable, unittest.isTrue); | 1459 unittest.expect(o.copyable, unittest.isTrue); |
1422 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1460 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
1423 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); | 1461 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); |
1424 unittest.expect(o.description, unittest.equals('foo')); | 1462 unittest.expect(o.description, unittest.equals('foo')); |
1425 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1463 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
1426 unittest.expect(o.editable, unittest.isTrue); | 1464 unittest.expect(o.editable, unittest.isTrue); |
1427 unittest.expect(o.embedLink, unittest.equals('foo')); | 1465 unittest.expect(o.embedLink, unittest.equals('foo')); |
1428 unittest.expect(o.etag, unittest.equals('foo')); | 1466 unittest.expect(o.etag, unittest.equals('foo')); |
1429 unittest.expect(o.explicitlyTrashed, unittest.isTrue); | 1467 unittest.expect(o.explicitlyTrashed, unittest.isTrue); |
1430 checkUnnamed655(o.exportLinks); | 1468 checkUnnamed642(o.exportLinks); |
1431 unittest.expect(o.fileExtension, unittest.equals('foo')); | 1469 unittest.expect(o.fileExtension, unittest.equals('foo')); |
1432 unittest.expect(o.fileSize, unittest.equals('foo')); | 1470 unittest.expect(o.fileSize, unittest.equals('foo')); |
1433 unittest.expect(o.folderColorRgb, unittest.equals('foo')); | 1471 unittest.expect(o.folderColorRgb, unittest.equals('foo')); |
1434 unittest.expect(o.fullFileExtension, unittest.equals('foo')); | 1472 unittest.expect(o.fullFileExtension, unittest.equals('foo')); |
1435 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); | 1473 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); |
1436 unittest.expect(o.hasThumbnail, unittest.isTrue); | 1474 unittest.expect(o.hasThumbnail, unittest.isTrue); |
1437 unittest.expect(o.headRevisionId, unittest.equals('foo')); | 1475 unittest.expect(o.headRevisionId, unittest.equals('foo')); |
1438 unittest.expect(o.iconLink, unittest.equals('foo')); | 1476 unittest.expect(o.iconLink, unittest.equals('foo')); |
1439 unittest.expect(o.id, unittest.equals('foo')); | 1477 unittest.expect(o.id, unittest.equals('foo')); |
1440 checkFileImageMediaMetadata(o.imageMediaMetadata); | 1478 checkFileImageMediaMetadata(o.imageMediaMetadata); |
1441 checkFileIndexableText(o.indexableText); | 1479 checkFileIndexableText(o.indexableText); |
1442 unittest.expect(o.isAppAuthorized, unittest.isTrue); | 1480 unittest.expect(o.isAppAuthorized, unittest.isTrue); |
1443 unittest.expect(o.kind, unittest.equals('foo')); | 1481 unittest.expect(o.kind, unittest.equals('foo')); |
1444 checkFileLabels(o.labels); | 1482 checkFileLabels(o.labels); |
1445 checkUser(o.lastModifyingUser); | 1483 checkUser(o.lastModifyingUser); |
1446 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); | 1484 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); |
1447 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 1485 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
1448 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse(
"2002-02-27T14:01:02"))); | 1486 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse(
"2002-02-27T14:01:02"))); |
1449 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1487 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
1450 unittest.expect(o.mimeType, unittest.equals('foo')); | 1488 unittest.expect(o.mimeType, unittest.equals('foo')); |
1451 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1489 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1452 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1490 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1453 checkUnnamed656(o.openWithLinks); | 1491 checkUnnamed643(o.openWithLinks); |
1454 unittest.expect(o.originalFilename, unittest.equals('foo')); | 1492 unittest.expect(o.originalFilename, unittest.equals('foo')); |
1455 unittest.expect(o.ownedByMe, unittest.isTrue); | 1493 unittest.expect(o.ownedByMe, unittest.isTrue); |
1456 checkUnnamed657(o.ownerNames); | 1494 checkUnnamed644(o.ownerNames); |
1457 checkUnnamed658(o.owners); | 1495 checkUnnamed645(o.owners); |
1458 checkUnnamed659(o.parents); | 1496 checkUnnamed646(o.parents); |
1459 checkUnnamed660(o.permissions); | 1497 checkUnnamed647(o.permissions); |
1460 checkUnnamed661(o.properties); | 1498 checkUnnamed648(o.properties); |
1461 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); | 1499 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
1462 unittest.expect(o.selfLink, unittest.equals('foo')); | 1500 unittest.expect(o.selfLink, unittest.equals('foo')); |
1463 unittest.expect(o.shareable, unittest.isTrue); | 1501 unittest.expect(o.shareable, unittest.isTrue); |
1464 unittest.expect(o.shared, unittest.isTrue); | 1502 unittest.expect(o.shared, unittest.isTrue); |
1465 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 1503 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
1466 checkUser(o.sharingUser); | 1504 checkUser(o.sharingUser); |
1467 checkUnnamed662(o.spaces); | 1505 checkUnnamed649(o.spaces); |
1468 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 1506 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
1469 checkFileThumbnail(o.thumbnail); | 1507 checkFileThumbnail(o.thumbnail); |
1470 unittest.expect(o.thumbnailLink, unittest.equals('foo')); | 1508 unittest.expect(o.thumbnailLink, unittest.equals('foo')); |
1471 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); | 1509 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); |
1472 unittest.expect(o.title, unittest.equals('foo')); | 1510 unittest.expect(o.title, unittest.equals('foo')); |
1473 unittest.expect(o.trashedDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1511 unittest.expect(o.trashedDate, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
1474 checkUser(o.trashingUser); | 1512 checkUser(o.trashingUser); |
1475 checkPermission(o.userPermission); | 1513 checkPermission(o.userPermission); |
1476 unittest.expect(o.version, unittest.equals('foo')); | 1514 unittest.expect(o.version, unittest.equals('foo')); |
1477 checkFileVideoMediaMetadata(o.videoMediaMetadata); | 1515 checkFileVideoMediaMetadata(o.videoMediaMetadata); |
1478 unittest.expect(o.webContentLink, unittest.equals('foo')); | 1516 unittest.expect(o.webContentLink, unittest.equals('foo')); |
1479 unittest.expect(o.webViewLink, unittest.equals('foo')); | 1517 unittest.expect(o.webViewLink, unittest.equals('foo')); |
1480 unittest.expect(o.writersCanShare, unittest.isTrue); | 1518 unittest.expect(o.writersCanShare, unittest.isTrue); |
1481 } | 1519 } |
1482 buildCounterFile--; | 1520 buildCounterFile--; |
1483 } | 1521 } |
1484 | 1522 |
1485 buildUnnamed663() { | 1523 buildUnnamed650() { |
1486 var o = new core.List<api.File>(); | 1524 var o = new core.List<api.File>(); |
1487 o.add(buildFile()); | 1525 o.add(buildFile()); |
1488 o.add(buildFile()); | 1526 o.add(buildFile()); |
1489 return o; | 1527 return o; |
1490 } | 1528 } |
1491 | 1529 |
1492 checkUnnamed663(core.List<api.File> o) { | 1530 checkUnnamed650(core.List<api.File> o) { |
1493 unittest.expect(o, unittest.hasLength(2)); | 1531 unittest.expect(o, unittest.hasLength(2)); |
1494 checkFile(o[0]); | 1532 checkFile(o[0]); |
1495 checkFile(o[1]); | 1533 checkFile(o[1]); |
1496 } | 1534 } |
1497 | 1535 |
1498 core.int buildCounterFileList = 0; | 1536 core.int buildCounterFileList = 0; |
1499 buildFileList() { | 1537 buildFileList() { |
1500 var o = new api.FileList(); | 1538 var o = new api.FileList(); |
1501 buildCounterFileList++; | 1539 buildCounterFileList++; |
1502 if (buildCounterFileList < 3) { | 1540 if (buildCounterFileList < 3) { |
1503 o.etag = "foo"; | 1541 o.etag = "foo"; |
1504 o.incompleteSearch = true; | 1542 o.incompleteSearch = true; |
1505 o.items = buildUnnamed663(); | 1543 o.items = buildUnnamed650(); |
1506 o.kind = "foo"; | 1544 o.kind = "foo"; |
1507 o.nextLink = "foo"; | 1545 o.nextLink = "foo"; |
1508 o.nextPageToken = "foo"; | 1546 o.nextPageToken = "foo"; |
1509 o.selfLink = "foo"; | 1547 o.selfLink = "foo"; |
1510 } | 1548 } |
1511 buildCounterFileList--; | 1549 buildCounterFileList--; |
1512 return o; | 1550 return o; |
1513 } | 1551 } |
1514 | 1552 |
1515 checkFileList(api.FileList o) { | 1553 checkFileList(api.FileList o) { |
1516 buildCounterFileList++; | 1554 buildCounterFileList++; |
1517 if (buildCounterFileList < 3) { | 1555 if (buildCounterFileList < 3) { |
1518 unittest.expect(o.etag, unittest.equals('foo')); | 1556 unittest.expect(o.etag, unittest.equals('foo')); |
1519 unittest.expect(o.incompleteSearch, unittest.isTrue); | 1557 unittest.expect(o.incompleteSearch, unittest.isTrue); |
1520 checkUnnamed663(o.items); | 1558 checkUnnamed650(o.items); |
1521 unittest.expect(o.kind, unittest.equals('foo')); | 1559 unittest.expect(o.kind, unittest.equals('foo')); |
1522 unittest.expect(o.nextLink, unittest.equals('foo')); | 1560 unittest.expect(o.nextLink, unittest.equals('foo')); |
1523 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1561 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1524 unittest.expect(o.selfLink, unittest.equals('foo')); | 1562 unittest.expect(o.selfLink, unittest.equals('foo')); |
1525 } | 1563 } |
1526 buildCounterFileList--; | 1564 buildCounterFileList--; |
1527 } | 1565 } |
1528 | 1566 |
1529 buildUnnamed664() { | 1567 buildUnnamed651() { |
1530 var o = new core.List<core.String>(); | 1568 var o = new core.List<core.String>(); |
1531 o.add("foo"); | 1569 o.add("foo"); |
1532 o.add("foo"); | 1570 o.add("foo"); |
1533 return o; | 1571 return o; |
1534 } | 1572 } |
1535 | 1573 |
1536 checkUnnamed664(core.List<core.String> o) { | 1574 checkUnnamed651(core.List<core.String> o) { |
1537 unittest.expect(o, unittest.hasLength(2)); | 1575 unittest.expect(o, unittest.hasLength(2)); |
1538 unittest.expect(o[0], unittest.equals('foo')); | 1576 unittest.expect(o[0], unittest.equals('foo')); |
1539 unittest.expect(o[1], unittest.equals('foo')); | 1577 unittest.expect(o[1], unittest.equals('foo')); |
1540 } | 1578 } |
1541 | 1579 |
1542 core.int buildCounterGeneratedIds = 0; | 1580 core.int buildCounterGeneratedIds = 0; |
1543 buildGeneratedIds() { | 1581 buildGeneratedIds() { |
1544 var o = new api.GeneratedIds(); | 1582 var o = new api.GeneratedIds(); |
1545 buildCounterGeneratedIds++; | 1583 buildCounterGeneratedIds++; |
1546 if (buildCounterGeneratedIds < 3) { | 1584 if (buildCounterGeneratedIds < 3) { |
1547 o.ids = buildUnnamed664(); | 1585 o.ids = buildUnnamed651(); |
1548 o.kind = "foo"; | 1586 o.kind = "foo"; |
1549 o.space = "foo"; | 1587 o.space = "foo"; |
1550 } | 1588 } |
1551 buildCounterGeneratedIds--; | 1589 buildCounterGeneratedIds--; |
1552 return o; | 1590 return o; |
1553 } | 1591 } |
1554 | 1592 |
1555 checkGeneratedIds(api.GeneratedIds o) { | 1593 checkGeneratedIds(api.GeneratedIds o) { |
1556 buildCounterGeneratedIds++; | 1594 buildCounterGeneratedIds++; |
1557 if (buildCounterGeneratedIds < 3) { | 1595 if (buildCounterGeneratedIds < 3) { |
1558 checkUnnamed664(o.ids); | 1596 checkUnnamed651(o.ids); |
1559 unittest.expect(o.kind, unittest.equals('foo')); | 1597 unittest.expect(o.kind, unittest.equals('foo')); |
1560 unittest.expect(o.space, unittest.equals('foo')); | 1598 unittest.expect(o.space, unittest.equals('foo')); |
1561 } | 1599 } |
1562 buildCounterGeneratedIds--; | 1600 buildCounterGeneratedIds--; |
1563 } | 1601 } |
1564 | 1602 |
1565 buildUnnamed665() { | 1603 buildUnnamed652() { |
1566 var o = new core.List<api.ParentReference>(); | 1604 var o = new core.List<api.ParentReference>(); |
1567 o.add(buildParentReference()); | 1605 o.add(buildParentReference()); |
1568 o.add(buildParentReference()); | 1606 o.add(buildParentReference()); |
1569 return o; | 1607 return o; |
1570 } | 1608 } |
1571 | 1609 |
1572 checkUnnamed665(core.List<api.ParentReference> o) { | 1610 checkUnnamed652(core.List<api.ParentReference> o) { |
1573 unittest.expect(o, unittest.hasLength(2)); | 1611 unittest.expect(o, unittest.hasLength(2)); |
1574 checkParentReference(o[0]); | 1612 checkParentReference(o[0]); |
1575 checkParentReference(o[1]); | 1613 checkParentReference(o[1]); |
1576 } | 1614 } |
1577 | 1615 |
1578 core.int buildCounterParentList = 0; | 1616 core.int buildCounterParentList = 0; |
1579 buildParentList() { | 1617 buildParentList() { |
1580 var o = new api.ParentList(); | 1618 var o = new api.ParentList(); |
1581 buildCounterParentList++; | 1619 buildCounterParentList++; |
1582 if (buildCounterParentList < 3) { | 1620 if (buildCounterParentList < 3) { |
1583 o.etag = "foo"; | 1621 o.etag = "foo"; |
1584 o.items = buildUnnamed665(); | 1622 o.items = buildUnnamed652(); |
1585 o.kind = "foo"; | 1623 o.kind = "foo"; |
1586 o.selfLink = "foo"; | 1624 o.selfLink = "foo"; |
1587 } | 1625 } |
1588 buildCounterParentList--; | 1626 buildCounterParentList--; |
1589 return o; | 1627 return o; |
1590 } | 1628 } |
1591 | 1629 |
1592 checkParentList(api.ParentList o) { | 1630 checkParentList(api.ParentList o) { |
1593 buildCounterParentList++; | 1631 buildCounterParentList++; |
1594 if (buildCounterParentList < 3) { | 1632 if (buildCounterParentList < 3) { |
1595 unittest.expect(o.etag, unittest.equals('foo')); | 1633 unittest.expect(o.etag, unittest.equals('foo')); |
1596 checkUnnamed665(o.items); | 1634 checkUnnamed652(o.items); |
1597 unittest.expect(o.kind, unittest.equals('foo')); | 1635 unittest.expect(o.kind, unittest.equals('foo')); |
1598 unittest.expect(o.selfLink, unittest.equals('foo')); | 1636 unittest.expect(o.selfLink, unittest.equals('foo')); |
1599 } | 1637 } |
1600 buildCounterParentList--; | 1638 buildCounterParentList--; |
1601 } | 1639 } |
1602 | 1640 |
1603 core.int buildCounterParentReference = 0; | 1641 core.int buildCounterParentReference = 0; |
1604 buildParentReference() { | 1642 buildParentReference() { |
1605 var o = new api.ParentReference(); | 1643 var o = new api.ParentReference(); |
1606 buildCounterParentReference++; | 1644 buildCounterParentReference++; |
(...skipping 13 matching lines...) Expand all Loading... |
1620 if (buildCounterParentReference < 3) { | 1658 if (buildCounterParentReference < 3) { |
1621 unittest.expect(o.id, unittest.equals('foo')); | 1659 unittest.expect(o.id, unittest.equals('foo')); |
1622 unittest.expect(o.isRoot, unittest.isTrue); | 1660 unittest.expect(o.isRoot, unittest.isTrue); |
1623 unittest.expect(o.kind, unittest.equals('foo')); | 1661 unittest.expect(o.kind, unittest.equals('foo')); |
1624 unittest.expect(o.parentLink, unittest.equals('foo')); | 1662 unittest.expect(o.parentLink, unittest.equals('foo')); |
1625 unittest.expect(o.selfLink, unittest.equals('foo')); | 1663 unittest.expect(o.selfLink, unittest.equals('foo')); |
1626 } | 1664 } |
1627 buildCounterParentReference--; | 1665 buildCounterParentReference--; |
1628 } | 1666 } |
1629 | 1667 |
1630 buildUnnamed666() { | 1668 buildUnnamed653() { |
1631 var o = new core.List<core.String>(); | 1669 var o = new core.List<core.String>(); |
1632 o.add("foo"); | 1670 o.add("foo"); |
1633 o.add("foo"); | 1671 o.add("foo"); |
1634 return o; | 1672 return o; |
1635 } | 1673 } |
1636 | 1674 |
1637 checkUnnamed666(core.List<core.String> o) { | 1675 checkUnnamed653(core.List<core.String> o) { |
1638 unittest.expect(o, unittest.hasLength(2)); | 1676 unittest.expect(o, unittest.hasLength(2)); |
1639 unittest.expect(o[0], unittest.equals('foo')); | 1677 unittest.expect(o[0], unittest.equals('foo')); |
1640 unittest.expect(o[1], unittest.equals('foo')); | 1678 unittest.expect(o[1], unittest.equals('foo')); |
1641 } | 1679 } |
1642 | 1680 |
1643 buildUnnamed667() { | 1681 buildUnnamed654() { |
1644 var o = new core.List<core.String>(); | 1682 var o = new core.List<core.String>(); |
1645 o.add("foo"); | 1683 o.add("foo"); |
1646 o.add("foo"); | 1684 o.add("foo"); |
1647 return o; | 1685 return o; |
1648 } | 1686 } |
1649 | 1687 |
1650 checkUnnamed667(core.List<core.String> o) { | 1688 checkUnnamed654(core.List<core.String> o) { |
1651 unittest.expect(o, unittest.hasLength(2)); | 1689 unittest.expect(o, unittest.hasLength(2)); |
1652 unittest.expect(o[0], unittest.equals('foo')); | 1690 unittest.expect(o[0], unittest.equals('foo')); |
1653 unittest.expect(o[1], unittest.equals('foo')); | 1691 unittest.expect(o[1], unittest.equals('foo')); |
1654 } | 1692 } |
1655 | 1693 |
1656 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; | 1694 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; |
1657 buildPermissionTeamDrivePermissionDetails() { | 1695 buildPermissionTeamDrivePermissionDetails() { |
1658 var o = new api.PermissionTeamDrivePermissionDetails(); | 1696 var o = new api.PermissionTeamDrivePermissionDetails(); |
1659 buildCounterPermissionTeamDrivePermissionDetails++; | 1697 buildCounterPermissionTeamDrivePermissionDetails++; |
1660 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { | 1698 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
1661 o.additionalRoles = buildUnnamed667(); | 1699 o.additionalRoles = buildUnnamed654(); |
1662 o.inherited = true; | 1700 o.inherited = true; |
1663 o.inheritedFrom = "foo"; | 1701 o.inheritedFrom = "foo"; |
1664 o.role = "foo"; | 1702 o.role = "foo"; |
1665 o.teamDrivePermissionType = "foo"; | 1703 o.teamDrivePermissionType = "foo"; |
1666 } | 1704 } |
1667 buildCounterPermissionTeamDrivePermissionDetails--; | 1705 buildCounterPermissionTeamDrivePermissionDetails--; |
1668 return o; | 1706 return o; |
1669 } | 1707 } |
1670 | 1708 |
1671 checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetai
ls o) { | 1709 checkPermissionTeamDrivePermissionDetails(api.PermissionTeamDrivePermissionDetai
ls o) { |
1672 buildCounterPermissionTeamDrivePermissionDetails++; | 1710 buildCounterPermissionTeamDrivePermissionDetails++; |
1673 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { | 1711 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
1674 checkUnnamed667(o.additionalRoles); | 1712 checkUnnamed654(o.additionalRoles); |
1675 unittest.expect(o.inherited, unittest.isTrue); | 1713 unittest.expect(o.inherited, unittest.isTrue); |
1676 unittest.expect(o.inheritedFrom, unittest.equals('foo')); | 1714 unittest.expect(o.inheritedFrom, unittest.equals('foo')); |
1677 unittest.expect(o.role, unittest.equals('foo')); | 1715 unittest.expect(o.role, unittest.equals('foo')); |
1678 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); | 1716 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); |
1679 } | 1717 } |
1680 buildCounterPermissionTeamDrivePermissionDetails--; | 1718 buildCounterPermissionTeamDrivePermissionDetails--; |
1681 } | 1719 } |
1682 | 1720 |
1683 buildUnnamed668() { | 1721 buildUnnamed655() { |
1684 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); | 1722 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); |
1685 o.add(buildPermissionTeamDrivePermissionDetails()); | 1723 o.add(buildPermissionTeamDrivePermissionDetails()); |
1686 o.add(buildPermissionTeamDrivePermissionDetails()); | 1724 o.add(buildPermissionTeamDrivePermissionDetails()); |
1687 return o; | 1725 return o; |
1688 } | 1726 } |
1689 | 1727 |
1690 checkUnnamed668(core.List<api.PermissionTeamDrivePermissionDetails> o) { | 1728 checkUnnamed655(core.List<api.PermissionTeamDrivePermissionDetails> o) { |
1691 unittest.expect(o, unittest.hasLength(2)); | 1729 unittest.expect(o, unittest.hasLength(2)); |
1692 checkPermissionTeamDrivePermissionDetails(o[0]); | 1730 checkPermissionTeamDrivePermissionDetails(o[0]); |
1693 checkPermissionTeamDrivePermissionDetails(o[1]); | 1731 checkPermissionTeamDrivePermissionDetails(o[1]); |
1694 } | 1732 } |
1695 | 1733 |
1696 core.int buildCounterPermission = 0; | 1734 core.int buildCounterPermission = 0; |
1697 buildPermission() { | 1735 buildPermission() { |
1698 var o = new api.Permission(); | 1736 var o = new api.Permission(); |
1699 buildCounterPermission++; | 1737 buildCounterPermission++; |
1700 if (buildCounterPermission < 3) { | 1738 if (buildCounterPermission < 3) { |
1701 o.additionalRoles = buildUnnamed666(); | 1739 o.additionalRoles = buildUnnamed653(); |
1702 o.authKey = "foo"; | 1740 o.authKey = "foo"; |
| 1741 o.deleted = true; |
1703 o.domain = "foo"; | 1742 o.domain = "foo"; |
1704 o.emailAddress = "foo"; | 1743 o.emailAddress = "foo"; |
1705 o.etag = "foo"; | 1744 o.etag = "foo"; |
1706 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1745 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1707 o.id = "foo"; | 1746 o.id = "foo"; |
1708 o.kind = "foo"; | 1747 o.kind = "foo"; |
1709 o.name = "foo"; | 1748 o.name = "foo"; |
1710 o.photoLink = "foo"; | 1749 o.photoLink = "foo"; |
1711 o.role = "foo"; | 1750 o.role = "foo"; |
1712 o.selfLink = "foo"; | 1751 o.selfLink = "foo"; |
1713 o.teamDrivePermissionDetails = buildUnnamed668(); | 1752 o.teamDrivePermissionDetails = buildUnnamed655(); |
1714 o.type = "foo"; | 1753 o.type = "foo"; |
1715 o.value = "foo"; | 1754 o.value = "foo"; |
1716 o.withLink = true; | 1755 o.withLink = true; |
1717 } | 1756 } |
1718 buildCounterPermission--; | 1757 buildCounterPermission--; |
1719 return o; | 1758 return o; |
1720 } | 1759 } |
1721 | 1760 |
1722 checkPermission(api.Permission o) { | 1761 checkPermission(api.Permission o) { |
1723 buildCounterPermission++; | 1762 buildCounterPermission++; |
1724 if (buildCounterPermission < 3) { | 1763 if (buildCounterPermission < 3) { |
1725 checkUnnamed666(o.additionalRoles); | 1764 checkUnnamed653(o.additionalRoles); |
1726 unittest.expect(o.authKey, unittest.equals('foo')); | 1765 unittest.expect(o.authKey, unittest.equals('foo')); |
| 1766 unittest.expect(o.deleted, unittest.isTrue); |
1727 unittest.expect(o.domain, unittest.equals('foo')); | 1767 unittest.expect(o.domain, unittest.equals('foo')); |
1728 unittest.expect(o.emailAddress, unittest.equals('foo')); | 1768 unittest.expect(o.emailAddress, unittest.equals('foo')); |
1729 unittest.expect(o.etag, unittest.equals('foo')); | 1769 unittest.expect(o.etag, unittest.equals('foo')); |
1730 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); | 1770 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); |
1731 unittest.expect(o.id, unittest.equals('foo')); | 1771 unittest.expect(o.id, unittest.equals('foo')); |
1732 unittest.expect(o.kind, unittest.equals('foo')); | 1772 unittest.expect(o.kind, unittest.equals('foo')); |
1733 unittest.expect(o.name, unittest.equals('foo')); | 1773 unittest.expect(o.name, unittest.equals('foo')); |
1734 unittest.expect(o.photoLink, unittest.equals('foo')); | 1774 unittest.expect(o.photoLink, unittest.equals('foo')); |
1735 unittest.expect(o.role, unittest.equals('foo')); | 1775 unittest.expect(o.role, unittest.equals('foo')); |
1736 unittest.expect(o.selfLink, unittest.equals('foo')); | 1776 unittest.expect(o.selfLink, unittest.equals('foo')); |
1737 checkUnnamed668(o.teamDrivePermissionDetails); | 1777 checkUnnamed655(o.teamDrivePermissionDetails); |
1738 unittest.expect(o.type, unittest.equals('foo')); | 1778 unittest.expect(o.type, unittest.equals('foo')); |
1739 unittest.expect(o.value, unittest.equals('foo')); | 1779 unittest.expect(o.value, unittest.equals('foo')); |
1740 unittest.expect(o.withLink, unittest.isTrue); | 1780 unittest.expect(o.withLink, unittest.isTrue); |
1741 } | 1781 } |
1742 buildCounterPermission--; | 1782 buildCounterPermission--; |
1743 } | 1783 } |
1744 | 1784 |
1745 core.int buildCounterPermissionId = 0; | 1785 core.int buildCounterPermissionId = 0; |
1746 buildPermissionId() { | 1786 buildPermissionId() { |
1747 var o = new api.PermissionId(); | 1787 var o = new api.PermissionId(); |
1748 buildCounterPermissionId++; | 1788 buildCounterPermissionId++; |
1749 if (buildCounterPermissionId < 3) { | 1789 if (buildCounterPermissionId < 3) { |
1750 o.id = "foo"; | 1790 o.id = "foo"; |
1751 o.kind = "foo"; | 1791 o.kind = "foo"; |
1752 } | 1792 } |
1753 buildCounterPermissionId--; | 1793 buildCounterPermissionId--; |
1754 return o; | 1794 return o; |
1755 } | 1795 } |
1756 | 1796 |
1757 checkPermissionId(api.PermissionId o) { | 1797 checkPermissionId(api.PermissionId o) { |
1758 buildCounterPermissionId++; | 1798 buildCounterPermissionId++; |
1759 if (buildCounterPermissionId < 3) { | 1799 if (buildCounterPermissionId < 3) { |
1760 unittest.expect(o.id, unittest.equals('foo')); | 1800 unittest.expect(o.id, unittest.equals('foo')); |
1761 unittest.expect(o.kind, unittest.equals('foo')); | 1801 unittest.expect(o.kind, unittest.equals('foo')); |
1762 } | 1802 } |
1763 buildCounterPermissionId--; | 1803 buildCounterPermissionId--; |
1764 } | 1804 } |
1765 | 1805 |
1766 buildUnnamed669() { | 1806 buildUnnamed656() { |
1767 var o = new core.List<api.Permission>(); | 1807 var o = new core.List<api.Permission>(); |
1768 o.add(buildPermission()); | 1808 o.add(buildPermission()); |
1769 o.add(buildPermission()); | 1809 o.add(buildPermission()); |
1770 return o; | 1810 return o; |
1771 } | 1811 } |
1772 | 1812 |
1773 checkUnnamed669(core.List<api.Permission> o) { | 1813 checkUnnamed656(core.List<api.Permission> o) { |
1774 unittest.expect(o, unittest.hasLength(2)); | 1814 unittest.expect(o, unittest.hasLength(2)); |
1775 checkPermission(o[0]); | 1815 checkPermission(o[0]); |
1776 checkPermission(o[1]); | 1816 checkPermission(o[1]); |
1777 } | 1817 } |
1778 | 1818 |
1779 core.int buildCounterPermissionList = 0; | 1819 core.int buildCounterPermissionList = 0; |
1780 buildPermissionList() { | 1820 buildPermissionList() { |
1781 var o = new api.PermissionList(); | 1821 var o = new api.PermissionList(); |
1782 buildCounterPermissionList++; | 1822 buildCounterPermissionList++; |
1783 if (buildCounterPermissionList < 3) { | 1823 if (buildCounterPermissionList < 3) { |
1784 o.etag = "foo"; | 1824 o.etag = "foo"; |
1785 o.items = buildUnnamed669(); | 1825 o.items = buildUnnamed656(); |
1786 o.kind = "foo"; | 1826 o.kind = "foo"; |
1787 o.nextPageToken = "foo"; | 1827 o.nextPageToken = "foo"; |
1788 o.selfLink = "foo"; | 1828 o.selfLink = "foo"; |
1789 } | 1829 } |
1790 buildCounterPermissionList--; | 1830 buildCounterPermissionList--; |
1791 return o; | 1831 return o; |
1792 } | 1832 } |
1793 | 1833 |
1794 checkPermissionList(api.PermissionList o) { | 1834 checkPermissionList(api.PermissionList o) { |
1795 buildCounterPermissionList++; | 1835 buildCounterPermissionList++; |
1796 if (buildCounterPermissionList < 3) { | 1836 if (buildCounterPermissionList < 3) { |
1797 unittest.expect(o.etag, unittest.equals('foo')); | 1837 unittest.expect(o.etag, unittest.equals('foo')); |
1798 checkUnnamed669(o.items); | 1838 checkUnnamed656(o.items); |
1799 unittest.expect(o.kind, unittest.equals('foo')); | 1839 unittest.expect(o.kind, unittest.equals('foo')); |
1800 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1840 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1801 unittest.expect(o.selfLink, unittest.equals('foo')); | 1841 unittest.expect(o.selfLink, unittest.equals('foo')); |
1802 } | 1842 } |
1803 buildCounterPermissionList--; | 1843 buildCounterPermissionList--; |
1804 } | 1844 } |
1805 | 1845 |
1806 core.int buildCounterProperty = 0; | 1846 core.int buildCounterProperty = 0; |
1807 buildProperty() { | 1847 buildProperty() { |
1808 var o = new api.Property(); | 1848 var o = new api.Property(); |
(...skipping 16 matching lines...) Expand all Loading... |
1825 unittest.expect(o.etag, unittest.equals('foo')); | 1865 unittest.expect(o.etag, unittest.equals('foo')); |
1826 unittest.expect(o.key, unittest.equals('foo')); | 1866 unittest.expect(o.key, unittest.equals('foo')); |
1827 unittest.expect(o.kind, unittest.equals('foo')); | 1867 unittest.expect(o.kind, unittest.equals('foo')); |
1828 unittest.expect(o.selfLink, unittest.equals('foo')); | 1868 unittest.expect(o.selfLink, unittest.equals('foo')); |
1829 unittest.expect(o.value, unittest.equals('foo')); | 1869 unittest.expect(o.value, unittest.equals('foo')); |
1830 unittest.expect(o.visibility, unittest.equals('foo')); | 1870 unittest.expect(o.visibility, unittest.equals('foo')); |
1831 } | 1871 } |
1832 buildCounterProperty--; | 1872 buildCounterProperty--; |
1833 } | 1873 } |
1834 | 1874 |
1835 buildUnnamed670() { | 1875 buildUnnamed657() { |
1836 var o = new core.List<api.Property>(); | 1876 var o = new core.List<api.Property>(); |
1837 o.add(buildProperty()); | 1877 o.add(buildProperty()); |
1838 o.add(buildProperty()); | 1878 o.add(buildProperty()); |
1839 return o; | 1879 return o; |
1840 } | 1880 } |
1841 | 1881 |
1842 checkUnnamed670(core.List<api.Property> o) { | 1882 checkUnnamed657(core.List<api.Property> o) { |
1843 unittest.expect(o, unittest.hasLength(2)); | 1883 unittest.expect(o, unittest.hasLength(2)); |
1844 checkProperty(o[0]); | 1884 checkProperty(o[0]); |
1845 checkProperty(o[1]); | 1885 checkProperty(o[1]); |
1846 } | 1886 } |
1847 | 1887 |
1848 core.int buildCounterPropertyList = 0; | 1888 core.int buildCounterPropertyList = 0; |
1849 buildPropertyList() { | 1889 buildPropertyList() { |
1850 var o = new api.PropertyList(); | 1890 var o = new api.PropertyList(); |
1851 buildCounterPropertyList++; | 1891 buildCounterPropertyList++; |
1852 if (buildCounterPropertyList < 3) { | 1892 if (buildCounterPropertyList < 3) { |
1853 o.etag = "foo"; | 1893 o.etag = "foo"; |
1854 o.items = buildUnnamed670(); | 1894 o.items = buildUnnamed657(); |
1855 o.kind = "foo"; | 1895 o.kind = "foo"; |
1856 o.selfLink = "foo"; | 1896 o.selfLink = "foo"; |
1857 } | 1897 } |
1858 buildCounterPropertyList--; | 1898 buildCounterPropertyList--; |
1859 return o; | 1899 return o; |
1860 } | 1900 } |
1861 | 1901 |
1862 checkPropertyList(api.PropertyList o) { | 1902 checkPropertyList(api.PropertyList o) { |
1863 buildCounterPropertyList++; | 1903 buildCounterPropertyList++; |
1864 if (buildCounterPropertyList < 3) { | 1904 if (buildCounterPropertyList < 3) { |
1865 unittest.expect(o.etag, unittest.equals('foo')); | 1905 unittest.expect(o.etag, unittest.equals('foo')); |
1866 checkUnnamed670(o.items); | 1906 checkUnnamed657(o.items); |
1867 unittest.expect(o.kind, unittest.equals('foo')); | 1907 unittest.expect(o.kind, unittest.equals('foo')); |
1868 unittest.expect(o.selfLink, unittest.equals('foo')); | 1908 unittest.expect(o.selfLink, unittest.equals('foo')); |
1869 } | 1909 } |
1870 buildCounterPropertyList--; | 1910 buildCounterPropertyList--; |
1871 } | 1911 } |
1872 | 1912 |
1873 buildUnnamed671() { | 1913 buildUnnamed658() { |
1874 var o = new core.Map<core.String, core.String>(); | 1914 var o = new core.Map<core.String, core.String>(); |
1875 o["x"] = "foo"; | 1915 o["x"] = "foo"; |
1876 o["y"] = "foo"; | 1916 o["y"] = "foo"; |
1877 return o; | 1917 return o; |
1878 } | 1918 } |
1879 | 1919 |
1880 checkUnnamed671(core.Map<core.String, core.String> o) { | 1920 checkUnnamed658(core.Map<core.String, core.String> o) { |
1881 unittest.expect(o, unittest.hasLength(2)); | 1921 unittest.expect(o, unittest.hasLength(2)); |
1882 unittest.expect(o["x"], unittest.equals('foo')); | 1922 unittest.expect(o["x"], unittest.equals('foo')); |
1883 unittest.expect(o["y"], unittest.equals('foo')); | 1923 unittest.expect(o["y"], unittest.equals('foo')); |
1884 } | 1924 } |
1885 | 1925 |
1886 core.int buildCounterRevision = 0; | 1926 core.int buildCounterRevision = 0; |
1887 buildRevision() { | 1927 buildRevision() { |
1888 var o = new api.Revision(); | 1928 var o = new api.Revision(); |
1889 buildCounterRevision++; | 1929 buildCounterRevision++; |
1890 if (buildCounterRevision < 3) { | 1930 if (buildCounterRevision < 3) { |
1891 o.downloadUrl = "foo"; | 1931 o.downloadUrl = "foo"; |
1892 o.etag = "foo"; | 1932 o.etag = "foo"; |
1893 o.exportLinks = buildUnnamed671(); | 1933 o.exportLinks = buildUnnamed658(); |
1894 o.fileSize = "foo"; | 1934 o.fileSize = "foo"; |
1895 o.id = "foo"; | 1935 o.id = "foo"; |
1896 o.kind = "foo"; | 1936 o.kind = "foo"; |
1897 o.lastModifyingUser = buildUser(); | 1937 o.lastModifyingUser = buildUser(); |
1898 o.lastModifyingUserName = "foo"; | 1938 o.lastModifyingUserName = "foo"; |
1899 o.md5Checksum = "foo"; | 1939 o.md5Checksum = "foo"; |
1900 o.mimeType = "foo"; | 1940 o.mimeType = "foo"; |
1901 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1941 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); |
1902 o.originalFilename = "foo"; | 1942 o.originalFilename = "foo"; |
1903 o.pinned = true; | 1943 o.pinned = true; |
1904 o.publishAuto = true; | 1944 o.publishAuto = true; |
1905 o.published = true; | 1945 o.published = true; |
1906 o.publishedLink = "foo"; | 1946 o.publishedLink = "foo"; |
1907 o.publishedOutsideDomain = true; | 1947 o.publishedOutsideDomain = true; |
1908 o.selfLink = "foo"; | 1948 o.selfLink = "foo"; |
1909 } | 1949 } |
1910 buildCounterRevision--; | 1950 buildCounterRevision--; |
1911 return o; | 1951 return o; |
1912 } | 1952 } |
1913 | 1953 |
1914 checkRevision(api.Revision o) { | 1954 checkRevision(api.Revision o) { |
1915 buildCounterRevision++; | 1955 buildCounterRevision++; |
1916 if (buildCounterRevision < 3) { | 1956 if (buildCounterRevision < 3) { |
1917 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1957 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
1918 unittest.expect(o.etag, unittest.equals('foo')); | 1958 unittest.expect(o.etag, unittest.equals('foo')); |
1919 checkUnnamed671(o.exportLinks); | 1959 checkUnnamed658(o.exportLinks); |
1920 unittest.expect(o.fileSize, unittest.equals('foo')); | 1960 unittest.expect(o.fileSize, unittest.equals('foo')); |
1921 unittest.expect(o.id, unittest.equals('foo')); | 1961 unittest.expect(o.id, unittest.equals('foo')); |
1922 unittest.expect(o.kind, unittest.equals('foo')); | 1962 unittest.expect(o.kind, unittest.equals('foo')); |
1923 checkUser(o.lastModifyingUser); | 1963 checkUser(o.lastModifyingUser); |
1924 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); | 1964 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); |
1925 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 1965 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
1926 unittest.expect(o.mimeType, unittest.equals('foo')); | 1966 unittest.expect(o.mimeType, unittest.equals('foo')); |
1927 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1967 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
1928 unittest.expect(o.originalFilename, unittest.equals('foo')); | 1968 unittest.expect(o.originalFilename, unittest.equals('foo')); |
1929 unittest.expect(o.pinned, unittest.isTrue); | 1969 unittest.expect(o.pinned, unittest.isTrue); |
1930 unittest.expect(o.publishAuto, unittest.isTrue); | 1970 unittest.expect(o.publishAuto, unittest.isTrue); |
1931 unittest.expect(o.published, unittest.isTrue); | 1971 unittest.expect(o.published, unittest.isTrue); |
1932 unittest.expect(o.publishedLink, unittest.equals('foo')); | 1972 unittest.expect(o.publishedLink, unittest.equals('foo')); |
1933 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); | 1973 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); |
1934 unittest.expect(o.selfLink, unittest.equals('foo')); | 1974 unittest.expect(o.selfLink, unittest.equals('foo')); |
1935 } | 1975 } |
1936 buildCounterRevision--; | 1976 buildCounterRevision--; |
1937 } | 1977 } |
1938 | 1978 |
1939 buildUnnamed672() { | 1979 buildUnnamed659() { |
1940 var o = new core.List<api.Revision>(); | 1980 var o = new core.List<api.Revision>(); |
1941 o.add(buildRevision()); | 1981 o.add(buildRevision()); |
1942 o.add(buildRevision()); | 1982 o.add(buildRevision()); |
1943 return o; | 1983 return o; |
1944 } | 1984 } |
1945 | 1985 |
1946 checkUnnamed672(core.List<api.Revision> o) { | 1986 checkUnnamed659(core.List<api.Revision> o) { |
1947 unittest.expect(o, unittest.hasLength(2)); | 1987 unittest.expect(o, unittest.hasLength(2)); |
1948 checkRevision(o[0]); | 1988 checkRevision(o[0]); |
1949 checkRevision(o[1]); | 1989 checkRevision(o[1]); |
1950 } | 1990 } |
1951 | 1991 |
1952 core.int buildCounterRevisionList = 0; | 1992 core.int buildCounterRevisionList = 0; |
1953 buildRevisionList() { | 1993 buildRevisionList() { |
1954 var o = new api.RevisionList(); | 1994 var o = new api.RevisionList(); |
1955 buildCounterRevisionList++; | 1995 buildCounterRevisionList++; |
1956 if (buildCounterRevisionList < 3) { | 1996 if (buildCounterRevisionList < 3) { |
1957 o.etag = "foo"; | 1997 o.etag = "foo"; |
1958 o.items = buildUnnamed672(); | 1998 o.items = buildUnnamed659(); |
1959 o.kind = "foo"; | 1999 o.kind = "foo"; |
1960 o.nextPageToken = "foo"; | 2000 o.nextPageToken = "foo"; |
1961 o.selfLink = "foo"; | 2001 o.selfLink = "foo"; |
1962 } | 2002 } |
1963 buildCounterRevisionList--; | 2003 buildCounterRevisionList--; |
1964 return o; | 2004 return o; |
1965 } | 2005 } |
1966 | 2006 |
1967 checkRevisionList(api.RevisionList o) { | 2007 checkRevisionList(api.RevisionList o) { |
1968 buildCounterRevisionList++; | 2008 buildCounterRevisionList++; |
1969 if (buildCounterRevisionList < 3) { | 2009 if (buildCounterRevisionList < 3) { |
1970 unittest.expect(o.etag, unittest.equals('foo')); | 2010 unittest.expect(o.etag, unittest.equals('foo')); |
1971 checkUnnamed672(o.items); | 2011 checkUnnamed659(o.items); |
1972 unittest.expect(o.kind, unittest.equals('foo')); | 2012 unittest.expect(o.kind, unittest.equals('foo')); |
1973 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2013 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
1974 unittest.expect(o.selfLink, unittest.equals('foo')); | 2014 unittest.expect(o.selfLink, unittest.equals('foo')); |
1975 } | 2015 } |
1976 buildCounterRevisionList--; | 2016 buildCounterRevisionList--; |
1977 } | 2017 } |
1978 | 2018 |
1979 core.int buildCounterStartPageToken = 0; | 2019 core.int buildCounterStartPageToken = 0; |
1980 buildStartPageToken() { | 2020 buildStartPageToken() { |
1981 var o = new api.StartPageToken(); | 2021 var o = new api.StartPageToken(); |
1982 buildCounterStartPageToken++; | 2022 buildCounterStartPageToken++; |
1983 if (buildCounterStartPageToken < 3) { | 2023 if (buildCounterStartPageToken < 3) { |
1984 o.kind = "foo"; | 2024 o.kind = "foo"; |
1985 o.startPageToken = "foo"; | 2025 o.startPageToken = "foo"; |
1986 } | 2026 } |
1987 buildCounterStartPageToken--; | 2027 buildCounterStartPageToken--; |
1988 return o; | 2028 return o; |
1989 } | 2029 } |
1990 | 2030 |
1991 checkStartPageToken(api.StartPageToken o) { | 2031 checkStartPageToken(api.StartPageToken o) { |
1992 buildCounterStartPageToken++; | 2032 buildCounterStartPageToken++; |
1993 if (buildCounterStartPageToken < 3) { | 2033 if (buildCounterStartPageToken < 3) { |
1994 unittest.expect(o.kind, unittest.equals('foo')); | 2034 unittest.expect(o.kind, unittest.equals('foo')); |
1995 unittest.expect(o.startPageToken, unittest.equals('foo')); | 2035 unittest.expect(o.startPageToken, unittest.equals('foo')); |
1996 } | 2036 } |
1997 buildCounterStartPageToken--; | 2037 buildCounterStartPageToken--; |
1998 } | 2038 } |
1999 | 2039 |
| 2040 core.int buildCounterTeamDriveBackgroundImageFile = 0; |
| 2041 buildTeamDriveBackgroundImageFile() { |
| 2042 var o = new api.TeamDriveBackgroundImageFile(); |
| 2043 buildCounterTeamDriveBackgroundImageFile++; |
| 2044 if (buildCounterTeamDriveBackgroundImageFile < 3) { |
| 2045 o.id = "foo"; |
| 2046 o.width = 42.0; |
| 2047 o.xCoordinate = 42.0; |
| 2048 o.yCoordinate = 42.0; |
| 2049 } |
| 2050 buildCounterTeamDriveBackgroundImageFile--; |
| 2051 return o; |
| 2052 } |
| 2053 |
| 2054 checkTeamDriveBackgroundImageFile(api.TeamDriveBackgroundImageFile o) { |
| 2055 buildCounterTeamDriveBackgroundImageFile++; |
| 2056 if (buildCounterTeamDriveBackgroundImageFile < 3) { |
| 2057 unittest.expect(o.id, unittest.equals('foo')); |
| 2058 unittest.expect(o.width, unittest.equals(42.0)); |
| 2059 unittest.expect(o.xCoordinate, unittest.equals(42.0)); |
| 2060 unittest.expect(o.yCoordinate, unittest.equals(42.0)); |
| 2061 } |
| 2062 buildCounterTeamDriveBackgroundImageFile--; |
| 2063 } |
| 2064 |
2000 core.int buildCounterTeamDriveCapabilities = 0; | 2065 core.int buildCounterTeamDriveCapabilities = 0; |
2001 buildTeamDriveCapabilities() { | 2066 buildTeamDriveCapabilities() { |
2002 var o = new api.TeamDriveCapabilities(); | 2067 var o = new api.TeamDriveCapabilities(); |
2003 buildCounterTeamDriveCapabilities++; | 2068 buildCounterTeamDriveCapabilities++; |
2004 if (buildCounterTeamDriveCapabilities < 3) { | 2069 if (buildCounterTeamDriveCapabilities < 3) { |
2005 o.canAddChildren = true; | 2070 o.canAddChildren = true; |
| 2071 o.canChangeTeamDriveBackground = true; |
2006 o.canComment = true; | 2072 o.canComment = true; |
2007 o.canCopy = true; | 2073 o.canCopy = true; |
2008 o.canDeleteTeamDrive = true; | 2074 o.canDeleteTeamDrive = true; |
2009 o.canDownload = true; | 2075 o.canDownload = true; |
2010 o.canEdit = true; | 2076 o.canEdit = true; |
2011 o.canListChildren = true; | 2077 o.canListChildren = true; |
2012 o.canManageMembers = true; | 2078 o.canManageMembers = true; |
2013 o.canReadRevisions = true; | 2079 o.canReadRevisions = true; |
2014 o.canRemoveChildren = true; | 2080 o.canRemoveChildren = true; |
2015 o.canRename = true; | 2081 o.canRename = true; |
2016 o.canRenameTeamDrive = true; | 2082 o.canRenameTeamDrive = true; |
2017 o.canShare = true; | 2083 o.canShare = true; |
2018 } | 2084 } |
2019 buildCounterTeamDriveCapabilities--; | 2085 buildCounterTeamDriveCapabilities--; |
2020 return o; | 2086 return o; |
2021 } | 2087 } |
2022 | 2088 |
2023 checkTeamDriveCapabilities(api.TeamDriveCapabilities o) { | 2089 checkTeamDriveCapabilities(api.TeamDriveCapabilities o) { |
2024 buildCounterTeamDriveCapabilities++; | 2090 buildCounterTeamDriveCapabilities++; |
2025 if (buildCounterTeamDriveCapabilities < 3) { | 2091 if (buildCounterTeamDriveCapabilities < 3) { |
2026 unittest.expect(o.canAddChildren, unittest.isTrue); | 2092 unittest.expect(o.canAddChildren, unittest.isTrue); |
| 2093 unittest.expect(o.canChangeTeamDriveBackground, unittest.isTrue); |
2027 unittest.expect(o.canComment, unittest.isTrue); | 2094 unittest.expect(o.canComment, unittest.isTrue); |
2028 unittest.expect(o.canCopy, unittest.isTrue); | 2095 unittest.expect(o.canCopy, unittest.isTrue); |
2029 unittest.expect(o.canDeleteTeamDrive, unittest.isTrue); | 2096 unittest.expect(o.canDeleteTeamDrive, unittest.isTrue); |
2030 unittest.expect(o.canDownload, unittest.isTrue); | 2097 unittest.expect(o.canDownload, unittest.isTrue); |
2031 unittest.expect(o.canEdit, unittest.isTrue); | 2098 unittest.expect(o.canEdit, unittest.isTrue); |
2032 unittest.expect(o.canListChildren, unittest.isTrue); | 2099 unittest.expect(o.canListChildren, unittest.isTrue); |
2033 unittest.expect(o.canManageMembers, unittest.isTrue); | 2100 unittest.expect(o.canManageMembers, unittest.isTrue); |
2034 unittest.expect(o.canReadRevisions, unittest.isTrue); | 2101 unittest.expect(o.canReadRevisions, unittest.isTrue); |
2035 unittest.expect(o.canRemoveChildren, unittest.isTrue); | 2102 unittest.expect(o.canRemoveChildren, unittest.isTrue); |
2036 unittest.expect(o.canRename, unittest.isTrue); | 2103 unittest.expect(o.canRename, unittest.isTrue); |
2037 unittest.expect(o.canRenameTeamDrive, unittest.isTrue); | 2104 unittest.expect(o.canRenameTeamDrive, unittest.isTrue); |
2038 unittest.expect(o.canShare, unittest.isTrue); | 2105 unittest.expect(o.canShare, unittest.isTrue); |
2039 } | 2106 } |
2040 buildCounterTeamDriveCapabilities--; | 2107 buildCounterTeamDriveCapabilities--; |
2041 } | 2108 } |
2042 | 2109 |
2043 core.int buildCounterTeamDrive = 0; | 2110 core.int buildCounterTeamDrive = 0; |
2044 buildTeamDrive() { | 2111 buildTeamDrive() { |
2045 var o = new api.TeamDrive(); | 2112 var o = new api.TeamDrive(); |
2046 buildCounterTeamDrive++; | 2113 buildCounterTeamDrive++; |
2047 if (buildCounterTeamDrive < 3) { | 2114 if (buildCounterTeamDrive < 3) { |
| 2115 o.backgroundImageFile = buildTeamDriveBackgroundImageFile(); |
| 2116 o.backgroundImageLink = "foo"; |
2048 o.capabilities = buildTeamDriveCapabilities(); | 2117 o.capabilities = buildTeamDriveCapabilities(); |
| 2118 o.colorRgb = "foo"; |
2049 o.id = "foo"; | 2119 o.id = "foo"; |
2050 o.kind = "foo"; | 2120 o.kind = "foo"; |
2051 o.name = "foo"; | 2121 o.name = "foo"; |
| 2122 o.themeId = "foo"; |
2052 } | 2123 } |
2053 buildCounterTeamDrive--; | 2124 buildCounterTeamDrive--; |
2054 return o; | 2125 return o; |
2055 } | 2126 } |
2056 | 2127 |
2057 checkTeamDrive(api.TeamDrive o) { | 2128 checkTeamDrive(api.TeamDrive o) { |
2058 buildCounterTeamDrive++; | 2129 buildCounterTeamDrive++; |
2059 if (buildCounterTeamDrive < 3) { | 2130 if (buildCounterTeamDrive < 3) { |
| 2131 checkTeamDriveBackgroundImageFile(o.backgroundImageFile); |
| 2132 unittest.expect(o.backgroundImageLink, unittest.equals('foo')); |
2060 checkTeamDriveCapabilities(o.capabilities); | 2133 checkTeamDriveCapabilities(o.capabilities); |
| 2134 unittest.expect(o.colorRgb, unittest.equals('foo')); |
2061 unittest.expect(o.id, unittest.equals('foo')); | 2135 unittest.expect(o.id, unittest.equals('foo')); |
2062 unittest.expect(o.kind, unittest.equals('foo')); | 2136 unittest.expect(o.kind, unittest.equals('foo')); |
2063 unittest.expect(o.name, unittest.equals('foo')); | 2137 unittest.expect(o.name, unittest.equals('foo')); |
| 2138 unittest.expect(o.themeId, unittest.equals('foo')); |
2064 } | 2139 } |
2065 buildCounterTeamDrive--; | 2140 buildCounterTeamDrive--; |
2066 } | 2141 } |
2067 | 2142 |
2068 buildUnnamed673() { | 2143 buildUnnamed660() { |
2069 var o = new core.List<api.TeamDrive>(); | 2144 var o = new core.List<api.TeamDrive>(); |
2070 o.add(buildTeamDrive()); | 2145 o.add(buildTeamDrive()); |
2071 o.add(buildTeamDrive()); | 2146 o.add(buildTeamDrive()); |
2072 return o; | 2147 return o; |
2073 } | 2148 } |
2074 | 2149 |
2075 checkUnnamed673(core.List<api.TeamDrive> o) { | 2150 checkUnnamed660(core.List<api.TeamDrive> o) { |
2076 unittest.expect(o, unittest.hasLength(2)); | 2151 unittest.expect(o, unittest.hasLength(2)); |
2077 checkTeamDrive(o[0]); | 2152 checkTeamDrive(o[0]); |
2078 checkTeamDrive(o[1]); | 2153 checkTeamDrive(o[1]); |
2079 } | 2154 } |
2080 | 2155 |
2081 core.int buildCounterTeamDriveList = 0; | 2156 core.int buildCounterTeamDriveList = 0; |
2082 buildTeamDriveList() { | 2157 buildTeamDriveList() { |
2083 var o = new api.TeamDriveList(); | 2158 var o = new api.TeamDriveList(); |
2084 buildCounterTeamDriveList++; | 2159 buildCounterTeamDriveList++; |
2085 if (buildCounterTeamDriveList < 3) { | 2160 if (buildCounterTeamDriveList < 3) { |
2086 o.items = buildUnnamed673(); | 2161 o.items = buildUnnamed660(); |
2087 o.kind = "foo"; | 2162 o.kind = "foo"; |
2088 o.nextPageToken = "foo"; | 2163 o.nextPageToken = "foo"; |
2089 } | 2164 } |
2090 buildCounterTeamDriveList--; | 2165 buildCounterTeamDriveList--; |
2091 return o; | 2166 return o; |
2092 } | 2167 } |
2093 | 2168 |
2094 checkTeamDriveList(api.TeamDriveList o) { | 2169 checkTeamDriveList(api.TeamDriveList o) { |
2095 buildCounterTeamDriveList++; | 2170 buildCounterTeamDriveList++; |
2096 if (buildCounterTeamDriveList < 3) { | 2171 if (buildCounterTeamDriveList < 3) { |
2097 checkUnnamed673(o.items); | 2172 checkUnnamed660(o.items); |
2098 unittest.expect(o.kind, unittest.equals('foo')); | 2173 unittest.expect(o.kind, unittest.equals('foo')); |
2099 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2174 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2100 } | 2175 } |
2101 buildCounterTeamDriveList--; | 2176 buildCounterTeamDriveList--; |
2102 } | 2177 } |
2103 | 2178 |
2104 core.int buildCounterUserPicture = 0; | 2179 core.int buildCounterUserPicture = 0; |
2105 buildUserPicture() { | 2180 buildUserPicture() { |
2106 var o = new api.UserPicture(); | 2181 var o = new api.UserPicture(); |
2107 buildCounterUserPicture++; | 2182 buildCounterUserPicture++; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2207 | 2282 |
2208 unittest.group("obj-schema-AboutQuotaBytesByService", () { | 2283 unittest.group("obj-schema-AboutQuotaBytesByService", () { |
2209 unittest.test("to-json--from-json", () { | 2284 unittest.test("to-json--from-json", () { |
2210 var o = buildAboutQuotaBytesByService(); | 2285 var o = buildAboutQuotaBytesByService(); |
2211 var od = new api.AboutQuotaBytesByService.fromJson(o.toJson()); | 2286 var od = new api.AboutQuotaBytesByService.fromJson(o.toJson()); |
2212 checkAboutQuotaBytesByService(od); | 2287 checkAboutQuotaBytesByService(od); |
2213 }); | 2288 }); |
2214 }); | 2289 }); |
2215 | 2290 |
2216 | 2291 |
| 2292 unittest.group("obj-schema-AboutTeamDriveThemes", () { |
| 2293 unittest.test("to-json--from-json", () { |
| 2294 var o = buildAboutTeamDriveThemes(); |
| 2295 var od = new api.AboutTeamDriveThemes.fromJson(o.toJson()); |
| 2296 checkAboutTeamDriveThemes(od); |
| 2297 }); |
| 2298 }); |
| 2299 |
| 2300 |
2217 unittest.group("obj-schema-About", () { | 2301 unittest.group("obj-schema-About", () { |
2218 unittest.test("to-json--from-json", () { | 2302 unittest.test("to-json--from-json", () { |
2219 var o = buildAbout(); | 2303 var o = buildAbout(); |
2220 var od = new api.About.fromJson(o.toJson()); | 2304 var od = new api.About.fromJson(o.toJson()); |
2221 checkAbout(od); | 2305 checkAbout(od); |
2222 }); | 2306 }); |
2223 }); | 2307 }); |
2224 | 2308 |
2225 | 2309 |
2226 unittest.group("obj-schema-AppIcons", () { | 2310 unittest.group("obj-schema-AppIcons", () { |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2522 | 2606 |
2523 unittest.group("obj-schema-StartPageToken", () { | 2607 unittest.group("obj-schema-StartPageToken", () { |
2524 unittest.test("to-json--from-json", () { | 2608 unittest.test("to-json--from-json", () { |
2525 var o = buildStartPageToken(); | 2609 var o = buildStartPageToken(); |
2526 var od = new api.StartPageToken.fromJson(o.toJson()); | 2610 var od = new api.StartPageToken.fromJson(o.toJson()); |
2527 checkStartPageToken(od); | 2611 checkStartPageToken(od); |
2528 }); | 2612 }); |
2529 }); | 2613 }); |
2530 | 2614 |
2531 | 2615 |
| 2616 unittest.group("obj-schema-TeamDriveBackgroundImageFile", () { |
| 2617 unittest.test("to-json--from-json", () { |
| 2618 var o = buildTeamDriveBackgroundImageFile(); |
| 2619 var od = new api.TeamDriveBackgroundImageFile.fromJson(o.toJson()); |
| 2620 checkTeamDriveBackgroundImageFile(od); |
| 2621 }); |
| 2622 }); |
| 2623 |
| 2624 |
2532 unittest.group("obj-schema-TeamDriveCapabilities", () { | 2625 unittest.group("obj-schema-TeamDriveCapabilities", () { |
2533 unittest.test("to-json--from-json", () { | 2626 unittest.test("to-json--from-json", () { |
2534 var o = buildTeamDriveCapabilities(); | 2627 var o = buildTeamDriveCapabilities(); |
2535 var od = new api.TeamDriveCapabilities.fromJson(o.toJson()); | 2628 var od = new api.TeamDriveCapabilities.fromJson(o.toJson()); |
2536 checkTeamDriveCapabilities(od); | 2629 checkTeamDriveCapabilities(od); |
2537 }); | 2630 }); |
2538 }); | 2631 }); |
2539 | 2632 |
2540 | 2633 |
2541 unittest.group("obj-schema-TeamDrive", () { | 2634 unittest.group("obj-schema-TeamDrive", () { |
(...skipping 4014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6556 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync(((api.T
eamDrive response) { | 6649 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync(((api.T
eamDrive response) { |
6557 checkTeamDrive(response); | 6650 checkTeamDrive(response); |
6558 }))); | 6651 }))); |
6559 }); | 6652 }); |
6560 | 6653 |
6561 }); | 6654 }); |
6562 | 6655 |
6563 | 6656 |
6564 } | 6657 } |
6565 | 6658 |
OLD | NEW |