| OLD | NEW |
| 1 library googleapis.drive.v3.test; | 1 library googleapis.drive.v3.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 buildUnnamed1569() { | 54 buildUnnamed1596() { |
| 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 checkUnnamed1569(core.List<core.String> o) { | 61 checkUnnamed1596(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 buildUnnamed1570() { | 67 buildUnnamed1597() { |
| 68 var o = new core.Map<core.String, core.List<core.String>>(); | 68 var o = new core.Map<core.String, core.List<core.String>>(); |
| 69 o["x"] = buildUnnamed1569(); | 69 o["x"] = buildUnnamed1596(); |
| 70 o["y"] = buildUnnamed1569(); | 70 o["y"] = buildUnnamed1596(); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed1570(core.Map<core.String, core.List<core.String>> o) { | 74 checkUnnamed1597(core.Map<core.String, core.List<core.String>> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 checkUnnamed1569(o["x"]); | 76 checkUnnamed1596(o["x"]); |
| 77 checkUnnamed1569(o["y"]); | 77 checkUnnamed1596(o["y"]); |
| 78 } | 78 } |
| 79 | 79 |
| 80 buildUnnamed1571() { | 80 buildUnnamed1598() { |
| 81 var o = new core.List<core.String>(); | 81 var o = new core.List<core.String>(); |
| 82 o.add("foo"); | 82 o.add("foo"); |
| 83 o.add("foo"); | 83 o.add("foo"); |
| 84 return o; | 84 return o; |
| 85 } | 85 } |
| 86 | 86 |
| 87 checkUnnamed1571(core.List<core.String> o) { | 87 checkUnnamed1598(core.List<core.String> o) { |
| 88 unittest.expect(o, unittest.hasLength(2)); | 88 unittest.expect(o, unittest.hasLength(2)); |
| 89 unittest.expect(o[0], unittest.equals('foo')); | 89 unittest.expect(o[0], unittest.equals('foo')); |
| 90 unittest.expect(o[1], unittest.equals('foo')); | 90 unittest.expect(o[1], unittest.equals('foo')); |
| 91 } | 91 } |
| 92 | 92 |
| 93 buildUnnamed1572() { | 93 buildUnnamed1599() { |
| 94 var o = new core.List<core.String>(); | 94 var o = new core.List<core.String>(); |
| 95 o.add("foo"); | 95 o.add("foo"); |
| 96 o.add("foo"); | 96 o.add("foo"); |
| 97 return o; | 97 return o; |
| 98 } | 98 } |
| 99 | 99 |
| 100 checkUnnamed1572(core.List<core.String> o) { | 100 checkUnnamed1599(core.List<core.String> o) { |
| 101 unittest.expect(o, unittest.hasLength(2)); | 101 unittest.expect(o, unittest.hasLength(2)); |
| 102 unittest.expect(o[0], unittest.equals('foo')); | 102 unittest.expect(o[0], unittest.equals('foo')); |
| 103 unittest.expect(o[1], unittest.equals('foo')); | 103 unittest.expect(o[1], unittest.equals('foo')); |
| 104 } | 104 } |
| 105 | 105 |
| 106 buildUnnamed1573() { | 106 buildUnnamed1600() { |
| 107 var o = new core.Map<core.String, core.List<core.String>>(); | 107 var o = new core.Map<core.String, core.List<core.String>>(); |
| 108 o["x"] = buildUnnamed1572(); | 108 o["x"] = buildUnnamed1599(); |
| 109 o["y"] = buildUnnamed1572(); | 109 o["y"] = buildUnnamed1599(); |
| 110 return o; | 110 return o; |
| 111 } | 111 } |
| 112 | 112 |
| 113 checkUnnamed1573(core.Map<core.String, core.List<core.String>> o) { | 113 checkUnnamed1600(core.Map<core.String, core.List<core.String>> o) { |
| 114 unittest.expect(o, unittest.hasLength(2)); | 114 unittest.expect(o, unittest.hasLength(2)); |
| 115 checkUnnamed1572(o["x"]); | 115 checkUnnamed1599(o["x"]); |
| 116 checkUnnamed1572(o["y"]); | 116 checkUnnamed1599(o["y"]); |
| 117 } | 117 } |
| 118 | 118 |
| 119 buildUnnamed1574() { | 119 buildUnnamed1601() { |
| 120 var o = new core.Map<core.String, core.String>(); | 120 var o = new core.Map<core.String, core.String>(); |
| 121 o["x"] = "foo"; | 121 o["x"] = "foo"; |
| 122 o["y"] = "foo"; | 122 o["y"] = "foo"; |
| 123 return o; | 123 return o; |
| 124 } | 124 } |
| 125 | 125 |
| 126 checkUnnamed1574(core.Map<core.String, core.String> o) { | 126 checkUnnamed1601(core.Map<core.String, core.String> o) { |
| 127 unittest.expect(o, unittest.hasLength(2)); | 127 unittest.expect(o, unittest.hasLength(2)); |
| 128 unittest.expect(o["x"], unittest.equals('foo')); | 128 unittest.expect(o["x"], unittest.equals('foo')); |
| 129 unittest.expect(o["y"], unittest.equals('foo')); | 129 unittest.expect(o["y"], unittest.equals('foo')); |
| 130 } | 130 } |
| 131 | 131 |
| 132 core.int buildCounterAboutStorageQuota = 0; | 132 core.int buildCounterAboutStorageQuota = 0; |
| 133 buildAboutStorageQuota() { | 133 buildAboutStorageQuota() { |
| 134 var o = new api.AboutStorageQuota(); | 134 var o = new api.AboutStorageQuota(); |
| 135 buildCounterAboutStorageQuota++; | 135 buildCounterAboutStorageQuota++; |
| 136 if (buildCounterAboutStorageQuota < 3) { | 136 if (buildCounterAboutStorageQuota < 3) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) { | 170 checkAboutTeamDriveThemes(api.AboutTeamDriveThemes o) { |
| 171 buildCounterAboutTeamDriveThemes++; | 171 buildCounterAboutTeamDriveThemes++; |
| 172 if (buildCounterAboutTeamDriveThemes < 3) { | 172 if (buildCounterAboutTeamDriveThemes < 3) { |
| 173 unittest.expect(o.backgroundImageLink, unittest.equals('foo')); | 173 unittest.expect(o.backgroundImageLink, unittest.equals('foo')); |
| 174 unittest.expect(o.colorRgb, unittest.equals('foo')); | 174 unittest.expect(o.colorRgb, unittest.equals('foo')); |
| 175 unittest.expect(o.id, unittest.equals('foo')); | 175 unittest.expect(o.id, unittest.equals('foo')); |
| 176 } | 176 } |
| 177 buildCounterAboutTeamDriveThemes--; | 177 buildCounterAboutTeamDriveThemes--; |
| 178 } | 178 } |
| 179 | 179 |
| 180 buildUnnamed1575() { | 180 buildUnnamed1602() { |
| 181 var o = new core.List<api.AboutTeamDriveThemes>(); | 181 var o = new core.List<api.AboutTeamDriveThemes>(); |
| 182 o.add(buildAboutTeamDriveThemes()); | 182 o.add(buildAboutTeamDriveThemes()); |
| 183 o.add(buildAboutTeamDriveThemes()); | 183 o.add(buildAboutTeamDriveThemes()); |
| 184 return o; | 184 return o; |
| 185 } | 185 } |
| 186 | 186 |
| 187 checkUnnamed1575(core.List<api.AboutTeamDriveThemes> o) { | 187 checkUnnamed1602(core.List<api.AboutTeamDriveThemes> o) { |
| 188 unittest.expect(o, unittest.hasLength(2)); | 188 unittest.expect(o, unittest.hasLength(2)); |
| 189 checkAboutTeamDriveThemes(o[0]); | 189 checkAboutTeamDriveThemes(o[0]); |
| 190 checkAboutTeamDriveThemes(o[1]); | 190 checkAboutTeamDriveThemes(o[1]); |
| 191 } | 191 } |
| 192 | 192 |
| 193 core.int buildCounterAbout = 0; | 193 core.int buildCounterAbout = 0; |
| 194 buildAbout() { | 194 buildAbout() { |
| 195 var o = new api.About(); | 195 var o = new api.About(); |
| 196 buildCounterAbout++; | 196 buildCounterAbout++; |
| 197 if (buildCounterAbout < 3) { | 197 if (buildCounterAbout < 3) { |
| 198 o.appInstalled = true; | 198 o.appInstalled = true; |
| 199 o.exportFormats = buildUnnamed1570(); | 199 o.exportFormats = buildUnnamed1597(); |
| 200 o.folderColorPalette = buildUnnamed1571(); | 200 o.folderColorPalette = buildUnnamed1598(); |
| 201 o.importFormats = buildUnnamed1573(); | 201 o.importFormats = buildUnnamed1600(); |
| 202 o.kind = "foo"; | 202 o.kind = "foo"; |
| 203 o.maxImportSizes = buildUnnamed1574(); | 203 o.maxImportSizes = buildUnnamed1601(); |
| 204 o.maxUploadSize = "foo"; | 204 o.maxUploadSize = "foo"; |
| 205 o.storageQuota = buildAboutStorageQuota(); | 205 o.storageQuota = buildAboutStorageQuota(); |
| 206 o.teamDriveThemes = buildUnnamed1575(); | 206 o.teamDriveThemes = buildUnnamed1602(); |
| 207 o.user = buildUser(); | 207 o.user = buildUser(); |
| 208 } | 208 } |
| 209 buildCounterAbout--; | 209 buildCounterAbout--; |
| 210 return o; | 210 return o; |
| 211 } | 211 } |
| 212 | 212 |
| 213 checkAbout(api.About o) { | 213 checkAbout(api.About o) { |
| 214 buildCounterAbout++; | 214 buildCounterAbout++; |
| 215 if (buildCounterAbout < 3) { | 215 if (buildCounterAbout < 3) { |
| 216 unittest.expect(o.appInstalled, unittest.isTrue); | 216 unittest.expect(o.appInstalled, unittest.isTrue); |
| 217 checkUnnamed1570(o.exportFormats); | 217 checkUnnamed1597(o.exportFormats); |
| 218 checkUnnamed1571(o.folderColorPalette); | 218 checkUnnamed1598(o.folderColorPalette); |
| 219 checkUnnamed1573(o.importFormats); | 219 checkUnnamed1600(o.importFormats); |
| 220 unittest.expect(o.kind, unittest.equals('foo')); | 220 unittest.expect(o.kind, unittest.equals('foo')); |
| 221 checkUnnamed1574(o.maxImportSizes); | 221 checkUnnamed1601(o.maxImportSizes); |
| 222 unittest.expect(o.maxUploadSize, unittest.equals('foo')); | 222 unittest.expect(o.maxUploadSize, unittest.equals('foo')); |
| 223 checkAboutStorageQuota(o.storageQuota); | 223 checkAboutStorageQuota(o.storageQuota); |
| 224 checkUnnamed1575(o.teamDriveThemes); | 224 checkUnnamed1602(o.teamDriveThemes); |
| 225 checkUser(o.user); | 225 checkUser(o.user); |
| 226 } | 226 } |
| 227 buildCounterAbout--; | 227 buildCounterAbout--; |
| 228 } | 228 } |
| 229 | 229 |
| 230 core.int buildCounterChange = 0; | 230 core.int buildCounterChange = 0; |
| 231 buildChange() { | 231 buildChange() { |
| 232 var o = new api.Change(); | 232 var o = new api.Change(); |
| 233 buildCounterChange++; | 233 buildCounterChange++; |
| 234 if (buildCounterChange < 3) { | 234 if (buildCounterChange < 3) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 253 unittest.expect(o.kind, unittest.equals('foo')); | 253 unittest.expect(o.kind, unittest.equals('foo')); |
| 254 unittest.expect(o.removed, unittest.isTrue); | 254 unittest.expect(o.removed, unittest.isTrue); |
| 255 checkTeamDrive(o.teamDrive); | 255 checkTeamDrive(o.teamDrive); |
| 256 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 256 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
| 257 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); | 257 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); |
| 258 unittest.expect(o.type, unittest.equals('foo')); | 258 unittest.expect(o.type, unittest.equals('foo')); |
| 259 } | 259 } |
| 260 buildCounterChange--; | 260 buildCounterChange--; |
| 261 } | 261 } |
| 262 | 262 |
| 263 buildUnnamed1576() { | 263 buildUnnamed1603() { |
| 264 var o = new core.List<api.Change>(); | 264 var o = new core.List<api.Change>(); |
| 265 o.add(buildChange()); | 265 o.add(buildChange()); |
| 266 o.add(buildChange()); | 266 o.add(buildChange()); |
| 267 return o; | 267 return o; |
| 268 } | 268 } |
| 269 | 269 |
| 270 checkUnnamed1576(core.List<api.Change> o) { | 270 checkUnnamed1603(core.List<api.Change> o) { |
| 271 unittest.expect(o, unittest.hasLength(2)); | 271 unittest.expect(o, unittest.hasLength(2)); |
| 272 checkChange(o[0]); | 272 checkChange(o[0]); |
| 273 checkChange(o[1]); | 273 checkChange(o[1]); |
| 274 } | 274 } |
| 275 | 275 |
| 276 core.int buildCounterChangeList = 0; | 276 core.int buildCounterChangeList = 0; |
| 277 buildChangeList() { | 277 buildChangeList() { |
| 278 var o = new api.ChangeList(); | 278 var o = new api.ChangeList(); |
| 279 buildCounterChangeList++; | 279 buildCounterChangeList++; |
| 280 if (buildCounterChangeList < 3) { | 280 if (buildCounterChangeList < 3) { |
| 281 o.changes = buildUnnamed1576(); | 281 o.changes = buildUnnamed1603(); |
| 282 o.kind = "foo"; | 282 o.kind = "foo"; |
| 283 o.newStartPageToken = "foo"; | 283 o.newStartPageToken = "foo"; |
| 284 o.nextPageToken = "foo"; | 284 o.nextPageToken = "foo"; |
| 285 } | 285 } |
| 286 buildCounterChangeList--; | 286 buildCounterChangeList--; |
| 287 return o; | 287 return o; |
| 288 } | 288 } |
| 289 | 289 |
| 290 checkChangeList(api.ChangeList o) { | 290 checkChangeList(api.ChangeList o) { |
| 291 buildCounterChangeList++; | 291 buildCounterChangeList++; |
| 292 if (buildCounterChangeList < 3) { | 292 if (buildCounterChangeList < 3) { |
| 293 checkUnnamed1576(o.changes); | 293 checkUnnamed1603(o.changes); |
| 294 unittest.expect(o.kind, unittest.equals('foo')); | 294 unittest.expect(o.kind, unittest.equals('foo')); |
| 295 unittest.expect(o.newStartPageToken, unittest.equals('foo')); | 295 unittest.expect(o.newStartPageToken, unittest.equals('foo')); |
| 296 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 296 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 297 } | 297 } |
| 298 buildCounterChangeList--; | 298 buildCounterChangeList--; |
| 299 } | 299 } |
| 300 | 300 |
| 301 buildUnnamed1577() { | 301 buildUnnamed1604() { |
| 302 var o = new core.Map<core.String, core.String>(); | 302 var o = new core.Map<core.String, core.String>(); |
| 303 o["x"] = "foo"; | 303 o["x"] = "foo"; |
| 304 o["y"] = "foo"; | 304 o["y"] = "foo"; |
| 305 return o; | 305 return o; |
| 306 } | 306 } |
| 307 | 307 |
| 308 checkUnnamed1577(core.Map<core.String, core.String> o) { | 308 checkUnnamed1604(core.Map<core.String, core.String> o) { |
| 309 unittest.expect(o, unittest.hasLength(2)); | 309 unittest.expect(o, unittest.hasLength(2)); |
| 310 unittest.expect(o["x"], unittest.equals('foo')); | 310 unittest.expect(o["x"], unittest.equals('foo')); |
| 311 unittest.expect(o["y"], unittest.equals('foo')); | 311 unittest.expect(o["y"], unittest.equals('foo')); |
| 312 } | 312 } |
| 313 | 313 |
| 314 core.int buildCounterChannel = 0; | 314 core.int buildCounterChannel = 0; |
| 315 buildChannel() { | 315 buildChannel() { |
| 316 var o = new api.Channel(); | 316 var o = new api.Channel(); |
| 317 buildCounterChannel++; | 317 buildCounterChannel++; |
| 318 if (buildCounterChannel < 3) { | 318 if (buildCounterChannel < 3) { |
| 319 o.address = "foo"; | 319 o.address = "foo"; |
| 320 o.expiration = "foo"; | 320 o.expiration = "foo"; |
| 321 o.id = "foo"; | 321 o.id = "foo"; |
| 322 o.kind = "foo"; | 322 o.kind = "foo"; |
| 323 o.params = buildUnnamed1577(); | 323 o.params = buildUnnamed1604(); |
| 324 o.payload = true; | 324 o.payload = true; |
| 325 o.resourceId = "foo"; | 325 o.resourceId = "foo"; |
| 326 o.resourceUri = "foo"; | 326 o.resourceUri = "foo"; |
| 327 o.token = "foo"; | 327 o.token = "foo"; |
| 328 o.type = "foo"; | 328 o.type = "foo"; |
| 329 } | 329 } |
| 330 buildCounterChannel--; | 330 buildCounterChannel--; |
| 331 return o; | 331 return o; |
| 332 } | 332 } |
| 333 | 333 |
| 334 checkChannel(api.Channel o) { | 334 checkChannel(api.Channel o) { |
| 335 buildCounterChannel++; | 335 buildCounterChannel++; |
| 336 if (buildCounterChannel < 3) { | 336 if (buildCounterChannel < 3) { |
| 337 unittest.expect(o.address, unittest.equals('foo')); | 337 unittest.expect(o.address, unittest.equals('foo')); |
| 338 unittest.expect(o.expiration, unittest.equals('foo')); | 338 unittest.expect(o.expiration, unittest.equals('foo')); |
| 339 unittest.expect(o.id, unittest.equals('foo')); | 339 unittest.expect(o.id, unittest.equals('foo')); |
| 340 unittest.expect(o.kind, unittest.equals('foo')); | 340 unittest.expect(o.kind, unittest.equals('foo')); |
| 341 checkUnnamed1577(o.params); | 341 checkUnnamed1604(o.params); |
| 342 unittest.expect(o.payload, unittest.isTrue); | 342 unittest.expect(o.payload, unittest.isTrue); |
| 343 unittest.expect(o.resourceId, unittest.equals('foo')); | 343 unittest.expect(o.resourceId, unittest.equals('foo')); |
| 344 unittest.expect(o.resourceUri, unittest.equals('foo')); | 344 unittest.expect(o.resourceUri, unittest.equals('foo')); |
| 345 unittest.expect(o.token, unittest.equals('foo')); | 345 unittest.expect(o.token, unittest.equals('foo')); |
| 346 unittest.expect(o.type, unittest.equals('foo')); | 346 unittest.expect(o.type, unittest.equals('foo')); |
| 347 } | 347 } |
| 348 buildCounterChannel--; | 348 buildCounterChannel--; |
| 349 } | 349 } |
| 350 | 350 |
| 351 core.int buildCounterCommentQuotedFileContent = 0; | 351 core.int buildCounterCommentQuotedFileContent = 0; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 362 | 362 |
| 363 checkCommentQuotedFileContent(api.CommentQuotedFileContent o) { | 363 checkCommentQuotedFileContent(api.CommentQuotedFileContent o) { |
| 364 buildCounterCommentQuotedFileContent++; | 364 buildCounterCommentQuotedFileContent++; |
| 365 if (buildCounterCommentQuotedFileContent < 3) { | 365 if (buildCounterCommentQuotedFileContent < 3) { |
| 366 unittest.expect(o.mimeType, unittest.equals('foo')); | 366 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 367 unittest.expect(o.value, unittest.equals('foo')); | 367 unittest.expect(o.value, unittest.equals('foo')); |
| 368 } | 368 } |
| 369 buildCounterCommentQuotedFileContent--; | 369 buildCounterCommentQuotedFileContent--; |
| 370 } | 370 } |
| 371 | 371 |
| 372 buildUnnamed1578() { | 372 buildUnnamed1605() { |
| 373 var o = new core.List<api.Reply>(); | 373 var o = new core.List<api.Reply>(); |
| 374 o.add(buildReply()); | 374 o.add(buildReply()); |
| 375 o.add(buildReply()); | 375 o.add(buildReply()); |
| 376 return o; | 376 return o; |
| 377 } | 377 } |
| 378 | 378 |
| 379 checkUnnamed1578(core.List<api.Reply> o) { | 379 checkUnnamed1605(core.List<api.Reply> o) { |
| 380 unittest.expect(o, unittest.hasLength(2)); | 380 unittest.expect(o, unittest.hasLength(2)); |
| 381 checkReply(o[0]); | 381 checkReply(o[0]); |
| 382 checkReply(o[1]); | 382 checkReply(o[1]); |
| 383 } | 383 } |
| 384 | 384 |
| 385 core.int buildCounterComment = 0; | 385 core.int buildCounterComment = 0; |
| 386 buildComment() { | 386 buildComment() { |
| 387 var o = new api.Comment(); | 387 var o = new api.Comment(); |
| 388 buildCounterComment++; | 388 buildCounterComment++; |
| 389 if (buildCounterComment < 3) { | 389 if (buildCounterComment < 3) { |
| 390 o.anchor = "foo"; | 390 o.anchor = "foo"; |
| 391 o.author = buildUser(); | 391 o.author = buildUser(); |
| 392 o.content = "foo"; | 392 o.content = "foo"; |
| 393 o.createdTime = core.DateTime.parse("2002-02-27T14:01:02"); | 393 o.createdTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 394 o.deleted = true; | 394 o.deleted = true; |
| 395 o.htmlContent = "foo"; | 395 o.htmlContent = "foo"; |
| 396 o.id = "foo"; | 396 o.id = "foo"; |
| 397 o.kind = "foo"; | 397 o.kind = "foo"; |
| 398 o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 398 o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 399 o.quotedFileContent = buildCommentQuotedFileContent(); | 399 o.quotedFileContent = buildCommentQuotedFileContent(); |
| 400 o.replies = buildUnnamed1578(); | 400 o.replies = buildUnnamed1605(); |
| 401 o.resolved = true; | 401 o.resolved = true; |
| 402 } | 402 } |
| 403 buildCounterComment--; | 403 buildCounterComment--; |
| 404 return o; | 404 return o; |
| 405 } | 405 } |
| 406 | 406 |
| 407 checkComment(api.Comment o) { | 407 checkComment(api.Comment o) { |
| 408 buildCounterComment++; | 408 buildCounterComment++; |
| 409 if (buildCounterComment < 3) { | 409 if (buildCounterComment < 3) { |
| 410 unittest.expect(o.anchor, unittest.equals('foo')); | 410 unittest.expect(o.anchor, unittest.equals('foo')); |
| 411 checkUser(o.author); | 411 checkUser(o.author); |
| 412 unittest.expect(o.content, unittest.equals('foo')); | 412 unittest.expect(o.content, unittest.equals('foo')); |
| 413 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 413 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 414 unittest.expect(o.deleted, unittest.isTrue); | 414 unittest.expect(o.deleted, unittest.isTrue); |
| 415 unittest.expect(o.htmlContent, unittest.equals('foo')); | 415 unittest.expect(o.htmlContent, unittest.equals('foo')); |
| 416 unittest.expect(o.id, unittest.equals('foo')); | 416 unittest.expect(o.id, unittest.equals('foo')); |
| 417 unittest.expect(o.kind, unittest.equals('foo')); | 417 unittest.expect(o.kind, unittest.equals('foo')); |
| 418 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 418 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 419 checkCommentQuotedFileContent(o.quotedFileContent); | 419 checkCommentQuotedFileContent(o.quotedFileContent); |
| 420 checkUnnamed1578(o.replies); | 420 checkUnnamed1605(o.replies); |
| 421 unittest.expect(o.resolved, unittest.isTrue); | 421 unittest.expect(o.resolved, unittest.isTrue); |
| 422 } | 422 } |
| 423 buildCounterComment--; | 423 buildCounterComment--; |
| 424 } | 424 } |
| 425 | 425 |
| 426 buildUnnamed1579() { | 426 buildUnnamed1606() { |
| 427 var o = new core.List<api.Comment>(); | 427 var o = new core.List<api.Comment>(); |
| 428 o.add(buildComment()); | 428 o.add(buildComment()); |
| 429 o.add(buildComment()); | 429 o.add(buildComment()); |
| 430 return o; | 430 return o; |
| 431 } | 431 } |
| 432 | 432 |
| 433 checkUnnamed1579(core.List<api.Comment> o) { | 433 checkUnnamed1606(core.List<api.Comment> o) { |
| 434 unittest.expect(o, unittest.hasLength(2)); | 434 unittest.expect(o, unittest.hasLength(2)); |
| 435 checkComment(o[0]); | 435 checkComment(o[0]); |
| 436 checkComment(o[1]); | 436 checkComment(o[1]); |
| 437 } | 437 } |
| 438 | 438 |
| 439 core.int buildCounterCommentList = 0; | 439 core.int buildCounterCommentList = 0; |
| 440 buildCommentList() { | 440 buildCommentList() { |
| 441 var o = new api.CommentList(); | 441 var o = new api.CommentList(); |
| 442 buildCounterCommentList++; | 442 buildCounterCommentList++; |
| 443 if (buildCounterCommentList < 3) { | 443 if (buildCounterCommentList < 3) { |
| 444 o.comments = buildUnnamed1579(); | 444 o.comments = buildUnnamed1606(); |
| 445 o.kind = "foo"; | 445 o.kind = "foo"; |
| 446 o.nextPageToken = "foo"; | 446 o.nextPageToken = "foo"; |
| 447 } | 447 } |
| 448 buildCounterCommentList--; | 448 buildCounterCommentList--; |
| 449 return o; | 449 return o; |
| 450 } | 450 } |
| 451 | 451 |
| 452 checkCommentList(api.CommentList o) { | 452 checkCommentList(api.CommentList o) { |
| 453 buildCounterCommentList++; | 453 buildCounterCommentList++; |
| 454 if (buildCounterCommentList < 3) { | 454 if (buildCounterCommentList < 3) { |
| 455 checkUnnamed1579(o.comments); | 455 checkUnnamed1606(o.comments); |
| 456 unittest.expect(o.kind, unittest.equals('foo')); | 456 unittest.expect(o.kind, unittest.equals('foo')); |
| 457 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 457 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 458 } | 458 } |
| 459 buildCounterCommentList--; | 459 buildCounterCommentList--; |
| 460 } | 460 } |
| 461 | 461 |
| 462 buildUnnamed1580() { | 462 buildUnnamed1607() { |
| 463 var o = new core.Map<core.String, core.String>(); | 463 var o = new core.Map<core.String, core.String>(); |
| 464 o["x"] = "foo"; | 464 o["x"] = "foo"; |
| 465 o["y"] = "foo"; | 465 o["y"] = "foo"; |
| 466 return o; | 466 return o; |
| 467 } | 467 } |
| 468 | 468 |
| 469 checkUnnamed1580(core.Map<core.String, core.String> o) { | 469 checkUnnamed1607(core.Map<core.String, core.String> o) { |
| 470 unittest.expect(o, unittest.hasLength(2)); | 470 unittest.expect(o, unittest.hasLength(2)); |
| 471 unittest.expect(o["x"], unittest.equals('foo')); | 471 unittest.expect(o["x"], unittest.equals('foo')); |
| 472 unittest.expect(o["y"], unittest.equals('foo')); | 472 unittest.expect(o["y"], unittest.equals('foo')); |
| 473 } | 473 } |
| 474 | 474 |
| 475 core.int buildCounterFileCapabilities = 0; | 475 core.int buildCounterFileCapabilities = 0; |
| 476 buildFileCapabilities() { | 476 buildFileCapabilities() { |
| 477 var o = new api.FileCapabilities(); | 477 var o = new api.FileCapabilities(); |
| 478 buildCounterFileCapabilities++; | 478 buildCounterFileCapabilities++; |
| 479 if (buildCounterFileCapabilities < 3) { | 479 if (buildCounterFileCapabilities < 3) { |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 unittest.expect(o.rotation, unittest.equals(42)); | 640 unittest.expect(o.rotation, unittest.equals(42)); |
| 641 unittest.expect(o.sensor, unittest.equals('foo')); | 641 unittest.expect(o.sensor, unittest.equals('foo')); |
| 642 unittest.expect(o.subjectDistance, unittest.equals(42)); | 642 unittest.expect(o.subjectDistance, unittest.equals(42)); |
| 643 unittest.expect(o.time, unittest.equals('foo')); | 643 unittest.expect(o.time, unittest.equals('foo')); |
| 644 unittest.expect(o.whiteBalance, unittest.equals('foo')); | 644 unittest.expect(o.whiteBalance, unittest.equals('foo')); |
| 645 unittest.expect(o.width, unittest.equals(42)); | 645 unittest.expect(o.width, unittest.equals(42)); |
| 646 } | 646 } |
| 647 buildCounterFileImageMediaMetadata--; | 647 buildCounterFileImageMediaMetadata--; |
| 648 } | 648 } |
| 649 | 649 |
| 650 buildUnnamed1581() { | 650 buildUnnamed1608() { |
| 651 var o = new core.List<api.User>(); | 651 var o = new core.List<api.User>(); |
| 652 o.add(buildUser()); | 652 o.add(buildUser()); |
| 653 o.add(buildUser()); | 653 o.add(buildUser()); |
| 654 return o; | 654 return o; |
| 655 } | 655 } |
| 656 | 656 |
| 657 checkUnnamed1581(core.List<api.User> o) { | 657 checkUnnamed1608(core.List<api.User> o) { |
| 658 unittest.expect(o, unittest.hasLength(2)); | 658 unittest.expect(o, unittest.hasLength(2)); |
| 659 checkUser(o[0]); | 659 checkUser(o[0]); |
| 660 checkUser(o[1]); | 660 checkUser(o[1]); |
| 661 } | 661 } |
| 662 | 662 |
| 663 buildUnnamed1582() { | 663 buildUnnamed1609() { |
| 664 var o = new core.List<core.String>(); | 664 var o = new core.List<core.String>(); |
| 665 o.add("foo"); | 665 o.add("foo"); |
| 666 o.add("foo"); | 666 o.add("foo"); |
| 667 return o; | 667 return o; |
| 668 } | 668 } |
| 669 | 669 |
| 670 checkUnnamed1582(core.List<core.String> o) { | 670 checkUnnamed1609(core.List<core.String> o) { |
| 671 unittest.expect(o, unittest.hasLength(2)); | 671 unittest.expect(o, unittest.hasLength(2)); |
| 672 unittest.expect(o[0], unittest.equals('foo')); | 672 unittest.expect(o[0], unittest.equals('foo')); |
| 673 unittest.expect(o[1], unittest.equals('foo')); | 673 unittest.expect(o[1], unittest.equals('foo')); |
| 674 } | 674 } |
| 675 | 675 |
| 676 buildUnnamed1583() { | 676 buildUnnamed1610() { |
| 677 var o = new core.List<api.Permission>(); | 677 var o = new core.List<api.Permission>(); |
| 678 o.add(buildPermission()); | 678 o.add(buildPermission()); |
| 679 o.add(buildPermission()); | 679 o.add(buildPermission()); |
| 680 return o; | 680 return o; |
| 681 } | 681 } |
| 682 | 682 |
| 683 checkUnnamed1583(core.List<api.Permission> o) { | 683 checkUnnamed1610(core.List<api.Permission> o) { |
| 684 unittest.expect(o, unittest.hasLength(2)); | 684 unittest.expect(o, unittest.hasLength(2)); |
| 685 checkPermission(o[0]); | 685 checkPermission(o[0]); |
| 686 checkPermission(o[1]); | 686 checkPermission(o[1]); |
| 687 } | 687 } |
| 688 | 688 |
| 689 buildUnnamed1584() { | 689 buildUnnamed1611() { |
| 690 var o = new core.Map<core.String, core.String>(); | 690 var o = new core.Map<core.String, core.String>(); |
| 691 o["x"] = "foo"; | 691 o["x"] = "foo"; |
| 692 o["y"] = "foo"; | 692 o["y"] = "foo"; |
| 693 return o; | 693 return o; |
| 694 } | 694 } |
| 695 | 695 |
| 696 checkUnnamed1584(core.Map<core.String, core.String> o) { | 696 checkUnnamed1611(core.Map<core.String, core.String> o) { |
| 697 unittest.expect(o, unittest.hasLength(2)); | 697 unittest.expect(o, unittest.hasLength(2)); |
| 698 unittest.expect(o["x"], unittest.equals('foo')); | 698 unittest.expect(o["x"], unittest.equals('foo')); |
| 699 unittest.expect(o["y"], unittest.equals('foo')); | 699 unittest.expect(o["y"], unittest.equals('foo')); |
| 700 } | 700 } |
| 701 | 701 |
| 702 buildUnnamed1585() { | 702 buildUnnamed1612() { |
| 703 var o = new core.List<core.String>(); | 703 var o = new core.List<core.String>(); |
| 704 o.add("foo"); | 704 o.add("foo"); |
| 705 o.add("foo"); | 705 o.add("foo"); |
| 706 return o; | 706 return o; |
| 707 } | 707 } |
| 708 | 708 |
| 709 checkUnnamed1585(core.List<core.String> o) { | 709 checkUnnamed1612(core.List<core.String> o) { |
| 710 unittest.expect(o, unittest.hasLength(2)); | 710 unittest.expect(o, unittest.hasLength(2)); |
| 711 unittest.expect(o[0], unittest.equals('foo')); | 711 unittest.expect(o[0], unittest.equals('foo')); |
| 712 unittest.expect(o[1], unittest.equals('foo')); | 712 unittest.expect(o[1], unittest.equals('foo')); |
| 713 } | 713 } |
| 714 | 714 |
| 715 core.int buildCounterFileVideoMediaMetadata = 0; | 715 core.int buildCounterFileVideoMediaMetadata = 0; |
| 716 buildFileVideoMediaMetadata() { | 716 buildFileVideoMediaMetadata() { |
| 717 var o = new api.FileVideoMediaMetadata(); | 717 var o = new api.FileVideoMediaMetadata(); |
| 718 buildCounterFileVideoMediaMetadata++; | 718 buildCounterFileVideoMediaMetadata++; |
| 719 if (buildCounterFileVideoMediaMetadata < 3) { | 719 if (buildCounterFileVideoMediaMetadata < 3) { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 733 unittest.expect(o.width, unittest.equals(42)); | 733 unittest.expect(o.width, unittest.equals(42)); |
| 734 } | 734 } |
| 735 buildCounterFileVideoMediaMetadata--; | 735 buildCounterFileVideoMediaMetadata--; |
| 736 } | 736 } |
| 737 | 737 |
| 738 core.int buildCounterFile = 0; | 738 core.int buildCounterFile = 0; |
| 739 buildFile() { | 739 buildFile() { |
| 740 var o = new api.File(); | 740 var o = new api.File(); |
| 741 buildCounterFile++; | 741 buildCounterFile++; |
| 742 if (buildCounterFile < 3) { | 742 if (buildCounterFile < 3) { |
| 743 o.appProperties = buildUnnamed1580(); | 743 o.appProperties = buildUnnamed1607(); |
| 744 o.capabilities = buildFileCapabilities(); | 744 o.capabilities = buildFileCapabilities(); |
| 745 o.contentHints = buildFileContentHints(); | 745 o.contentHints = buildFileContentHints(); |
| 746 o.createdTime = core.DateTime.parse("2002-02-27T14:01:02"); | 746 o.createdTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 747 o.description = "foo"; | 747 o.description = "foo"; |
| 748 o.explicitlyTrashed = true; | 748 o.explicitlyTrashed = true; |
| 749 o.fileExtension = "foo"; | 749 o.fileExtension = "foo"; |
| 750 o.folderColorRgb = "foo"; | 750 o.folderColorRgb = "foo"; |
| 751 o.fullFileExtension = "foo"; | 751 o.fullFileExtension = "foo"; |
| 752 o.hasAugmentedPermissions = true; | 752 o.hasAugmentedPermissions = true; |
| 753 o.hasThumbnail = true; | 753 o.hasThumbnail = true; |
| 754 o.headRevisionId = "foo"; | 754 o.headRevisionId = "foo"; |
| 755 o.iconLink = "foo"; | 755 o.iconLink = "foo"; |
| 756 o.id = "foo"; | 756 o.id = "foo"; |
| 757 o.imageMediaMetadata = buildFileImageMediaMetadata(); | 757 o.imageMediaMetadata = buildFileImageMediaMetadata(); |
| 758 o.isAppAuthorized = true; | 758 o.isAppAuthorized = true; |
| 759 o.kind = "foo"; | 759 o.kind = "foo"; |
| 760 o.lastModifyingUser = buildUser(); | 760 o.lastModifyingUser = buildUser(); |
| 761 o.md5Checksum = "foo"; | 761 o.md5Checksum = "foo"; |
| 762 o.mimeType = "foo"; | 762 o.mimeType = "foo"; |
| 763 o.modifiedByMe = true; | 763 o.modifiedByMe = true; |
| 764 o.modifiedByMeTime = core.DateTime.parse("2002-02-27T14:01:02"); | 764 o.modifiedByMeTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 765 o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 765 o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 766 o.name = "foo"; | 766 o.name = "foo"; |
| 767 o.originalFilename = "foo"; | 767 o.originalFilename = "foo"; |
| 768 o.ownedByMe = true; | 768 o.ownedByMe = true; |
| 769 o.owners = buildUnnamed1581(); | 769 o.owners = buildUnnamed1608(); |
| 770 o.parents = buildUnnamed1582(); | 770 o.parents = buildUnnamed1609(); |
| 771 o.permissions = buildUnnamed1583(); | 771 o.permissions = buildUnnamed1610(); |
| 772 o.properties = buildUnnamed1584(); | 772 o.properties = buildUnnamed1611(); |
| 773 o.quotaBytesUsed = "foo"; | 773 o.quotaBytesUsed = "foo"; |
| 774 o.shared = true; | 774 o.shared = true; |
| 775 o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02"); | 775 o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 776 o.sharingUser = buildUser(); | 776 o.sharingUser = buildUser(); |
| 777 o.size = "foo"; | 777 o.size = "foo"; |
| 778 o.spaces = buildUnnamed1585(); | 778 o.spaces = buildUnnamed1612(); |
| 779 o.starred = true; | 779 o.starred = true; |
| 780 o.teamDriveId = "foo"; | 780 o.teamDriveId = "foo"; |
| 781 o.thumbnailLink = "foo"; | 781 o.thumbnailLink = "foo"; |
| 782 o.thumbnailVersion = "foo"; | 782 o.thumbnailVersion = "foo"; |
| 783 o.trashed = true; | 783 o.trashed = true; |
| 784 o.trashedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 784 o.trashedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 785 o.trashingUser = buildUser(); | 785 o.trashingUser = buildUser(); |
| 786 o.version = "foo"; | 786 o.version = "foo"; |
| 787 o.videoMediaMetadata = buildFileVideoMediaMetadata(); | 787 o.videoMediaMetadata = buildFileVideoMediaMetadata(); |
| 788 o.viewedByMe = true; | 788 o.viewedByMe = true; |
| 789 o.viewedByMeTime = core.DateTime.parse("2002-02-27T14:01:02"); | 789 o.viewedByMeTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 790 o.viewersCanCopyContent = true; | 790 o.viewersCanCopyContent = true; |
| 791 o.webContentLink = "foo"; | 791 o.webContentLink = "foo"; |
| 792 o.webViewLink = "foo"; | 792 o.webViewLink = "foo"; |
| 793 o.writersCanShare = true; | 793 o.writersCanShare = true; |
| 794 } | 794 } |
| 795 buildCounterFile--; | 795 buildCounterFile--; |
| 796 return o; | 796 return o; |
| 797 } | 797 } |
| 798 | 798 |
| 799 checkFile(api.File o) { | 799 checkFile(api.File o) { |
| 800 buildCounterFile++; | 800 buildCounterFile++; |
| 801 if (buildCounterFile < 3) { | 801 if (buildCounterFile < 3) { |
| 802 checkUnnamed1580(o.appProperties); | 802 checkUnnamed1607(o.appProperties); |
| 803 checkFileCapabilities(o.capabilities); | 803 checkFileCapabilities(o.capabilities); |
| 804 checkFileContentHints(o.contentHints); | 804 checkFileContentHints(o.contentHints); |
| 805 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 805 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 806 unittest.expect(o.description, unittest.equals('foo')); | 806 unittest.expect(o.description, unittest.equals('foo')); |
| 807 unittest.expect(o.explicitlyTrashed, unittest.isTrue); | 807 unittest.expect(o.explicitlyTrashed, unittest.isTrue); |
| 808 unittest.expect(o.fileExtension, unittest.equals('foo')); | 808 unittest.expect(o.fileExtension, unittest.equals('foo')); |
| 809 unittest.expect(o.folderColorRgb, unittest.equals('foo')); | 809 unittest.expect(o.folderColorRgb, unittest.equals('foo')); |
| 810 unittest.expect(o.fullFileExtension, unittest.equals('foo')); | 810 unittest.expect(o.fullFileExtension, unittest.equals('foo')); |
| 811 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); | 811 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); |
| 812 unittest.expect(o.hasThumbnail, unittest.isTrue); | 812 unittest.expect(o.hasThumbnail, unittest.isTrue); |
| 813 unittest.expect(o.headRevisionId, unittest.equals('foo')); | 813 unittest.expect(o.headRevisionId, unittest.equals('foo')); |
| 814 unittest.expect(o.iconLink, unittest.equals('foo')); | 814 unittest.expect(o.iconLink, unittest.equals('foo')); |
| 815 unittest.expect(o.id, unittest.equals('foo')); | 815 unittest.expect(o.id, unittest.equals('foo')); |
| 816 checkFileImageMediaMetadata(o.imageMediaMetadata); | 816 checkFileImageMediaMetadata(o.imageMediaMetadata); |
| 817 unittest.expect(o.isAppAuthorized, unittest.isTrue); | 817 unittest.expect(o.isAppAuthorized, unittest.isTrue); |
| 818 unittest.expect(o.kind, unittest.equals('foo')); | 818 unittest.expect(o.kind, unittest.equals('foo')); |
| 819 checkUser(o.lastModifyingUser); | 819 checkUser(o.lastModifyingUser); |
| 820 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 820 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
| 821 unittest.expect(o.mimeType, unittest.equals('foo')); | 821 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 822 unittest.expect(o.modifiedByMe, unittest.isTrue); | 822 unittest.expect(o.modifiedByMe, unittest.isTrue); |
| 823 unittest.expect(o.modifiedByMeTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 823 unittest.expect(o.modifiedByMeTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 824 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 824 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 825 unittest.expect(o.name, unittest.equals('foo')); | 825 unittest.expect(o.name, unittest.equals('foo')); |
| 826 unittest.expect(o.originalFilename, unittest.equals('foo')); | 826 unittest.expect(o.originalFilename, unittest.equals('foo')); |
| 827 unittest.expect(o.ownedByMe, unittest.isTrue); | 827 unittest.expect(o.ownedByMe, unittest.isTrue); |
| 828 checkUnnamed1581(o.owners); | 828 checkUnnamed1608(o.owners); |
| 829 checkUnnamed1582(o.parents); | 829 checkUnnamed1609(o.parents); |
| 830 checkUnnamed1583(o.permissions); | 830 checkUnnamed1610(o.permissions); |
| 831 checkUnnamed1584(o.properties); | 831 checkUnnamed1611(o.properties); |
| 832 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); | 832 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
| 833 unittest.expect(o.shared, unittest.isTrue); | 833 unittest.expect(o.shared, unittest.isTrue); |
| 834 unittest.expect(o.sharedWithMeTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 834 unittest.expect(o.sharedWithMeTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 835 checkUser(o.sharingUser); | 835 checkUser(o.sharingUser); |
| 836 unittest.expect(o.size, unittest.equals('foo')); | 836 unittest.expect(o.size, unittest.equals('foo')); |
| 837 checkUnnamed1585(o.spaces); | 837 checkUnnamed1612(o.spaces); |
| 838 unittest.expect(o.starred, unittest.isTrue); | 838 unittest.expect(o.starred, unittest.isTrue); |
| 839 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 839 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
| 840 unittest.expect(o.thumbnailLink, unittest.equals('foo')); | 840 unittest.expect(o.thumbnailLink, unittest.equals('foo')); |
| 841 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); | 841 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); |
| 842 unittest.expect(o.trashed, unittest.isTrue); | 842 unittest.expect(o.trashed, unittest.isTrue); |
| 843 unittest.expect(o.trashedTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 843 unittest.expect(o.trashedTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 844 checkUser(o.trashingUser); | 844 checkUser(o.trashingUser); |
| 845 unittest.expect(o.version, unittest.equals('foo')); | 845 unittest.expect(o.version, unittest.equals('foo')); |
| 846 checkFileVideoMediaMetadata(o.videoMediaMetadata); | 846 checkFileVideoMediaMetadata(o.videoMediaMetadata); |
| 847 unittest.expect(o.viewedByMe, unittest.isTrue); | 847 unittest.expect(o.viewedByMe, unittest.isTrue); |
| 848 unittest.expect(o.viewedByMeTime, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); | 848 unittest.expect(o.viewedByMeTime, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); |
| 849 unittest.expect(o.viewersCanCopyContent, unittest.isTrue); | 849 unittest.expect(o.viewersCanCopyContent, unittest.isTrue); |
| 850 unittest.expect(o.webContentLink, unittest.equals('foo')); | 850 unittest.expect(o.webContentLink, unittest.equals('foo')); |
| 851 unittest.expect(o.webViewLink, unittest.equals('foo')); | 851 unittest.expect(o.webViewLink, unittest.equals('foo')); |
| 852 unittest.expect(o.writersCanShare, unittest.isTrue); | 852 unittest.expect(o.writersCanShare, unittest.isTrue); |
| 853 } | 853 } |
| 854 buildCounterFile--; | 854 buildCounterFile--; |
| 855 } | 855 } |
| 856 | 856 |
| 857 buildUnnamed1586() { | 857 buildUnnamed1613() { |
| 858 var o = new core.List<api.File>(); | 858 var o = new core.List<api.File>(); |
| 859 o.add(buildFile()); | 859 o.add(buildFile()); |
| 860 o.add(buildFile()); | 860 o.add(buildFile()); |
| 861 return o; | 861 return o; |
| 862 } | 862 } |
| 863 | 863 |
| 864 checkUnnamed1586(core.List<api.File> o) { | 864 checkUnnamed1613(core.List<api.File> o) { |
| 865 unittest.expect(o, unittest.hasLength(2)); | 865 unittest.expect(o, unittest.hasLength(2)); |
| 866 checkFile(o[0]); | 866 checkFile(o[0]); |
| 867 checkFile(o[1]); | 867 checkFile(o[1]); |
| 868 } | 868 } |
| 869 | 869 |
| 870 core.int buildCounterFileList = 0; | 870 core.int buildCounterFileList = 0; |
| 871 buildFileList() { | 871 buildFileList() { |
| 872 var o = new api.FileList(); | 872 var o = new api.FileList(); |
| 873 buildCounterFileList++; | 873 buildCounterFileList++; |
| 874 if (buildCounterFileList < 3) { | 874 if (buildCounterFileList < 3) { |
| 875 o.files = buildUnnamed1586(); | 875 o.files = buildUnnamed1613(); |
| 876 o.incompleteSearch = true; | 876 o.incompleteSearch = true; |
| 877 o.kind = "foo"; | 877 o.kind = "foo"; |
| 878 o.nextPageToken = "foo"; | 878 o.nextPageToken = "foo"; |
| 879 } | 879 } |
| 880 buildCounterFileList--; | 880 buildCounterFileList--; |
| 881 return o; | 881 return o; |
| 882 } | 882 } |
| 883 | 883 |
| 884 checkFileList(api.FileList o) { | 884 checkFileList(api.FileList o) { |
| 885 buildCounterFileList++; | 885 buildCounterFileList++; |
| 886 if (buildCounterFileList < 3) { | 886 if (buildCounterFileList < 3) { |
| 887 checkUnnamed1586(o.files); | 887 checkUnnamed1613(o.files); |
| 888 unittest.expect(o.incompleteSearch, unittest.isTrue); | 888 unittest.expect(o.incompleteSearch, unittest.isTrue); |
| 889 unittest.expect(o.kind, unittest.equals('foo')); | 889 unittest.expect(o.kind, unittest.equals('foo')); |
| 890 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 890 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 891 } | 891 } |
| 892 buildCounterFileList--; | 892 buildCounterFileList--; |
| 893 } | 893 } |
| 894 | 894 |
| 895 buildUnnamed1587() { | 895 buildUnnamed1614() { |
| 896 var o = new core.List<core.String>(); | 896 var o = new core.List<core.String>(); |
| 897 o.add("foo"); | 897 o.add("foo"); |
| 898 o.add("foo"); | 898 o.add("foo"); |
| 899 return o; | 899 return o; |
| 900 } | 900 } |
| 901 | 901 |
| 902 checkUnnamed1587(core.List<core.String> o) { | 902 checkUnnamed1614(core.List<core.String> o) { |
| 903 unittest.expect(o, unittest.hasLength(2)); | 903 unittest.expect(o, unittest.hasLength(2)); |
| 904 unittest.expect(o[0], unittest.equals('foo')); | 904 unittest.expect(o[0], unittest.equals('foo')); |
| 905 unittest.expect(o[1], unittest.equals('foo')); | 905 unittest.expect(o[1], unittest.equals('foo')); |
| 906 } | 906 } |
| 907 | 907 |
| 908 core.int buildCounterGeneratedIds = 0; | 908 core.int buildCounterGeneratedIds = 0; |
| 909 buildGeneratedIds() { | 909 buildGeneratedIds() { |
| 910 var o = new api.GeneratedIds(); | 910 var o = new api.GeneratedIds(); |
| 911 buildCounterGeneratedIds++; | 911 buildCounterGeneratedIds++; |
| 912 if (buildCounterGeneratedIds < 3) { | 912 if (buildCounterGeneratedIds < 3) { |
| 913 o.ids = buildUnnamed1587(); | 913 o.ids = buildUnnamed1614(); |
| 914 o.kind = "foo"; | 914 o.kind = "foo"; |
| 915 o.space = "foo"; | 915 o.space = "foo"; |
| 916 } | 916 } |
| 917 buildCounterGeneratedIds--; | 917 buildCounterGeneratedIds--; |
| 918 return o; | 918 return o; |
| 919 } | 919 } |
| 920 | 920 |
| 921 checkGeneratedIds(api.GeneratedIds o) { | 921 checkGeneratedIds(api.GeneratedIds o) { |
| 922 buildCounterGeneratedIds++; | 922 buildCounterGeneratedIds++; |
| 923 if (buildCounterGeneratedIds < 3) { | 923 if (buildCounterGeneratedIds < 3) { |
| 924 checkUnnamed1587(o.ids); | 924 checkUnnamed1614(o.ids); |
| 925 unittest.expect(o.kind, unittest.equals('foo')); | 925 unittest.expect(o.kind, unittest.equals('foo')); |
| 926 unittest.expect(o.space, unittest.equals('foo')); | 926 unittest.expect(o.space, unittest.equals('foo')); |
| 927 } | 927 } |
| 928 buildCounterGeneratedIds--; | 928 buildCounterGeneratedIds--; |
| 929 } | 929 } |
| 930 | 930 |
| 931 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; | 931 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; |
| 932 buildPermissionTeamDrivePermissionDetails() { | 932 buildPermissionTeamDrivePermissionDetails() { |
| 933 var o = new api.PermissionTeamDrivePermissionDetails(); | 933 var o = new api.PermissionTeamDrivePermissionDetails(); |
| 934 buildCounterPermissionTeamDrivePermissionDetails++; | 934 buildCounterPermissionTeamDrivePermissionDetails++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 946 buildCounterPermissionTeamDrivePermissionDetails++; | 946 buildCounterPermissionTeamDrivePermissionDetails++; |
| 947 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { | 947 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
| 948 unittest.expect(o.inherited, unittest.isTrue); | 948 unittest.expect(o.inherited, unittest.isTrue); |
| 949 unittest.expect(o.inheritedFrom, unittest.equals('foo')); | 949 unittest.expect(o.inheritedFrom, unittest.equals('foo')); |
| 950 unittest.expect(o.role, unittest.equals('foo')); | 950 unittest.expect(o.role, unittest.equals('foo')); |
| 951 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); | 951 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); |
| 952 } | 952 } |
| 953 buildCounterPermissionTeamDrivePermissionDetails--; | 953 buildCounterPermissionTeamDrivePermissionDetails--; |
| 954 } | 954 } |
| 955 | 955 |
| 956 buildUnnamed1588() { | 956 buildUnnamed1615() { |
| 957 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); | 957 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); |
| 958 o.add(buildPermissionTeamDrivePermissionDetails()); | 958 o.add(buildPermissionTeamDrivePermissionDetails()); |
| 959 o.add(buildPermissionTeamDrivePermissionDetails()); | 959 o.add(buildPermissionTeamDrivePermissionDetails()); |
| 960 return o; | 960 return o; |
| 961 } | 961 } |
| 962 | 962 |
| 963 checkUnnamed1588(core.List<api.PermissionTeamDrivePermissionDetails> o) { | 963 checkUnnamed1615(core.List<api.PermissionTeamDrivePermissionDetails> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 964 unittest.expect(o, unittest.hasLength(2)); |
| 965 checkPermissionTeamDrivePermissionDetails(o[0]); | 965 checkPermissionTeamDrivePermissionDetails(o[0]); |
| 966 checkPermissionTeamDrivePermissionDetails(o[1]); | 966 checkPermissionTeamDrivePermissionDetails(o[1]); |
| 967 } | 967 } |
| 968 | 968 |
| 969 core.int buildCounterPermission = 0; | 969 core.int buildCounterPermission = 0; |
| 970 buildPermission() { | 970 buildPermission() { |
| 971 var o = new api.Permission(); | 971 var o = new api.Permission(); |
| 972 buildCounterPermission++; | 972 buildCounterPermission++; |
| 973 if (buildCounterPermission < 3) { | 973 if (buildCounterPermission < 3) { |
| 974 o.allowFileDiscovery = true; | 974 o.allowFileDiscovery = true; |
| 975 o.deleted = true; | 975 o.deleted = true; |
| 976 o.displayName = "foo"; | 976 o.displayName = "foo"; |
| 977 o.domain = "foo"; | 977 o.domain = "foo"; |
| 978 o.emailAddress = "foo"; | 978 o.emailAddress = "foo"; |
| 979 o.expirationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 979 o.expirationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 980 o.id = "foo"; | 980 o.id = "foo"; |
| 981 o.kind = "foo"; | 981 o.kind = "foo"; |
| 982 o.photoLink = "foo"; | 982 o.photoLink = "foo"; |
| 983 o.role = "foo"; | 983 o.role = "foo"; |
| 984 o.teamDrivePermissionDetails = buildUnnamed1588(); | 984 o.teamDrivePermissionDetails = buildUnnamed1615(); |
| 985 o.type = "foo"; | 985 o.type = "foo"; |
| 986 } | 986 } |
| 987 buildCounterPermission--; | 987 buildCounterPermission--; |
| 988 return o; | 988 return o; |
| 989 } | 989 } |
| 990 | 990 |
| 991 checkPermission(api.Permission o) { | 991 checkPermission(api.Permission o) { |
| 992 buildCounterPermission++; | 992 buildCounterPermission++; |
| 993 if (buildCounterPermission < 3) { | 993 if (buildCounterPermission < 3) { |
| 994 unittest.expect(o.allowFileDiscovery, unittest.isTrue); | 994 unittest.expect(o.allowFileDiscovery, unittest.isTrue); |
| 995 unittest.expect(o.deleted, unittest.isTrue); | 995 unittest.expect(o.deleted, unittest.isTrue); |
| 996 unittest.expect(o.displayName, unittest.equals('foo')); | 996 unittest.expect(o.displayName, unittest.equals('foo')); |
| 997 unittest.expect(o.domain, unittest.equals('foo')); | 997 unittest.expect(o.domain, unittest.equals('foo')); |
| 998 unittest.expect(o.emailAddress, unittest.equals('foo')); | 998 unittest.expect(o.emailAddress, unittest.equals('foo')); |
| 999 unittest.expect(o.expirationTime, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); | 999 unittest.expect(o.expirationTime, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); |
| 1000 unittest.expect(o.id, unittest.equals('foo')); | 1000 unittest.expect(o.id, unittest.equals('foo')); |
| 1001 unittest.expect(o.kind, unittest.equals('foo')); | 1001 unittest.expect(o.kind, unittest.equals('foo')); |
| 1002 unittest.expect(o.photoLink, unittest.equals('foo')); | 1002 unittest.expect(o.photoLink, unittest.equals('foo')); |
| 1003 unittest.expect(o.role, unittest.equals('foo')); | 1003 unittest.expect(o.role, unittest.equals('foo')); |
| 1004 checkUnnamed1588(o.teamDrivePermissionDetails); | 1004 checkUnnamed1615(o.teamDrivePermissionDetails); |
| 1005 unittest.expect(o.type, unittest.equals('foo')); | 1005 unittest.expect(o.type, unittest.equals('foo')); |
| 1006 } | 1006 } |
| 1007 buildCounterPermission--; | 1007 buildCounterPermission--; |
| 1008 } | 1008 } |
| 1009 | 1009 |
| 1010 buildUnnamed1589() { | 1010 buildUnnamed1616() { |
| 1011 var o = new core.List<api.Permission>(); | 1011 var o = new core.List<api.Permission>(); |
| 1012 o.add(buildPermission()); | 1012 o.add(buildPermission()); |
| 1013 o.add(buildPermission()); | 1013 o.add(buildPermission()); |
| 1014 return o; | 1014 return o; |
| 1015 } | 1015 } |
| 1016 | 1016 |
| 1017 checkUnnamed1589(core.List<api.Permission> o) { | 1017 checkUnnamed1616(core.List<api.Permission> o) { |
| 1018 unittest.expect(o, unittest.hasLength(2)); | 1018 unittest.expect(o, unittest.hasLength(2)); |
| 1019 checkPermission(o[0]); | 1019 checkPermission(o[0]); |
| 1020 checkPermission(o[1]); | 1020 checkPermission(o[1]); |
| 1021 } | 1021 } |
| 1022 | 1022 |
| 1023 core.int buildCounterPermissionList = 0; | 1023 core.int buildCounterPermissionList = 0; |
| 1024 buildPermissionList() { | 1024 buildPermissionList() { |
| 1025 var o = new api.PermissionList(); | 1025 var o = new api.PermissionList(); |
| 1026 buildCounterPermissionList++; | 1026 buildCounterPermissionList++; |
| 1027 if (buildCounterPermissionList < 3) { | 1027 if (buildCounterPermissionList < 3) { |
| 1028 o.kind = "foo"; | 1028 o.kind = "foo"; |
| 1029 o.nextPageToken = "foo"; | 1029 o.nextPageToken = "foo"; |
| 1030 o.permissions = buildUnnamed1589(); | 1030 o.permissions = buildUnnamed1616(); |
| 1031 } | 1031 } |
| 1032 buildCounterPermissionList--; | 1032 buildCounterPermissionList--; |
| 1033 return o; | 1033 return o; |
| 1034 } | 1034 } |
| 1035 | 1035 |
| 1036 checkPermissionList(api.PermissionList o) { | 1036 checkPermissionList(api.PermissionList o) { |
| 1037 buildCounterPermissionList++; | 1037 buildCounterPermissionList++; |
| 1038 if (buildCounterPermissionList < 3) { | 1038 if (buildCounterPermissionList < 3) { |
| 1039 unittest.expect(o.kind, unittest.equals('foo')); | 1039 unittest.expect(o.kind, unittest.equals('foo')); |
| 1040 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1040 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1041 checkUnnamed1589(o.permissions); | 1041 checkUnnamed1616(o.permissions); |
| 1042 } | 1042 } |
| 1043 buildCounterPermissionList--; | 1043 buildCounterPermissionList--; |
| 1044 } | 1044 } |
| 1045 | 1045 |
| 1046 core.int buildCounterReply = 0; | 1046 core.int buildCounterReply = 0; |
| 1047 buildReply() { | 1047 buildReply() { |
| 1048 var o = new api.Reply(); | 1048 var o = new api.Reply(); |
| 1049 buildCounterReply++; | 1049 buildCounterReply++; |
| 1050 if (buildCounterReply < 3) { | 1050 if (buildCounterReply < 3) { |
| 1051 o.action = "foo"; | 1051 o.action = "foo"; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1071 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1071 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 1072 unittest.expect(o.deleted, unittest.isTrue); | 1072 unittest.expect(o.deleted, unittest.isTrue); |
| 1073 unittest.expect(o.htmlContent, unittest.equals('foo')); | 1073 unittest.expect(o.htmlContent, unittest.equals('foo')); |
| 1074 unittest.expect(o.id, unittest.equals('foo')); | 1074 unittest.expect(o.id, unittest.equals('foo')); |
| 1075 unittest.expect(o.kind, unittest.equals('foo')); | 1075 unittest.expect(o.kind, unittest.equals('foo')); |
| 1076 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1076 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1077 } | 1077 } |
| 1078 buildCounterReply--; | 1078 buildCounterReply--; |
| 1079 } | 1079 } |
| 1080 | 1080 |
| 1081 buildUnnamed1590() { | 1081 buildUnnamed1617() { |
| 1082 var o = new core.List<api.Reply>(); | 1082 var o = new core.List<api.Reply>(); |
| 1083 o.add(buildReply()); | 1083 o.add(buildReply()); |
| 1084 o.add(buildReply()); | 1084 o.add(buildReply()); |
| 1085 return o; | 1085 return o; |
| 1086 } | 1086 } |
| 1087 | 1087 |
| 1088 checkUnnamed1590(core.List<api.Reply> o) { | 1088 checkUnnamed1617(core.List<api.Reply> o) { |
| 1089 unittest.expect(o, unittest.hasLength(2)); | 1089 unittest.expect(o, unittest.hasLength(2)); |
| 1090 checkReply(o[0]); | 1090 checkReply(o[0]); |
| 1091 checkReply(o[1]); | 1091 checkReply(o[1]); |
| 1092 } | 1092 } |
| 1093 | 1093 |
| 1094 core.int buildCounterReplyList = 0; | 1094 core.int buildCounterReplyList = 0; |
| 1095 buildReplyList() { | 1095 buildReplyList() { |
| 1096 var o = new api.ReplyList(); | 1096 var o = new api.ReplyList(); |
| 1097 buildCounterReplyList++; | 1097 buildCounterReplyList++; |
| 1098 if (buildCounterReplyList < 3) { | 1098 if (buildCounterReplyList < 3) { |
| 1099 o.kind = "foo"; | 1099 o.kind = "foo"; |
| 1100 o.nextPageToken = "foo"; | 1100 o.nextPageToken = "foo"; |
| 1101 o.replies = buildUnnamed1590(); | 1101 o.replies = buildUnnamed1617(); |
| 1102 } | 1102 } |
| 1103 buildCounterReplyList--; | 1103 buildCounterReplyList--; |
| 1104 return o; | 1104 return o; |
| 1105 } | 1105 } |
| 1106 | 1106 |
| 1107 checkReplyList(api.ReplyList o) { | 1107 checkReplyList(api.ReplyList o) { |
| 1108 buildCounterReplyList++; | 1108 buildCounterReplyList++; |
| 1109 if (buildCounterReplyList < 3) { | 1109 if (buildCounterReplyList < 3) { |
| 1110 unittest.expect(o.kind, unittest.equals('foo')); | 1110 unittest.expect(o.kind, unittest.equals('foo')); |
| 1111 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1111 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1112 checkUnnamed1590(o.replies); | 1112 checkUnnamed1617(o.replies); |
| 1113 } | 1113 } |
| 1114 buildCounterReplyList--; | 1114 buildCounterReplyList--; |
| 1115 } | 1115 } |
| 1116 | 1116 |
| 1117 core.int buildCounterRevision = 0; | 1117 core.int buildCounterRevision = 0; |
| 1118 buildRevision() { | 1118 buildRevision() { |
| 1119 var o = new api.Revision(); | 1119 var o = new api.Revision(); |
| 1120 buildCounterRevision++; | 1120 buildCounterRevision++; |
| 1121 if (buildCounterRevision < 3) { | 1121 if (buildCounterRevision < 3) { |
| 1122 o.id = "foo"; | 1122 o.id = "foo"; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1148 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1148 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1149 unittest.expect(o.originalFilename, unittest.equals('foo')); | 1149 unittest.expect(o.originalFilename, unittest.equals('foo')); |
| 1150 unittest.expect(o.publishAuto, unittest.isTrue); | 1150 unittest.expect(o.publishAuto, unittest.isTrue); |
| 1151 unittest.expect(o.published, unittest.isTrue); | 1151 unittest.expect(o.published, unittest.isTrue); |
| 1152 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); | 1152 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); |
| 1153 unittest.expect(o.size, unittest.equals('foo')); | 1153 unittest.expect(o.size, unittest.equals('foo')); |
| 1154 } | 1154 } |
| 1155 buildCounterRevision--; | 1155 buildCounterRevision--; |
| 1156 } | 1156 } |
| 1157 | 1157 |
| 1158 buildUnnamed1591() { | 1158 buildUnnamed1618() { |
| 1159 var o = new core.List<api.Revision>(); | 1159 var o = new core.List<api.Revision>(); |
| 1160 o.add(buildRevision()); | 1160 o.add(buildRevision()); |
| 1161 o.add(buildRevision()); | 1161 o.add(buildRevision()); |
| 1162 return o; | 1162 return o; |
| 1163 } | 1163 } |
| 1164 | 1164 |
| 1165 checkUnnamed1591(core.List<api.Revision> o) { | 1165 checkUnnamed1618(core.List<api.Revision> o) { |
| 1166 unittest.expect(o, unittest.hasLength(2)); | 1166 unittest.expect(o, unittest.hasLength(2)); |
| 1167 checkRevision(o[0]); | 1167 checkRevision(o[0]); |
| 1168 checkRevision(o[1]); | 1168 checkRevision(o[1]); |
| 1169 } | 1169 } |
| 1170 | 1170 |
| 1171 core.int buildCounterRevisionList = 0; | 1171 core.int buildCounterRevisionList = 0; |
| 1172 buildRevisionList() { | 1172 buildRevisionList() { |
| 1173 var o = new api.RevisionList(); | 1173 var o = new api.RevisionList(); |
| 1174 buildCounterRevisionList++; | 1174 buildCounterRevisionList++; |
| 1175 if (buildCounterRevisionList < 3) { | 1175 if (buildCounterRevisionList < 3) { |
| 1176 o.kind = "foo"; | 1176 o.kind = "foo"; |
| 1177 o.nextPageToken = "foo"; | 1177 o.nextPageToken = "foo"; |
| 1178 o.revisions = buildUnnamed1591(); | 1178 o.revisions = buildUnnamed1618(); |
| 1179 } | 1179 } |
| 1180 buildCounterRevisionList--; | 1180 buildCounterRevisionList--; |
| 1181 return o; | 1181 return o; |
| 1182 } | 1182 } |
| 1183 | 1183 |
| 1184 checkRevisionList(api.RevisionList o) { | 1184 checkRevisionList(api.RevisionList o) { |
| 1185 buildCounterRevisionList++; | 1185 buildCounterRevisionList++; |
| 1186 if (buildCounterRevisionList < 3) { | 1186 if (buildCounterRevisionList < 3) { |
| 1187 unittest.expect(o.kind, unittest.equals('foo')); | 1187 unittest.expect(o.kind, unittest.equals('foo')); |
| 1188 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1188 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1189 checkUnnamed1591(o.revisions); | 1189 checkUnnamed1618(o.revisions); |
| 1190 } | 1190 } |
| 1191 buildCounterRevisionList--; | 1191 buildCounterRevisionList--; |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 core.int buildCounterStartPageToken = 0; | 1194 core.int buildCounterStartPageToken = 0; |
| 1195 buildStartPageToken() { | 1195 buildStartPageToken() { |
| 1196 var o = new api.StartPageToken(); | 1196 var o = new api.StartPageToken(); |
| 1197 buildCounterStartPageToken++; | 1197 buildCounterStartPageToken++; |
| 1198 if (buildCounterStartPageToken < 3) { | 1198 if (buildCounterStartPageToken < 3) { |
| 1199 o.kind = "foo"; | 1199 o.kind = "foo"; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 checkTeamDriveCapabilities(o.capabilities); | 1308 checkTeamDriveCapabilities(o.capabilities); |
| 1309 unittest.expect(o.colorRgb, unittest.equals('foo')); | 1309 unittest.expect(o.colorRgb, unittest.equals('foo')); |
| 1310 unittest.expect(o.id, unittest.equals('foo')); | 1310 unittest.expect(o.id, unittest.equals('foo')); |
| 1311 unittest.expect(o.kind, unittest.equals('foo')); | 1311 unittest.expect(o.kind, unittest.equals('foo')); |
| 1312 unittest.expect(o.name, unittest.equals('foo')); | 1312 unittest.expect(o.name, unittest.equals('foo')); |
| 1313 unittest.expect(o.themeId, unittest.equals('foo')); | 1313 unittest.expect(o.themeId, unittest.equals('foo')); |
| 1314 } | 1314 } |
| 1315 buildCounterTeamDrive--; | 1315 buildCounterTeamDrive--; |
| 1316 } | 1316 } |
| 1317 | 1317 |
| 1318 buildUnnamed1592() { | 1318 buildUnnamed1619() { |
| 1319 var o = new core.List<api.TeamDrive>(); | 1319 var o = new core.List<api.TeamDrive>(); |
| 1320 o.add(buildTeamDrive()); | 1320 o.add(buildTeamDrive()); |
| 1321 o.add(buildTeamDrive()); | 1321 o.add(buildTeamDrive()); |
| 1322 return o; | 1322 return o; |
| 1323 } | 1323 } |
| 1324 | 1324 |
| 1325 checkUnnamed1592(core.List<api.TeamDrive> o) { | 1325 checkUnnamed1619(core.List<api.TeamDrive> o) { |
| 1326 unittest.expect(o, unittest.hasLength(2)); | 1326 unittest.expect(o, unittest.hasLength(2)); |
| 1327 checkTeamDrive(o[0]); | 1327 checkTeamDrive(o[0]); |
| 1328 checkTeamDrive(o[1]); | 1328 checkTeamDrive(o[1]); |
| 1329 } | 1329 } |
| 1330 | 1330 |
| 1331 core.int buildCounterTeamDriveList = 0; | 1331 core.int buildCounterTeamDriveList = 0; |
| 1332 buildTeamDriveList() { | 1332 buildTeamDriveList() { |
| 1333 var o = new api.TeamDriveList(); | 1333 var o = new api.TeamDriveList(); |
| 1334 buildCounterTeamDriveList++; | 1334 buildCounterTeamDriveList++; |
| 1335 if (buildCounterTeamDriveList < 3) { | 1335 if (buildCounterTeamDriveList < 3) { |
| 1336 o.kind = "foo"; | 1336 o.kind = "foo"; |
| 1337 o.nextPageToken = "foo"; | 1337 o.nextPageToken = "foo"; |
| 1338 o.teamDrives = buildUnnamed1592(); | 1338 o.teamDrives = buildUnnamed1619(); |
| 1339 } | 1339 } |
| 1340 buildCounterTeamDriveList--; | 1340 buildCounterTeamDriveList--; |
| 1341 return o; | 1341 return o; |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 checkTeamDriveList(api.TeamDriveList o) { | 1344 checkTeamDriveList(api.TeamDriveList o) { |
| 1345 buildCounterTeamDriveList++; | 1345 buildCounterTeamDriveList++; |
| 1346 if (buildCounterTeamDriveList < 3) { | 1346 if (buildCounterTeamDriveList < 3) { |
| 1347 unittest.expect(o.kind, unittest.equals('foo')); | 1347 unittest.expect(o.kind, unittest.equals('foo')); |
| 1348 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1348 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1349 checkUnnamed1592(o.teamDrives); | 1349 checkUnnamed1619(o.teamDrives); |
| 1350 } | 1350 } |
| 1351 buildCounterTeamDriveList--; | 1351 buildCounterTeamDriveList--; |
| 1352 } | 1352 } |
| 1353 | 1353 |
| 1354 core.int buildCounterUser = 0; | 1354 core.int buildCounterUser = 0; |
| 1355 buildUser() { | 1355 buildUser() { |
| 1356 var o = new api.User(); | 1356 var o = new api.User(); |
| 1357 buildCounterUser++; | 1357 buildCounterUser++; |
| 1358 if (buildCounterUser < 3) { | 1358 if (buildCounterUser < 3) { |
| 1359 o.displayName = "foo"; | 1359 o.displayName = "foo"; |
| (...skipping 2589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3949 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync1(((api.
TeamDrive response) { | 3949 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync1(((api.
TeamDrive response) { |
| 3950 checkTeamDrive(response); | 3950 checkTeamDrive(response); |
| 3951 }))); | 3951 }))); |
| 3952 }); | 3952 }); |
| 3953 | 3953 |
| 3954 }); | 3954 }); |
| 3955 | 3955 |
| 3956 | 3956 |
| 3957 } | 3957 } |
| 3958 | 3958 |
| OLD | NEW |