| 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: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 buildUnnamed1346() { | 54 buildUnnamed1403() { |
| 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 checkUnnamed1346(core.List<core.String> o) { | 61 checkUnnamed1403(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 buildUnnamed1347() { | 67 buildUnnamed1404() { |
| 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"] = buildUnnamed1346(); | 69 o["x"] = buildUnnamed1403(); |
| 70 o["y"] = buildUnnamed1346(); | 70 o["y"] = buildUnnamed1403(); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed1347(core.Map<core.String, core.List<core.String>> o) { | 74 checkUnnamed1404(core.Map<core.String, core.List<core.String>> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 checkUnnamed1346(o["x"]); | 76 checkUnnamed1403(o["x"]); |
| 77 checkUnnamed1346(o["y"]); | 77 checkUnnamed1403(o["y"]); |
| 78 } | 78 } |
| 79 | 79 |
| 80 buildUnnamed1348() { | 80 buildUnnamed1405() { |
| 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 checkUnnamed1348(core.List<core.String> o) { | 87 checkUnnamed1405(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 buildUnnamed1349() { | 93 buildUnnamed1406() { |
| 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 checkUnnamed1349(core.List<core.String> o) { | 100 checkUnnamed1406(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 buildUnnamed1350() { | 106 buildUnnamed1407() { |
| 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"] = buildUnnamed1349(); | 108 o["x"] = buildUnnamed1406(); |
| 109 o["y"] = buildUnnamed1349(); | 109 o["y"] = buildUnnamed1406(); |
| 110 return o; | 110 return o; |
| 111 } | 111 } |
| 112 | 112 |
| 113 checkUnnamed1350(core.Map<core.String, core.List<core.String>> o) { | 113 checkUnnamed1407(core.Map<core.String, core.List<core.String>> o) { |
| 114 unittest.expect(o, unittest.hasLength(2)); | 114 unittest.expect(o, unittest.hasLength(2)); |
| 115 checkUnnamed1349(o["x"]); | 115 checkUnnamed1406(o["x"]); |
| 116 checkUnnamed1349(o["y"]); | 116 checkUnnamed1406(o["y"]); |
| 117 } | 117 } |
| 118 | 118 |
| 119 buildUnnamed1351() { | 119 buildUnnamed1408() { |
| 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 checkUnnamed1351(core.Map<core.String, core.String> o) { | 126 checkUnnamed1408(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 16 matching lines...) Expand all Loading... |
| 153 } | 153 } |
| 154 buildCounterAboutStorageQuota--; | 154 buildCounterAboutStorageQuota--; |
| 155 } | 155 } |
| 156 | 156 |
| 157 core.int buildCounterAbout = 0; | 157 core.int buildCounterAbout = 0; |
| 158 buildAbout() { | 158 buildAbout() { |
| 159 var o = new api.About(); | 159 var o = new api.About(); |
| 160 buildCounterAbout++; | 160 buildCounterAbout++; |
| 161 if (buildCounterAbout < 3) { | 161 if (buildCounterAbout < 3) { |
| 162 o.appInstalled = true; | 162 o.appInstalled = true; |
| 163 o.exportFormats = buildUnnamed1347(); | 163 o.exportFormats = buildUnnamed1404(); |
| 164 o.folderColorPalette = buildUnnamed1348(); | 164 o.folderColorPalette = buildUnnamed1405(); |
| 165 o.importFormats = buildUnnamed1350(); | 165 o.importFormats = buildUnnamed1407(); |
| 166 o.kind = "foo"; | 166 o.kind = "foo"; |
| 167 o.maxImportSizes = buildUnnamed1351(); | 167 o.maxImportSizes = buildUnnamed1408(); |
| 168 o.maxUploadSize = "foo"; | 168 o.maxUploadSize = "foo"; |
| 169 o.storageQuota = buildAboutStorageQuota(); | 169 o.storageQuota = buildAboutStorageQuota(); |
| 170 o.user = buildUser(); | 170 o.user = buildUser(); |
| 171 } | 171 } |
| 172 buildCounterAbout--; | 172 buildCounterAbout--; |
| 173 return o; | 173 return o; |
| 174 } | 174 } |
| 175 | 175 |
| 176 checkAbout(api.About o) { | 176 checkAbout(api.About o) { |
| 177 buildCounterAbout++; | 177 buildCounterAbout++; |
| 178 if (buildCounterAbout < 3) { | 178 if (buildCounterAbout < 3) { |
| 179 unittest.expect(o.appInstalled, unittest.isTrue); | 179 unittest.expect(o.appInstalled, unittest.isTrue); |
| 180 checkUnnamed1347(o.exportFormats); | 180 checkUnnamed1404(o.exportFormats); |
| 181 checkUnnamed1348(o.folderColorPalette); | 181 checkUnnamed1405(o.folderColorPalette); |
| 182 checkUnnamed1350(o.importFormats); | 182 checkUnnamed1407(o.importFormats); |
| 183 unittest.expect(o.kind, unittest.equals('foo')); | 183 unittest.expect(o.kind, unittest.equals('foo')); |
| 184 checkUnnamed1351(o.maxImportSizes); | 184 checkUnnamed1408(o.maxImportSizes); |
| 185 unittest.expect(o.maxUploadSize, unittest.equals('foo')); | 185 unittest.expect(o.maxUploadSize, unittest.equals('foo')); |
| 186 checkAboutStorageQuota(o.storageQuota); | 186 checkAboutStorageQuota(o.storageQuota); |
| 187 checkUser(o.user); | 187 checkUser(o.user); |
| 188 } | 188 } |
| 189 buildCounterAbout--; | 189 buildCounterAbout--; |
| 190 } | 190 } |
| 191 | 191 |
| 192 core.int buildCounterChange = 0; | 192 core.int buildCounterChange = 0; |
| 193 buildChange() { | 193 buildChange() { |
| 194 var o = new api.Change(); | 194 var o = new api.Change(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 215 unittest.expect(o.kind, unittest.equals('foo')); | 215 unittest.expect(o.kind, unittest.equals('foo')); |
| 216 unittest.expect(o.removed, unittest.isTrue); | 216 unittest.expect(o.removed, unittest.isTrue); |
| 217 checkTeamDrive(o.teamDrive); | 217 checkTeamDrive(o.teamDrive); |
| 218 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 218 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
| 219 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); | 219 unittest.expect(o.time, unittest.equals(core.DateTime.parse("2002-02-27T14:0
1:02"))); |
| 220 unittest.expect(o.type, unittest.equals('foo')); | 220 unittest.expect(o.type, unittest.equals('foo')); |
| 221 } | 221 } |
| 222 buildCounterChange--; | 222 buildCounterChange--; |
| 223 } | 223 } |
| 224 | 224 |
| 225 buildUnnamed1352() { | 225 buildUnnamed1409() { |
| 226 var o = new core.List<api.Change>(); | 226 var o = new core.List<api.Change>(); |
| 227 o.add(buildChange()); | 227 o.add(buildChange()); |
| 228 o.add(buildChange()); | 228 o.add(buildChange()); |
| 229 return o; | 229 return o; |
| 230 } | 230 } |
| 231 | 231 |
| 232 checkUnnamed1352(core.List<api.Change> o) { | 232 checkUnnamed1409(core.List<api.Change> o) { |
| 233 unittest.expect(o, unittest.hasLength(2)); | 233 unittest.expect(o, unittest.hasLength(2)); |
| 234 checkChange(o[0]); | 234 checkChange(o[0]); |
| 235 checkChange(o[1]); | 235 checkChange(o[1]); |
| 236 } | 236 } |
| 237 | 237 |
| 238 core.int buildCounterChangeList = 0; | 238 core.int buildCounterChangeList = 0; |
| 239 buildChangeList() { | 239 buildChangeList() { |
| 240 var o = new api.ChangeList(); | 240 var o = new api.ChangeList(); |
| 241 buildCounterChangeList++; | 241 buildCounterChangeList++; |
| 242 if (buildCounterChangeList < 3) { | 242 if (buildCounterChangeList < 3) { |
| 243 o.changes = buildUnnamed1352(); | 243 o.changes = buildUnnamed1409(); |
| 244 o.kind = "foo"; | 244 o.kind = "foo"; |
| 245 o.newStartPageToken = "foo"; | 245 o.newStartPageToken = "foo"; |
| 246 o.nextPageToken = "foo"; | 246 o.nextPageToken = "foo"; |
| 247 } | 247 } |
| 248 buildCounterChangeList--; | 248 buildCounterChangeList--; |
| 249 return o; | 249 return o; |
| 250 } | 250 } |
| 251 | 251 |
| 252 checkChangeList(api.ChangeList o) { | 252 checkChangeList(api.ChangeList o) { |
| 253 buildCounterChangeList++; | 253 buildCounterChangeList++; |
| 254 if (buildCounterChangeList < 3) { | 254 if (buildCounterChangeList < 3) { |
| 255 checkUnnamed1352(o.changes); | 255 checkUnnamed1409(o.changes); |
| 256 unittest.expect(o.kind, unittest.equals('foo')); | 256 unittest.expect(o.kind, unittest.equals('foo')); |
| 257 unittest.expect(o.newStartPageToken, unittest.equals('foo')); | 257 unittest.expect(o.newStartPageToken, unittest.equals('foo')); |
| 258 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 258 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 259 } | 259 } |
| 260 buildCounterChangeList--; | 260 buildCounterChangeList--; |
| 261 } | 261 } |
| 262 | 262 |
| 263 buildUnnamed1353() { | 263 buildUnnamed1410() { |
| 264 var o = new core.Map<core.String, core.String>(); | 264 var o = new core.Map<core.String, core.String>(); |
| 265 o["x"] = "foo"; | 265 o["x"] = "foo"; |
| 266 o["y"] = "foo"; | 266 o["y"] = "foo"; |
| 267 return o; | 267 return o; |
| 268 } | 268 } |
| 269 | 269 |
| 270 checkUnnamed1353(core.Map<core.String, core.String> o) { | 270 checkUnnamed1410(core.Map<core.String, core.String> o) { |
| 271 unittest.expect(o, unittest.hasLength(2)); | 271 unittest.expect(o, unittest.hasLength(2)); |
| 272 unittest.expect(o["x"], unittest.equals('foo')); | 272 unittest.expect(o["x"], unittest.equals('foo')); |
| 273 unittest.expect(o["y"], unittest.equals('foo')); | 273 unittest.expect(o["y"], unittest.equals('foo')); |
| 274 } | 274 } |
| 275 | 275 |
| 276 core.int buildCounterChannel = 0; | 276 core.int buildCounterChannel = 0; |
| 277 buildChannel() { | 277 buildChannel() { |
| 278 var o = new api.Channel(); | 278 var o = new api.Channel(); |
| 279 buildCounterChannel++; | 279 buildCounterChannel++; |
| 280 if (buildCounterChannel < 3) { | 280 if (buildCounterChannel < 3) { |
| 281 o.address = "foo"; | 281 o.address = "foo"; |
| 282 o.expiration = "foo"; | 282 o.expiration = "foo"; |
| 283 o.id = "foo"; | 283 o.id = "foo"; |
| 284 o.kind = "foo"; | 284 o.kind = "foo"; |
| 285 o.params = buildUnnamed1353(); | 285 o.params = buildUnnamed1410(); |
| 286 o.payload = true; | 286 o.payload = true; |
| 287 o.resourceId = "foo"; | 287 o.resourceId = "foo"; |
| 288 o.resourceUri = "foo"; | 288 o.resourceUri = "foo"; |
| 289 o.token = "foo"; | 289 o.token = "foo"; |
| 290 o.type = "foo"; | 290 o.type = "foo"; |
| 291 } | 291 } |
| 292 buildCounterChannel--; | 292 buildCounterChannel--; |
| 293 return o; | 293 return o; |
| 294 } | 294 } |
| 295 | 295 |
| 296 checkChannel(api.Channel o) { | 296 checkChannel(api.Channel o) { |
| 297 buildCounterChannel++; | 297 buildCounterChannel++; |
| 298 if (buildCounterChannel < 3) { | 298 if (buildCounterChannel < 3) { |
| 299 unittest.expect(o.address, unittest.equals('foo')); | 299 unittest.expect(o.address, unittest.equals('foo')); |
| 300 unittest.expect(o.expiration, unittest.equals('foo')); | 300 unittest.expect(o.expiration, unittest.equals('foo')); |
| 301 unittest.expect(o.id, unittest.equals('foo')); | 301 unittest.expect(o.id, unittest.equals('foo')); |
| 302 unittest.expect(o.kind, unittest.equals('foo')); | 302 unittest.expect(o.kind, unittest.equals('foo')); |
| 303 checkUnnamed1353(o.params); | 303 checkUnnamed1410(o.params); |
| 304 unittest.expect(o.payload, unittest.isTrue); | 304 unittest.expect(o.payload, unittest.isTrue); |
| 305 unittest.expect(o.resourceId, unittest.equals('foo')); | 305 unittest.expect(o.resourceId, unittest.equals('foo')); |
| 306 unittest.expect(o.resourceUri, unittest.equals('foo')); | 306 unittest.expect(o.resourceUri, unittest.equals('foo')); |
| 307 unittest.expect(o.token, unittest.equals('foo')); | 307 unittest.expect(o.token, unittest.equals('foo')); |
| 308 unittest.expect(o.type, unittest.equals('foo')); | 308 unittest.expect(o.type, unittest.equals('foo')); |
| 309 } | 309 } |
| 310 buildCounterChannel--; | 310 buildCounterChannel--; |
| 311 } | 311 } |
| 312 | 312 |
| 313 core.int buildCounterCommentQuotedFileContent = 0; | 313 core.int buildCounterCommentQuotedFileContent = 0; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 324 | 324 |
| 325 checkCommentQuotedFileContent(api.CommentQuotedFileContent o) { | 325 checkCommentQuotedFileContent(api.CommentQuotedFileContent o) { |
| 326 buildCounterCommentQuotedFileContent++; | 326 buildCounterCommentQuotedFileContent++; |
| 327 if (buildCounterCommentQuotedFileContent < 3) { | 327 if (buildCounterCommentQuotedFileContent < 3) { |
| 328 unittest.expect(o.mimeType, unittest.equals('foo')); | 328 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 329 unittest.expect(o.value, unittest.equals('foo')); | 329 unittest.expect(o.value, unittest.equals('foo')); |
| 330 } | 330 } |
| 331 buildCounterCommentQuotedFileContent--; | 331 buildCounterCommentQuotedFileContent--; |
| 332 } | 332 } |
| 333 | 333 |
| 334 buildUnnamed1354() { | 334 buildUnnamed1411() { |
| 335 var o = new core.List<api.Reply>(); | 335 var o = new core.List<api.Reply>(); |
| 336 o.add(buildReply()); | 336 o.add(buildReply()); |
| 337 o.add(buildReply()); | 337 o.add(buildReply()); |
| 338 return o; | 338 return o; |
| 339 } | 339 } |
| 340 | 340 |
| 341 checkUnnamed1354(core.List<api.Reply> o) { | 341 checkUnnamed1411(core.List<api.Reply> o) { |
| 342 unittest.expect(o, unittest.hasLength(2)); | 342 unittest.expect(o, unittest.hasLength(2)); |
| 343 checkReply(o[0]); | 343 checkReply(o[0]); |
| 344 checkReply(o[1]); | 344 checkReply(o[1]); |
| 345 } | 345 } |
| 346 | 346 |
| 347 core.int buildCounterComment = 0; | 347 core.int buildCounterComment = 0; |
| 348 buildComment() { | 348 buildComment() { |
| 349 var o = new api.Comment(); | 349 var o = new api.Comment(); |
| 350 buildCounterComment++; | 350 buildCounterComment++; |
| 351 if (buildCounterComment < 3) { | 351 if (buildCounterComment < 3) { |
| 352 o.anchor = "foo"; | 352 o.anchor = "foo"; |
| 353 o.author = buildUser(); | 353 o.author = buildUser(); |
| 354 o.content = "foo"; | 354 o.content = "foo"; |
| 355 o.createdTime = core.DateTime.parse("2002-02-27T14:01:02"); | 355 o.createdTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 356 o.deleted = true; | 356 o.deleted = true; |
| 357 o.htmlContent = "foo"; | 357 o.htmlContent = "foo"; |
| 358 o.id = "foo"; | 358 o.id = "foo"; |
| 359 o.kind = "foo"; | 359 o.kind = "foo"; |
| 360 o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 360 o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 361 o.quotedFileContent = buildCommentQuotedFileContent(); | 361 o.quotedFileContent = buildCommentQuotedFileContent(); |
| 362 o.replies = buildUnnamed1354(); | 362 o.replies = buildUnnamed1411(); |
| 363 o.resolved = true; | 363 o.resolved = true; |
| 364 } | 364 } |
| 365 buildCounterComment--; | 365 buildCounterComment--; |
| 366 return o; | 366 return o; |
| 367 } | 367 } |
| 368 | 368 |
| 369 checkComment(api.Comment o) { | 369 checkComment(api.Comment o) { |
| 370 buildCounterComment++; | 370 buildCounterComment++; |
| 371 if (buildCounterComment < 3) { | 371 if (buildCounterComment < 3) { |
| 372 unittest.expect(o.anchor, unittest.equals('foo')); | 372 unittest.expect(o.anchor, unittest.equals('foo')); |
| 373 checkUser(o.author); | 373 checkUser(o.author); |
| 374 unittest.expect(o.content, unittest.equals('foo')); | 374 unittest.expect(o.content, unittest.equals('foo')); |
| 375 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 375 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 376 unittest.expect(o.deleted, unittest.isTrue); | 376 unittest.expect(o.deleted, unittest.isTrue); |
| 377 unittest.expect(o.htmlContent, unittest.equals('foo')); | 377 unittest.expect(o.htmlContent, unittest.equals('foo')); |
| 378 unittest.expect(o.id, unittest.equals('foo')); | 378 unittest.expect(o.id, unittest.equals('foo')); |
| 379 unittest.expect(o.kind, unittest.equals('foo')); | 379 unittest.expect(o.kind, unittest.equals('foo')); |
| 380 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 380 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 381 checkCommentQuotedFileContent(o.quotedFileContent); | 381 checkCommentQuotedFileContent(o.quotedFileContent); |
| 382 checkUnnamed1354(o.replies); | 382 checkUnnamed1411(o.replies); |
| 383 unittest.expect(o.resolved, unittest.isTrue); | 383 unittest.expect(o.resolved, unittest.isTrue); |
| 384 } | 384 } |
| 385 buildCounterComment--; | 385 buildCounterComment--; |
| 386 } | 386 } |
| 387 | 387 |
| 388 buildUnnamed1355() { | 388 buildUnnamed1412() { |
| 389 var o = new core.List<api.Comment>(); | 389 var o = new core.List<api.Comment>(); |
| 390 o.add(buildComment()); | 390 o.add(buildComment()); |
| 391 o.add(buildComment()); | 391 o.add(buildComment()); |
| 392 return o; | 392 return o; |
| 393 } | 393 } |
| 394 | 394 |
| 395 checkUnnamed1355(core.List<api.Comment> o) { | 395 checkUnnamed1412(core.List<api.Comment> o) { |
| 396 unittest.expect(o, unittest.hasLength(2)); | 396 unittest.expect(o, unittest.hasLength(2)); |
| 397 checkComment(o[0]); | 397 checkComment(o[0]); |
| 398 checkComment(o[1]); | 398 checkComment(o[1]); |
| 399 } | 399 } |
| 400 | 400 |
| 401 core.int buildCounterCommentList = 0; | 401 core.int buildCounterCommentList = 0; |
| 402 buildCommentList() { | 402 buildCommentList() { |
| 403 var o = new api.CommentList(); | 403 var o = new api.CommentList(); |
| 404 buildCounterCommentList++; | 404 buildCounterCommentList++; |
| 405 if (buildCounterCommentList < 3) { | 405 if (buildCounterCommentList < 3) { |
| 406 o.comments = buildUnnamed1355(); | 406 o.comments = buildUnnamed1412(); |
| 407 o.kind = "foo"; | 407 o.kind = "foo"; |
| 408 o.nextPageToken = "foo"; | 408 o.nextPageToken = "foo"; |
| 409 } | 409 } |
| 410 buildCounterCommentList--; | 410 buildCounterCommentList--; |
| 411 return o; | 411 return o; |
| 412 } | 412 } |
| 413 | 413 |
| 414 checkCommentList(api.CommentList o) { | 414 checkCommentList(api.CommentList o) { |
| 415 buildCounterCommentList++; | 415 buildCounterCommentList++; |
| 416 if (buildCounterCommentList < 3) { | 416 if (buildCounterCommentList < 3) { |
| 417 checkUnnamed1355(o.comments); | 417 checkUnnamed1412(o.comments); |
| 418 unittest.expect(o.kind, unittest.equals('foo')); | 418 unittest.expect(o.kind, unittest.equals('foo')); |
| 419 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 419 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 420 } | 420 } |
| 421 buildCounterCommentList--; | 421 buildCounterCommentList--; |
| 422 } | 422 } |
| 423 | 423 |
| 424 buildUnnamed1356() { | 424 buildUnnamed1413() { |
| 425 var o = new core.Map<core.String, core.String>(); | 425 var o = new core.Map<core.String, core.String>(); |
| 426 o["x"] = "foo"; | 426 o["x"] = "foo"; |
| 427 o["y"] = "foo"; | 427 o["y"] = "foo"; |
| 428 return o; | 428 return o; |
| 429 } | 429 } |
| 430 | 430 |
| 431 checkUnnamed1356(core.Map<core.String, core.String> o) { | 431 checkUnnamed1413(core.Map<core.String, core.String> o) { |
| 432 unittest.expect(o, unittest.hasLength(2)); | 432 unittest.expect(o, unittest.hasLength(2)); |
| 433 unittest.expect(o["x"], unittest.equals('foo')); | 433 unittest.expect(o["x"], unittest.equals('foo')); |
| 434 unittest.expect(o["y"], unittest.equals('foo')); | 434 unittest.expect(o["y"], unittest.equals('foo')); |
| 435 } | 435 } |
| 436 | 436 |
| 437 core.int buildCounterFileCapabilities = 0; | 437 core.int buildCounterFileCapabilities = 0; |
| 438 buildFileCapabilities() { | 438 buildFileCapabilities() { |
| 439 var o = new api.FileCapabilities(); | 439 var o = new api.FileCapabilities(); |
| 440 buildCounterFileCapabilities++; | 440 buildCounterFileCapabilities++; |
| 441 if (buildCounterFileCapabilities < 3) { | 441 if (buildCounterFileCapabilities < 3) { |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 unittest.expect(o.rotation, unittest.equals(42)); | 600 unittest.expect(o.rotation, unittest.equals(42)); |
| 601 unittest.expect(o.sensor, unittest.equals('foo')); | 601 unittest.expect(o.sensor, unittest.equals('foo')); |
| 602 unittest.expect(o.subjectDistance, unittest.equals(42)); | 602 unittest.expect(o.subjectDistance, unittest.equals(42)); |
| 603 unittest.expect(o.time, unittest.equals('foo')); | 603 unittest.expect(o.time, unittest.equals('foo')); |
| 604 unittest.expect(o.whiteBalance, unittest.equals('foo')); | 604 unittest.expect(o.whiteBalance, unittest.equals('foo')); |
| 605 unittest.expect(o.width, unittest.equals(42)); | 605 unittest.expect(o.width, unittest.equals(42)); |
| 606 } | 606 } |
| 607 buildCounterFileImageMediaMetadata--; | 607 buildCounterFileImageMediaMetadata--; |
| 608 } | 608 } |
| 609 | 609 |
| 610 buildUnnamed1357() { | 610 buildUnnamed1414() { |
| 611 var o = new core.List<api.User>(); | 611 var o = new core.List<api.User>(); |
| 612 o.add(buildUser()); | 612 o.add(buildUser()); |
| 613 o.add(buildUser()); | 613 o.add(buildUser()); |
| 614 return o; | 614 return o; |
| 615 } | 615 } |
| 616 | 616 |
| 617 checkUnnamed1357(core.List<api.User> o) { | 617 checkUnnamed1414(core.List<api.User> o) { |
| 618 unittest.expect(o, unittest.hasLength(2)); | 618 unittest.expect(o, unittest.hasLength(2)); |
| 619 checkUser(o[0]); | 619 checkUser(o[0]); |
| 620 checkUser(o[1]); | 620 checkUser(o[1]); |
| 621 } | 621 } |
| 622 | 622 |
| 623 buildUnnamed1358() { | 623 buildUnnamed1415() { |
| 624 var o = new core.List<core.String>(); | 624 var o = new core.List<core.String>(); |
| 625 o.add("foo"); | 625 o.add("foo"); |
| 626 o.add("foo"); | 626 o.add("foo"); |
| 627 return o; | 627 return o; |
| 628 } | 628 } |
| 629 | 629 |
| 630 checkUnnamed1358(core.List<core.String> o) { | 630 checkUnnamed1415(core.List<core.String> o) { |
| 631 unittest.expect(o, unittest.hasLength(2)); | 631 unittest.expect(o, unittest.hasLength(2)); |
| 632 unittest.expect(o[0], unittest.equals('foo')); | 632 unittest.expect(o[0], unittest.equals('foo')); |
| 633 unittest.expect(o[1], unittest.equals('foo')); | 633 unittest.expect(o[1], unittest.equals('foo')); |
| 634 } | 634 } |
| 635 | 635 |
| 636 buildUnnamed1359() { | 636 buildUnnamed1416() { |
| 637 var o = new core.List<api.Permission>(); | 637 var o = new core.List<api.Permission>(); |
| 638 o.add(buildPermission()); | 638 o.add(buildPermission()); |
| 639 o.add(buildPermission()); | 639 o.add(buildPermission()); |
| 640 return o; | 640 return o; |
| 641 } | 641 } |
| 642 | 642 |
| 643 checkUnnamed1359(core.List<api.Permission> o) { | 643 checkUnnamed1416(core.List<api.Permission> o) { |
| 644 unittest.expect(o, unittest.hasLength(2)); | 644 unittest.expect(o, unittest.hasLength(2)); |
| 645 checkPermission(o[0]); | 645 checkPermission(o[0]); |
| 646 checkPermission(o[1]); | 646 checkPermission(o[1]); |
| 647 } | 647 } |
| 648 | 648 |
| 649 buildUnnamed1360() { | 649 buildUnnamed1417() { |
| 650 var o = new core.Map<core.String, core.String>(); | 650 var o = new core.Map<core.String, core.String>(); |
| 651 o["x"] = "foo"; | 651 o["x"] = "foo"; |
| 652 o["y"] = "foo"; | 652 o["y"] = "foo"; |
| 653 return o; | 653 return o; |
| 654 } | 654 } |
| 655 | 655 |
| 656 checkUnnamed1360(core.Map<core.String, core.String> o) { | 656 checkUnnamed1417(core.Map<core.String, core.String> o) { |
| 657 unittest.expect(o, unittest.hasLength(2)); | 657 unittest.expect(o, unittest.hasLength(2)); |
| 658 unittest.expect(o["x"], unittest.equals('foo')); | 658 unittest.expect(o["x"], unittest.equals('foo')); |
| 659 unittest.expect(o["y"], unittest.equals('foo')); | 659 unittest.expect(o["y"], unittest.equals('foo')); |
| 660 } | 660 } |
| 661 | 661 |
| 662 buildUnnamed1361() { | 662 buildUnnamed1418() { |
| 663 var o = new core.List<core.String>(); | 663 var o = new core.List<core.String>(); |
| 664 o.add("foo"); | 664 o.add("foo"); |
| 665 o.add("foo"); | 665 o.add("foo"); |
| 666 return o; | 666 return o; |
| 667 } | 667 } |
| 668 | 668 |
| 669 checkUnnamed1361(core.List<core.String> o) { | 669 checkUnnamed1418(core.List<core.String> o) { |
| 670 unittest.expect(o, unittest.hasLength(2)); | 670 unittest.expect(o, unittest.hasLength(2)); |
| 671 unittest.expect(o[0], unittest.equals('foo')); | 671 unittest.expect(o[0], unittest.equals('foo')); |
| 672 unittest.expect(o[1], unittest.equals('foo')); | 672 unittest.expect(o[1], unittest.equals('foo')); |
| 673 } | 673 } |
| 674 | 674 |
| 675 core.int buildCounterFileVideoMediaMetadata = 0; | 675 core.int buildCounterFileVideoMediaMetadata = 0; |
| 676 buildFileVideoMediaMetadata() { | 676 buildFileVideoMediaMetadata() { |
| 677 var o = new api.FileVideoMediaMetadata(); | 677 var o = new api.FileVideoMediaMetadata(); |
| 678 buildCounterFileVideoMediaMetadata++; | 678 buildCounterFileVideoMediaMetadata++; |
| 679 if (buildCounterFileVideoMediaMetadata < 3) { | 679 if (buildCounterFileVideoMediaMetadata < 3) { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 693 unittest.expect(o.width, unittest.equals(42)); | 693 unittest.expect(o.width, unittest.equals(42)); |
| 694 } | 694 } |
| 695 buildCounterFileVideoMediaMetadata--; | 695 buildCounterFileVideoMediaMetadata--; |
| 696 } | 696 } |
| 697 | 697 |
| 698 core.int buildCounterFile = 0; | 698 core.int buildCounterFile = 0; |
| 699 buildFile() { | 699 buildFile() { |
| 700 var o = new api.File(); | 700 var o = new api.File(); |
| 701 buildCounterFile++; | 701 buildCounterFile++; |
| 702 if (buildCounterFile < 3) { | 702 if (buildCounterFile < 3) { |
| 703 o.appProperties = buildUnnamed1356(); | 703 o.appProperties = buildUnnamed1413(); |
| 704 o.capabilities = buildFileCapabilities(); | 704 o.capabilities = buildFileCapabilities(); |
| 705 o.contentHints = buildFileContentHints(); | 705 o.contentHints = buildFileContentHints(); |
| 706 o.createdTime = core.DateTime.parse("2002-02-27T14:01:02"); | 706 o.createdTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 707 o.description = "foo"; | 707 o.description = "foo"; |
| 708 o.explicitlyTrashed = true; | 708 o.explicitlyTrashed = true; |
| 709 o.fileExtension = "foo"; | 709 o.fileExtension = "foo"; |
| 710 o.folderColorRgb = "foo"; | 710 o.folderColorRgb = "foo"; |
| 711 o.fullFileExtension = "foo"; | 711 o.fullFileExtension = "foo"; |
| 712 o.hasAugmentedPermissions = true; | 712 o.hasAugmentedPermissions = true; |
| 713 o.hasThumbnail = true; | 713 o.hasThumbnail = true; |
| 714 o.headRevisionId = "foo"; | 714 o.headRevisionId = "foo"; |
| 715 o.iconLink = "foo"; | 715 o.iconLink = "foo"; |
| 716 o.id = "foo"; | 716 o.id = "foo"; |
| 717 o.imageMediaMetadata = buildFileImageMediaMetadata(); | 717 o.imageMediaMetadata = buildFileImageMediaMetadata(); |
| 718 o.isAppAuthorized = true; | 718 o.isAppAuthorized = true; |
| 719 o.kind = "foo"; | 719 o.kind = "foo"; |
| 720 o.lastModifyingUser = buildUser(); | 720 o.lastModifyingUser = buildUser(); |
| 721 o.md5Checksum = "foo"; | 721 o.md5Checksum = "foo"; |
| 722 o.mimeType = "foo"; | 722 o.mimeType = "foo"; |
| 723 o.modifiedByMe = true; | 723 o.modifiedByMe = true; |
| 724 o.modifiedByMeTime = core.DateTime.parse("2002-02-27T14:01:02"); | 724 o.modifiedByMeTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 725 o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 725 o.modifiedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 726 o.name = "foo"; | 726 o.name = "foo"; |
| 727 o.originalFilename = "foo"; | 727 o.originalFilename = "foo"; |
| 728 o.ownedByMe = true; | 728 o.ownedByMe = true; |
| 729 o.owners = buildUnnamed1357(); | 729 o.owners = buildUnnamed1414(); |
| 730 o.parents = buildUnnamed1358(); | 730 o.parents = buildUnnamed1415(); |
| 731 o.permissions = buildUnnamed1359(); | 731 o.permissions = buildUnnamed1416(); |
| 732 o.properties = buildUnnamed1360(); | 732 o.properties = buildUnnamed1417(); |
| 733 o.quotaBytesUsed = "foo"; | 733 o.quotaBytesUsed = "foo"; |
| 734 o.shared = true; | 734 o.shared = true; |
| 735 o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02"); | 735 o.sharedWithMeTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 736 o.sharingUser = buildUser(); | 736 o.sharingUser = buildUser(); |
| 737 o.size = "foo"; | 737 o.size = "foo"; |
| 738 o.spaces = buildUnnamed1361(); | 738 o.spaces = buildUnnamed1418(); |
| 739 o.starred = true; | 739 o.starred = true; |
| 740 o.teamDriveId = "foo"; | 740 o.teamDriveId = "foo"; |
| 741 o.thumbnailLink = "foo"; | 741 o.thumbnailLink = "foo"; |
| 742 o.thumbnailVersion = "foo"; | 742 o.thumbnailVersion = "foo"; |
| 743 o.trashed = true; | 743 o.trashed = true; |
| 744 o.trashedTime = core.DateTime.parse("2002-02-27T14:01:02"); | 744 o.trashedTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 745 o.trashingUser = buildUser(); | 745 o.trashingUser = buildUser(); |
| 746 o.version = "foo"; | 746 o.version = "foo"; |
| 747 o.videoMediaMetadata = buildFileVideoMediaMetadata(); | 747 o.videoMediaMetadata = buildFileVideoMediaMetadata(); |
| 748 o.viewedByMe = true; | 748 o.viewedByMe = true; |
| 749 o.viewedByMeTime = core.DateTime.parse("2002-02-27T14:01:02"); | 749 o.viewedByMeTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 750 o.viewersCanCopyContent = true; | 750 o.viewersCanCopyContent = true; |
| 751 o.webContentLink = "foo"; | 751 o.webContentLink = "foo"; |
| 752 o.webViewLink = "foo"; | 752 o.webViewLink = "foo"; |
| 753 o.writersCanShare = true; | 753 o.writersCanShare = true; |
| 754 } | 754 } |
| 755 buildCounterFile--; | 755 buildCounterFile--; |
| 756 return o; | 756 return o; |
| 757 } | 757 } |
| 758 | 758 |
| 759 checkFile(api.File o) { | 759 checkFile(api.File o) { |
| 760 buildCounterFile++; | 760 buildCounterFile++; |
| 761 if (buildCounterFile < 3) { | 761 if (buildCounterFile < 3) { |
| 762 checkUnnamed1356(o.appProperties); | 762 checkUnnamed1413(o.appProperties); |
| 763 checkFileCapabilities(o.capabilities); | 763 checkFileCapabilities(o.capabilities); |
| 764 checkFileContentHints(o.contentHints); | 764 checkFileContentHints(o.contentHints); |
| 765 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 765 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 766 unittest.expect(o.description, unittest.equals('foo')); | 766 unittest.expect(o.description, unittest.equals('foo')); |
| 767 unittest.expect(o.explicitlyTrashed, unittest.isTrue); | 767 unittest.expect(o.explicitlyTrashed, unittest.isTrue); |
| 768 unittest.expect(o.fileExtension, unittest.equals('foo')); | 768 unittest.expect(o.fileExtension, unittest.equals('foo')); |
| 769 unittest.expect(o.folderColorRgb, unittest.equals('foo')); | 769 unittest.expect(o.folderColorRgb, unittest.equals('foo')); |
| 770 unittest.expect(o.fullFileExtension, unittest.equals('foo')); | 770 unittest.expect(o.fullFileExtension, unittest.equals('foo')); |
| 771 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); | 771 unittest.expect(o.hasAugmentedPermissions, unittest.isTrue); |
| 772 unittest.expect(o.hasThumbnail, unittest.isTrue); | 772 unittest.expect(o.hasThumbnail, unittest.isTrue); |
| 773 unittest.expect(o.headRevisionId, unittest.equals('foo')); | 773 unittest.expect(o.headRevisionId, unittest.equals('foo')); |
| 774 unittest.expect(o.iconLink, unittest.equals('foo')); | 774 unittest.expect(o.iconLink, unittest.equals('foo')); |
| 775 unittest.expect(o.id, unittest.equals('foo')); | 775 unittest.expect(o.id, unittest.equals('foo')); |
| 776 checkFileImageMediaMetadata(o.imageMediaMetadata); | 776 checkFileImageMediaMetadata(o.imageMediaMetadata); |
| 777 unittest.expect(o.isAppAuthorized, unittest.isTrue); | 777 unittest.expect(o.isAppAuthorized, unittest.isTrue); |
| 778 unittest.expect(o.kind, unittest.equals('foo')); | 778 unittest.expect(o.kind, unittest.equals('foo')); |
| 779 checkUser(o.lastModifyingUser); | 779 checkUser(o.lastModifyingUser); |
| 780 unittest.expect(o.md5Checksum, unittest.equals('foo')); | 780 unittest.expect(o.md5Checksum, unittest.equals('foo')); |
| 781 unittest.expect(o.mimeType, unittest.equals('foo')); | 781 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 782 unittest.expect(o.modifiedByMe, unittest.isTrue); | 782 unittest.expect(o.modifiedByMe, unittest.isTrue); |
| 783 unittest.expect(o.modifiedByMeTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 783 unittest.expect(o.modifiedByMeTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 784 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 784 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 785 unittest.expect(o.name, unittest.equals('foo')); | 785 unittest.expect(o.name, unittest.equals('foo')); |
| 786 unittest.expect(o.originalFilename, unittest.equals('foo')); | 786 unittest.expect(o.originalFilename, unittest.equals('foo')); |
| 787 unittest.expect(o.ownedByMe, unittest.isTrue); | 787 unittest.expect(o.ownedByMe, unittest.isTrue); |
| 788 checkUnnamed1357(o.owners); | 788 checkUnnamed1414(o.owners); |
| 789 checkUnnamed1358(o.parents); | 789 checkUnnamed1415(o.parents); |
| 790 checkUnnamed1359(o.permissions); | 790 checkUnnamed1416(o.permissions); |
| 791 checkUnnamed1360(o.properties); | 791 checkUnnamed1417(o.properties); |
| 792 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); | 792 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); |
| 793 unittest.expect(o.shared, unittest.isTrue); | 793 unittest.expect(o.shared, unittest.isTrue); |
| 794 unittest.expect(o.sharedWithMeTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); | 794 unittest.expect(o.sharedWithMeTime, unittest.equals(core.DateTime.parse("200
2-02-27T14:01:02"))); |
| 795 checkUser(o.sharingUser); | 795 checkUser(o.sharingUser); |
| 796 unittest.expect(o.size, unittest.equals('foo')); | 796 unittest.expect(o.size, unittest.equals('foo')); |
| 797 checkUnnamed1361(o.spaces); | 797 checkUnnamed1418(o.spaces); |
| 798 unittest.expect(o.starred, unittest.isTrue); | 798 unittest.expect(o.starred, unittest.isTrue); |
| 799 unittest.expect(o.teamDriveId, unittest.equals('foo')); | 799 unittest.expect(o.teamDriveId, unittest.equals('foo')); |
| 800 unittest.expect(o.thumbnailLink, unittest.equals('foo')); | 800 unittest.expect(o.thumbnailLink, unittest.equals('foo')); |
| 801 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); | 801 unittest.expect(o.thumbnailVersion, unittest.equals('foo')); |
| 802 unittest.expect(o.trashed, unittest.isTrue); | 802 unittest.expect(o.trashed, unittest.isTrue); |
| 803 unittest.expect(o.trashedTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 803 unittest.expect(o.trashedTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 804 checkUser(o.trashingUser); | 804 checkUser(o.trashingUser); |
| 805 unittest.expect(o.version, unittest.equals('foo')); | 805 unittest.expect(o.version, unittest.equals('foo')); |
| 806 checkFileVideoMediaMetadata(o.videoMediaMetadata); | 806 checkFileVideoMediaMetadata(o.videoMediaMetadata); |
| 807 unittest.expect(o.viewedByMe, unittest.isTrue); | 807 unittest.expect(o.viewedByMe, unittest.isTrue); |
| 808 unittest.expect(o.viewedByMeTime, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); | 808 unittest.expect(o.viewedByMeTime, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); |
| 809 unittest.expect(o.viewersCanCopyContent, unittest.isTrue); | 809 unittest.expect(o.viewersCanCopyContent, unittest.isTrue); |
| 810 unittest.expect(o.webContentLink, unittest.equals('foo')); | 810 unittest.expect(o.webContentLink, unittest.equals('foo')); |
| 811 unittest.expect(o.webViewLink, unittest.equals('foo')); | 811 unittest.expect(o.webViewLink, unittest.equals('foo')); |
| 812 unittest.expect(o.writersCanShare, unittest.isTrue); | 812 unittest.expect(o.writersCanShare, unittest.isTrue); |
| 813 } | 813 } |
| 814 buildCounterFile--; | 814 buildCounterFile--; |
| 815 } | 815 } |
| 816 | 816 |
| 817 buildUnnamed1362() { | 817 buildUnnamed1419() { |
| 818 var o = new core.List<api.File>(); | 818 var o = new core.List<api.File>(); |
| 819 o.add(buildFile()); | 819 o.add(buildFile()); |
| 820 o.add(buildFile()); | 820 o.add(buildFile()); |
| 821 return o; | 821 return o; |
| 822 } | 822 } |
| 823 | 823 |
| 824 checkUnnamed1362(core.List<api.File> o) { | 824 checkUnnamed1419(core.List<api.File> o) { |
| 825 unittest.expect(o, unittest.hasLength(2)); | 825 unittest.expect(o, unittest.hasLength(2)); |
| 826 checkFile(o[0]); | 826 checkFile(o[0]); |
| 827 checkFile(o[1]); | 827 checkFile(o[1]); |
| 828 } | 828 } |
| 829 | 829 |
| 830 core.int buildCounterFileList = 0; | 830 core.int buildCounterFileList = 0; |
| 831 buildFileList() { | 831 buildFileList() { |
| 832 var o = new api.FileList(); | 832 var o = new api.FileList(); |
| 833 buildCounterFileList++; | 833 buildCounterFileList++; |
| 834 if (buildCounterFileList < 3) { | 834 if (buildCounterFileList < 3) { |
| 835 o.files = buildUnnamed1362(); | 835 o.files = buildUnnamed1419(); |
| 836 o.incompleteSearch = true; | 836 o.incompleteSearch = true; |
| 837 o.kind = "foo"; | 837 o.kind = "foo"; |
| 838 o.nextPageToken = "foo"; | 838 o.nextPageToken = "foo"; |
| 839 } | 839 } |
| 840 buildCounterFileList--; | 840 buildCounterFileList--; |
| 841 return o; | 841 return o; |
| 842 } | 842 } |
| 843 | 843 |
| 844 checkFileList(api.FileList o) { | 844 checkFileList(api.FileList o) { |
| 845 buildCounterFileList++; | 845 buildCounterFileList++; |
| 846 if (buildCounterFileList < 3) { | 846 if (buildCounterFileList < 3) { |
| 847 checkUnnamed1362(o.files); | 847 checkUnnamed1419(o.files); |
| 848 unittest.expect(o.incompleteSearch, unittest.isTrue); | 848 unittest.expect(o.incompleteSearch, unittest.isTrue); |
| 849 unittest.expect(o.kind, unittest.equals('foo')); | 849 unittest.expect(o.kind, unittest.equals('foo')); |
| 850 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 850 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 851 } | 851 } |
| 852 buildCounterFileList--; | 852 buildCounterFileList--; |
| 853 } | 853 } |
| 854 | 854 |
| 855 buildUnnamed1363() { | 855 buildUnnamed1420() { |
| 856 var o = new core.List<core.String>(); | 856 var o = new core.List<core.String>(); |
| 857 o.add("foo"); | 857 o.add("foo"); |
| 858 o.add("foo"); | 858 o.add("foo"); |
| 859 return o; | 859 return o; |
| 860 } | 860 } |
| 861 | 861 |
| 862 checkUnnamed1363(core.List<core.String> o) { | 862 checkUnnamed1420(core.List<core.String> o) { |
| 863 unittest.expect(o, unittest.hasLength(2)); | 863 unittest.expect(o, unittest.hasLength(2)); |
| 864 unittest.expect(o[0], unittest.equals('foo')); | 864 unittest.expect(o[0], unittest.equals('foo')); |
| 865 unittest.expect(o[1], unittest.equals('foo')); | 865 unittest.expect(o[1], unittest.equals('foo')); |
| 866 } | 866 } |
| 867 | 867 |
| 868 core.int buildCounterGeneratedIds = 0; | 868 core.int buildCounterGeneratedIds = 0; |
| 869 buildGeneratedIds() { | 869 buildGeneratedIds() { |
| 870 var o = new api.GeneratedIds(); | 870 var o = new api.GeneratedIds(); |
| 871 buildCounterGeneratedIds++; | 871 buildCounterGeneratedIds++; |
| 872 if (buildCounterGeneratedIds < 3) { | 872 if (buildCounterGeneratedIds < 3) { |
| 873 o.ids = buildUnnamed1363(); | 873 o.ids = buildUnnamed1420(); |
| 874 o.kind = "foo"; | 874 o.kind = "foo"; |
| 875 o.space = "foo"; | 875 o.space = "foo"; |
| 876 } | 876 } |
| 877 buildCounterGeneratedIds--; | 877 buildCounterGeneratedIds--; |
| 878 return o; | 878 return o; |
| 879 } | 879 } |
| 880 | 880 |
| 881 checkGeneratedIds(api.GeneratedIds o) { | 881 checkGeneratedIds(api.GeneratedIds o) { |
| 882 buildCounterGeneratedIds++; | 882 buildCounterGeneratedIds++; |
| 883 if (buildCounterGeneratedIds < 3) { | 883 if (buildCounterGeneratedIds < 3) { |
| 884 checkUnnamed1363(o.ids); | 884 checkUnnamed1420(o.ids); |
| 885 unittest.expect(o.kind, unittest.equals('foo')); | 885 unittest.expect(o.kind, unittest.equals('foo')); |
| 886 unittest.expect(o.space, unittest.equals('foo')); | 886 unittest.expect(o.space, unittest.equals('foo')); |
| 887 } | 887 } |
| 888 buildCounterGeneratedIds--; | 888 buildCounterGeneratedIds--; |
| 889 } | 889 } |
| 890 | 890 |
| 891 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; | 891 core.int buildCounterPermissionTeamDrivePermissionDetails = 0; |
| 892 buildPermissionTeamDrivePermissionDetails() { | 892 buildPermissionTeamDrivePermissionDetails() { |
| 893 var o = new api.PermissionTeamDrivePermissionDetails(); | 893 var o = new api.PermissionTeamDrivePermissionDetails(); |
| 894 buildCounterPermissionTeamDrivePermissionDetails++; | 894 buildCounterPermissionTeamDrivePermissionDetails++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 906 buildCounterPermissionTeamDrivePermissionDetails++; | 906 buildCounterPermissionTeamDrivePermissionDetails++; |
| 907 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { | 907 if (buildCounterPermissionTeamDrivePermissionDetails < 3) { |
| 908 unittest.expect(o.inherited, unittest.isTrue); | 908 unittest.expect(o.inherited, unittest.isTrue); |
| 909 unittest.expect(o.inheritedFrom, unittest.equals('foo')); | 909 unittest.expect(o.inheritedFrom, unittest.equals('foo')); |
| 910 unittest.expect(o.role, unittest.equals('foo')); | 910 unittest.expect(o.role, unittest.equals('foo')); |
| 911 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); | 911 unittest.expect(o.teamDrivePermissionType, unittest.equals('foo')); |
| 912 } | 912 } |
| 913 buildCounterPermissionTeamDrivePermissionDetails--; | 913 buildCounterPermissionTeamDrivePermissionDetails--; |
| 914 } | 914 } |
| 915 | 915 |
| 916 buildUnnamed1364() { | 916 buildUnnamed1421() { |
| 917 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); | 917 var o = new core.List<api.PermissionTeamDrivePermissionDetails>(); |
| 918 o.add(buildPermissionTeamDrivePermissionDetails()); | 918 o.add(buildPermissionTeamDrivePermissionDetails()); |
| 919 o.add(buildPermissionTeamDrivePermissionDetails()); | 919 o.add(buildPermissionTeamDrivePermissionDetails()); |
| 920 return o; | 920 return o; |
| 921 } | 921 } |
| 922 | 922 |
| 923 checkUnnamed1364(core.List<api.PermissionTeamDrivePermissionDetails> o) { | 923 checkUnnamed1421(core.List<api.PermissionTeamDrivePermissionDetails> o) { |
| 924 unittest.expect(o, unittest.hasLength(2)); | 924 unittest.expect(o, unittest.hasLength(2)); |
| 925 checkPermissionTeamDrivePermissionDetails(o[0]); | 925 checkPermissionTeamDrivePermissionDetails(o[0]); |
| 926 checkPermissionTeamDrivePermissionDetails(o[1]); | 926 checkPermissionTeamDrivePermissionDetails(o[1]); |
| 927 } | 927 } |
| 928 | 928 |
| 929 core.int buildCounterPermission = 0; | 929 core.int buildCounterPermission = 0; |
| 930 buildPermission() { | 930 buildPermission() { |
| 931 var o = new api.Permission(); | 931 var o = new api.Permission(); |
| 932 buildCounterPermission++; | 932 buildCounterPermission++; |
| 933 if (buildCounterPermission < 3) { | 933 if (buildCounterPermission < 3) { |
| 934 o.allowFileDiscovery = true; | 934 o.allowFileDiscovery = true; |
| 935 o.displayName = "foo"; | 935 o.displayName = "foo"; |
| 936 o.domain = "foo"; | 936 o.domain = "foo"; |
| 937 o.emailAddress = "foo"; | 937 o.emailAddress = "foo"; |
| 938 o.expirationTime = core.DateTime.parse("2002-02-27T14:01:02"); | 938 o.expirationTime = core.DateTime.parse("2002-02-27T14:01:02"); |
| 939 o.id = "foo"; | 939 o.id = "foo"; |
| 940 o.kind = "foo"; | 940 o.kind = "foo"; |
| 941 o.photoLink = "foo"; | 941 o.photoLink = "foo"; |
| 942 o.role = "foo"; | 942 o.role = "foo"; |
| 943 o.teamDrivePermissionDetails = buildUnnamed1364(); | 943 o.teamDrivePermissionDetails = buildUnnamed1421(); |
| 944 o.type = "foo"; | 944 o.type = "foo"; |
| 945 } | 945 } |
| 946 buildCounterPermission--; | 946 buildCounterPermission--; |
| 947 return o; | 947 return o; |
| 948 } | 948 } |
| 949 | 949 |
| 950 checkPermission(api.Permission o) { | 950 checkPermission(api.Permission o) { |
| 951 buildCounterPermission++; | 951 buildCounterPermission++; |
| 952 if (buildCounterPermission < 3) { | 952 if (buildCounterPermission < 3) { |
| 953 unittest.expect(o.allowFileDiscovery, unittest.isTrue); | 953 unittest.expect(o.allowFileDiscovery, unittest.isTrue); |
| 954 unittest.expect(o.displayName, unittest.equals('foo')); | 954 unittest.expect(o.displayName, unittest.equals('foo')); |
| 955 unittest.expect(o.domain, unittest.equals('foo')); | 955 unittest.expect(o.domain, unittest.equals('foo')); |
| 956 unittest.expect(o.emailAddress, unittest.equals('foo')); | 956 unittest.expect(o.emailAddress, unittest.equals('foo')); |
| 957 unittest.expect(o.expirationTime, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); | 957 unittest.expect(o.expirationTime, unittest.equals(core.DateTime.parse("2002-
02-27T14:01:02"))); |
| 958 unittest.expect(o.id, unittest.equals('foo')); | 958 unittest.expect(o.id, unittest.equals('foo')); |
| 959 unittest.expect(o.kind, unittest.equals('foo')); | 959 unittest.expect(o.kind, unittest.equals('foo')); |
| 960 unittest.expect(o.photoLink, unittest.equals('foo')); | 960 unittest.expect(o.photoLink, unittest.equals('foo')); |
| 961 unittest.expect(o.role, unittest.equals('foo')); | 961 unittest.expect(o.role, unittest.equals('foo')); |
| 962 checkUnnamed1364(o.teamDrivePermissionDetails); | 962 checkUnnamed1421(o.teamDrivePermissionDetails); |
| 963 unittest.expect(o.type, unittest.equals('foo')); | 963 unittest.expect(o.type, unittest.equals('foo')); |
| 964 } | 964 } |
| 965 buildCounterPermission--; | 965 buildCounterPermission--; |
| 966 } | 966 } |
| 967 | 967 |
| 968 buildUnnamed1365() { | 968 buildUnnamed1422() { |
| 969 var o = new core.List<api.Permission>(); | 969 var o = new core.List<api.Permission>(); |
| 970 o.add(buildPermission()); | 970 o.add(buildPermission()); |
| 971 o.add(buildPermission()); | 971 o.add(buildPermission()); |
| 972 return o; | 972 return o; |
| 973 } | 973 } |
| 974 | 974 |
| 975 checkUnnamed1365(core.List<api.Permission> o) { | 975 checkUnnamed1422(core.List<api.Permission> o) { |
| 976 unittest.expect(o, unittest.hasLength(2)); | 976 unittest.expect(o, unittest.hasLength(2)); |
| 977 checkPermission(o[0]); | 977 checkPermission(o[0]); |
| 978 checkPermission(o[1]); | 978 checkPermission(o[1]); |
| 979 } | 979 } |
| 980 | 980 |
| 981 core.int buildCounterPermissionList = 0; | 981 core.int buildCounterPermissionList = 0; |
| 982 buildPermissionList() { | 982 buildPermissionList() { |
| 983 var o = new api.PermissionList(); | 983 var o = new api.PermissionList(); |
| 984 buildCounterPermissionList++; | 984 buildCounterPermissionList++; |
| 985 if (buildCounterPermissionList < 3) { | 985 if (buildCounterPermissionList < 3) { |
| 986 o.kind = "foo"; | 986 o.kind = "foo"; |
| 987 o.nextPageToken = "foo"; | 987 o.nextPageToken = "foo"; |
| 988 o.permissions = buildUnnamed1365(); | 988 o.permissions = buildUnnamed1422(); |
| 989 } | 989 } |
| 990 buildCounterPermissionList--; | 990 buildCounterPermissionList--; |
| 991 return o; | 991 return o; |
| 992 } | 992 } |
| 993 | 993 |
| 994 checkPermissionList(api.PermissionList o) { | 994 checkPermissionList(api.PermissionList o) { |
| 995 buildCounterPermissionList++; | 995 buildCounterPermissionList++; |
| 996 if (buildCounterPermissionList < 3) { | 996 if (buildCounterPermissionList < 3) { |
| 997 unittest.expect(o.kind, unittest.equals('foo')); | 997 unittest.expect(o.kind, unittest.equals('foo')); |
| 998 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 998 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 999 checkUnnamed1365(o.permissions); | 999 checkUnnamed1422(o.permissions); |
| 1000 } | 1000 } |
| 1001 buildCounterPermissionList--; | 1001 buildCounterPermissionList--; |
| 1002 } | 1002 } |
| 1003 | 1003 |
| 1004 core.int buildCounterReply = 0; | 1004 core.int buildCounterReply = 0; |
| 1005 buildReply() { | 1005 buildReply() { |
| 1006 var o = new api.Reply(); | 1006 var o = new api.Reply(); |
| 1007 buildCounterReply++; | 1007 buildCounterReply++; |
| 1008 if (buildCounterReply < 3) { | 1008 if (buildCounterReply < 3) { |
| 1009 o.action = "foo"; | 1009 o.action = "foo"; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1029 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); | 1029 unittest.expect(o.createdTime, unittest.equals(core.DateTime.parse("2002-02-
27T14:01:02"))); |
| 1030 unittest.expect(o.deleted, unittest.isTrue); | 1030 unittest.expect(o.deleted, unittest.isTrue); |
| 1031 unittest.expect(o.htmlContent, unittest.equals('foo')); | 1031 unittest.expect(o.htmlContent, unittest.equals('foo')); |
| 1032 unittest.expect(o.id, unittest.equals('foo')); | 1032 unittest.expect(o.id, unittest.equals('foo')); |
| 1033 unittest.expect(o.kind, unittest.equals('foo')); | 1033 unittest.expect(o.kind, unittest.equals('foo')); |
| 1034 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1034 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1035 } | 1035 } |
| 1036 buildCounterReply--; | 1036 buildCounterReply--; |
| 1037 } | 1037 } |
| 1038 | 1038 |
| 1039 buildUnnamed1366() { | 1039 buildUnnamed1423() { |
| 1040 var o = new core.List<api.Reply>(); | 1040 var o = new core.List<api.Reply>(); |
| 1041 o.add(buildReply()); | 1041 o.add(buildReply()); |
| 1042 o.add(buildReply()); | 1042 o.add(buildReply()); |
| 1043 return o; | 1043 return o; |
| 1044 } | 1044 } |
| 1045 | 1045 |
| 1046 checkUnnamed1366(core.List<api.Reply> o) { | 1046 checkUnnamed1423(core.List<api.Reply> o) { |
| 1047 unittest.expect(o, unittest.hasLength(2)); | 1047 unittest.expect(o, unittest.hasLength(2)); |
| 1048 checkReply(o[0]); | 1048 checkReply(o[0]); |
| 1049 checkReply(o[1]); | 1049 checkReply(o[1]); |
| 1050 } | 1050 } |
| 1051 | 1051 |
| 1052 core.int buildCounterReplyList = 0; | 1052 core.int buildCounterReplyList = 0; |
| 1053 buildReplyList() { | 1053 buildReplyList() { |
| 1054 var o = new api.ReplyList(); | 1054 var o = new api.ReplyList(); |
| 1055 buildCounterReplyList++; | 1055 buildCounterReplyList++; |
| 1056 if (buildCounterReplyList < 3) { | 1056 if (buildCounterReplyList < 3) { |
| 1057 o.kind = "foo"; | 1057 o.kind = "foo"; |
| 1058 o.nextPageToken = "foo"; | 1058 o.nextPageToken = "foo"; |
| 1059 o.replies = buildUnnamed1366(); | 1059 o.replies = buildUnnamed1423(); |
| 1060 } | 1060 } |
| 1061 buildCounterReplyList--; | 1061 buildCounterReplyList--; |
| 1062 return o; | 1062 return o; |
| 1063 } | 1063 } |
| 1064 | 1064 |
| 1065 checkReplyList(api.ReplyList o) { | 1065 checkReplyList(api.ReplyList o) { |
| 1066 buildCounterReplyList++; | 1066 buildCounterReplyList++; |
| 1067 if (buildCounterReplyList < 3) { | 1067 if (buildCounterReplyList < 3) { |
| 1068 unittest.expect(o.kind, unittest.equals('foo')); | 1068 unittest.expect(o.kind, unittest.equals('foo')); |
| 1069 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1069 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1070 checkUnnamed1366(o.replies); | 1070 checkUnnamed1423(o.replies); |
| 1071 } | 1071 } |
| 1072 buildCounterReplyList--; | 1072 buildCounterReplyList--; |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 core.int buildCounterRevision = 0; | 1075 core.int buildCounterRevision = 0; |
| 1076 buildRevision() { | 1076 buildRevision() { |
| 1077 var o = new api.Revision(); | 1077 var o = new api.Revision(); |
| 1078 buildCounterRevision++; | 1078 buildCounterRevision++; |
| 1079 if (buildCounterRevision < 3) { | 1079 if (buildCounterRevision < 3) { |
| 1080 o.id = "foo"; | 1080 o.id = "foo"; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1106 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); | 1106 unittest.expect(o.modifiedTime, unittest.equals(core.DateTime.parse("2002-02
-27T14:01:02"))); |
| 1107 unittest.expect(o.originalFilename, unittest.equals('foo')); | 1107 unittest.expect(o.originalFilename, unittest.equals('foo')); |
| 1108 unittest.expect(o.publishAuto, unittest.isTrue); | 1108 unittest.expect(o.publishAuto, unittest.isTrue); |
| 1109 unittest.expect(o.published, unittest.isTrue); | 1109 unittest.expect(o.published, unittest.isTrue); |
| 1110 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); | 1110 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); |
| 1111 unittest.expect(o.size, unittest.equals('foo')); | 1111 unittest.expect(o.size, unittest.equals('foo')); |
| 1112 } | 1112 } |
| 1113 buildCounterRevision--; | 1113 buildCounterRevision--; |
| 1114 } | 1114 } |
| 1115 | 1115 |
| 1116 buildUnnamed1367() { | 1116 buildUnnamed1424() { |
| 1117 var o = new core.List<api.Revision>(); | 1117 var o = new core.List<api.Revision>(); |
| 1118 o.add(buildRevision()); | 1118 o.add(buildRevision()); |
| 1119 o.add(buildRevision()); | 1119 o.add(buildRevision()); |
| 1120 return o; | 1120 return o; |
| 1121 } | 1121 } |
| 1122 | 1122 |
| 1123 checkUnnamed1367(core.List<api.Revision> o) { | 1123 checkUnnamed1424(core.List<api.Revision> o) { |
| 1124 unittest.expect(o, unittest.hasLength(2)); | 1124 unittest.expect(o, unittest.hasLength(2)); |
| 1125 checkRevision(o[0]); | 1125 checkRevision(o[0]); |
| 1126 checkRevision(o[1]); | 1126 checkRevision(o[1]); |
| 1127 } | 1127 } |
| 1128 | 1128 |
| 1129 core.int buildCounterRevisionList = 0; | 1129 core.int buildCounterRevisionList = 0; |
| 1130 buildRevisionList() { | 1130 buildRevisionList() { |
| 1131 var o = new api.RevisionList(); | 1131 var o = new api.RevisionList(); |
| 1132 buildCounterRevisionList++; | 1132 buildCounterRevisionList++; |
| 1133 if (buildCounterRevisionList < 3) { | 1133 if (buildCounterRevisionList < 3) { |
| 1134 o.kind = "foo"; | 1134 o.kind = "foo"; |
| 1135 o.nextPageToken = "foo"; | 1135 o.nextPageToken = "foo"; |
| 1136 o.revisions = buildUnnamed1367(); | 1136 o.revisions = buildUnnamed1424(); |
| 1137 } | 1137 } |
| 1138 buildCounterRevisionList--; | 1138 buildCounterRevisionList--; |
| 1139 return o; | 1139 return o; |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 checkRevisionList(api.RevisionList o) { | 1142 checkRevisionList(api.RevisionList o) { |
| 1143 buildCounterRevisionList++; | 1143 buildCounterRevisionList++; |
| 1144 if (buildCounterRevisionList < 3) { | 1144 if (buildCounterRevisionList < 3) { |
| 1145 unittest.expect(o.kind, unittest.equals('foo')); | 1145 unittest.expect(o.kind, unittest.equals('foo')); |
| 1146 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1146 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1147 checkUnnamed1367(o.revisions); | 1147 checkUnnamed1424(o.revisions); |
| 1148 } | 1148 } |
| 1149 buildCounterRevisionList--; | 1149 buildCounterRevisionList--; |
| 1150 } | 1150 } |
| 1151 | 1151 |
| 1152 core.int buildCounterStartPageToken = 0; | 1152 core.int buildCounterStartPageToken = 0; |
| 1153 buildStartPageToken() { | 1153 buildStartPageToken() { |
| 1154 var o = new api.StartPageToken(); | 1154 var o = new api.StartPageToken(); |
| 1155 buildCounterStartPageToken++; | 1155 buildCounterStartPageToken++; |
| 1156 if (buildCounterStartPageToken < 3) { | 1156 if (buildCounterStartPageToken < 3) { |
| 1157 o.kind = "foo"; | 1157 o.kind = "foo"; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 buildCounterTeamDrive++; | 1231 buildCounterTeamDrive++; |
| 1232 if (buildCounterTeamDrive < 3) { | 1232 if (buildCounterTeamDrive < 3) { |
| 1233 checkTeamDriveCapabilities(o.capabilities); | 1233 checkTeamDriveCapabilities(o.capabilities); |
| 1234 unittest.expect(o.id, unittest.equals('foo')); | 1234 unittest.expect(o.id, unittest.equals('foo')); |
| 1235 unittest.expect(o.kind, unittest.equals('foo')); | 1235 unittest.expect(o.kind, unittest.equals('foo')); |
| 1236 unittest.expect(o.name, unittest.equals('foo')); | 1236 unittest.expect(o.name, unittest.equals('foo')); |
| 1237 } | 1237 } |
| 1238 buildCounterTeamDrive--; | 1238 buildCounterTeamDrive--; |
| 1239 } | 1239 } |
| 1240 | 1240 |
| 1241 buildUnnamed1368() { | 1241 buildUnnamed1425() { |
| 1242 var o = new core.List<api.TeamDrive>(); | 1242 var o = new core.List<api.TeamDrive>(); |
| 1243 o.add(buildTeamDrive()); | 1243 o.add(buildTeamDrive()); |
| 1244 o.add(buildTeamDrive()); | 1244 o.add(buildTeamDrive()); |
| 1245 return o; | 1245 return o; |
| 1246 } | 1246 } |
| 1247 | 1247 |
| 1248 checkUnnamed1368(core.List<api.TeamDrive> o) { | 1248 checkUnnamed1425(core.List<api.TeamDrive> o) { |
| 1249 unittest.expect(o, unittest.hasLength(2)); | 1249 unittest.expect(o, unittest.hasLength(2)); |
| 1250 checkTeamDrive(o[0]); | 1250 checkTeamDrive(o[0]); |
| 1251 checkTeamDrive(o[1]); | 1251 checkTeamDrive(o[1]); |
| 1252 } | 1252 } |
| 1253 | 1253 |
| 1254 core.int buildCounterTeamDriveList = 0; | 1254 core.int buildCounterTeamDriveList = 0; |
| 1255 buildTeamDriveList() { | 1255 buildTeamDriveList() { |
| 1256 var o = new api.TeamDriveList(); | 1256 var o = new api.TeamDriveList(); |
| 1257 buildCounterTeamDriveList++; | 1257 buildCounterTeamDriveList++; |
| 1258 if (buildCounterTeamDriveList < 3) { | 1258 if (buildCounterTeamDriveList < 3) { |
| 1259 o.kind = "foo"; | 1259 o.kind = "foo"; |
| 1260 o.nextPageToken = "foo"; | 1260 o.nextPageToken = "foo"; |
| 1261 o.teamDrives = buildUnnamed1368(); | 1261 o.teamDrives = buildUnnamed1425(); |
| 1262 } | 1262 } |
| 1263 buildCounterTeamDriveList--; | 1263 buildCounterTeamDriveList--; |
| 1264 return o; | 1264 return o; |
| 1265 } | 1265 } |
| 1266 | 1266 |
| 1267 checkTeamDriveList(api.TeamDriveList o) { | 1267 checkTeamDriveList(api.TeamDriveList o) { |
| 1268 buildCounterTeamDriveList++; | 1268 buildCounterTeamDriveList++; |
| 1269 if (buildCounterTeamDriveList < 3) { | 1269 if (buildCounterTeamDriveList < 3) { |
| 1270 unittest.expect(o.kind, unittest.equals('foo')); | 1270 unittest.expect(o.kind, unittest.equals('foo')); |
| 1271 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1271 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1272 checkUnnamed1368(o.teamDrives); | 1272 checkUnnamed1425(o.teamDrives); |
| 1273 } | 1273 } |
| 1274 buildCounterTeamDriveList--; | 1274 buildCounterTeamDriveList--; |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 core.int buildCounterUser = 0; | 1277 core.int buildCounterUser = 0; |
| 1278 buildUser() { | 1278 buildUser() { |
| 1279 var o = new api.User(); | 1279 var o = new api.User(); |
| 1280 buildCounterUser++; | 1280 buildCounterUser++; |
| 1281 if (buildCounterUser < 3) { | 1281 if (buildCounterUser < 3) { |
| 1282 o.displayName = "foo"; | 1282 o.displayName = "foo"; |
| (...skipping 2571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3854 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync(((api.T
eamDrive response) { | 3854 res.update(arg_request, arg_teamDriveId).then(unittest.expectAsync(((api.T
eamDrive response) { |
| 3855 checkTeamDrive(response); | 3855 checkTeamDrive(response); |
| 3856 }))); | 3856 }))); |
| 3857 }); | 3857 }); |
| 3858 | 3858 |
| 3859 }); | 3859 }); |
| 3860 | 3860 |
| 3861 | 3861 |
| 3862 } | 3862 } |
| 3863 | 3863 |
| OLD | NEW |