| OLD | NEW |
| 1 library googleapis.books.v1.test; | 1 library googleapis.books.v1.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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { | 121 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { |
| 122 buildCounterAnnotationLayerSummary++; | 122 buildCounterAnnotationLayerSummary++; |
| 123 if (buildCounterAnnotationLayerSummary < 3) { | 123 if (buildCounterAnnotationLayerSummary < 3) { |
| 124 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); | 124 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); |
| 125 unittest.expect(o.limitType, unittest.equals('foo')); | 125 unittest.expect(o.limitType, unittest.equals('foo')); |
| 126 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); | 126 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); |
| 127 } | 127 } |
| 128 buildCounterAnnotationLayerSummary--; | 128 buildCounterAnnotationLayerSummary--; |
| 129 } | 129 } |
| 130 | 130 |
| 131 buildUnnamed988() { | 131 buildUnnamed1014() { |
| 132 var o = new core.List<core.String>(); | 132 var o = new core.List<core.String>(); |
| 133 o.add("foo"); | 133 o.add("foo"); |
| 134 o.add("foo"); | 134 o.add("foo"); |
| 135 return o; | 135 return o; |
| 136 } | 136 } |
| 137 | 137 |
| 138 checkUnnamed988(core.List<core.String> o) { | 138 checkUnnamed1014(core.List<core.String> o) { |
| 139 unittest.expect(o, unittest.hasLength(2)); | 139 unittest.expect(o, unittest.hasLength(2)); |
| 140 unittest.expect(o[0], unittest.equals('foo')); | 140 unittest.expect(o[0], unittest.equals('foo')); |
| 141 unittest.expect(o[1], unittest.equals('foo')); | 141 unittest.expect(o[1], unittest.equals('foo')); |
| 142 } | 142 } |
| 143 | 143 |
| 144 core.int buildCounterAnnotation = 0; | 144 core.int buildCounterAnnotation = 0; |
| 145 buildAnnotation() { | 145 buildAnnotation() { |
| 146 var o = new api.Annotation(); | 146 var o = new api.Annotation(); |
| 147 buildCounterAnnotation++; | 147 buildCounterAnnotation++; |
| 148 if (buildCounterAnnotation < 3) { | 148 if (buildCounterAnnotation < 3) { |
| 149 o.afterSelectedText = "foo"; | 149 o.afterSelectedText = "foo"; |
| 150 o.beforeSelectedText = "foo"; | 150 o.beforeSelectedText = "foo"; |
| 151 o.clientVersionRanges = buildAnnotationClientVersionRanges(); | 151 o.clientVersionRanges = buildAnnotationClientVersionRanges(); |
| 152 o.created = core.DateTime.parse("2002-02-27T14:01:02"); | 152 o.created = core.DateTime.parse("2002-02-27T14:01:02"); |
| 153 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); | 153 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); |
| 154 o.data = "foo"; | 154 o.data = "foo"; |
| 155 o.deleted = true; | 155 o.deleted = true; |
| 156 o.highlightStyle = "foo"; | 156 o.highlightStyle = "foo"; |
| 157 o.id = "foo"; | 157 o.id = "foo"; |
| 158 o.kind = "foo"; | 158 o.kind = "foo"; |
| 159 o.layerId = "foo"; | 159 o.layerId = "foo"; |
| 160 o.layerSummary = buildAnnotationLayerSummary(); | 160 o.layerSummary = buildAnnotationLayerSummary(); |
| 161 o.pageIds = buildUnnamed988(); | 161 o.pageIds = buildUnnamed1014(); |
| 162 o.selectedText = "foo"; | 162 o.selectedText = "foo"; |
| 163 o.selfLink = "foo"; | 163 o.selfLink = "foo"; |
| 164 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 164 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 165 o.volumeId = "foo"; | 165 o.volumeId = "foo"; |
| 166 } | 166 } |
| 167 buildCounterAnnotation--; | 167 buildCounterAnnotation--; |
| 168 return o; | 168 return o; |
| 169 } | 169 } |
| 170 | 170 |
| 171 checkAnnotation(api.Annotation o) { | 171 checkAnnotation(api.Annotation o) { |
| 172 buildCounterAnnotation++; | 172 buildCounterAnnotation++; |
| 173 if (buildCounterAnnotation < 3) { | 173 if (buildCounterAnnotation < 3) { |
| 174 unittest.expect(o.afterSelectedText, unittest.equals('foo')); | 174 unittest.expect(o.afterSelectedText, unittest.equals('foo')); |
| 175 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); | 175 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); |
| 176 checkAnnotationClientVersionRanges(o.clientVersionRanges); | 176 checkAnnotationClientVersionRanges(o.clientVersionRanges); |
| 177 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 177 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 178 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); | 178 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); |
| 179 unittest.expect(o.data, unittest.equals('foo')); | 179 unittest.expect(o.data, unittest.equals('foo')); |
| 180 unittest.expect(o.deleted, unittest.isTrue); | 180 unittest.expect(o.deleted, unittest.isTrue); |
| 181 unittest.expect(o.highlightStyle, unittest.equals('foo')); | 181 unittest.expect(o.highlightStyle, unittest.equals('foo')); |
| 182 unittest.expect(o.id, unittest.equals('foo')); | 182 unittest.expect(o.id, unittest.equals('foo')); |
| 183 unittest.expect(o.kind, unittest.equals('foo')); | 183 unittest.expect(o.kind, unittest.equals('foo')); |
| 184 unittest.expect(o.layerId, unittest.equals('foo')); | 184 unittest.expect(o.layerId, unittest.equals('foo')); |
| 185 checkAnnotationLayerSummary(o.layerSummary); | 185 checkAnnotationLayerSummary(o.layerSummary); |
| 186 checkUnnamed988(o.pageIds); | 186 checkUnnamed1014(o.pageIds); |
| 187 unittest.expect(o.selectedText, unittest.equals('foo')); | 187 unittest.expect(o.selectedText, unittest.equals('foo')); |
| 188 unittest.expect(o.selfLink, unittest.equals('foo')); | 188 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 189 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 189 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 190 unittest.expect(o.volumeId, unittest.equals('foo')); | 190 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 191 } | 191 } |
| 192 buildCounterAnnotation--; | 192 buildCounterAnnotation--; |
| 193 } | 193 } |
| 194 | 194 |
| 195 core.int buildCounterAnnotationdata = 0; | 195 core.int buildCounterAnnotationdata = 0; |
| 196 buildAnnotationdata() { | 196 buildAnnotationdata() { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 220 unittest.expect(o.id, unittest.equals('foo')); | 220 unittest.expect(o.id, unittest.equals('foo')); |
| 221 unittest.expect(o.kind, unittest.equals('foo')); | 221 unittest.expect(o.kind, unittest.equals('foo')); |
| 222 unittest.expect(o.layerId, unittest.equals('foo')); | 222 unittest.expect(o.layerId, unittest.equals('foo')); |
| 223 unittest.expect(o.selfLink, unittest.equals('foo')); | 223 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 224 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 224 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 225 unittest.expect(o.volumeId, unittest.equals('foo')); | 225 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 226 } | 226 } |
| 227 buildCounterAnnotationdata--; | 227 buildCounterAnnotationdata--; |
| 228 } | 228 } |
| 229 | 229 |
| 230 buildUnnamed989() { | 230 buildUnnamed1015() { |
| 231 var o = new core.List<api.Annotation>(); | 231 var o = new core.List<api.Annotation>(); |
| 232 o.add(buildAnnotation()); | 232 o.add(buildAnnotation()); |
| 233 o.add(buildAnnotation()); | 233 o.add(buildAnnotation()); |
| 234 return o; | 234 return o; |
| 235 } | 235 } |
| 236 | 236 |
| 237 checkUnnamed989(core.List<api.Annotation> o) { | 237 checkUnnamed1015(core.List<api.Annotation> o) { |
| 238 unittest.expect(o, unittest.hasLength(2)); | 238 unittest.expect(o, unittest.hasLength(2)); |
| 239 checkAnnotation(o[0]); | 239 checkAnnotation(o[0]); |
| 240 checkAnnotation(o[1]); | 240 checkAnnotation(o[1]); |
| 241 } | 241 } |
| 242 | 242 |
| 243 core.int buildCounterAnnotations = 0; | 243 core.int buildCounterAnnotations = 0; |
| 244 buildAnnotations() { | 244 buildAnnotations() { |
| 245 var o = new api.Annotations(); | 245 var o = new api.Annotations(); |
| 246 buildCounterAnnotations++; | 246 buildCounterAnnotations++; |
| 247 if (buildCounterAnnotations < 3) { | 247 if (buildCounterAnnotations < 3) { |
| 248 o.items = buildUnnamed989(); | 248 o.items = buildUnnamed1015(); |
| 249 o.kind = "foo"; | 249 o.kind = "foo"; |
| 250 o.nextPageToken = "foo"; | 250 o.nextPageToken = "foo"; |
| 251 o.totalItems = 42; | 251 o.totalItems = 42; |
| 252 } | 252 } |
| 253 buildCounterAnnotations--; | 253 buildCounterAnnotations--; |
| 254 return o; | 254 return o; |
| 255 } | 255 } |
| 256 | 256 |
| 257 checkAnnotations(api.Annotations o) { | 257 checkAnnotations(api.Annotations o) { |
| 258 buildCounterAnnotations++; | 258 buildCounterAnnotations++; |
| 259 if (buildCounterAnnotations < 3) { | 259 if (buildCounterAnnotations < 3) { |
| 260 checkUnnamed989(o.items); | 260 checkUnnamed1015(o.items); |
| 261 unittest.expect(o.kind, unittest.equals('foo')); | 261 unittest.expect(o.kind, unittest.equals('foo')); |
| 262 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 262 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 263 unittest.expect(o.totalItems, unittest.equals(42)); | 263 unittest.expect(o.totalItems, unittest.equals(42)); |
| 264 } | 264 } |
| 265 buildCounterAnnotations--; | 265 buildCounterAnnotations--; |
| 266 } | 266 } |
| 267 | 267 |
| 268 core.int buildCounterAnnotationsSummaryLayers = 0; | 268 core.int buildCounterAnnotationsSummaryLayers = 0; |
| 269 buildAnnotationsSummaryLayers() { | 269 buildAnnotationsSummaryLayers() { |
| 270 var o = new api.AnnotationsSummaryLayers(); | 270 var o = new api.AnnotationsSummaryLayers(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 285 if (buildCounterAnnotationsSummaryLayers < 3) { | 285 if (buildCounterAnnotationsSummaryLayers < 3) { |
| 286 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); | 286 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); |
| 287 unittest.expect(o.layerId, unittest.equals('foo')); | 287 unittest.expect(o.layerId, unittest.equals('foo')); |
| 288 unittest.expect(o.limitType, unittest.equals('foo')); | 288 unittest.expect(o.limitType, unittest.equals('foo')); |
| 289 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); | 289 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); |
| 290 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 290 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 291 } | 291 } |
| 292 buildCounterAnnotationsSummaryLayers--; | 292 buildCounterAnnotationsSummaryLayers--; |
| 293 } | 293 } |
| 294 | 294 |
| 295 buildUnnamed990() { | 295 buildUnnamed1016() { |
| 296 var o = new core.List<api.AnnotationsSummaryLayers>(); | 296 var o = new core.List<api.AnnotationsSummaryLayers>(); |
| 297 o.add(buildAnnotationsSummaryLayers()); | 297 o.add(buildAnnotationsSummaryLayers()); |
| 298 o.add(buildAnnotationsSummaryLayers()); | 298 o.add(buildAnnotationsSummaryLayers()); |
| 299 return o; | 299 return o; |
| 300 } | 300 } |
| 301 | 301 |
| 302 checkUnnamed990(core.List<api.AnnotationsSummaryLayers> o) { | 302 checkUnnamed1016(core.List<api.AnnotationsSummaryLayers> o) { |
| 303 unittest.expect(o, unittest.hasLength(2)); | 303 unittest.expect(o, unittest.hasLength(2)); |
| 304 checkAnnotationsSummaryLayers(o[0]); | 304 checkAnnotationsSummaryLayers(o[0]); |
| 305 checkAnnotationsSummaryLayers(o[1]); | 305 checkAnnotationsSummaryLayers(o[1]); |
| 306 } | 306 } |
| 307 | 307 |
| 308 core.int buildCounterAnnotationsSummary = 0; | 308 core.int buildCounterAnnotationsSummary = 0; |
| 309 buildAnnotationsSummary() { | 309 buildAnnotationsSummary() { |
| 310 var o = new api.AnnotationsSummary(); | 310 var o = new api.AnnotationsSummary(); |
| 311 buildCounterAnnotationsSummary++; | 311 buildCounterAnnotationsSummary++; |
| 312 if (buildCounterAnnotationsSummary < 3) { | 312 if (buildCounterAnnotationsSummary < 3) { |
| 313 o.kind = "foo"; | 313 o.kind = "foo"; |
| 314 o.layers = buildUnnamed990(); | 314 o.layers = buildUnnamed1016(); |
| 315 } | 315 } |
| 316 buildCounterAnnotationsSummary--; | 316 buildCounterAnnotationsSummary--; |
| 317 return o; | 317 return o; |
| 318 } | 318 } |
| 319 | 319 |
| 320 checkAnnotationsSummary(api.AnnotationsSummary o) { | 320 checkAnnotationsSummary(api.AnnotationsSummary o) { |
| 321 buildCounterAnnotationsSummary++; | 321 buildCounterAnnotationsSummary++; |
| 322 if (buildCounterAnnotationsSummary < 3) { | 322 if (buildCounterAnnotationsSummary < 3) { |
| 323 unittest.expect(o.kind, unittest.equals('foo')); | 323 unittest.expect(o.kind, unittest.equals('foo')); |
| 324 checkUnnamed990(o.layers); | 324 checkUnnamed1016(o.layers); |
| 325 } | 325 } |
| 326 buildCounterAnnotationsSummary--; | 326 buildCounterAnnotationsSummary--; |
| 327 } | 327 } |
| 328 | 328 |
| 329 buildUnnamed991() { | 329 buildUnnamed1017() { |
| 330 var o = new core.List<api.Annotationdata>(); | 330 var o = new core.List<api.Annotationdata>(); |
| 331 o.add(buildAnnotationdata()); | 331 o.add(buildAnnotationdata()); |
| 332 o.add(buildAnnotationdata()); | 332 o.add(buildAnnotationdata()); |
| 333 return o; | 333 return o; |
| 334 } | 334 } |
| 335 | 335 |
| 336 checkUnnamed991(core.List<api.Annotationdata> o) { | 336 checkUnnamed1017(core.List<api.Annotationdata> o) { |
| 337 unittest.expect(o, unittest.hasLength(2)); | 337 unittest.expect(o, unittest.hasLength(2)); |
| 338 checkAnnotationdata(o[0]); | 338 checkAnnotationdata(o[0]); |
| 339 checkAnnotationdata(o[1]); | 339 checkAnnotationdata(o[1]); |
| 340 } | 340 } |
| 341 | 341 |
| 342 core.int buildCounterAnnotationsdata = 0; | 342 core.int buildCounterAnnotationsdata = 0; |
| 343 buildAnnotationsdata() { | 343 buildAnnotationsdata() { |
| 344 var o = new api.Annotationsdata(); | 344 var o = new api.Annotationsdata(); |
| 345 buildCounterAnnotationsdata++; | 345 buildCounterAnnotationsdata++; |
| 346 if (buildCounterAnnotationsdata < 3) { | 346 if (buildCounterAnnotationsdata < 3) { |
| 347 o.items = buildUnnamed991(); | 347 o.items = buildUnnamed1017(); |
| 348 o.kind = "foo"; | 348 o.kind = "foo"; |
| 349 o.nextPageToken = "foo"; | 349 o.nextPageToken = "foo"; |
| 350 o.totalItems = 42; | 350 o.totalItems = 42; |
| 351 } | 351 } |
| 352 buildCounterAnnotationsdata--; | 352 buildCounterAnnotationsdata--; |
| 353 return o; | 353 return o; |
| 354 } | 354 } |
| 355 | 355 |
| 356 checkAnnotationsdata(api.Annotationsdata o) { | 356 checkAnnotationsdata(api.Annotationsdata o) { |
| 357 buildCounterAnnotationsdata++; | 357 buildCounterAnnotationsdata++; |
| 358 if (buildCounterAnnotationsdata < 3) { | 358 if (buildCounterAnnotationsdata < 3) { |
| 359 checkUnnamed991(o.items); | 359 checkUnnamed1017(o.items); |
| 360 unittest.expect(o.kind, unittest.equals('foo')); | 360 unittest.expect(o.kind, unittest.equals('foo')); |
| 361 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 361 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 362 unittest.expect(o.totalItems, unittest.equals(42)); | 362 unittest.expect(o.totalItems, unittest.equals(42)); |
| 363 } | 363 } |
| 364 buildCounterAnnotationsdata--; | 364 buildCounterAnnotationsdata--; |
| 365 } | 365 } |
| 366 | 366 |
| 367 core.int buildCounterBooksAnnotationsRange = 0; | 367 core.int buildCounterBooksAnnotationsRange = 0; |
| 368 buildBooksAnnotationsRange() { | 368 buildBooksAnnotationsRange() { |
| 369 var o = new api.BooksAnnotationsRange(); | 369 var o = new api.BooksAnnotationsRange(); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 unittest.expect(o.kind, unittest.equals('foo')); | 463 unittest.expect(o.kind, unittest.equals('foo')); |
| 464 unittest.expect(o.selfLink, unittest.equals('foo')); | 464 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 465 unittest.expect(o.title, unittest.equals('foo')); | 465 unittest.expect(o.title, unittest.equals('foo')); |
| 466 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 466 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 467 unittest.expect(o.volumeCount, unittest.equals(42)); | 467 unittest.expect(o.volumeCount, unittest.equals(42)); |
| 468 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 468 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
| 469 } | 469 } |
| 470 buildCounterBookshelf--; | 470 buildCounterBookshelf--; |
| 471 } | 471 } |
| 472 | 472 |
| 473 buildUnnamed992() { | 473 buildUnnamed1018() { |
| 474 var o = new core.List<api.Bookshelf>(); | 474 var o = new core.List<api.Bookshelf>(); |
| 475 o.add(buildBookshelf()); | 475 o.add(buildBookshelf()); |
| 476 o.add(buildBookshelf()); | 476 o.add(buildBookshelf()); |
| 477 return o; | 477 return o; |
| 478 } | 478 } |
| 479 | 479 |
| 480 checkUnnamed992(core.List<api.Bookshelf> o) { | 480 checkUnnamed1018(core.List<api.Bookshelf> o) { |
| 481 unittest.expect(o, unittest.hasLength(2)); | 481 unittest.expect(o, unittest.hasLength(2)); |
| 482 checkBookshelf(o[0]); | 482 checkBookshelf(o[0]); |
| 483 checkBookshelf(o[1]); | 483 checkBookshelf(o[1]); |
| 484 } | 484 } |
| 485 | 485 |
| 486 core.int buildCounterBookshelves = 0; | 486 core.int buildCounterBookshelves = 0; |
| 487 buildBookshelves() { | 487 buildBookshelves() { |
| 488 var o = new api.Bookshelves(); | 488 var o = new api.Bookshelves(); |
| 489 buildCounterBookshelves++; | 489 buildCounterBookshelves++; |
| 490 if (buildCounterBookshelves < 3) { | 490 if (buildCounterBookshelves < 3) { |
| 491 o.items = buildUnnamed992(); | 491 o.items = buildUnnamed1018(); |
| 492 o.kind = "foo"; | 492 o.kind = "foo"; |
| 493 } | 493 } |
| 494 buildCounterBookshelves--; | 494 buildCounterBookshelves--; |
| 495 return o; | 495 return o; |
| 496 } | 496 } |
| 497 | 497 |
| 498 checkBookshelves(api.Bookshelves o) { | 498 checkBookshelves(api.Bookshelves o) { |
| 499 buildCounterBookshelves++; | 499 buildCounterBookshelves++; |
| 500 if (buildCounterBookshelves < 3) { | 500 if (buildCounterBookshelves < 3) { |
| 501 checkUnnamed992(o.items); | 501 checkUnnamed1018(o.items); |
| 502 unittest.expect(o.kind, unittest.equals('foo')); | 502 unittest.expect(o.kind, unittest.equals('foo')); |
| 503 } | 503 } |
| 504 buildCounterBookshelves--; | 504 buildCounterBookshelves--; |
| 505 } | 505 } |
| 506 | 506 |
| 507 core.int buildCounterCategoryItems = 0; | 507 core.int buildCounterCategoryItems = 0; |
| 508 buildCategoryItems() { | 508 buildCategoryItems() { |
| 509 var o = new api.CategoryItems(); | 509 var o = new api.CategoryItems(); |
| 510 buildCounterCategoryItems++; | 510 buildCounterCategoryItems++; |
| 511 if (buildCounterCategoryItems < 3) { | 511 if (buildCounterCategoryItems < 3) { |
| 512 o.badgeUrl = "foo"; | 512 o.badgeUrl = "foo"; |
| 513 o.categoryId = "foo"; | 513 o.categoryId = "foo"; |
| 514 o.name = "foo"; | 514 o.name = "foo"; |
| 515 } | 515 } |
| 516 buildCounterCategoryItems--; | 516 buildCounterCategoryItems--; |
| 517 return o; | 517 return o; |
| 518 } | 518 } |
| 519 | 519 |
| 520 checkCategoryItems(api.CategoryItems o) { | 520 checkCategoryItems(api.CategoryItems o) { |
| 521 buildCounterCategoryItems++; | 521 buildCounterCategoryItems++; |
| 522 if (buildCounterCategoryItems < 3) { | 522 if (buildCounterCategoryItems < 3) { |
| 523 unittest.expect(o.badgeUrl, unittest.equals('foo')); | 523 unittest.expect(o.badgeUrl, unittest.equals('foo')); |
| 524 unittest.expect(o.categoryId, unittest.equals('foo')); | 524 unittest.expect(o.categoryId, unittest.equals('foo')); |
| 525 unittest.expect(o.name, unittest.equals('foo')); | 525 unittest.expect(o.name, unittest.equals('foo')); |
| 526 } | 526 } |
| 527 buildCounterCategoryItems--; | 527 buildCounterCategoryItems--; |
| 528 } | 528 } |
| 529 | 529 |
| 530 buildUnnamed993() { | 530 buildUnnamed1019() { |
| 531 var o = new core.List<api.CategoryItems>(); | 531 var o = new core.List<api.CategoryItems>(); |
| 532 o.add(buildCategoryItems()); | 532 o.add(buildCategoryItems()); |
| 533 o.add(buildCategoryItems()); | 533 o.add(buildCategoryItems()); |
| 534 return o; | 534 return o; |
| 535 } | 535 } |
| 536 | 536 |
| 537 checkUnnamed993(core.List<api.CategoryItems> o) { | 537 checkUnnamed1019(core.List<api.CategoryItems> o) { |
| 538 unittest.expect(o, unittest.hasLength(2)); | 538 unittest.expect(o, unittest.hasLength(2)); |
| 539 checkCategoryItems(o[0]); | 539 checkCategoryItems(o[0]); |
| 540 checkCategoryItems(o[1]); | 540 checkCategoryItems(o[1]); |
| 541 } | 541 } |
| 542 | 542 |
| 543 core.int buildCounterCategory = 0; | 543 core.int buildCounterCategory = 0; |
| 544 buildCategory() { | 544 buildCategory() { |
| 545 var o = new api.Category(); | 545 var o = new api.Category(); |
| 546 buildCounterCategory++; | 546 buildCounterCategory++; |
| 547 if (buildCounterCategory < 3) { | 547 if (buildCounterCategory < 3) { |
| 548 o.items = buildUnnamed993(); | 548 o.items = buildUnnamed1019(); |
| 549 o.kind = "foo"; | 549 o.kind = "foo"; |
| 550 } | 550 } |
| 551 buildCounterCategory--; | 551 buildCounterCategory--; |
| 552 return o; | 552 return o; |
| 553 } | 553 } |
| 554 | 554 |
| 555 checkCategory(api.Category o) { | 555 checkCategory(api.Category o) { |
| 556 buildCounterCategory++; | 556 buildCounterCategory++; |
| 557 if (buildCounterCategory < 3) { | 557 if (buildCounterCategory < 3) { |
| 558 checkUnnamed993(o.items); | 558 checkUnnamed1019(o.items); |
| 559 unittest.expect(o.kind, unittest.equals('foo')); | 559 unittest.expect(o.kind, unittest.equals('foo')); |
| 560 } | 560 } |
| 561 buildCounterCategory--; | 561 buildCounterCategory--; |
| 562 } | 562 } |
| 563 | 563 |
| 564 core.int buildCounterConcurrentAccessRestriction = 0; | 564 core.int buildCounterConcurrentAccessRestriction = 0; |
| 565 buildConcurrentAccessRestriction() { | 565 buildConcurrentAccessRestriction() { |
| 566 var o = new api.ConcurrentAccessRestriction(); | 566 var o = new api.ConcurrentAccessRestriction(); |
| 567 buildCounterConcurrentAccessRestriction++; | 567 buildCounterConcurrentAccessRestriction++; |
| 568 if (buildCounterConcurrentAccessRestriction < 3) { | 568 if (buildCounterConcurrentAccessRestriction < 3) { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 | 675 |
| 676 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
{ | 676 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
{ |
| 677 buildCounterDictlayerdataDictWordsDerivatives++; | 677 buildCounterDictlayerdataDictWordsDerivatives++; |
| 678 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { | 678 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { |
| 679 checkDictlayerdataDictWordsDerivativesSource(o.source); | 679 checkDictlayerdataDictWordsDerivativesSource(o.source); |
| 680 unittest.expect(o.text, unittest.equals('foo')); | 680 unittest.expect(o.text, unittest.equals('foo')); |
| 681 } | 681 } |
| 682 buildCounterDictlayerdataDictWordsDerivatives--; | 682 buildCounterDictlayerdataDictWordsDerivatives--; |
| 683 } | 683 } |
| 684 | 684 |
| 685 buildUnnamed994() { | 685 buildUnnamed1020() { |
| 686 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); | 686 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); |
| 687 o.add(buildDictlayerdataDictWordsDerivatives()); | 687 o.add(buildDictlayerdataDictWordsDerivatives()); |
| 688 o.add(buildDictlayerdataDictWordsDerivatives()); | 688 o.add(buildDictlayerdataDictWordsDerivatives()); |
| 689 return o; | 689 return o; |
| 690 } | 690 } |
| 691 | 691 |
| 692 checkUnnamed994(core.List<api.DictlayerdataDictWordsDerivatives> o) { | 692 checkUnnamed1020(core.List<api.DictlayerdataDictWordsDerivatives> o) { |
| 693 unittest.expect(o, unittest.hasLength(2)); | 693 unittest.expect(o, unittest.hasLength(2)); |
| 694 checkDictlayerdataDictWordsDerivatives(o[0]); | 694 checkDictlayerdataDictWordsDerivatives(o[0]); |
| 695 checkDictlayerdataDictWordsDerivatives(o[1]); | 695 checkDictlayerdataDictWordsDerivatives(o[1]); |
| 696 } | 696 } |
| 697 | 697 |
| 698 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; | 698 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; |
| 699 buildDictlayerdataDictWordsExamplesSource() { | 699 buildDictlayerdataDictWordsExamplesSource() { |
| 700 var o = new api.DictlayerdataDictWordsExamplesSource(); | 700 var o = new api.DictlayerdataDictWordsExamplesSource(); |
| 701 buildCounterDictlayerdataDictWordsExamplesSource++; | 701 buildCounterDictlayerdataDictWordsExamplesSource++; |
| 702 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { | 702 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 730 | 730 |
| 731 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { | 731 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { |
| 732 buildCounterDictlayerdataDictWordsExamples++; | 732 buildCounterDictlayerdataDictWordsExamples++; |
| 733 if (buildCounterDictlayerdataDictWordsExamples < 3) { | 733 if (buildCounterDictlayerdataDictWordsExamples < 3) { |
| 734 checkDictlayerdataDictWordsExamplesSource(o.source); | 734 checkDictlayerdataDictWordsExamplesSource(o.source); |
| 735 unittest.expect(o.text, unittest.equals('foo')); | 735 unittest.expect(o.text, unittest.equals('foo')); |
| 736 } | 736 } |
| 737 buildCounterDictlayerdataDictWordsExamples--; | 737 buildCounterDictlayerdataDictWordsExamples--; |
| 738 } | 738 } |
| 739 | 739 |
| 740 buildUnnamed995() { | 740 buildUnnamed1021() { |
| 741 var o = new core.List<api.DictlayerdataDictWordsExamples>(); | 741 var o = new core.List<api.DictlayerdataDictWordsExamples>(); |
| 742 o.add(buildDictlayerdataDictWordsExamples()); | 742 o.add(buildDictlayerdataDictWordsExamples()); |
| 743 o.add(buildDictlayerdataDictWordsExamples()); | 743 o.add(buildDictlayerdataDictWordsExamples()); |
| 744 return o; | 744 return o; |
| 745 } | 745 } |
| 746 | 746 |
| 747 checkUnnamed995(core.List<api.DictlayerdataDictWordsExamples> o) { | 747 checkUnnamed1021(core.List<api.DictlayerdataDictWordsExamples> o) { |
| 748 unittest.expect(o, unittest.hasLength(2)); | 748 unittest.expect(o, unittest.hasLength(2)); |
| 749 checkDictlayerdataDictWordsExamples(o[0]); | 749 checkDictlayerdataDictWordsExamples(o[0]); |
| 750 checkDictlayerdataDictWordsExamples(o[1]); | 750 checkDictlayerdataDictWordsExamples(o[1]); |
| 751 } | 751 } |
| 752 | 752 |
| 753 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; | 753 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; |
| 754 buildDictlayerdataDictWordsSensesConjugations() { | 754 buildDictlayerdataDictWordsSensesConjugations() { |
| 755 var o = new api.DictlayerdataDictWordsSensesConjugations(); | 755 var o = new api.DictlayerdataDictWordsSensesConjugations(); |
| 756 buildCounterDictlayerdataDictWordsSensesConjugations++; | 756 buildCounterDictlayerdataDictWordsSensesConjugations++; |
| 757 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { | 757 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { |
| 758 o.type = "foo"; | 758 o.type = "foo"; |
| 759 o.value = "foo"; | 759 o.value = "foo"; |
| 760 } | 760 } |
| 761 buildCounterDictlayerdataDictWordsSensesConjugations--; | 761 buildCounterDictlayerdataDictWordsSensesConjugations--; |
| 762 return o; | 762 return o; |
| 763 } | 763 } |
| 764 | 764 |
| 765 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
njugations o) { | 765 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
njugations o) { |
| 766 buildCounterDictlayerdataDictWordsSensesConjugations++; | 766 buildCounterDictlayerdataDictWordsSensesConjugations++; |
| 767 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { | 767 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { |
| 768 unittest.expect(o.type, unittest.equals('foo')); | 768 unittest.expect(o.type, unittest.equals('foo')); |
| 769 unittest.expect(o.value, unittest.equals('foo')); | 769 unittest.expect(o.value, unittest.equals('foo')); |
| 770 } | 770 } |
| 771 buildCounterDictlayerdataDictWordsSensesConjugations--; | 771 buildCounterDictlayerdataDictWordsSensesConjugations--; |
| 772 } | 772 } |
| 773 | 773 |
| 774 buildUnnamed996() { | 774 buildUnnamed1022() { |
| 775 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); | 775 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); |
| 776 o.add(buildDictlayerdataDictWordsSensesConjugations()); | 776 o.add(buildDictlayerdataDictWordsSensesConjugations()); |
| 777 o.add(buildDictlayerdataDictWordsSensesConjugations()); | 777 o.add(buildDictlayerdataDictWordsSensesConjugations()); |
| 778 return o; | 778 return o; |
| 779 } | 779 } |
| 780 | 780 |
| 781 checkUnnamed996(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { | 781 checkUnnamed1022(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { |
| 782 unittest.expect(o, unittest.hasLength(2)); | 782 unittest.expect(o, unittest.hasLength(2)); |
| 783 checkDictlayerdataDictWordsSensesConjugations(o[0]); | 783 checkDictlayerdataDictWordsSensesConjugations(o[0]); |
| 784 checkDictlayerdataDictWordsSensesConjugations(o[1]); | 784 checkDictlayerdataDictWordsSensesConjugations(o[1]); |
| 785 } | 785 } |
| 786 | 786 |
| 787 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; | 787 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; |
| 788 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { | 788 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { |
| 789 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); | 789 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); |
| 790 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; | 790 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; |
| 791 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { | 791 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 819 | 819 |
| 820 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
ensesDefinitionsExamples o) { | 820 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
ensesDefinitionsExamples o) { |
| 821 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; | 821 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; |
| 822 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { | 822 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { |
| 823 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); | 823 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); |
| 824 unittest.expect(o.text, unittest.equals('foo')); | 824 unittest.expect(o.text, unittest.equals('foo')); |
| 825 } | 825 } |
| 826 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; | 826 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; |
| 827 } | 827 } |
| 828 | 828 |
| 829 buildUnnamed997() { | 829 buildUnnamed1023() { |
| 830 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); | 830 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); |
| 831 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); | 831 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); |
| 832 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); | 832 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); |
| 833 return o; | 833 return o; |
| 834 } | 834 } |
| 835 | 835 |
| 836 checkUnnamed997(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o
) { | 836 checkUnnamed1023(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>
o) { |
| 837 unittest.expect(o, unittest.hasLength(2)); | 837 unittest.expect(o, unittest.hasLength(2)); |
| 838 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); | 838 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); |
| 839 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); | 839 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); |
| 840 } | 840 } |
| 841 | 841 |
| 842 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; | 842 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; |
| 843 buildDictlayerdataDictWordsSensesDefinitions() { | 843 buildDictlayerdataDictWordsSensesDefinitions() { |
| 844 var o = new api.DictlayerdataDictWordsSensesDefinitions(); | 844 var o = new api.DictlayerdataDictWordsSensesDefinitions(); |
| 845 buildCounterDictlayerdataDictWordsSensesDefinitions++; | 845 buildCounterDictlayerdataDictWordsSensesDefinitions++; |
| 846 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { | 846 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { |
| 847 o.definition = "foo"; | 847 o.definition = "foo"; |
| 848 o.examples = buildUnnamed997(); | 848 o.examples = buildUnnamed1023(); |
| 849 } | 849 } |
| 850 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 850 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
| 851 return o; | 851 return o; |
| 852 } | 852 } |
| 853 | 853 |
| 854 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
initions o) { | 854 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
initions o) { |
| 855 buildCounterDictlayerdataDictWordsSensesDefinitions++; | 855 buildCounterDictlayerdataDictWordsSensesDefinitions++; |
| 856 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { | 856 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { |
| 857 unittest.expect(o.definition, unittest.equals('foo')); | 857 unittest.expect(o.definition, unittest.equals('foo')); |
| 858 checkUnnamed997(o.examples); | 858 checkUnnamed1023(o.examples); |
| 859 } | 859 } |
| 860 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 860 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
| 861 } | 861 } |
| 862 | 862 |
| 863 buildUnnamed998() { | 863 buildUnnamed1024() { |
| 864 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); | 864 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); |
| 865 o.add(buildDictlayerdataDictWordsSensesDefinitions()); | 865 o.add(buildDictlayerdataDictWordsSensesDefinitions()); |
| 866 o.add(buildDictlayerdataDictWordsSensesDefinitions()); | 866 o.add(buildDictlayerdataDictWordsSensesDefinitions()); |
| 867 return o; | 867 return o; |
| 868 } | 868 } |
| 869 | 869 |
| 870 checkUnnamed998(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { | 870 checkUnnamed1024(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { |
| 871 unittest.expect(o, unittest.hasLength(2)); | 871 unittest.expect(o, unittest.hasLength(2)); |
| 872 checkDictlayerdataDictWordsSensesDefinitions(o[0]); | 872 checkDictlayerdataDictWordsSensesDefinitions(o[0]); |
| 873 checkDictlayerdataDictWordsSensesDefinitions(o[1]); | 873 checkDictlayerdataDictWordsSensesDefinitions(o[1]); |
| 874 } | 874 } |
| 875 | 875 |
| 876 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; | 876 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; |
| 877 buildDictlayerdataDictWordsSensesSource() { | 877 buildDictlayerdataDictWordsSensesSource() { |
| 878 var o = new api.DictlayerdataDictWordsSensesSource(); | 878 var o = new api.DictlayerdataDictWordsSensesSource(); |
| 879 buildCounterDictlayerdataDictWordsSensesSource++; | 879 buildCounterDictlayerdataDictWordsSensesSource++; |
| 880 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { | 880 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 | 929 |
| 930 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
ms o) { | 930 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
ms o) { |
| 931 buildCounterDictlayerdataDictWordsSensesSynonyms++; | 931 buildCounterDictlayerdataDictWordsSensesSynonyms++; |
| 932 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { | 932 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { |
| 933 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); | 933 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); |
| 934 unittest.expect(o.text, unittest.equals('foo')); | 934 unittest.expect(o.text, unittest.equals('foo')); |
| 935 } | 935 } |
| 936 buildCounterDictlayerdataDictWordsSensesSynonyms--; | 936 buildCounterDictlayerdataDictWordsSensesSynonyms--; |
| 937 } | 937 } |
| 938 | 938 |
| 939 buildUnnamed999() { | 939 buildUnnamed1025() { |
| 940 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); | 940 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); |
| 941 o.add(buildDictlayerdataDictWordsSensesSynonyms()); | 941 o.add(buildDictlayerdataDictWordsSensesSynonyms()); |
| 942 o.add(buildDictlayerdataDictWordsSensesSynonyms()); | 942 o.add(buildDictlayerdataDictWordsSensesSynonyms()); |
| 943 return o; | 943 return o; |
| 944 } | 944 } |
| 945 | 945 |
| 946 checkUnnamed999(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { | 946 checkUnnamed1025(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { |
| 947 unittest.expect(o, unittest.hasLength(2)); | 947 unittest.expect(o, unittest.hasLength(2)); |
| 948 checkDictlayerdataDictWordsSensesSynonyms(o[0]); | 948 checkDictlayerdataDictWordsSensesSynonyms(o[0]); |
| 949 checkDictlayerdataDictWordsSensesSynonyms(o[1]); | 949 checkDictlayerdataDictWordsSensesSynonyms(o[1]); |
| 950 } | 950 } |
| 951 | 951 |
| 952 core.int buildCounterDictlayerdataDictWordsSenses = 0; | 952 core.int buildCounterDictlayerdataDictWordsSenses = 0; |
| 953 buildDictlayerdataDictWordsSenses() { | 953 buildDictlayerdataDictWordsSenses() { |
| 954 var o = new api.DictlayerdataDictWordsSenses(); | 954 var o = new api.DictlayerdataDictWordsSenses(); |
| 955 buildCounterDictlayerdataDictWordsSenses++; | 955 buildCounterDictlayerdataDictWordsSenses++; |
| 956 if (buildCounterDictlayerdataDictWordsSenses < 3) { | 956 if (buildCounterDictlayerdataDictWordsSenses < 3) { |
| 957 o.conjugations = buildUnnamed996(); | 957 o.conjugations = buildUnnamed1022(); |
| 958 o.definitions = buildUnnamed998(); | 958 o.definitions = buildUnnamed1024(); |
| 959 o.partOfSpeech = "foo"; | 959 o.partOfSpeech = "foo"; |
| 960 o.pronunciation = "foo"; | 960 o.pronunciation = "foo"; |
| 961 o.pronunciationUrl = "foo"; | 961 o.pronunciationUrl = "foo"; |
| 962 o.source = buildDictlayerdataDictWordsSensesSource(); | 962 o.source = buildDictlayerdataDictWordsSensesSource(); |
| 963 o.syllabification = "foo"; | 963 o.syllabification = "foo"; |
| 964 o.synonyms = buildUnnamed999(); | 964 o.synonyms = buildUnnamed1025(); |
| 965 } | 965 } |
| 966 buildCounterDictlayerdataDictWordsSenses--; | 966 buildCounterDictlayerdataDictWordsSenses--; |
| 967 return o; | 967 return o; |
| 968 } | 968 } |
| 969 | 969 |
| 970 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { | 970 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { |
| 971 buildCounterDictlayerdataDictWordsSenses++; | 971 buildCounterDictlayerdataDictWordsSenses++; |
| 972 if (buildCounterDictlayerdataDictWordsSenses < 3) { | 972 if (buildCounterDictlayerdataDictWordsSenses < 3) { |
| 973 checkUnnamed996(o.conjugations); | 973 checkUnnamed1022(o.conjugations); |
| 974 checkUnnamed998(o.definitions); | 974 checkUnnamed1024(o.definitions); |
| 975 unittest.expect(o.partOfSpeech, unittest.equals('foo')); | 975 unittest.expect(o.partOfSpeech, unittest.equals('foo')); |
| 976 unittest.expect(o.pronunciation, unittest.equals('foo')); | 976 unittest.expect(o.pronunciation, unittest.equals('foo')); |
| 977 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); | 977 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); |
| 978 checkDictlayerdataDictWordsSensesSource(o.source); | 978 checkDictlayerdataDictWordsSensesSource(o.source); |
| 979 unittest.expect(o.syllabification, unittest.equals('foo')); | 979 unittest.expect(o.syllabification, unittest.equals('foo')); |
| 980 checkUnnamed999(o.synonyms); | 980 checkUnnamed1025(o.synonyms); |
| 981 } | 981 } |
| 982 buildCounterDictlayerdataDictWordsSenses--; | 982 buildCounterDictlayerdataDictWordsSenses--; |
| 983 } | 983 } |
| 984 | 984 |
| 985 buildUnnamed1000() { | 985 buildUnnamed1026() { |
| 986 var o = new core.List<api.DictlayerdataDictWordsSenses>(); | 986 var o = new core.List<api.DictlayerdataDictWordsSenses>(); |
| 987 o.add(buildDictlayerdataDictWordsSenses()); | 987 o.add(buildDictlayerdataDictWordsSenses()); |
| 988 o.add(buildDictlayerdataDictWordsSenses()); | 988 o.add(buildDictlayerdataDictWordsSenses()); |
| 989 return o; | 989 return o; |
| 990 } | 990 } |
| 991 | 991 |
| 992 checkUnnamed1000(core.List<api.DictlayerdataDictWordsSenses> o) { | 992 checkUnnamed1026(core.List<api.DictlayerdataDictWordsSenses> o) { |
| 993 unittest.expect(o, unittest.hasLength(2)); | 993 unittest.expect(o, unittest.hasLength(2)); |
| 994 checkDictlayerdataDictWordsSenses(o[0]); | 994 checkDictlayerdataDictWordsSenses(o[0]); |
| 995 checkDictlayerdataDictWordsSenses(o[1]); | 995 checkDictlayerdataDictWordsSenses(o[1]); |
| 996 } | 996 } |
| 997 | 997 |
| 998 core.int buildCounterDictlayerdataDictWordsSource = 0; | 998 core.int buildCounterDictlayerdataDictWordsSource = 0; |
| 999 buildDictlayerdataDictWordsSource() { | 999 buildDictlayerdataDictWordsSource() { |
| 1000 var o = new api.DictlayerdataDictWordsSource(); | 1000 var o = new api.DictlayerdataDictWordsSource(); |
| 1001 buildCounterDictlayerdataDictWordsSource++; | 1001 buildCounterDictlayerdataDictWordsSource++; |
| 1002 if (buildCounterDictlayerdataDictWordsSource < 3) { | 1002 if (buildCounterDictlayerdataDictWordsSource < 3) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1014 unittest.expect(o.url, unittest.equals('foo')); | 1014 unittest.expect(o.url, unittest.equals('foo')); |
| 1015 } | 1015 } |
| 1016 buildCounterDictlayerdataDictWordsSource--; | 1016 buildCounterDictlayerdataDictWordsSource--; |
| 1017 } | 1017 } |
| 1018 | 1018 |
| 1019 core.int buildCounterDictlayerdataDictWords = 0; | 1019 core.int buildCounterDictlayerdataDictWords = 0; |
| 1020 buildDictlayerdataDictWords() { | 1020 buildDictlayerdataDictWords() { |
| 1021 var o = new api.DictlayerdataDictWords(); | 1021 var o = new api.DictlayerdataDictWords(); |
| 1022 buildCounterDictlayerdataDictWords++; | 1022 buildCounterDictlayerdataDictWords++; |
| 1023 if (buildCounterDictlayerdataDictWords < 3) { | 1023 if (buildCounterDictlayerdataDictWords < 3) { |
| 1024 o.derivatives = buildUnnamed994(); | 1024 o.derivatives = buildUnnamed1020(); |
| 1025 o.examples = buildUnnamed995(); | 1025 o.examples = buildUnnamed1021(); |
| 1026 o.senses = buildUnnamed1000(); | 1026 o.senses = buildUnnamed1026(); |
| 1027 o.source = buildDictlayerdataDictWordsSource(); | 1027 o.source = buildDictlayerdataDictWordsSource(); |
| 1028 } | 1028 } |
| 1029 buildCounterDictlayerdataDictWords--; | 1029 buildCounterDictlayerdataDictWords--; |
| 1030 return o; | 1030 return o; |
| 1031 } | 1031 } |
| 1032 | 1032 |
| 1033 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { | 1033 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { |
| 1034 buildCounterDictlayerdataDictWords++; | 1034 buildCounterDictlayerdataDictWords++; |
| 1035 if (buildCounterDictlayerdataDictWords < 3) { | 1035 if (buildCounterDictlayerdataDictWords < 3) { |
| 1036 checkUnnamed994(o.derivatives); | 1036 checkUnnamed1020(o.derivatives); |
| 1037 checkUnnamed995(o.examples); | 1037 checkUnnamed1021(o.examples); |
| 1038 checkUnnamed1000(o.senses); | 1038 checkUnnamed1026(o.senses); |
| 1039 checkDictlayerdataDictWordsSource(o.source); | 1039 checkDictlayerdataDictWordsSource(o.source); |
| 1040 } | 1040 } |
| 1041 buildCounterDictlayerdataDictWords--; | 1041 buildCounterDictlayerdataDictWords--; |
| 1042 } | 1042 } |
| 1043 | 1043 |
| 1044 buildUnnamed1001() { | 1044 buildUnnamed1027() { |
| 1045 var o = new core.List<api.DictlayerdataDictWords>(); | 1045 var o = new core.List<api.DictlayerdataDictWords>(); |
| 1046 o.add(buildDictlayerdataDictWords()); | 1046 o.add(buildDictlayerdataDictWords()); |
| 1047 o.add(buildDictlayerdataDictWords()); | 1047 o.add(buildDictlayerdataDictWords()); |
| 1048 return o; | 1048 return o; |
| 1049 } | 1049 } |
| 1050 | 1050 |
| 1051 checkUnnamed1001(core.List<api.DictlayerdataDictWords> o) { | 1051 checkUnnamed1027(core.List<api.DictlayerdataDictWords> o) { |
| 1052 unittest.expect(o, unittest.hasLength(2)); | 1052 unittest.expect(o, unittest.hasLength(2)); |
| 1053 checkDictlayerdataDictWords(o[0]); | 1053 checkDictlayerdataDictWords(o[0]); |
| 1054 checkDictlayerdataDictWords(o[1]); | 1054 checkDictlayerdataDictWords(o[1]); |
| 1055 } | 1055 } |
| 1056 | 1056 |
| 1057 core.int buildCounterDictlayerdataDict = 0; | 1057 core.int buildCounterDictlayerdataDict = 0; |
| 1058 buildDictlayerdataDict() { | 1058 buildDictlayerdataDict() { |
| 1059 var o = new api.DictlayerdataDict(); | 1059 var o = new api.DictlayerdataDict(); |
| 1060 buildCounterDictlayerdataDict++; | 1060 buildCounterDictlayerdataDict++; |
| 1061 if (buildCounterDictlayerdataDict < 3) { | 1061 if (buildCounterDictlayerdataDict < 3) { |
| 1062 o.source = buildDictlayerdataDictSource(); | 1062 o.source = buildDictlayerdataDictSource(); |
| 1063 o.words = buildUnnamed1001(); | 1063 o.words = buildUnnamed1027(); |
| 1064 } | 1064 } |
| 1065 buildCounterDictlayerdataDict--; | 1065 buildCounterDictlayerdataDict--; |
| 1066 return o; | 1066 return o; |
| 1067 } | 1067 } |
| 1068 | 1068 |
| 1069 checkDictlayerdataDict(api.DictlayerdataDict o) { | 1069 checkDictlayerdataDict(api.DictlayerdataDict o) { |
| 1070 buildCounterDictlayerdataDict++; | 1070 buildCounterDictlayerdataDict++; |
| 1071 if (buildCounterDictlayerdataDict < 3) { | 1071 if (buildCounterDictlayerdataDict < 3) { |
| 1072 checkDictlayerdataDictSource(o.source); | 1072 checkDictlayerdataDictSource(o.source); |
| 1073 checkUnnamed1001(o.words); | 1073 checkUnnamed1027(o.words); |
| 1074 } | 1074 } |
| 1075 buildCounterDictlayerdataDict--; | 1075 buildCounterDictlayerdataDict--; |
| 1076 } | 1076 } |
| 1077 | 1077 |
| 1078 core.int buildCounterDictlayerdata = 0; | 1078 core.int buildCounterDictlayerdata = 0; |
| 1079 buildDictlayerdata() { | 1079 buildDictlayerdata() { |
| 1080 var o = new api.Dictlayerdata(); | 1080 var o = new api.Dictlayerdata(); |
| 1081 buildCounterDictlayerdata++; | 1081 buildCounterDictlayerdata++; |
| 1082 if (buildCounterDictlayerdata < 3) { | 1082 if (buildCounterDictlayerdata < 3) { |
| 1083 o.common = buildDictlayerdataCommon(); | 1083 o.common = buildDictlayerdataCommon(); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1120 unittest.expect(o.fillColorArgb, unittest.equals('foo')); | 1120 unittest.expect(o.fillColorArgb, unittest.equals('foo')); |
| 1121 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1121 unittest.expect(o.imageUrl, unittest.equals('foo')); |
| 1122 unittest.expect(o.maskColorArgb, unittest.equals('foo')); | 1122 unittest.expect(o.maskColorArgb, unittest.equals('foo')); |
| 1123 unittest.expect(o.moreButtonText, unittest.equals('foo')); | 1123 unittest.expect(o.moreButtonText, unittest.equals('foo')); |
| 1124 unittest.expect(o.moreButtonUrl, unittest.equals('foo')); | 1124 unittest.expect(o.moreButtonUrl, unittest.equals('foo')); |
| 1125 unittest.expect(o.textColorArgb, unittest.equals('foo')); | 1125 unittest.expect(o.textColorArgb, unittest.equals('foo')); |
| 1126 } | 1126 } |
| 1127 buildCounterDiscoveryclustersClustersBannerWithContentContainer--; | 1127 buildCounterDiscoveryclustersClustersBannerWithContentContainer--; |
| 1128 } | 1128 } |
| 1129 | 1129 |
| 1130 buildUnnamed1002() { | 1130 buildUnnamed1028() { |
| 1131 var o = new core.List<api.Volume>(); | 1131 var o = new core.List<api.Volume>(); |
| 1132 o.add(buildVolume()); | 1132 o.add(buildVolume()); |
| 1133 o.add(buildVolume()); | 1133 o.add(buildVolume()); |
| 1134 return o; | 1134 return o; |
| 1135 } | 1135 } |
| 1136 | 1136 |
| 1137 checkUnnamed1002(core.List<api.Volume> o) { | 1137 checkUnnamed1028(core.List<api.Volume> o) { |
| 1138 unittest.expect(o, unittest.hasLength(2)); | 1138 unittest.expect(o, unittest.hasLength(2)); |
| 1139 checkVolume(o[0]); | 1139 checkVolume(o[0]); |
| 1140 checkVolume(o[1]); | 1140 checkVolume(o[1]); |
| 1141 } | 1141 } |
| 1142 | 1142 |
| 1143 core.int buildCounterDiscoveryclustersClusters = 0; | 1143 core.int buildCounterDiscoveryclustersClusters = 0; |
| 1144 buildDiscoveryclustersClusters() { | 1144 buildDiscoveryclustersClusters() { |
| 1145 var o = new api.DiscoveryclustersClusters(); | 1145 var o = new api.DiscoveryclustersClusters(); |
| 1146 buildCounterDiscoveryclustersClusters++; | 1146 buildCounterDiscoveryclustersClusters++; |
| 1147 if (buildCounterDiscoveryclustersClusters < 3) { | 1147 if (buildCounterDiscoveryclustersClusters < 3) { |
| 1148 o.bannerWithContentContainer = buildDiscoveryclustersClustersBannerWithConte
ntContainer(); | 1148 o.bannerWithContentContainer = buildDiscoveryclustersClustersBannerWithConte
ntContainer(); |
| 1149 o.subTitle = "foo"; | 1149 o.subTitle = "foo"; |
| 1150 o.title = "foo"; | 1150 o.title = "foo"; |
| 1151 o.totalVolumes = 42; | 1151 o.totalVolumes = 42; |
| 1152 o.uid = "foo"; | 1152 o.uid = "foo"; |
| 1153 o.volumes = buildUnnamed1002(); | 1153 o.volumes = buildUnnamed1028(); |
| 1154 } | 1154 } |
| 1155 buildCounterDiscoveryclustersClusters--; | 1155 buildCounterDiscoveryclustersClusters--; |
| 1156 return o; | 1156 return o; |
| 1157 } | 1157 } |
| 1158 | 1158 |
| 1159 checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) { | 1159 checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) { |
| 1160 buildCounterDiscoveryclustersClusters++; | 1160 buildCounterDiscoveryclustersClusters++; |
| 1161 if (buildCounterDiscoveryclustersClusters < 3) { | 1161 if (buildCounterDiscoveryclustersClusters < 3) { |
| 1162 checkDiscoveryclustersClustersBannerWithContentContainer(o.bannerWithContent
Container); | 1162 checkDiscoveryclustersClustersBannerWithContentContainer(o.bannerWithContent
Container); |
| 1163 unittest.expect(o.subTitle, unittest.equals('foo')); | 1163 unittest.expect(o.subTitle, unittest.equals('foo')); |
| 1164 unittest.expect(o.title, unittest.equals('foo')); | 1164 unittest.expect(o.title, unittest.equals('foo')); |
| 1165 unittest.expect(o.totalVolumes, unittest.equals(42)); | 1165 unittest.expect(o.totalVolumes, unittest.equals(42)); |
| 1166 unittest.expect(o.uid, unittest.equals('foo')); | 1166 unittest.expect(o.uid, unittest.equals('foo')); |
| 1167 checkUnnamed1002(o.volumes); | 1167 checkUnnamed1028(o.volumes); |
| 1168 } | 1168 } |
| 1169 buildCounterDiscoveryclustersClusters--; | 1169 buildCounterDiscoveryclustersClusters--; |
| 1170 } | 1170 } |
| 1171 | 1171 |
| 1172 buildUnnamed1003() { | 1172 buildUnnamed1029() { |
| 1173 var o = new core.List<api.DiscoveryclustersClusters>(); | 1173 var o = new core.List<api.DiscoveryclustersClusters>(); |
| 1174 o.add(buildDiscoveryclustersClusters()); | 1174 o.add(buildDiscoveryclustersClusters()); |
| 1175 o.add(buildDiscoveryclustersClusters()); | 1175 o.add(buildDiscoveryclustersClusters()); |
| 1176 return o; | 1176 return o; |
| 1177 } | 1177 } |
| 1178 | 1178 |
| 1179 checkUnnamed1003(core.List<api.DiscoveryclustersClusters> o) { | 1179 checkUnnamed1029(core.List<api.DiscoveryclustersClusters> o) { |
| 1180 unittest.expect(o, unittest.hasLength(2)); | 1180 unittest.expect(o, unittest.hasLength(2)); |
| 1181 checkDiscoveryclustersClusters(o[0]); | 1181 checkDiscoveryclustersClusters(o[0]); |
| 1182 checkDiscoveryclustersClusters(o[1]); | 1182 checkDiscoveryclustersClusters(o[1]); |
| 1183 } | 1183 } |
| 1184 | 1184 |
| 1185 core.int buildCounterDiscoveryclusters = 0; | 1185 core.int buildCounterDiscoveryclusters = 0; |
| 1186 buildDiscoveryclusters() { | 1186 buildDiscoveryclusters() { |
| 1187 var o = new api.Discoveryclusters(); | 1187 var o = new api.Discoveryclusters(); |
| 1188 buildCounterDiscoveryclusters++; | 1188 buildCounterDiscoveryclusters++; |
| 1189 if (buildCounterDiscoveryclusters < 3) { | 1189 if (buildCounterDiscoveryclusters < 3) { |
| 1190 o.clusters = buildUnnamed1003(); | 1190 o.clusters = buildUnnamed1029(); |
| 1191 o.kind = "foo"; | 1191 o.kind = "foo"; |
| 1192 o.totalClusters = 42; | 1192 o.totalClusters = 42; |
| 1193 } | 1193 } |
| 1194 buildCounterDiscoveryclusters--; | 1194 buildCounterDiscoveryclusters--; |
| 1195 return o; | 1195 return o; |
| 1196 } | 1196 } |
| 1197 | 1197 |
| 1198 checkDiscoveryclusters(api.Discoveryclusters o) { | 1198 checkDiscoveryclusters(api.Discoveryclusters o) { |
| 1199 buildCounterDiscoveryclusters++; | 1199 buildCounterDiscoveryclusters++; |
| 1200 if (buildCounterDiscoveryclusters < 3) { | 1200 if (buildCounterDiscoveryclusters < 3) { |
| 1201 checkUnnamed1003(o.clusters); | 1201 checkUnnamed1029(o.clusters); |
| 1202 unittest.expect(o.kind, unittest.equals('foo')); | 1202 unittest.expect(o.kind, unittest.equals('foo')); |
| 1203 unittest.expect(o.totalClusters, unittest.equals(42)); | 1203 unittest.expect(o.totalClusters, unittest.equals(42)); |
| 1204 } | 1204 } |
| 1205 buildCounterDiscoveryclusters--; | 1205 buildCounterDiscoveryclusters--; |
| 1206 } | 1206 } |
| 1207 | 1207 |
| 1208 core.int buildCounterDownloadAccessRestriction = 0; | 1208 core.int buildCounterDownloadAccessRestriction = 0; |
| 1209 buildDownloadAccessRestriction() { | 1209 buildDownloadAccessRestriction() { |
| 1210 var o = new api.DownloadAccessRestriction(); | 1210 var o = new api.DownloadAccessRestriction(); |
| 1211 buildCounterDownloadAccessRestriction++; | 1211 buildCounterDownloadAccessRestriction++; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1239 unittest.expect(o.nonce, unittest.equals('foo')); | 1239 unittest.expect(o.nonce, unittest.equals('foo')); |
| 1240 unittest.expect(o.reasonCode, unittest.equals('foo')); | 1240 unittest.expect(o.reasonCode, unittest.equals('foo')); |
| 1241 unittest.expect(o.restricted, unittest.isTrue); | 1241 unittest.expect(o.restricted, unittest.isTrue); |
| 1242 unittest.expect(o.signature, unittest.equals('foo')); | 1242 unittest.expect(o.signature, unittest.equals('foo')); |
| 1243 unittest.expect(o.source, unittest.equals('foo')); | 1243 unittest.expect(o.source, unittest.equals('foo')); |
| 1244 unittest.expect(o.volumeId, unittest.equals('foo')); | 1244 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 1245 } | 1245 } |
| 1246 buildCounterDownloadAccessRestriction--; | 1246 buildCounterDownloadAccessRestriction--; |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 buildUnnamed1004() { | 1249 buildUnnamed1030() { |
| 1250 var o = new core.List<api.DownloadAccessRestriction>(); | 1250 var o = new core.List<api.DownloadAccessRestriction>(); |
| 1251 o.add(buildDownloadAccessRestriction()); | 1251 o.add(buildDownloadAccessRestriction()); |
| 1252 o.add(buildDownloadAccessRestriction()); | 1252 o.add(buildDownloadAccessRestriction()); |
| 1253 return o; | 1253 return o; |
| 1254 } | 1254 } |
| 1255 | 1255 |
| 1256 checkUnnamed1004(core.List<api.DownloadAccessRestriction> o) { | 1256 checkUnnamed1030(core.List<api.DownloadAccessRestriction> o) { |
| 1257 unittest.expect(o, unittest.hasLength(2)); | 1257 unittest.expect(o, unittest.hasLength(2)); |
| 1258 checkDownloadAccessRestriction(o[0]); | 1258 checkDownloadAccessRestriction(o[0]); |
| 1259 checkDownloadAccessRestriction(o[1]); | 1259 checkDownloadAccessRestriction(o[1]); |
| 1260 } | 1260 } |
| 1261 | 1261 |
| 1262 core.int buildCounterDownloadAccesses = 0; | 1262 core.int buildCounterDownloadAccesses = 0; |
| 1263 buildDownloadAccesses() { | 1263 buildDownloadAccesses() { |
| 1264 var o = new api.DownloadAccesses(); | 1264 var o = new api.DownloadAccesses(); |
| 1265 buildCounterDownloadAccesses++; | 1265 buildCounterDownloadAccesses++; |
| 1266 if (buildCounterDownloadAccesses < 3) { | 1266 if (buildCounterDownloadAccesses < 3) { |
| 1267 o.downloadAccessList = buildUnnamed1004(); | 1267 o.downloadAccessList = buildUnnamed1030(); |
| 1268 o.kind = "foo"; | 1268 o.kind = "foo"; |
| 1269 } | 1269 } |
| 1270 buildCounterDownloadAccesses--; | 1270 buildCounterDownloadAccesses--; |
| 1271 return o; | 1271 return o; |
| 1272 } | 1272 } |
| 1273 | 1273 |
| 1274 checkDownloadAccesses(api.DownloadAccesses o) { | 1274 checkDownloadAccesses(api.DownloadAccesses o) { |
| 1275 buildCounterDownloadAccesses++; | 1275 buildCounterDownloadAccesses++; |
| 1276 if (buildCounterDownloadAccesses < 3) { | 1276 if (buildCounterDownloadAccesses < 3) { |
| 1277 checkUnnamed1004(o.downloadAccessList); | 1277 checkUnnamed1030(o.downloadAccessList); |
| 1278 unittest.expect(o.kind, unittest.equals('foo')); | 1278 unittest.expect(o.kind, unittest.equals('foo')); |
| 1279 } | 1279 } |
| 1280 buildCounterDownloadAccesses--; | 1280 buildCounterDownloadAccesses--; |
| 1281 } | 1281 } |
| 1282 | 1282 |
| 1283 core.int buildCounterGeolayerdataCommon = 0; | 1283 core.int buildCounterGeolayerdataCommon = 0; |
| 1284 buildGeolayerdataCommon() { | 1284 buildGeolayerdataCommon() { |
| 1285 var o = new api.GeolayerdataCommon(); | 1285 var o = new api.GeolayerdataCommon(); |
| 1286 buildCounterGeolayerdataCommon++; | 1286 buildCounterGeolayerdataCommon++; |
| 1287 if (buildCounterGeolayerdataCommon < 3) { | 1287 if (buildCounterGeolayerdataCommon < 3) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 | 1321 |
| 1322 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { | 1322 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { |
| 1323 buildCounterGeolayerdataGeoBoundary++; | 1323 buildCounterGeolayerdataGeoBoundary++; |
| 1324 if (buildCounterGeolayerdataGeoBoundary < 3) { | 1324 if (buildCounterGeolayerdataGeoBoundary < 3) { |
| 1325 unittest.expect(o.latitude, unittest.equals(42)); | 1325 unittest.expect(o.latitude, unittest.equals(42)); |
| 1326 unittest.expect(o.longitude, unittest.equals(42)); | 1326 unittest.expect(o.longitude, unittest.equals(42)); |
| 1327 } | 1327 } |
| 1328 buildCounterGeolayerdataGeoBoundary--; | 1328 buildCounterGeolayerdataGeoBoundary--; |
| 1329 } | 1329 } |
| 1330 | 1330 |
| 1331 buildUnnamed1005() { | 1331 buildUnnamed1031() { |
| 1332 var o = new core.List<api.GeolayerdataGeoBoundary>(); | 1332 var o = new core.List<api.GeolayerdataGeoBoundary>(); |
| 1333 o.add(buildGeolayerdataGeoBoundary()); | 1333 o.add(buildGeolayerdataGeoBoundary()); |
| 1334 o.add(buildGeolayerdataGeoBoundary()); | 1334 o.add(buildGeolayerdataGeoBoundary()); |
| 1335 return o; | 1335 return o; |
| 1336 } | 1336 } |
| 1337 | 1337 |
| 1338 checkUnnamed1005(core.List<api.GeolayerdataGeoBoundary> o) { | 1338 checkUnnamed1031(core.List<api.GeolayerdataGeoBoundary> o) { |
| 1339 unittest.expect(o, unittest.hasLength(2)); | 1339 unittest.expect(o, unittest.hasLength(2)); |
| 1340 checkGeolayerdataGeoBoundary(o[0]); | 1340 checkGeolayerdataGeoBoundary(o[0]); |
| 1341 checkGeolayerdataGeoBoundary(o[1]); | 1341 checkGeolayerdataGeoBoundary(o[1]); |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 buildUnnamed1006() { | 1344 buildUnnamed1032() { |
| 1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); | 1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); |
| 1346 o.add(buildUnnamed1005()); | 1346 o.add(buildUnnamed1031()); |
| 1347 o.add(buildUnnamed1005()); | 1347 o.add(buildUnnamed1031()); |
| 1348 return o; | 1348 return o; |
| 1349 } | 1349 } |
| 1350 | 1350 |
| 1351 checkUnnamed1006(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { | 1351 checkUnnamed1032(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { |
| 1352 unittest.expect(o, unittest.hasLength(2)); | 1352 unittest.expect(o, unittest.hasLength(2)); |
| 1353 checkUnnamed1005(o[0]); | 1353 checkUnnamed1031(o[0]); |
| 1354 checkUnnamed1005(o[1]); | 1354 checkUnnamed1031(o[1]); |
| 1355 } | 1355 } |
| 1356 | 1356 |
| 1357 core.int buildCounterGeolayerdataGeoViewportHi = 0; | 1357 core.int buildCounterGeolayerdataGeoViewportHi = 0; |
| 1358 buildGeolayerdataGeoViewportHi() { | 1358 buildGeolayerdataGeoViewportHi() { |
| 1359 var o = new api.GeolayerdataGeoViewportHi(); | 1359 var o = new api.GeolayerdataGeoViewportHi(); |
| 1360 buildCounterGeolayerdataGeoViewportHi++; | 1360 buildCounterGeolayerdataGeoViewportHi++; |
| 1361 if (buildCounterGeolayerdataGeoViewportHi < 3) { | 1361 if (buildCounterGeolayerdataGeoViewportHi < 3) { |
| 1362 o.latitude = 42.0; | 1362 o.latitude = 42.0; |
| 1363 o.longitude = 42.0; | 1363 o.longitude = 42.0; |
| 1364 } | 1364 } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1415 checkGeolayerdataGeoViewportLo(o.lo); | 1415 checkGeolayerdataGeoViewportLo(o.lo); |
| 1416 } | 1416 } |
| 1417 buildCounterGeolayerdataGeoViewport--; | 1417 buildCounterGeolayerdataGeoViewport--; |
| 1418 } | 1418 } |
| 1419 | 1419 |
| 1420 core.int buildCounterGeolayerdataGeo = 0; | 1420 core.int buildCounterGeolayerdataGeo = 0; |
| 1421 buildGeolayerdataGeo() { | 1421 buildGeolayerdataGeo() { |
| 1422 var o = new api.GeolayerdataGeo(); | 1422 var o = new api.GeolayerdataGeo(); |
| 1423 buildCounterGeolayerdataGeo++; | 1423 buildCounterGeolayerdataGeo++; |
| 1424 if (buildCounterGeolayerdataGeo < 3) { | 1424 if (buildCounterGeolayerdataGeo < 3) { |
| 1425 o.boundary = buildUnnamed1006(); | 1425 o.boundary = buildUnnamed1032(); |
| 1426 o.cachePolicy = "foo"; | 1426 o.cachePolicy = "foo"; |
| 1427 o.countryCode = "foo"; | 1427 o.countryCode = "foo"; |
| 1428 o.latitude = 42.0; | 1428 o.latitude = 42.0; |
| 1429 o.longitude = 42.0; | 1429 o.longitude = 42.0; |
| 1430 o.mapType = "foo"; | 1430 o.mapType = "foo"; |
| 1431 o.viewport = buildGeolayerdataGeoViewport(); | 1431 o.viewport = buildGeolayerdataGeoViewport(); |
| 1432 o.zoom = 42; | 1432 o.zoom = 42; |
| 1433 } | 1433 } |
| 1434 buildCounterGeolayerdataGeo--; | 1434 buildCounterGeolayerdataGeo--; |
| 1435 return o; | 1435 return o; |
| 1436 } | 1436 } |
| 1437 | 1437 |
| 1438 checkGeolayerdataGeo(api.GeolayerdataGeo o) { | 1438 checkGeolayerdataGeo(api.GeolayerdataGeo o) { |
| 1439 buildCounterGeolayerdataGeo++; | 1439 buildCounterGeolayerdataGeo++; |
| 1440 if (buildCounterGeolayerdataGeo < 3) { | 1440 if (buildCounterGeolayerdataGeo < 3) { |
| 1441 checkUnnamed1006(o.boundary); | 1441 checkUnnamed1032(o.boundary); |
| 1442 unittest.expect(o.cachePolicy, unittest.equals('foo')); | 1442 unittest.expect(o.cachePolicy, unittest.equals('foo')); |
| 1443 unittest.expect(o.countryCode, unittest.equals('foo')); | 1443 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 1444 unittest.expect(o.latitude, unittest.equals(42.0)); | 1444 unittest.expect(o.latitude, unittest.equals(42.0)); |
| 1445 unittest.expect(o.longitude, unittest.equals(42.0)); | 1445 unittest.expect(o.longitude, unittest.equals(42.0)); |
| 1446 unittest.expect(o.mapType, unittest.equals('foo')); | 1446 unittest.expect(o.mapType, unittest.equals('foo')); |
| 1447 checkGeolayerdataGeoViewport(o.viewport); | 1447 checkGeolayerdataGeoViewport(o.viewport); |
| 1448 unittest.expect(o.zoom, unittest.equals(42)); | 1448 unittest.expect(o.zoom, unittest.equals(42)); |
| 1449 } | 1449 } |
| 1450 buildCounterGeolayerdataGeo--; | 1450 buildCounterGeolayerdataGeo--; |
| 1451 } | 1451 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1466 checkGeolayerdata(api.Geolayerdata o) { | 1466 checkGeolayerdata(api.Geolayerdata o) { |
| 1467 buildCounterGeolayerdata++; | 1467 buildCounterGeolayerdata++; |
| 1468 if (buildCounterGeolayerdata < 3) { | 1468 if (buildCounterGeolayerdata < 3) { |
| 1469 checkGeolayerdataCommon(o.common); | 1469 checkGeolayerdataCommon(o.common); |
| 1470 checkGeolayerdataGeo(o.geo); | 1470 checkGeolayerdataGeo(o.geo); |
| 1471 unittest.expect(o.kind, unittest.equals('foo')); | 1471 unittest.expect(o.kind, unittest.equals('foo')); |
| 1472 } | 1472 } |
| 1473 buildCounterGeolayerdata--; | 1473 buildCounterGeolayerdata--; |
| 1474 } | 1474 } |
| 1475 | 1475 |
| 1476 buildUnnamed1007() { | 1476 buildUnnamed1033() { |
| 1477 var o = new core.List<api.Layersummary>(); | 1477 var o = new core.List<api.Layersummary>(); |
| 1478 o.add(buildLayersummary()); | 1478 o.add(buildLayersummary()); |
| 1479 o.add(buildLayersummary()); | 1479 o.add(buildLayersummary()); |
| 1480 return o; | 1480 return o; |
| 1481 } | 1481 } |
| 1482 | 1482 |
| 1483 checkUnnamed1007(core.List<api.Layersummary> o) { | 1483 checkUnnamed1033(core.List<api.Layersummary> o) { |
| 1484 unittest.expect(o, unittest.hasLength(2)); | 1484 unittest.expect(o, unittest.hasLength(2)); |
| 1485 checkLayersummary(o[0]); | 1485 checkLayersummary(o[0]); |
| 1486 checkLayersummary(o[1]); | 1486 checkLayersummary(o[1]); |
| 1487 } | 1487 } |
| 1488 | 1488 |
| 1489 core.int buildCounterLayersummaries = 0; | 1489 core.int buildCounterLayersummaries = 0; |
| 1490 buildLayersummaries() { | 1490 buildLayersummaries() { |
| 1491 var o = new api.Layersummaries(); | 1491 var o = new api.Layersummaries(); |
| 1492 buildCounterLayersummaries++; | 1492 buildCounterLayersummaries++; |
| 1493 if (buildCounterLayersummaries < 3) { | 1493 if (buildCounterLayersummaries < 3) { |
| 1494 o.items = buildUnnamed1007(); | 1494 o.items = buildUnnamed1033(); |
| 1495 o.kind = "foo"; | 1495 o.kind = "foo"; |
| 1496 o.totalItems = 42; | 1496 o.totalItems = 42; |
| 1497 } | 1497 } |
| 1498 buildCounterLayersummaries--; | 1498 buildCounterLayersummaries--; |
| 1499 return o; | 1499 return o; |
| 1500 } | 1500 } |
| 1501 | 1501 |
| 1502 checkLayersummaries(api.Layersummaries o) { | 1502 checkLayersummaries(api.Layersummaries o) { |
| 1503 buildCounterLayersummaries++; | 1503 buildCounterLayersummaries++; |
| 1504 if (buildCounterLayersummaries < 3) { | 1504 if (buildCounterLayersummaries < 3) { |
| 1505 checkUnnamed1007(o.items); | 1505 checkUnnamed1033(o.items); |
| 1506 unittest.expect(o.kind, unittest.equals('foo')); | 1506 unittest.expect(o.kind, unittest.equals('foo')); |
| 1507 unittest.expect(o.totalItems, unittest.equals(42)); | 1507 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1508 } | 1508 } |
| 1509 buildCounterLayersummaries--; | 1509 buildCounterLayersummaries--; |
| 1510 } | 1510 } |
| 1511 | 1511 |
| 1512 buildUnnamed1008() { | 1512 buildUnnamed1034() { |
| 1513 var o = new core.List<core.String>(); | 1513 var o = new core.List<core.String>(); |
| 1514 o.add("foo"); | 1514 o.add("foo"); |
| 1515 o.add("foo"); | 1515 o.add("foo"); |
| 1516 return o; | 1516 return o; |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 checkUnnamed1008(core.List<core.String> o) { | 1519 checkUnnamed1034(core.List<core.String> o) { |
| 1520 unittest.expect(o, unittest.hasLength(2)); | 1520 unittest.expect(o, unittest.hasLength(2)); |
| 1521 unittest.expect(o[0], unittest.equals('foo')); | 1521 unittest.expect(o[0], unittest.equals('foo')); |
| 1522 unittest.expect(o[1], unittest.equals('foo')); | 1522 unittest.expect(o[1], unittest.equals('foo')); |
| 1523 } | 1523 } |
| 1524 | 1524 |
| 1525 core.int buildCounterLayersummary = 0; | 1525 core.int buildCounterLayersummary = 0; |
| 1526 buildLayersummary() { | 1526 buildLayersummary() { |
| 1527 var o = new api.Layersummary(); | 1527 var o = new api.Layersummary(); |
| 1528 buildCounterLayersummary++; | 1528 buildCounterLayersummary++; |
| 1529 if (buildCounterLayersummary < 3) { | 1529 if (buildCounterLayersummary < 3) { |
| 1530 o.annotationCount = 42; | 1530 o.annotationCount = 42; |
| 1531 o.annotationTypes = buildUnnamed1008(); | 1531 o.annotationTypes = buildUnnamed1034(); |
| 1532 o.annotationsDataLink = "foo"; | 1532 o.annotationsDataLink = "foo"; |
| 1533 o.annotationsLink = "foo"; | 1533 o.annotationsLink = "foo"; |
| 1534 o.contentVersion = "foo"; | 1534 o.contentVersion = "foo"; |
| 1535 o.dataCount = 42; | 1535 o.dataCount = 42; |
| 1536 o.id = "foo"; | 1536 o.id = "foo"; |
| 1537 o.kind = "foo"; | 1537 o.kind = "foo"; |
| 1538 o.layerId = "foo"; | 1538 o.layerId = "foo"; |
| 1539 o.selfLink = "foo"; | 1539 o.selfLink = "foo"; |
| 1540 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1540 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1541 o.volumeAnnotationsVersion = "foo"; | 1541 o.volumeAnnotationsVersion = "foo"; |
| 1542 o.volumeId = "foo"; | 1542 o.volumeId = "foo"; |
| 1543 } | 1543 } |
| 1544 buildCounterLayersummary--; | 1544 buildCounterLayersummary--; |
| 1545 return o; | 1545 return o; |
| 1546 } | 1546 } |
| 1547 | 1547 |
| 1548 checkLayersummary(api.Layersummary o) { | 1548 checkLayersummary(api.Layersummary o) { |
| 1549 buildCounterLayersummary++; | 1549 buildCounterLayersummary++; |
| 1550 if (buildCounterLayersummary < 3) { | 1550 if (buildCounterLayersummary < 3) { |
| 1551 unittest.expect(o.annotationCount, unittest.equals(42)); | 1551 unittest.expect(o.annotationCount, unittest.equals(42)); |
| 1552 checkUnnamed1008(o.annotationTypes); | 1552 checkUnnamed1034(o.annotationTypes); |
| 1553 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); | 1553 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); |
| 1554 unittest.expect(o.annotationsLink, unittest.equals('foo')); | 1554 unittest.expect(o.annotationsLink, unittest.equals('foo')); |
| 1555 unittest.expect(o.contentVersion, unittest.equals('foo')); | 1555 unittest.expect(o.contentVersion, unittest.equals('foo')); |
| 1556 unittest.expect(o.dataCount, unittest.equals(42)); | 1556 unittest.expect(o.dataCount, unittest.equals(42)); |
| 1557 unittest.expect(o.id, unittest.equals('foo')); | 1557 unittest.expect(o.id, unittest.equals('foo')); |
| 1558 unittest.expect(o.kind, unittest.equals('foo')); | 1558 unittest.expect(o.kind, unittest.equals('foo')); |
| 1559 unittest.expect(o.layerId, unittest.equals('foo')); | 1559 unittest.expect(o.layerId, unittest.equals('foo')); |
| 1560 unittest.expect(o.selfLink, unittest.equals('foo')); | 1560 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1561 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1561 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 1562 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 1562 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1585 if (buildCounterMetadataItems < 3) { | 1585 if (buildCounterMetadataItems < 3) { |
| 1586 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1586 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
| 1587 unittest.expect(o.encryptedKey, unittest.equals('foo')); | 1587 unittest.expect(o.encryptedKey, unittest.equals('foo')); |
| 1588 unittest.expect(o.language, unittest.equals('foo')); | 1588 unittest.expect(o.language, unittest.equals('foo')); |
| 1589 unittest.expect(o.size, unittest.equals('foo')); | 1589 unittest.expect(o.size, unittest.equals('foo')); |
| 1590 unittest.expect(o.version, unittest.equals('foo')); | 1590 unittest.expect(o.version, unittest.equals('foo')); |
| 1591 } | 1591 } |
| 1592 buildCounterMetadataItems--; | 1592 buildCounterMetadataItems--; |
| 1593 } | 1593 } |
| 1594 | 1594 |
| 1595 buildUnnamed1009() { | 1595 buildUnnamed1035() { |
| 1596 var o = new core.List<api.MetadataItems>(); | 1596 var o = new core.List<api.MetadataItems>(); |
| 1597 o.add(buildMetadataItems()); | 1597 o.add(buildMetadataItems()); |
| 1598 o.add(buildMetadataItems()); | 1598 o.add(buildMetadataItems()); |
| 1599 return o; | 1599 return o; |
| 1600 } | 1600 } |
| 1601 | 1601 |
| 1602 checkUnnamed1009(core.List<api.MetadataItems> o) { | 1602 checkUnnamed1035(core.List<api.MetadataItems> o) { |
| 1603 unittest.expect(o, unittest.hasLength(2)); | 1603 unittest.expect(o, unittest.hasLength(2)); |
| 1604 checkMetadataItems(o[0]); | 1604 checkMetadataItems(o[0]); |
| 1605 checkMetadataItems(o[1]); | 1605 checkMetadataItems(o[1]); |
| 1606 } | 1606 } |
| 1607 | 1607 |
| 1608 core.int buildCounterMetadata = 0; | 1608 core.int buildCounterMetadata = 0; |
| 1609 buildMetadata() { | 1609 buildMetadata() { |
| 1610 var o = new api.Metadata(); | 1610 var o = new api.Metadata(); |
| 1611 buildCounterMetadata++; | 1611 buildCounterMetadata++; |
| 1612 if (buildCounterMetadata < 3) { | 1612 if (buildCounterMetadata < 3) { |
| 1613 o.items = buildUnnamed1009(); | 1613 o.items = buildUnnamed1035(); |
| 1614 o.kind = "foo"; | 1614 o.kind = "foo"; |
| 1615 } | 1615 } |
| 1616 buildCounterMetadata--; | 1616 buildCounterMetadata--; |
| 1617 return o; | 1617 return o; |
| 1618 } | 1618 } |
| 1619 | 1619 |
| 1620 checkMetadata(api.Metadata o) { | 1620 checkMetadata(api.Metadata o) { |
| 1621 buildCounterMetadata++; | 1621 buildCounterMetadata++; |
| 1622 if (buildCounterMetadata < 3) { | 1622 if (buildCounterMetadata < 3) { |
| 1623 checkUnnamed1009(o.items); | 1623 checkUnnamed1035(o.items); |
| 1624 unittest.expect(o.kind, unittest.equals('foo')); | 1624 unittest.expect(o.kind, unittest.equals('foo')); |
| 1625 } | 1625 } |
| 1626 buildCounterMetadata--; | 1626 buildCounterMetadata--; |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 buildUnnamed1010() { | 1629 buildUnnamed1036() { |
| 1630 var o = new core.List<core.String>(); | 1630 var o = new core.List<core.String>(); |
| 1631 o.add("foo"); | 1631 o.add("foo"); |
| 1632 o.add("foo"); | 1632 o.add("foo"); |
| 1633 return o; | 1633 return o; |
| 1634 } | 1634 } |
| 1635 | 1635 |
| 1636 checkUnnamed1010(core.List<core.String> o) { | 1636 checkUnnamed1036(core.List<core.String> o) { |
| 1637 unittest.expect(o, unittest.hasLength(2)); | 1637 unittest.expect(o, unittest.hasLength(2)); |
| 1638 unittest.expect(o[0], unittest.equals('foo')); | 1638 unittest.expect(o[0], unittest.equals('foo')); |
| 1639 unittest.expect(o[1], unittest.equals('foo')); | 1639 unittest.expect(o[1], unittest.equals('foo')); |
| 1640 } | 1640 } |
| 1641 | 1641 |
| 1642 core.int buildCounterNotification = 0; | 1642 core.int buildCounterNotification = 0; |
| 1643 buildNotification() { | 1643 buildNotification() { |
| 1644 var o = new api.Notification(); | 1644 var o = new api.Notification(); |
| 1645 buildCounterNotification++; | 1645 buildCounterNotification++; |
| 1646 if (buildCounterNotification < 3) { | 1646 if (buildCounterNotification < 3) { |
| 1647 o.body = "foo"; | 1647 o.body = "foo"; |
| 1648 o.crmExperimentIds = buildUnnamed1010(); | 1648 o.crmExperimentIds = buildUnnamed1036(); |
| 1649 o.docId = "foo"; | 1649 o.docId = "foo"; |
| 1650 o.docType = "foo"; | 1650 o.docType = "foo"; |
| 1651 o.dontShowNotification = true; | 1651 o.dontShowNotification = true; |
| 1652 o.iconUrl = "foo"; | 1652 o.iconUrl = "foo"; |
| 1653 o.kind = "foo"; | 1653 o.kind = "foo"; |
| 1654 o.notificationType = "foo"; | 1654 o.notificationType = "foo"; |
| 1655 o.pcampaignId = "foo"; | 1655 o.pcampaignId = "foo"; |
| 1656 o.reason = "foo"; | 1656 o.reason = "foo"; |
| 1657 o.showNotificationSettingsAction = true; | 1657 o.showNotificationSettingsAction = true; |
| 1658 o.targetUrl = "foo"; | 1658 o.targetUrl = "foo"; |
| 1659 o.title = "foo"; | 1659 o.title = "foo"; |
| 1660 } | 1660 } |
| 1661 buildCounterNotification--; | 1661 buildCounterNotification--; |
| 1662 return o; | 1662 return o; |
| 1663 } | 1663 } |
| 1664 | 1664 |
| 1665 checkNotification(api.Notification o) { | 1665 checkNotification(api.Notification o) { |
| 1666 buildCounterNotification++; | 1666 buildCounterNotification++; |
| 1667 if (buildCounterNotification < 3) { | 1667 if (buildCounterNotification < 3) { |
| 1668 unittest.expect(o.body, unittest.equals('foo')); | 1668 unittest.expect(o.body, unittest.equals('foo')); |
| 1669 checkUnnamed1010(o.crmExperimentIds); | 1669 checkUnnamed1036(o.crmExperimentIds); |
| 1670 unittest.expect(o.docId, unittest.equals('foo')); | 1670 unittest.expect(o.docId, unittest.equals('foo')); |
| 1671 unittest.expect(o.docType, unittest.equals('foo')); | 1671 unittest.expect(o.docType, unittest.equals('foo')); |
| 1672 unittest.expect(o.dontShowNotification, unittest.isTrue); | 1672 unittest.expect(o.dontShowNotification, unittest.isTrue); |
| 1673 unittest.expect(o.iconUrl, unittest.equals('foo')); | 1673 unittest.expect(o.iconUrl, unittest.equals('foo')); |
| 1674 unittest.expect(o.kind, unittest.equals('foo')); | 1674 unittest.expect(o.kind, unittest.equals('foo')); |
| 1675 unittest.expect(o.notificationType, unittest.equals('foo')); | 1675 unittest.expect(o.notificationType, unittest.equals('foo')); |
| 1676 unittest.expect(o.pcampaignId, unittest.equals('foo')); | 1676 unittest.expect(o.pcampaignId, unittest.equals('foo')); |
| 1677 unittest.expect(o.reason, unittest.equals('foo')); | 1677 unittest.expect(o.reason, unittest.equals('foo')); |
| 1678 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue); | 1678 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue); |
| 1679 unittest.expect(o.targetUrl, unittest.equals('foo')); | 1679 unittest.expect(o.targetUrl, unittest.equals('foo')); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 1704 unittest.expect(o.author, unittest.equals('foo')); | 1704 unittest.expect(o.author, unittest.equals('foo')); |
| 1705 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 1705 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
| 1706 unittest.expect(o.coverUrl, unittest.equals('foo')); | 1706 unittest.expect(o.coverUrl, unittest.equals('foo')); |
| 1707 unittest.expect(o.description, unittest.equals('foo')); | 1707 unittest.expect(o.description, unittest.equals('foo')); |
| 1708 unittest.expect(o.title, unittest.equals('foo')); | 1708 unittest.expect(o.title, unittest.equals('foo')); |
| 1709 unittest.expect(o.volumeId, unittest.equals('foo')); | 1709 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 1710 } | 1710 } |
| 1711 buildCounterOffersItemsItems--; | 1711 buildCounterOffersItemsItems--; |
| 1712 } | 1712 } |
| 1713 | 1713 |
| 1714 buildUnnamed1011() { | 1714 buildUnnamed1037() { |
| 1715 var o = new core.List<api.OffersItemsItems>(); | 1715 var o = new core.List<api.OffersItemsItems>(); |
| 1716 o.add(buildOffersItemsItems()); | 1716 o.add(buildOffersItemsItems()); |
| 1717 o.add(buildOffersItemsItems()); | 1717 o.add(buildOffersItemsItems()); |
| 1718 return o; | 1718 return o; |
| 1719 } | 1719 } |
| 1720 | 1720 |
| 1721 checkUnnamed1011(core.List<api.OffersItemsItems> o) { | 1721 checkUnnamed1037(core.List<api.OffersItemsItems> o) { |
| 1722 unittest.expect(o, unittest.hasLength(2)); | 1722 unittest.expect(o, unittest.hasLength(2)); |
| 1723 checkOffersItemsItems(o[0]); | 1723 checkOffersItemsItems(o[0]); |
| 1724 checkOffersItemsItems(o[1]); | 1724 checkOffersItemsItems(o[1]); |
| 1725 } | 1725 } |
| 1726 | 1726 |
| 1727 core.int buildCounterOffersItems = 0; | 1727 core.int buildCounterOffersItems = 0; |
| 1728 buildOffersItems() { | 1728 buildOffersItems() { |
| 1729 var o = new api.OffersItems(); | 1729 var o = new api.OffersItems(); |
| 1730 buildCounterOffersItems++; | 1730 buildCounterOffersItems++; |
| 1731 if (buildCounterOffersItems < 3) { | 1731 if (buildCounterOffersItems < 3) { |
| 1732 o.artUrl = "foo"; | 1732 o.artUrl = "foo"; |
| 1733 o.gservicesKey = "foo"; | 1733 o.gservicesKey = "foo"; |
| 1734 o.id = "foo"; | 1734 o.id = "foo"; |
| 1735 o.items = buildUnnamed1011(); | 1735 o.items = buildUnnamed1037(); |
| 1736 } | 1736 } |
| 1737 buildCounterOffersItems--; | 1737 buildCounterOffersItems--; |
| 1738 return o; | 1738 return o; |
| 1739 } | 1739 } |
| 1740 | 1740 |
| 1741 checkOffersItems(api.OffersItems o) { | 1741 checkOffersItems(api.OffersItems o) { |
| 1742 buildCounterOffersItems++; | 1742 buildCounterOffersItems++; |
| 1743 if (buildCounterOffersItems < 3) { | 1743 if (buildCounterOffersItems < 3) { |
| 1744 unittest.expect(o.artUrl, unittest.equals('foo')); | 1744 unittest.expect(o.artUrl, unittest.equals('foo')); |
| 1745 unittest.expect(o.gservicesKey, unittest.equals('foo')); | 1745 unittest.expect(o.gservicesKey, unittest.equals('foo')); |
| 1746 unittest.expect(o.id, unittest.equals('foo')); | 1746 unittest.expect(o.id, unittest.equals('foo')); |
| 1747 checkUnnamed1011(o.items); | 1747 checkUnnamed1037(o.items); |
| 1748 } | 1748 } |
| 1749 buildCounterOffersItems--; | 1749 buildCounterOffersItems--; |
| 1750 } | 1750 } |
| 1751 | 1751 |
| 1752 buildUnnamed1012() { | 1752 buildUnnamed1038() { |
| 1753 var o = new core.List<api.OffersItems>(); | 1753 var o = new core.List<api.OffersItems>(); |
| 1754 o.add(buildOffersItems()); | 1754 o.add(buildOffersItems()); |
| 1755 o.add(buildOffersItems()); | 1755 o.add(buildOffersItems()); |
| 1756 return o; | 1756 return o; |
| 1757 } | 1757 } |
| 1758 | 1758 |
| 1759 checkUnnamed1012(core.List<api.OffersItems> o) { | 1759 checkUnnamed1038(core.List<api.OffersItems> o) { |
| 1760 unittest.expect(o, unittest.hasLength(2)); | 1760 unittest.expect(o, unittest.hasLength(2)); |
| 1761 checkOffersItems(o[0]); | 1761 checkOffersItems(o[0]); |
| 1762 checkOffersItems(o[1]); | 1762 checkOffersItems(o[1]); |
| 1763 } | 1763 } |
| 1764 | 1764 |
| 1765 core.int buildCounterOffers = 0; | 1765 core.int buildCounterOffers = 0; |
| 1766 buildOffers() { | 1766 buildOffers() { |
| 1767 var o = new api.Offers(); | 1767 var o = new api.Offers(); |
| 1768 buildCounterOffers++; | 1768 buildCounterOffers++; |
| 1769 if (buildCounterOffers < 3) { | 1769 if (buildCounterOffers < 3) { |
| 1770 o.items = buildUnnamed1012(); | 1770 o.items = buildUnnamed1038(); |
| 1771 o.kind = "foo"; | 1771 o.kind = "foo"; |
| 1772 } | 1772 } |
| 1773 buildCounterOffers--; | 1773 buildCounterOffers--; |
| 1774 return o; | 1774 return o; |
| 1775 } | 1775 } |
| 1776 | 1776 |
| 1777 checkOffers(api.Offers o) { | 1777 checkOffers(api.Offers o) { |
| 1778 buildCounterOffers++; | 1778 buildCounterOffers++; |
| 1779 if (buildCounterOffers < 3) { | 1779 if (buildCounterOffers < 3) { |
| 1780 checkUnnamed1012(o.items); | 1780 checkUnnamed1038(o.items); |
| 1781 unittest.expect(o.kind, unittest.equals('foo')); | 1781 unittest.expect(o.kind, unittest.equals('foo')); |
| 1782 } | 1782 } |
| 1783 buildCounterOffers--; | 1783 buildCounterOffers--; |
| 1784 } | 1784 } |
| 1785 | 1785 |
| 1786 core.int buildCounterReadingPosition = 0; | 1786 core.int buildCounterReadingPosition = 0; |
| 1787 buildReadingPosition() { | 1787 buildReadingPosition() { |
| 1788 var o = new api.ReadingPosition(); | 1788 var o = new api.ReadingPosition(); |
| 1789 buildCounterReadingPosition++; | 1789 buildCounterReadingPosition++; |
| 1790 if (buildCounterReadingPosition < 3) { | 1790 if (buildCounterReadingPosition < 3) { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1936 if (buildCounterSeriesSeries < 3) { | 1936 if (buildCounterSeriesSeries < 3) { |
| 1937 unittest.expect(o.bannerImageUrl, unittest.equals('foo')); | 1937 unittest.expect(o.bannerImageUrl, unittest.equals('foo')); |
| 1938 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1938 unittest.expect(o.imageUrl, unittest.equals('foo')); |
| 1939 unittest.expect(o.seriesId, unittest.equals('foo')); | 1939 unittest.expect(o.seriesId, unittest.equals('foo')); |
| 1940 unittest.expect(o.seriesType, unittest.equals('foo')); | 1940 unittest.expect(o.seriesType, unittest.equals('foo')); |
| 1941 unittest.expect(o.title, unittest.equals('foo')); | 1941 unittest.expect(o.title, unittest.equals('foo')); |
| 1942 } | 1942 } |
| 1943 buildCounterSeriesSeries--; | 1943 buildCounterSeriesSeries--; |
| 1944 } | 1944 } |
| 1945 | 1945 |
| 1946 buildUnnamed1013() { | 1946 buildUnnamed1039() { |
| 1947 var o = new core.List<api.SeriesSeries>(); | 1947 var o = new core.List<api.SeriesSeries>(); |
| 1948 o.add(buildSeriesSeries()); | 1948 o.add(buildSeriesSeries()); |
| 1949 o.add(buildSeriesSeries()); | 1949 o.add(buildSeriesSeries()); |
| 1950 return o; | 1950 return o; |
| 1951 } | 1951 } |
| 1952 | 1952 |
| 1953 checkUnnamed1013(core.List<api.SeriesSeries> o) { | 1953 checkUnnamed1039(core.List<api.SeriesSeries> o) { |
| 1954 unittest.expect(o, unittest.hasLength(2)); | 1954 unittest.expect(o, unittest.hasLength(2)); |
| 1955 checkSeriesSeries(o[0]); | 1955 checkSeriesSeries(o[0]); |
| 1956 checkSeriesSeries(o[1]); | 1956 checkSeriesSeries(o[1]); |
| 1957 } | 1957 } |
| 1958 | 1958 |
| 1959 core.int buildCounterSeries = 0; | 1959 core.int buildCounterSeries = 0; |
| 1960 buildSeries() { | 1960 buildSeries() { |
| 1961 var o = new api.Series(); | 1961 var o = new api.Series(); |
| 1962 buildCounterSeries++; | 1962 buildCounterSeries++; |
| 1963 if (buildCounterSeries < 3) { | 1963 if (buildCounterSeries < 3) { |
| 1964 o.kind = "foo"; | 1964 o.kind = "foo"; |
| 1965 o.series = buildUnnamed1013(); | 1965 o.series = buildUnnamed1039(); |
| 1966 } | 1966 } |
| 1967 buildCounterSeries--; | 1967 buildCounterSeries--; |
| 1968 return o; | 1968 return o; |
| 1969 } | 1969 } |
| 1970 | 1970 |
| 1971 checkSeries(api.Series o) { | 1971 checkSeries(api.Series o) { |
| 1972 buildCounterSeries++; | 1972 buildCounterSeries++; |
| 1973 if (buildCounterSeries < 3) { | 1973 if (buildCounterSeries < 3) { |
| 1974 unittest.expect(o.kind, unittest.equals('foo')); | 1974 unittest.expect(o.kind, unittest.equals('foo')); |
| 1975 checkUnnamed1013(o.series); | 1975 checkUnnamed1039(o.series); |
| 1976 } | 1976 } |
| 1977 buildCounterSeries--; | 1977 buildCounterSeries--; |
| 1978 } | 1978 } |
| 1979 | 1979 |
| 1980 buildUnnamed1014() { | 1980 buildUnnamed1040() { |
| 1981 var o = new core.List<api.Volume>(); | 1981 var o = new core.List<api.Volume>(); |
| 1982 o.add(buildVolume()); | 1982 o.add(buildVolume()); |
| 1983 o.add(buildVolume()); | 1983 o.add(buildVolume()); |
| 1984 return o; | 1984 return o; |
| 1985 } | 1985 } |
| 1986 | 1986 |
| 1987 checkUnnamed1014(core.List<api.Volume> o) { | 1987 checkUnnamed1040(core.List<api.Volume> o) { |
| 1988 unittest.expect(o, unittest.hasLength(2)); | 1988 unittest.expect(o, unittest.hasLength(2)); |
| 1989 checkVolume(o[0]); | 1989 checkVolume(o[0]); |
| 1990 checkVolume(o[1]); | 1990 checkVolume(o[1]); |
| 1991 } | 1991 } |
| 1992 | 1992 |
| 1993 core.int buildCounterSeriesmembership = 0; | 1993 core.int buildCounterSeriesmembership = 0; |
| 1994 buildSeriesmembership() { | 1994 buildSeriesmembership() { |
| 1995 var o = new api.Seriesmembership(); | 1995 var o = new api.Seriesmembership(); |
| 1996 buildCounterSeriesmembership++; | 1996 buildCounterSeriesmembership++; |
| 1997 if (buildCounterSeriesmembership < 3) { | 1997 if (buildCounterSeriesmembership < 3) { |
| 1998 o.kind = "foo"; | 1998 o.kind = "foo"; |
| 1999 o.member = buildUnnamed1014(); | 1999 o.member = buildUnnamed1040(); |
| 2000 o.nextPageToken = "foo"; | 2000 o.nextPageToken = "foo"; |
| 2001 } | 2001 } |
| 2002 buildCounterSeriesmembership--; | 2002 buildCounterSeriesmembership--; |
| 2003 return o; | 2003 return o; |
| 2004 } | 2004 } |
| 2005 | 2005 |
| 2006 checkSeriesmembership(api.Seriesmembership o) { | 2006 checkSeriesmembership(api.Seriesmembership o) { |
| 2007 buildCounterSeriesmembership++; | 2007 buildCounterSeriesmembership++; |
| 2008 if (buildCounterSeriesmembership < 3) { | 2008 if (buildCounterSeriesmembership < 3) { |
| 2009 unittest.expect(o.kind, unittest.equals('foo')); | 2009 unittest.expect(o.kind, unittest.equals('foo')); |
| 2010 checkUnnamed1014(o.member); | 2010 checkUnnamed1040(o.member); |
| 2011 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2011 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2012 } | 2012 } |
| 2013 buildCounterSeriesmembership--; | 2013 buildCounterSeriesmembership--; |
| 2014 } | 2014 } |
| 2015 | 2015 |
| 2016 core.int buildCounterUsersettingsNotesExport = 0; | 2016 core.int buildCounterUsersettingsNotesExport = 0; |
| 2017 buildUsersettingsNotesExport() { | 2017 buildUsersettingsNotesExport() { |
| 2018 var o = new api.UsersettingsNotesExport(); | 2018 var o = new api.UsersettingsNotesExport(); |
| 2019 buildCounterUsersettingsNotesExport++; | 2019 buildCounterUsersettingsNotesExport++; |
| 2020 if (buildCounterUsersettingsNotesExport < 3) { | 2020 if (buildCounterUsersettingsNotesExport < 3) { |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2221 | 2221 |
| 2222 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { | 2222 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { |
| 2223 buildCounterVolumeLayerInfoLayers++; | 2223 buildCounterVolumeLayerInfoLayers++; |
| 2224 if (buildCounterVolumeLayerInfoLayers < 3) { | 2224 if (buildCounterVolumeLayerInfoLayers < 3) { |
| 2225 unittest.expect(o.layerId, unittest.equals('foo')); | 2225 unittest.expect(o.layerId, unittest.equals('foo')); |
| 2226 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 2226 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
| 2227 } | 2227 } |
| 2228 buildCounterVolumeLayerInfoLayers--; | 2228 buildCounterVolumeLayerInfoLayers--; |
| 2229 } | 2229 } |
| 2230 | 2230 |
| 2231 buildUnnamed1015() { | 2231 buildUnnamed1041() { |
| 2232 var o = new core.List<api.VolumeLayerInfoLayers>(); | 2232 var o = new core.List<api.VolumeLayerInfoLayers>(); |
| 2233 o.add(buildVolumeLayerInfoLayers()); | 2233 o.add(buildVolumeLayerInfoLayers()); |
| 2234 o.add(buildVolumeLayerInfoLayers()); | 2234 o.add(buildVolumeLayerInfoLayers()); |
| 2235 return o; | 2235 return o; |
| 2236 } | 2236 } |
| 2237 | 2237 |
| 2238 checkUnnamed1015(core.List<api.VolumeLayerInfoLayers> o) { | 2238 checkUnnamed1041(core.List<api.VolumeLayerInfoLayers> o) { |
| 2239 unittest.expect(o, unittest.hasLength(2)); | 2239 unittest.expect(o, unittest.hasLength(2)); |
| 2240 checkVolumeLayerInfoLayers(o[0]); | 2240 checkVolumeLayerInfoLayers(o[0]); |
| 2241 checkVolumeLayerInfoLayers(o[1]); | 2241 checkVolumeLayerInfoLayers(o[1]); |
| 2242 } | 2242 } |
| 2243 | 2243 |
| 2244 core.int buildCounterVolumeLayerInfo = 0; | 2244 core.int buildCounterVolumeLayerInfo = 0; |
| 2245 buildVolumeLayerInfo() { | 2245 buildVolumeLayerInfo() { |
| 2246 var o = new api.VolumeLayerInfo(); | 2246 var o = new api.VolumeLayerInfo(); |
| 2247 buildCounterVolumeLayerInfo++; | 2247 buildCounterVolumeLayerInfo++; |
| 2248 if (buildCounterVolumeLayerInfo < 3) { | 2248 if (buildCounterVolumeLayerInfo < 3) { |
| 2249 o.layers = buildUnnamed1015(); | 2249 o.layers = buildUnnamed1041(); |
| 2250 } | 2250 } |
| 2251 buildCounterVolumeLayerInfo--; | 2251 buildCounterVolumeLayerInfo--; |
| 2252 return o; | 2252 return o; |
| 2253 } | 2253 } |
| 2254 | 2254 |
| 2255 checkVolumeLayerInfo(api.VolumeLayerInfo o) { | 2255 checkVolumeLayerInfo(api.VolumeLayerInfo o) { |
| 2256 buildCounterVolumeLayerInfo++; | 2256 buildCounterVolumeLayerInfo++; |
| 2257 if (buildCounterVolumeLayerInfo < 3) { | 2257 if (buildCounterVolumeLayerInfo < 3) { |
| 2258 checkUnnamed1015(o.layers); | 2258 checkUnnamed1041(o.layers); |
| 2259 } | 2259 } |
| 2260 buildCounterVolumeLayerInfo--; | 2260 buildCounterVolumeLayerInfo--; |
| 2261 } | 2261 } |
| 2262 | 2262 |
| 2263 core.int buildCounterVolumeRecommendedInfo = 0; | 2263 core.int buildCounterVolumeRecommendedInfo = 0; |
| 2264 buildVolumeRecommendedInfo() { | 2264 buildVolumeRecommendedInfo() { |
| 2265 var o = new api.VolumeRecommendedInfo(); | 2265 var o = new api.VolumeRecommendedInfo(); |
| 2266 buildCounterVolumeRecommendedInfo++; | 2266 buildCounterVolumeRecommendedInfo++; |
| 2267 if (buildCounterVolumeRecommendedInfo < 3) { | 2267 if (buildCounterVolumeRecommendedInfo < 3) { |
| 2268 o.explanation = "foo"; | 2268 o.explanation = "foo"; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2383 if (buildCounterVolumeSaleInfoOffers < 3) { | 2383 if (buildCounterVolumeSaleInfoOffers < 3) { |
| 2384 unittest.expect(o.finskyOfferType, unittest.equals(42)); | 2384 unittest.expect(o.finskyOfferType, unittest.equals(42)); |
| 2385 unittest.expect(o.giftable, unittest.isTrue); | 2385 unittest.expect(o.giftable, unittest.isTrue); |
| 2386 checkVolumeSaleInfoOffersListPrice(o.listPrice); | 2386 checkVolumeSaleInfoOffersListPrice(o.listPrice); |
| 2387 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); | 2387 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); |
| 2388 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); | 2388 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); |
| 2389 } | 2389 } |
| 2390 buildCounterVolumeSaleInfoOffers--; | 2390 buildCounterVolumeSaleInfoOffers--; |
| 2391 } | 2391 } |
| 2392 | 2392 |
| 2393 buildUnnamed1016() { | 2393 buildUnnamed1042() { |
| 2394 var o = new core.List<api.VolumeSaleInfoOffers>(); | 2394 var o = new core.List<api.VolumeSaleInfoOffers>(); |
| 2395 o.add(buildVolumeSaleInfoOffers()); | 2395 o.add(buildVolumeSaleInfoOffers()); |
| 2396 o.add(buildVolumeSaleInfoOffers()); | 2396 o.add(buildVolumeSaleInfoOffers()); |
| 2397 return o; | 2397 return o; |
| 2398 } | 2398 } |
| 2399 | 2399 |
| 2400 checkUnnamed1016(core.List<api.VolumeSaleInfoOffers> o) { | 2400 checkUnnamed1042(core.List<api.VolumeSaleInfoOffers> o) { |
| 2401 unittest.expect(o, unittest.hasLength(2)); | 2401 unittest.expect(o, unittest.hasLength(2)); |
| 2402 checkVolumeSaleInfoOffers(o[0]); | 2402 checkVolumeSaleInfoOffers(o[0]); |
| 2403 checkVolumeSaleInfoOffers(o[1]); | 2403 checkVolumeSaleInfoOffers(o[1]); |
| 2404 } | 2404 } |
| 2405 | 2405 |
| 2406 core.int buildCounterVolumeSaleInfoRetailPrice = 0; | 2406 core.int buildCounterVolumeSaleInfoRetailPrice = 0; |
| 2407 buildVolumeSaleInfoRetailPrice() { | 2407 buildVolumeSaleInfoRetailPrice() { |
| 2408 var o = new api.VolumeSaleInfoRetailPrice(); | 2408 var o = new api.VolumeSaleInfoRetailPrice(); |
| 2409 buildCounterVolumeSaleInfoRetailPrice++; | 2409 buildCounterVolumeSaleInfoRetailPrice++; |
| 2410 if (buildCounterVolumeSaleInfoRetailPrice < 3) { | 2410 if (buildCounterVolumeSaleInfoRetailPrice < 3) { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 2426 | 2426 |
| 2427 core.int buildCounterVolumeSaleInfo = 0; | 2427 core.int buildCounterVolumeSaleInfo = 0; |
| 2428 buildVolumeSaleInfo() { | 2428 buildVolumeSaleInfo() { |
| 2429 var o = new api.VolumeSaleInfo(); | 2429 var o = new api.VolumeSaleInfo(); |
| 2430 buildCounterVolumeSaleInfo++; | 2430 buildCounterVolumeSaleInfo++; |
| 2431 if (buildCounterVolumeSaleInfo < 3) { | 2431 if (buildCounterVolumeSaleInfo < 3) { |
| 2432 o.buyLink = "foo"; | 2432 o.buyLink = "foo"; |
| 2433 o.country = "foo"; | 2433 o.country = "foo"; |
| 2434 o.isEbook = true; | 2434 o.isEbook = true; |
| 2435 o.listPrice = buildVolumeSaleInfoListPrice(); | 2435 o.listPrice = buildVolumeSaleInfoListPrice(); |
| 2436 o.offers = buildUnnamed1016(); | 2436 o.offers = buildUnnamed1042(); |
| 2437 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); | 2437 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2438 o.retailPrice = buildVolumeSaleInfoRetailPrice(); | 2438 o.retailPrice = buildVolumeSaleInfoRetailPrice(); |
| 2439 o.saleability = "foo"; | 2439 o.saleability = "foo"; |
| 2440 } | 2440 } |
| 2441 buildCounterVolumeSaleInfo--; | 2441 buildCounterVolumeSaleInfo--; |
| 2442 return o; | 2442 return o; |
| 2443 } | 2443 } |
| 2444 | 2444 |
| 2445 checkVolumeSaleInfo(api.VolumeSaleInfo o) { | 2445 checkVolumeSaleInfo(api.VolumeSaleInfo o) { |
| 2446 buildCounterVolumeSaleInfo++; | 2446 buildCounterVolumeSaleInfo++; |
| 2447 if (buildCounterVolumeSaleInfo < 3) { | 2447 if (buildCounterVolumeSaleInfo < 3) { |
| 2448 unittest.expect(o.buyLink, unittest.equals('foo')); | 2448 unittest.expect(o.buyLink, unittest.equals('foo')); |
| 2449 unittest.expect(o.country, unittest.equals('foo')); | 2449 unittest.expect(o.country, unittest.equals('foo')); |
| 2450 unittest.expect(o.isEbook, unittest.isTrue); | 2450 unittest.expect(o.isEbook, unittest.isTrue); |
| 2451 checkVolumeSaleInfoListPrice(o.listPrice); | 2451 checkVolumeSaleInfoListPrice(o.listPrice); |
| 2452 checkUnnamed1016(o.offers); | 2452 checkUnnamed1042(o.offers); |
| 2453 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); | 2453 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); |
| 2454 checkVolumeSaleInfoRetailPrice(o.retailPrice); | 2454 checkVolumeSaleInfoRetailPrice(o.retailPrice); |
| 2455 unittest.expect(o.saleability, unittest.equals('foo')); | 2455 unittest.expect(o.saleability, unittest.equals('foo')); |
| 2456 } | 2456 } |
| 2457 buildCounterVolumeSaleInfo--; | 2457 buildCounterVolumeSaleInfo--; |
| 2458 } | 2458 } |
| 2459 | 2459 |
| 2460 core.int buildCounterVolumeSearchInfo = 0; | 2460 core.int buildCounterVolumeSearchInfo = 0; |
| 2461 buildVolumeSearchInfo() { | 2461 buildVolumeSearchInfo() { |
| 2462 var o = new api.VolumeSearchInfo(); | 2462 var o = new api.VolumeSearchInfo(); |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2612 checkReadingPosition(o.readingPosition); | 2612 checkReadingPosition(o.readingPosition); |
| 2613 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); | 2613 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); |
| 2614 unittest.expect(o.rentalState, unittest.equals('foo')); | 2614 unittest.expect(o.rentalState, unittest.equals('foo')); |
| 2615 checkReview(o.review); | 2615 checkReview(o.review); |
| 2616 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2616 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 2617 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); | 2617 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); |
| 2618 } | 2618 } |
| 2619 buildCounterVolumeUserInfo--; | 2619 buildCounterVolumeUserInfo--; |
| 2620 } | 2620 } |
| 2621 | 2621 |
| 2622 buildUnnamed1017() { | 2622 buildUnnamed1043() { |
| 2623 var o = new core.List<core.String>(); | 2623 var o = new core.List<core.String>(); |
| 2624 o.add("foo"); | 2624 o.add("foo"); |
| 2625 o.add("foo"); | 2625 o.add("foo"); |
| 2626 return o; | 2626 return o; |
| 2627 } | 2627 } |
| 2628 | 2628 |
| 2629 checkUnnamed1017(core.List<core.String> o) { | 2629 checkUnnamed1043(core.List<core.String> o) { |
| 2630 unittest.expect(o, unittest.hasLength(2)); | 2630 unittest.expect(o, unittest.hasLength(2)); |
| 2631 unittest.expect(o[0], unittest.equals('foo')); | 2631 unittest.expect(o[0], unittest.equals('foo')); |
| 2632 unittest.expect(o[1], unittest.equals('foo')); | 2632 unittest.expect(o[1], unittest.equals('foo')); |
| 2633 } | 2633 } |
| 2634 | 2634 |
| 2635 buildUnnamed1018() { | 2635 buildUnnamed1044() { |
| 2636 var o = new core.List<core.String>(); | 2636 var o = new core.List<core.String>(); |
| 2637 o.add("foo"); | 2637 o.add("foo"); |
| 2638 o.add("foo"); | 2638 o.add("foo"); |
| 2639 return o; | 2639 return o; |
| 2640 } | 2640 } |
| 2641 | 2641 |
| 2642 checkUnnamed1018(core.List<core.String> o) { | 2642 checkUnnamed1044(core.List<core.String> o) { |
| 2643 unittest.expect(o, unittest.hasLength(2)); | 2643 unittest.expect(o, unittest.hasLength(2)); |
| 2644 unittest.expect(o[0], unittest.equals('foo')); | 2644 unittest.expect(o[0], unittest.equals('foo')); |
| 2645 unittest.expect(o[1], unittest.equals('foo')); | 2645 unittest.expect(o[1], unittest.equals('foo')); |
| 2646 } | 2646 } |
| 2647 | 2647 |
| 2648 core.int buildCounterVolumeVolumeInfoDimensions = 0; | 2648 core.int buildCounterVolumeVolumeInfoDimensions = 0; |
| 2649 buildVolumeVolumeInfoDimensions() { | 2649 buildVolumeVolumeInfoDimensions() { |
| 2650 var o = new api.VolumeVolumeInfoDimensions(); | 2650 var o = new api.VolumeVolumeInfoDimensions(); |
| 2651 buildCounterVolumeVolumeInfoDimensions++; | 2651 buildCounterVolumeVolumeInfoDimensions++; |
| 2652 if (buildCounterVolumeVolumeInfoDimensions < 3) { | 2652 if (buildCounterVolumeVolumeInfoDimensions < 3) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2711 | 2711 |
| 2712 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { | 2712 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { |
| 2713 buildCounterVolumeVolumeInfoIndustryIdentifiers++; | 2713 buildCounterVolumeVolumeInfoIndustryIdentifiers++; |
| 2714 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { | 2714 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { |
| 2715 unittest.expect(o.identifier, unittest.equals('foo')); | 2715 unittest.expect(o.identifier, unittest.equals('foo')); |
| 2716 unittest.expect(o.type, unittest.equals('foo')); | 2716 unittest.expect(o.type, unittest.equals('foo')); |
| 2717 } | 2717 } |
| 2718 buildCounterVolumeVolumeInfoIndustryIdentifiers--; | 2718 buildCounterVolumeVolumeInfoIndustryIdentifiers--; |
| 2719 } | 2719 } |
| 2720 | 2720 |
| 2721 buildUnnamed1019() { | 2721 buildUnnamed1045() { |
| 2722 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); | 2722 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); |
| 2723 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2723 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
| 2724 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2724 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
| 2725 return o; | 2725 return o; |
| 2726 } | 2726 } |
| 2727 | 2727 |
| 2728 checkUnnamed1019(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { | 2728 checkUnnamed1045(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { |
| 2729 unittest.expect(o, unittest.hasLength(2)); | 2729 unittest.expect(o, unittest.hasLength(2)); |
| 2730 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); | 2730 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); |
| 2731 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); | 2731 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); |
| 2732 } | 2732 } |
| 2733 | 2733 |
| 2734 core.int buildCounterVolumeVolumeInfoPanelizationSummary = 0; | 2734 core.int buildCounterVolumeVolumeInfoPanelizationSummary = 0; |
| 2735 buildVolumeVolumeInfoPanelizationSummary() { | 2735 buildVolumeVolumeInfoPanelizationSummary() { |
| 2736 var o = new api.VolumeVolumeInfoPanelizationSummary(); | 2736 var o = new api.VolumeVolumeInfoPanelizationSummary(); |
| 2737 buildCounterVolumeVolumeInfoPanelizationSummary++; | 2737 buildCounterVolumeVolumeInfoPanelizationSummary++; |
| 2738 if (buildCounterVolumeVolumeInfoPanelizationSummary < 3) { | 2738 if (buildCounterVolumeVolumeInfoPanelizationSummary < 3) { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 2755 } | 2755 } |
| 2756 buildCounterVolumeVolumeInfoPanelizationSummary--; | 2756 buildCounterVolumeVolumeInfoPanelizationSummary--; |
| 2757 } | 2757 } |
| 2758 | 2758 |
| 2759 core.int buildCounterVolumeVolumeInfo = 0; | 2759 core.int buildCounterVolumeVolumeInfo = 0; |
| 2760 buildVolumeVolumeInfo() { | 2760 buildVolumeVolumeInfo() { |
| 2761 var o = new api.VolumeVolumeInfo(); | 2761 var o = new api.VolumeVolumeInfo(); |
| 2762 buildCounterVolumeVolumeInfo++; | 2762 buildCounterVolumeVolumeInfo++; |
| 2763 if (buildCounterVolumeVolumeInfo < 3) { | 2763 if (buildCounterVolumeVolumeInfo < 3) { |
| 2764 o.allowAnonLogging = true; | 2764 o.allowAnonLogging = true; |
| 2765 o.authors = buildUnnamed1017(); | 2765 o.authors = buildUnnamed1043(); |
| 2766 o.averageRating = 42.0; | 2766 o.averageRating = 42.0; |
| 2767 o.canonicalVolumeLink = "foo"; | 2767 o.canonicalVolumeLink = "foo"; |
| 2768 o.categories = buildUnnamed1018(); | 2768 o.categories = buildUnnamed1044(); |
| 2769 o.contentVersion = "foo"; | 2769 o.contentVersion = "foo"; |
| 2770 o.description = "foo"; | 2770 o.description = "foo"; |
| 2771 o.dimensions = buildVolumeVolumeInfoDimensions(); | 2771 o.dimensions = buildVolumeVolumeInfoDimensions(); |
| 2772 o.imageLinks = buildVolumeVolumeInfoImageLinks(); | 2772 o.imageLinks = buildVolumeVolumeInfoImageLinks(); |
| 2773 o.industryIdentifiers = buildUnnamed1019(); | 2773 o.industryIdentifiers = buildUnnamed1045(); |
| 2774 o.infoLink = "foo"; | 2774 o.infoLink = "foo"; |
| 2775 o.language = "foo"; | 2775 o.language = "foo"; |
| 2776 o.mainCategory = "foo"; | 2776 o.mainCategory = "foo"; |
| 2777 o.maturityRating = "foo"; | 2777 o.maturityRating = "foo"; |
| 2778 o.pageCount = 42; | 2778 o.pageCount = 42; |
| 2779 o.panelizationSummary = buildVolumeVolumeInfoPanelizationSummary(); | 2779 o.panelizationSummary = buildVolumeVolumeInfoPanelizationSummary(); |
| 2780 o.previewLink = "foo"; | 2780 o.previewLink = "foo"; |
| 2781 o.printType = "foo"; | 2781 o.printType = "foo"; |
| 2782 o.printedPageCount = 42; | 2782 o.printedPageCount = 42; |
| 2783 o.publishedDate = "foo"; | 2783 o.publishedDate = "foo"; |
| 2784 o.publisher = "foo"; | 2784 o.publisher = "foo"; |
| 2785 o.ratingsCount = 42; | 2785 o.ratingsCount = 42; |
| 2786 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2786 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2787 o.samplePageCount = 42; | 2787 o.samplePageCount = 42; |
| 2788 o.seriesInfo = buildVolumeseriesinfo(); | 2788 o.seriesInfo = buildVolumeseriesinfo(); |
| 2789 o.subtitle = "foo"; | 2789 o.subtitle = "foo"; |
| 2790 o.title = "foo"; | 2790 o.title = "foo"; |
| 2791 } | 2791 } |
| 2792 buildCounterVolumeVolumeInfo--; | 2792 buildCounterVolumeVolumeInfo--; |
| 2793 return o; | 2793 return o; |
| 2794 } | 2794 } |
| 2795 | 2795 |
| 2796 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { | 2796 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { |
| 2797 buildCounterVolumeVolumeInfo++; | 2797 buildCounterVolumeVolumeInfo++; |
| 2798 if (buildCounterVolumeVolumeInfo < 3) { | 2798 if (buildCounterVolumeVolumeInfo < 3) { |
| 2799 unittest.expect(o.allowAnonLogging, unittest.isTrue); | 2799 unittest.expect(o.allowAnonLogging, unittest.isTrue); |
| 2800 checkUnnamed1017(o.authors); | 2800 checkUnnamed1043(o.authors); |
| 2801 unittest.expect(o.averageRating, unittest.equals(42.0)); | 2801 unittest.expect(o.averageRating, unittest.equals(42.0)); |
| 2802 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 2802 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
| 2803 checkUnnamed1018(o.categories); | 2803 checkUnnamed1044(o.categories); |
| 2804 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2804 unittest.expect(o.contentVersion, unittest.equals('foo')); |
| 2805 unittest.expect(o.description, unittest.equals('foo')); | 2805 unittest.expect(o.description, unittest.equals('foo')); |
| 2806 checkVolumeVolumeInfoDimensions(o.dimensions); | 2806 checkVolumeVolumeInfoDimensions(o.dimensions); |
| 2807 checkVolumeVolumeInfoImageLinks(o.imageLinks); | 2807 checkVolumeVolumeInfoImageLinks(o.imageLinks); |
| 2808 checkUnnamed1019(o.industryIdentifiers); | 2808 checkUnnamed1045(o.industryIdentifiers); |
| 2809 unittest.expect(o.infoLink, unittest.equals('foo')); | 2809 unittest.expect(o.infoLink, unittest.equals('foo')); |
| 2810 unittest.expect(o.language, unittest.equals('foo')); | 2810 unittest.expect(o.language, unittest.equals('foo')); |
| 2811 unittest.expect(o.mainCategory, unittest.equals('foo')); | 2811 unittest.expect(o.mainCategory, unittest.equals('foo')); |
| 2812 unittest.expect(o.maturityRating, unittest.equals('foo')); | 2812 unittest.expect(o.maturityRating, unittest.equals('foo')); |
| 2813 unittest.expect(o.pageCount, unittest.equals(42)); | 2813 unittest.expect(o.pageCount, unittest.equals(42)); |
| 2814 checkVolumeVolumeInfoPanelizationSummary(o.panelizationSummary); | 2814 checkVolumeVolumeInfoPanelizationSummary(o.panelizationSummary); |
| 2815 unittest.expect(o.previewLink, unittest.equals('foo')); | 2815 unittest.expect(o.previewLink, unittest.equals('foo')); |
| 2816 unittest.expect(o.printType, unittest.equals('foo')); | 2816 unittest.expect(o.printType, unittest.equals('foo')); |
| 2817 unittest.expect(o.printedPageCount, unittest.equals(42)); | 2817 unittest.expect(o.printedPageCount, unittest.equals(42)); |
| 2818 unittest.expect(o.publishedDate, unittest.equals('foo')); | 2818 unittest.expect(o.publishedDate, unittest.equals('foo')); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2859 checkVolumeRecommendedInfo(o.recommendedInfo); | 2859 checkVolumeRecommendedInfo(o.recommendedInfo); |
| 2860 checkVolumeSaleInfo(o.saleInfo); | 2860 checkVolumeSaleInfo(o.saleInfo); |
| 2861 checkVolumeSearchInfo(o.searchInfo); | 2861 checkVolumeSearchInfo(o.searchInfo); |
| 2862 unittest.expect(o.selfLink, unittest.equals('foo')); | 2862 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2863 checkVolumeUserInfo(o.userInfo); | 2863 checkVolumeUserInfo(o.userInfo); |
| 2864 checkVolumeVolumeInfo(o.volumeInfo); | 2864 checkVolumeVolumeInfo(o.volumeInfo); |
| 2865 } | 2865 } |
| 2866 buildCounterVolume--; | 2866 buildCounterVolume--; |
| 2867 } | 2867 } |
| 2868 | 2868 |
| 2869 buildUnnamed1020() { | 2869 buildUnnamed1046() { |
| 2870 var o = new core.List<api.Volume>(); | 2870 var o = new core.List<api.Volume>(); |
| 2871 o.add(buildVolume()); | 2871 o.add(buildVolume()); |
| 2872 o.add(buildVolume()); | 2872 o.add(buildVolume()); |
| 2873 return o; | 2873 return o; |
| 2874 } | 2874 } |
| 2875 | 2875 |
| 2876 checkUnnamed1020(core.List<api.Volume> o) { | 2876 checkUnnamed1046(core.List<api.Volume> o) { |
| 2877 unittest.expect(o, unittest.hasLength(2)); | 2877 unittest.expect(o, unittest.hasLength(2)); |
| 2878 checkVolume(o[0]); | 2878 checkVolume(o[0]); |
| 2879 checkVolume(o[1]); | 2879 checkVolume(o[1]); |
| 2880 } | 2880 } |
| 2881 | 2881 |
| 2882 core.int buildCounterVolume2 = 0; | 2882 core.int buildCounterVolume2 = 0; |
| 2883 buildVolume2() { | 2883 buildVolume2() { |
| 2884 var o = new api.Volume2(); | 2884 var o = new api.Volume2(); |
| 2885 buildCounterVolume2++; | 2885 buildCounterVolume2++; |
| 2886 if (buildCounterVolume2 < 3) { | 2886 if (buildCounterVolume2 < 3) { |
| 2887 o.items = buildUnnamed1020(); | 2887 o.items = buildUnnamed1046(); |
| 2888 o.kind = "foo"; | 2888 o.kind = "foo"; |
| 2889 o.nextPageToken = "foo"; | 2889 o.nextPageToken = "foo"; |
| 2890 } | 2890 } |
| 2891 buildCounterVolume2--; | 2891 buildCounterVolume2--; |
| 2892 return o; | 2892 return o; |
| 2893 } | 2893 } |
| 2894 | 2894 |
| 2895 checkVolume2(api.Volume2 o) { | 2895 checkVolume2(api.Volume2 o) { |
| 2896 buildCounterVolume2++; | 2896 buildCounterVolume2++; |
| 2897 if (buildCounterVolume2 < 3) { | 2897 if (buildCounterVolume2 < 3) { |
| 2898 checkUnnamed1020(o.items); | 2898 checkUnnamed1046(o.items); |
| 2899 unittest.expect(o.kind, unittest.equals('foo')); | 2899 unittest.expect(o.kind, unittest.equals('foo')); |
| 2900 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2900 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2901 } | 2901 } |
| 2902 buildCounterVolume2--; | 2902 buildCounterVolume2--; |
| 2903 } | 2903 } |
| 2904 | 2904 |
| 2905 core.int buildCounterVolumeannotationContentRanges = 0; | 2905 core.int buildCounterVolumeannotationContentRanges = 0; |
| 2906 buildVolumeannotationContentRanges() { | 2906 buildVolumeannotationContentRanges() { |
| 2907 var o = new api.VolumeannotationContentRanges(); | 2907 var o = new api.VolumeannotationContentRanges(); |
| 2908 buildCounterVolumeannotationContentRanges++; | 2908 buildCounterVolumeannotationContentRanges++; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 2920 buildCounterVolumeannotationContentRanges++; | 2920 buildCounterVolumeannotationContentRanges++; |
| 2921 if (buildCounterVolumeannotationContentRanges < 3) { | 2921 if (buildCounterVolumeannotationContentRanges < 3) { |
| 2922 checkBooksAnnotationsRange(o.cfiRange); | 2922 checkBooksAnnotationsRange(o.cfiRange); |
| 2923 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2923 unittest.expect(o.contentVersion, unittest.equals('foo')); |
| 2924 checkBooksAnnotationsRange(o.gbImageRange); | 2924 checkBooksAnnotationsRange(o.gbImageRange); |
| 2925 checkBooksAnnotationsRange(o.gbTextRange); | 2925 checkBooksAnnotationsRange(o.gbTextRange); |
| 2926 } | 2926 } |
| 2927 buildCounterVolumeannotationContentRanges--; | 2927 buildCounterVolumeannotationContentRanges--; |
| 2928 } | 2928 } |
| 2929 | 2929 |
| 2930 buildUnnamed1021() { | 2930 buildUnnamed1047() { |
| 2931 var o = new core.List<core.String>(); | 2931 var o = new core.List<core.String>(); |
| 2932 o.add("foo"); | 2932 o.add("foo"); |
| 2933 o.add("foo"); | 2933 o.add("foo"); |
| 2934 return o; | 2934 return o; |
| 2935 } | 2935 } |
| 2936 | 2936 |
| 2937 checkUnnamed1021(core.List<core.String> o) { | 2937 checkUnnamed1047(core.List<core.String> o) { |
| 2938 unittest.expect(o, unittest.hasLength(2)); | 2938 unittest.expect(o, unittest.hasLength(2)); |
| 2939 unittest.expect(o[0], unittest.equals('foo')); | 2939 unittest.expect(o[0], unittest.equals('foo')); |
| 2940 unittest.expect(o[1], unittest.equals('foo')); | 2940 unittest.expect(o[1], unittest.equals('foo')); |
| 2941 } | 2941 } |
| 2942 | 2942 |
| 2943 core.int buildCounterVolumeannotation = 0; | 2943 core.int buildCounterVolumeannotation = 0; |
| 2944 buildVolumeannotation() { | 2944 buildVolumeannotation() { |
| 2945 var o = new api.Volumeannotation(); | 2945 var o = new api.Volumeannotation(); |
| 2946 buildCounterVolumeannotation++; | 2946 buildCounterVolumeannotation++; |
| 2947 if (buildCounterVolumeannotation < 3) { | 2947 if (buildCounterVolumeannotation < 3) { |
| 2948 o.annotationDataId = "foo"; | 2948 o.annotationDataId = "foo"; |
| 2949 o.annotationDataLink = "foo"; | 2949 o.annotationDataLink = "foo"; |
| 2950 o.annotationType = "foo"; | 2950 o.annotationType = "foo"; |
| 2951 o.contentRanges = buildVolumeannotationContentRanges(); | 2951 o.contentRanges = buildVolumeannotationContentRanges(); |
| 2952 o.data = "foo"; | 2952 o.data = "foo"; |
| 2953 o.deleted = true; | 2953 o.deleted = true; |
| 2954 o.id = "foo"; | 2954 o.id = "foo"; |
| 2955 o.kind = "foo"; | 2955 o.kind = "foo"; |
| 2956 o.layerId = "foo"; | 2956 o.layerId = "foo"; |
| 2957 o.pageIds = buildUnnamed1021(); | 2957 o.pageIds = buildUnnamed1047(); |
| 2958 o.selectedText = "foo"; | 2958 o.selectedText = "foo"; |
| 2959 o.selfLink = "foo"; | 2959 o.selfLink = "foo"; |
| 2960 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 2960 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2961 o.volumeId = "foo"; | 2961 o.volumeId = "foo"; |
| 2962 } | 2962 } |
| 2963 buildCounterVolumeannotation--; | 2963 buildCounterVolumeannotation--; |
| 2964 return o; | 2964 return o; |
| 2965 } | 2965 } |
| 2966 | 2966 |
| 2967 checkVolumeannotation(api.Volumeannotation o) { | 2967 checkVolumeannotation(api.Volumeannotation o) { |
| 2968 buildCounterVolumeannotation++; | 2968 buildCounterVolumeannotation++; |
| 2969 if (buildCounterVolumeannotation < 3) { | 2969 if (buildCounterVolumeannotation < 3) { |
| 2970 unittest.expect(o.annotationDataId, unittest.equals('foo')); | 2970 unittest.expect(o.annotationDataId, unittest.equals('foo')); |
| 2971 unittest.expect(o.annotationDataLink, unittest.equals('foo')); | 2971 unittest.expect(o.annotationDataLink, unittest.equals('foo')); |
| 2972 unittest.expect(o.annotationType, unittest.equals('foo')); | 2972 unittest.expect(o.annotationType, unittest.equals('foo')); |
| 2973 checkVolumeannotationContentRanges(o.contentRanges); | 2973 checkVolumeannotationContentRanges(o.contentRanges); |
| 2974 unittest.expect(o.data, unittest.equals('foo')); | 2974 unittest.expect(o.data, unittest.equals('foo')); |
| 2975 unittest.expect(o.deleted, unittest.isTrue); | 2975 unittest.expect(o.deleted, unittest.isTrue); |
| 2976 unittest.expect(o.id, unittest.equals('foo')); | 2976 unittest.expect(o.id, unittest.equals('foo')); |
| 2977 unittest.expect(o.kind, unittest.equals('foo')); | 2977 unittest.expect(o.kind, unittest.equals('foo')); |
| 2978 unittest.expect(o.layerId, unittest.equals('foo')); | 2978 unittest.expect(o.layerId, unittest.equals('foo')); |
| 2979 checkUnnamed1021(o.pageIds); | 2979 checkUnnamed1047(o.pageIds); |
| 2980 unittest.expect(o.selectedText, unittest.equals('foo')); | 2980 unittest.expect(o.selectedText, unittest.equals('foo')); |
| 2981 unittest.expect(o.selfLink, unittest.equals('foo')); | 2981 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2982 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2982 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 2983 unittest.expect(o.volumeId, unittest.equals('foo')); | 2983 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 2984 } | 2984 } |
| 2985 buildCounterVolumeannotation--; | 2985 buildCounterVolumeannotation--; |
| 2986 } | 2986 } |
| 2987 | 2987 |
| 2988 buildUnnamed1022() { | 2988 buildUnnamed1048() { |
| 2989 var o = new core.List<api.Volumeannotation>(); | 2989 var o = new core.List<api.Volumeannotation>(); |
| 2990 o.add(buildVolumeannotation()); | 2990 o.add(buildVolumeannotation()); |
| 2991 o.add(buildVolumeannotation()); | 2991 o.add(buildVolumeannotation()); |
| 2992 return o; | 2992 return o; |
| 2993 } | 2993 } |
| 2994 | 2994 |
| 2995 checkUnnamed1022(core.List<api.Volumeannotation> o) { | 2995 checkUnnamed1048(core.List<api.Volumeannotation> o) { |
| 2996 unittest.expect(o, unittest.hasLength(2)); | 2996 unittest.expect(o, unittest.hasLength(2)); |
| 2997 checkVolumeannotation(o[0]); | 2997 checkVolumeannotation(o[0]); |
| 2998 checkVolumeannotation(o[1]); | 2998 checkVolumeannotation(o[1]); |
| 2999 } | 2999 } |
| 3000 | 3000 |
| 3001 core.int buildCounterVolumeannotations = 0; | 3001 core.int buildCounterVolumeannotations = 0; |
| 3002 buildVolumeannotations() { | 3002 buildVolumeannotations() { |
| 3003 var o = new api.Volumeannotations(); | 3003 var o = new api.Volumeannotations(); |
| 3004 buildCounterVolumeannotations++; | 3004 buildCounterVolumeannotations++; |
| 3005 if (buildCounterVolumeannotations < 3) { | 3005 if (buildCounterVolumeannotations < 3) { |
| 3006 o.items = buildUnnamed1022(); | 3006 o.items = buildUnnamed1048(); |
| 3007 o.kind = "foo"; | 3007 o.kind = "foo"; |
| 3008 o.nextPageToken = "foo"; | 3008 o.nextPageToken = "foo"; |
| 3009 o.totalItems = 42; | 3009 o.totalItems = 42; |
| 3010 o.version = "foo"; | 3010 o.version = "foo"; |
| 3011 } | 3011 } |
| 3012 buildCounterVolumeannotations--; | 3012 buildCounterVolumeannotations--; |
| 3013 return o; | 3013 return o; |
| 3014 } | 3014 } |
| 3015 | 3015 |
| 3016 checkVolumeannotations(api.Volumeannotations o) { | 3016 checkVolumeannotations(api.Volumeannotations o) { |
| 3017 buildCounterVolumeannotations++; | 3017 buildCounterVolumeannotations++; |
| 3018 if (buildCounterVolumeannotations < 3) { | 3018 if (buildCounterVolumeannotations < 3) { |
| 3019 checkUnnamed1022(o.items); | 3019 checkUnnamed1048(o.items); |
| 3020 unittest.expect(o.kind, unittest.equals('foo')); | 3020 unittest.expect(o.kind, unittest.equals('foo')); |
| 3021 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3021 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 3022 unittest.expect(o.totalItems, unittest.equals(42)); | 3022 unittest.expect(o.totalItems, unittest.equals(42)); |
| 3023 unittest.expect(o.version, unittest.equals('foo')); | 3023 unittest.expect(o.version, unittest.equals('foo')); |
| 3024 } | 3024 } |
| 3025 buildCounterVolumeannotations--; | 3025 buildCounterVolumeannotations--; |
| 3026 } | 3026 } |
| 3027 | 3027 |
| 3028 buildUnnamed1023() { | 3028 buildUnnamed1049() { |
| 3029 var o = new core.List<api.Volume>(); | 3029 var o = new core.List<api.Volume>(); |
| 3030 o.add(buildVolume()); | 3030 o.add(buildVolume()); |
| 3031 o.add(buildVolume()); | 3031 o.add(buildVolume()); |
| 3032 return o; | 3032 return o; |
| 3033 } | 3033 } |
| 3034 | 3034 |
| 3035 checkUnnamed1023(core.List<api.Volume> o) { | 3035 checkUnnamed1049(core.List<api.Volume> o) { |
| 3036 unittest.expect(o, unittest.hasLength(2)); | 3036 unittest.expect(o, unittest.hasLength(2)); |
| 3037 checkVolume(o[0]); | 3037 checkVolume(o[0]); |
| 3038 checkVolume(o[1]); | 3038 checkVolume(o[1]); |
| 3039 } | 3039 } |
| 3040 | 3040 |
| 3041 core.int buildCounterVolumes = 0; | 3041 core.int buildCounterVolumes = 0; |
| 3042 buildVolumes() { | 3042 buildVolumes() { |
| 3043 var o = new api.Volumes(); | 3043 var o = new api.Volumes(); |
| 3044 buildCounterVolumes++; | 3044 buildCounterVolumes++; |
| 3045 if (buildCounterVolumes < 3) { | 3045 if (buildCounterVolumes < 3) { |
| 3046 o.items = buildUnnamed1023(); | 3046 o.items = buildUnnamed1049(); |
| 3047 o.kind = "foo"; | 3047 o.kind = "foo"; |
| 3048 o.totalItems = 42; | 3048 o.totalItems = 42; |
| 3049 } | 3049 } |
| 3050 buildCounterVolumes--; | 3050 buildCounterVolumes--; |
| 3051 return o; | 3051 return o; |
| 3052 } | 3052 } |
| 3053 | 3053 |
| 3054 checkVolumes(api.Volumes o) { | 3054 checkVolumes(api.Volumes o) { |
| 3055 buildCounterVolumes++; | 3055 buildCounterVolumes++; |
| 3056 if (buildCounterVolumes < 3) { | 3056 if (buildCounterVolumes < 3) { |
| 3057 checkUnnamed1023(o.items); | 3057 checkUnnamed1049(o.items); |
| 3058 unittest.expect(o.kind, unittest.equals('foo')); | 3058 unittest.expect(o.kind, unittest.equals('foo')); |
| 3059 unittest.expect(o.totalItems, unittest.equals(42)); | 3059 unittest.expect(o.totalItems, unittest.equals(42)); |
| 3060 } | 3060 } |
| 3061 buildCounterVolumes--; | 3061 buildCounterVolumes--; |
| 3062 } | 3062 } |
| 3063 | 3063 |
| 3064 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0; | 3064 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0; |
| 3065 buildVolumeseriesinfoVolumeSeriesIssue() { | 3065 buildVolumeseriesinfoVolumeSeriesIssue() { |
| 3066 var o = new api.VolumeseriesinfoVolumeSeriesIssue(); | 3066 var o = new api.VolumeseriesinfoVolumeSeriesIssue(); |
| 3067 buildCounterVolumeseriesinfoVolumeSeriesIssue++; | 3067 buildCounterVolumeseriesinfoVolumeSeriesIssue++; |
| 3068 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { | 3068 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { |
| 3069 o.issueDisplayNumber = "foo"; | 3069 o.issueDisplayNumber = "foo"; |
| 3070 o.issueOrderNumber = 42; | 3070 o.issueOrderNumber = 42; |
| 3071 } | 3071 } |
| 3072 buildCounterVolumeseriesinfoVolumeSeriesIssue--; | 3072 buildCounterVolumeseriesinfoVolumeSeriesIssue--; |
| 3073 return o; | 3073 return o; |
| 3074 } | 3074 } |
| 3075 | 3075 |
| 3076 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o)
{ | 3076 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o)
{ |
| 3077 buildCounterVolumeseriesinfoVolumeSeriesIssue++; | 3077 buildCounterVolumeseriesinfoVolumeSeriesIssue++; |
| 3078 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { | 3078 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { |
| 3079 unittest.expect(o.issueDisplayNumber, unittest.equals('foo')); | 3079 unittest.expect(o.issueDisplayNumber, unittest.equals('foo')); |
| 3080 unittest.expect(o.issueOrderNumber, unittest.equals(42)); | 3080 unittest.expect(o.issueOrderNumber, unittest.equals(42)); |
| 3081 } | 3081 } |
| 3082 buildCounterVolumeseriesinfoVolumeSeriesIssue--; | 3082 buildCounterVolumeseriesinfoVolumeSeriesIssue--; |
| 3083 } | 3083 } |
| 3084 | 3084 |
| 3085 buildUnnamed1024() { | 3085 buildUnnamed1050() { |
| 3086 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>(); | 3086 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>(); |
| 3087 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); | 3087 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); |
| 3088 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); | 3088 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); |
| 3089 return o; | 3089 return o; |
| 3090 } | 3090 } |
| 3091 | 3091 |
| 3092 checkUnnamed1024(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) { | 3092 checkUnnamed1050(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) { |
| 3093 unittest.expect(o, unittest.hasLength(2)); | 3093 unittest.expect(o, unittest.hasLength(2)); |
| 3094 checkVolumeseriesinfoVolumeSeriesIssue(o[0]); | 3094 checkVolumeseriesinfoVolumeSeriesIssue(o[0]); |
| 3095 checkVolumeseriesinfoVolumeSeriesIssue(o[1]); | 3095 checkVolumeseriesinfoVolumeSeriesIssue(o[1]); |
| 3096 } | 3096 } |
| 3097 | 3097 |
| 3098 core.int buildCounterVolumeseriesinfoVolumeSeries = 0; | 3098 core.int buildCounterVolumeseriesinfoVolumeSeries = 0; |
| 3099 buildVolumeseriesinfoVolumeSeries() { | 3099 buildVolumeseriesinfoVolumeSeries() { |
| 3100 var o = new api.VolumeseriesinfoVolumeSeries(); | 3100 var o = new api.VolumeseriesinfoVolumeSeries(); |
| 3101 buildCounterVolumeseriesinfoVolumeSeries++; | 3101 buildCounterVolumeseriesinfoVolumeSeries++; |
| 3102 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { | 3102 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { |
| 3103 o.issue = buildUnnamed1024(); | 3103 o.issue = buildUnnamed1050(); |
| 3104 o.orderNumber = 42; | 3104 o.orderNumber = 42; |
| 3105 o.seriesBookType = "foo"; | 3105 o.seriesBookType = "foo"; |
| 3106 o.seriesId = "foo"; | 3106 o.seriesId = "foo"; |
| 3107 } | 3107 } |
| 3108 buildCounterVolumeseriesinfoVolumeSeries--; | 3108 buildCounterVolumeseriesinfoVolumeSeries--; |
| 3109 return o; | 3109 return o; |
| 3110 } | 3110 } |
| 3111 | 3111 |
| 3112 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { | 3112 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { |
| 3113 buildCounterVolumeseriesinfoVolumeSeries++; | 3113 buildCounterVolumeseriesinfoVolumeSeries++; |
| 3114 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { | 3114 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { |
| 3115 checkUnnamed1024(o.issue); | 3115 checkUnnamed1050(o.issue); |
| 3116 unittest.expect(o.orderNumber, unittest.equals(42)); | 3116 unittest.expect(o.orderNumber, unittest.equals(42)); |
| 3117 unittest.expect(o.seriesBookType, unittest.equals('foo')); | 3117 unittest.expect(o.seriesBookType, unittest.equals('foo')); |
| 3118 unittest.expect(o.seriesId, unittest.equals('foo')); | 3118 unittest.expect(o.seriesId, unittest.equals('foo')); |
| 3119 } | 3119 } |
| 3120 buildCounterVolumeseriesinfoVolumeSeries--; | 3120 buildCounterVolumeseriesinfoVolumeSeries--; |
| 3121 } | 3121 } |
| 3122 | 3122 |
| 3123 buildUnnamed1025() { | 3123 buildUnnamed1051() { |
| 3124 var o = new core.List<api.VolumeseriesinfoVolumeSeries>(); | 3124 var o = new core.List<api.VolumeseriesinfoVolumeSeries>(); |
| 3125 o.add(buildVolumeseriesinfoVolumeSeries()); | 3125 o.add(buildVolumeseriesinfoVolumeSeries()); |
| 3126 o.add(buildVolumeseriesinfoVolumeSeries()); | 3126 o.add(buildVolumeseriesinfoVolumeSeries()); |
| 3127 return o; | 3127 return o; |
| 3128 } | 3128 } |
| 3129 | 3129 |
| 3130 checkUnnamed1025(core.List<api.VolumeseriesinfoVolumeSeries> o) { | 3130 checkUnnamed1051(core.List<api.VolumeseriesinfoVolumeSeries> o) { |
| 3131 unittest.expect(o, unittest.hasLength(2)); | 3131 unittest.expect(o, unittest.hasLength(2)); |
| 3132 checkVolumeseriesinfoVolumeSeries(o[0]); | 3132 checkVolumeseriesinfoVolumeSeries(o[0]); |
| 3133 checkVolumeseriesinfoVolumeSeries(o[1]); | 3133 checkVolumeseriesinfoVolumeSeries(o[1]); |
| 3134 } | 3134 } |
| 3135 | 3135 |
| 3136 core.int buildCounterVolumeseriesinfo = 0; | 3136 core.int buildCounterVolumeseriesinfo = 0; |
| 3137 buildVolumeseriesinfo() { | 3137 buildVolumeseriesinfo() { |
| 3138 var o = new api.Volumeseriesinfo(); | 3138 var o = new api.Volumeseriesinfo(); |
| 3139 buildCounterVolumeseriesinfo++; | 3139 buildCounterVolumeseriesinfo++; |
| 3140 if (buildCounterVolumeseriesinfo < 3) { | 3140 if (buildCounterVolumeseriesinfo < 3) { |
| 3141 o.bookDisplayNumber = "foo"; | 3141 o.bookDisplayNumber = "foo"; |
| 3142 o.kind = "foo"; | 3142 o.kind = "foo"; |
| 3143 o.shortSeriesBookTitle = "foo"; | 3143 o.shortSeriesBookTitle = "foo"; |
| 3144 o.volumeSeries = buildUnnamed1025(); | 3144 o.volumeSeries = buildUnnamed1051(); |
| 3145 } | 3145 } |
| 3146 buildCounterVolumeseriesinfo--; | 3146 buildCounterVolumeseriesinfo--; |
| 3147 return o; | 3147 return o; |
| 3148 } | 3148 } |
| 3149 | 3149 |
| 3150 checkVolumeseriesinfo(api.Volumeseriesinfo o) { | 3150 checkVolumeseriesinfo(api.Volumeseriesinfo o) { |
| 3151 buildCounterVolumeseriesinfo++; | 3151 buildCounterVolumeseriesinfo++; |
| 3152 if (buildCounterVolumeseriesinfo < 3) { | 3152 if (buildCounterVolumeseriesinfo < 3) { |
| 3153 unittest.expect(o.bookDisplayNumber, unittest.equals('foo')); | 3153 unittest.expect(o.bookDisplayNumber, unittest.equals('foo')); |
| 3154 unittest.expect(o.kind, unittest.equals('foo')); | 3154 unittest.expect(o.kind, unittest.equals('foo')); |
| 3155 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo')); | 3155 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo')); |
| 3156 checkUnnamed1025(o.volumeSeries); | 3156 checkUnnamed1051(o.volumeSeries); |
| 3157 } | 3157 } |
| 3158 buildCounterVolumeseriesinfo--; | 3158 buildCounterVolumeseriesinfo--; |
| 3159 } | 3159 } |
| 3160 | 3160 |
| 3161 buildUnnamed1026() { | 3161 buildUnnamed1052() { |
| 3162 var o = new core.List<core.String>(); | 3162 var o = new core.List<core.String>(); |
| 3163 o.add("foo"); | 3163 o.add("foo"); |
| 3164 o.add("foo"); | 3164 o.add("foo"); |
| 3165 return o; | 3165 return o; |
| 3166 } | 3166 } |
| 3167 | 3167 |
| 3168 checkUnnamed1026(core.List<core.String> o) { | 3168 checkUnnamed1052(core.List<core.String> o) { |
| 3169 unittest.expect(o, unittest.hasLength(2)); | 3169 unittest.expect(o, unittest.hasLength(2)); |
| 3170 unittest.expect(o[0], unittest.equals('foo')); | 3170 unittest.expect(o[0], unittest.equals('foo')); |
| 3171 unittest.expect(o[1], unittest.equals('foo')); | 3171 unittest.expect(o[1], unittest.equals('foo')); |
| 3172 } | 3172 } |
| 3173 | 3173 |
| 3174 buildUnnamed1027() { | 3174 buildUnnamed1053() { |
| 3175 var o = new core.List<core.String>(); | 3175 var o = new core.List<core.String>(); |
| 3176 o.add("foo"); | 3176 o.add("foo"); |
| 3177 o.add("foo"); | 3177 o.add("foo"); |
| 3178 return o; | 3178 return o; |
| 3179 } | 3179 } |
| 3180 | 3180 |
| 3181 checkUnnamed1027(core.List<core.String> o) { | 3181 checkUnnamed1053(core.List<core.String> o) { |
| 3182 unittest.expect(o, unittest.hasLength(2)); | 3182 unittest.expect(o, unittest.hasLength(2)); |
| 3183 unittest.expect(o[0], unittest.equals('foo')); | 3183 unittest.expect(o[0], unittest.equals('foo')); |
| 3184 unittest.expect(o[1], unittest.equals('foo')); | 3184 unittest.expect(o[1], unittest.equals('foo')); |
| 3185 } | 3185 } |
| 3186 | 3186 |
| 3187 buildUnnamed1028() { | 3187 buildUnnamed1054() { |
| 3188 var o = new core.List<core.String>(); | 3188 var o = new core.List<core.String>(); |
| 3189 o.add("foo"); | 3189 o.add("foo"); |
| 3190 o.add("foo"); | 3190 o.add("foo"); |
| 3191 return o; | 3191 return o; |
| 3192 } | 3192 } |
| 3193 | 3193 |
| 3194 checkUnnamed1028(core.List<core.String> o) { | 3194 checkUnnamed1054(core.List<core.String> o) { |
| 3195 unittest.expect(o, unittest.hasLength(2)); | 3195 unittest.expect(o, unittest.hasLength(2)); |
| 3196 unittest.expect(o[0], unittest.equals('foo')); | 3196 unittest.expect(o[0], unittest.equals('foo')); |
| 3197 unittest.expect(o[1], unittest.equals('foo')); | 3197 unittest.expect(o[1], unittest.equals('foo')); |
| 3198 } | 3198 } |
| 3199 | 3199 |
| 3200 buildUnnamed1029() { | 3200 buildUnnamed1055() { |
| 3201 var o = new core.List<core.String>(); | 3201 var o = new core.List<core.String>(); |
| 3202 o.add("foo"); | 3202 o.add("foo"); |
| 3203 o.add("foo"); | 3203 o.add("foo"); |
| 3204 return o; | 3204 return o; |
| 3205 } | 3205 } |
| 3206 | 3206 |
| 3207 checkUnnamed1029(core.List<core.String> o) { | 3207 checkUnnamed1055(core.List<core.String> o) { |
| 3208 unittest.expect(o, unittest.hasLength(2)); | 3208 unittest.expect(o, unittest.hasLength(2)); |
| 3209 unittest.expect(o[0], unittest.equals('foo')); | 3209 unittest.expect(o[0], unittest.equals('foo')); |
| 3210 unittest.expect(o[1], unittest.equals('foo')); | 3210 unittest.expect(o[1], unittest.equals('foo')); |
| 3211 } | 3211 } |
| 3212 | 3212 |
| 3213 buildUnnamed1030() { | 3213 buildUnnamed1056() { |
| 3214 var o = new core.List<core.String>(); | 3214 var o = new core.List<core.String>(); |
| 3215 o.add("foo"); | 3215 o.add("foo"); |
| 3216 o.add("foo"); | 3216 o.add("foo"); |
| 3217 return o; | 3217 return o; |
| 3218 } | 3218 } |
| 3219 | 3219 |
| 3220 checkUnnamed1030(core.List<core.String> o) { | 3220 checkUnnamed1056(core.List<core.String> o) { |
| 3221 unittest.expect(o, unittest.hasLength(2)); | 3221 unittest.expect(o, unittest.hasLength(2)); |
| 3222 unittest.expect(o[0], unittest.equals('foo')); | 3222 unittest.expect(o[0], unittest.equals('foo')); |
| 3223 unittest.expect(o[1], unittest.equals('foo')); | 3223 unittest.expect(o[1], unittest.equals('foo')); |
| 3224 } | 3224 } |
| 3225 | 3225 |
| 3226 buildUnnamed1031() { | 3226 buildUnnamed1057() { |
| 3227 var o = new core.List<core.String>(); | 3227 var o = new core.List<core.String>(); |
| 3228 o.add("foo"); | 3228 o.add("foo"); |
| 3229 o.add("foo"); | 3229 o.add("foo"); |
| 3230 return o; | 3230 return o; |
| 3231 } | 3231 } |
| 3232 | 3232 |
| 3233 checkUnnamed1031(core.List<core.String> o) { | 3233 checkUnnamed1057(core.List<core.String> o) { |
| 3234 unittest.expect(o, unittest.hasLength(2)); | 3234 unittest.expect(o, unittest.hasLength(2)); |
| 3235 unittest.expect(o[0], unittest.equals('foo')); | 3235 unittest.expect(o[0], unittest.equals('foo')); |
| 3236 unittest.expect(o[1], unittest.equals('foo')); | 3236 unittest.expect(o[1], unittest.equals('foo')); |
| 3237 } | 3237 } |
| 3238 | 3238 |
| 3239 buildUnnamed1032() { | 3239 buildUnnamed1058() { |
| 3240 var o = new core.List<core.String>(); | 3240 var o = new core.List<core.String>(); |
| 3241 o.add("foo"); | 3241 o.add("foo"); |
| 3242 o.add("foo"); | 3242 o.add("foo"); |
| 3243 return o; | 3243 return o; |
| 3244 } | 3244 } |
| 3245 | 3245 |
| 3246 checkUnnamed1032(core.List<core.String> o) { | 3246 checkUnnamed1058(core.List<core.String> o) { |
| 3247 unittest.expect(o, unittest.hasLength(2)); | 3247 unittest.expect(o, unittest.hasLength(2)); |
| 3248 unittest.expect(o[0], unittest.equals('foo')); | 3248 unittest.expect(o[0], unittest.equals('foo')); |
| 3249 unittest.expect(o[1], unittest.equals('foo')); | 3249 unittest.expect(o[1], unittest.equals('foo')); |
| 3250 } | 3250 } |
| 3251 | 3251 |
| 3252 buildUnnamed1033() { | 3252 buildUnnamed1059() { |
| 3253 var o = new core.List<core.String>(); | 3253 var o = new core.List<core.String>(); |
| 3254 o.add("foo"); | 3254 o.add("foo"); |
| 3255 o.add("foo"); | 3255 o.add("foo"); |
| 3256 return o; | 3256 return o; |
| 3257 } | 3257 } |
| 3258 | 3258 |
| 3259 checkUnnamed1033(core.List<core.String> o) { | 3259 checkUnnamed1059(core.List<core.String> o) { |
| 3260 unittest.expect(o, unittest.hasLength(2)); | 3260 unittest.expect(o, unittest.hasLength(2)); |
| 3261 unittest.expect(o[0], unittest.equals('foo')); | 3261 unittest.expect(o[0], unittest.equals('foo')); |
| 3262 unittest.expect(o[1], unittest.equals('foo')); | 3262 unittest.expect(o[1], unittest.equals('foo')); |
| 3263 } | 3263 } |
| 3264 | 3264 |
| 3265 buildUnnamed1034() { | 3265 buildUnnamed1060() { |
| 3266 var o = new core.List<core.String>(); | 3266 var o = new core.List<core.String>(); |
| 3267 o.add("foo"); | 3267 o.add("foo"); |
| 3268 o.add("foo"); | 3268 o.add("foo"); |
| 3269 return o; | 3269 return o; |
| 3270 } | 3270 } |
| 3271 | 3271 |
| 3272 checkUnnamed1034(core.List<core.String> o) { | 3272 checkUnnamed1060(core.List<core.String> o) { |
| 3273 unittest.expect(o, unittest.hasLength(2)); | 3273 unittest.expect(o, unittest.hasLength(2)); |
| 3274 unittest.expect(o[0], unittest.equals('foo')); | 3274 unittest.expect(o[0], unittest.equals('foo')); |
| 3275 unittest.expect(o[1], unittest.equals('foo')); | 3275 unittest.expect(o[1], unittest.equals('foo')); |
| 3276 } | 3276 } |
| 3277 | 3277 |
| 3278 buildUnnamed1035() { | 3278 buildUnnamed1061() { |
| 3279 var o = new core.List<core.String>(); | 3279 var o = new core.List<core.String>(); |
| 3280 o.add("foo"); | 3280 o.add("foo"); |
| 3281 o.add("foo"); | 3281 o.add("foo"); |
| 3282 return o; | 3282 return o; |
| 3283 } | 3283 } |
| 3284 | 3284 |
| 3285 checkUnnamed1035(core.List<core.String> o) { | 3285 checkUnnamed1061(core.List<core.String> o) { |
| 3286 unittest.expect(o, unittest.hasLength(2)); | 3286 unittest.expect(o, unittest.hasLength(2)); |
| 3287 unittest.expect(o[0], unittest.equals('foo')); | 3287 unittest.expect(o[0], unittest.equals('foo')); |
| 3288 unittest.expect(o[1], unittest.equals('foo')); | 3288 unittest.expect(o[1], unittest.equals('foo')); |
| 3289 } | 3289 } |
| 3290 | 3290 |
| 3291 buildUnnamed1036() { | 3291 buildUnnamed1062() { |
| 3292 var o = new core.List<core.String>(); | 3292 var o = new core.List<core.String>(); |
| 3293 o.add("foo"); | 3293 o.add("foo"); |
| 3294 o.add("foo"); | 3294 o.add("foo"); |
| 3295 return o; | 3295 return o; |
| 3296 } | 3296 } |
| 3297 | 3297 |
| 3298 checkUnnamed1036(core.List<core.String> o) { | 3298 checkUnnamed1062(core.List<core.String> o) { |
| 3299 unittest.expect(o, unittest.hasLength(2)); | 3299 unittest.expect(o, unittest.hasLength(2)); |
| 3300 unittest.expect(o[0], unittest.equals('foo')); | 3300 unittest.expect(o[0], unittest.equals('foo')); |
| 3301 unittest.expect(o[1], unittest.equals('foo')); | 3301 unittest.expect(o[1], unittest.equals('foo')); |
| 3302 } | 3302 } |
| 3303 | 3303 |
| 3304 buildUnnamed1037() { | 3304 buildUnnamed1063() { |
| 3305 var o = new core.List<core.String>(); | 3305 var o = new core.List<core.String>(); |
| 3306 o.add("foo"); | 3306 o.add("foo"); |
| 3307 o.add("foo"); | 3307 o.add("foo"); |
| 3308 return o; | 3308 return o; |
| 3309 } | 3309 } |
| 3310 | 3310 |
| 3311 checkUnnamed1037(core.List<core.String> o) { | 3311 checkUnnamed1063(core.List<core.String> o) { |
| 3312 unittest.expect(o, unittest.hasLength(2)); | 3312 unittest.expect(o, unittest.hasLength(2)); |
| 3313 unittest.expect(o[0], unittest.equals('foo')); | 3313 unittest.expect(o[0], unittest.equals('foo')); |
| 3314 unittest.expect(o[1], unittest.equals('foo')); | 3314 unittest.expect(o[1], unittest.equals('foo')); |
| 3315 } | 3315 } |
| 3316 | 3316 |
| 3317 | 3317 |
| 3318 main() { | 3318 main() { |
| 3319 unittest.group("obj-schema-AnnotationClientVersionRanges", () { | 3319 unittest.group("obj-schema-AnnotationClientVersionRanges", () { |
| 3320 unittest.test("to-json--from-json", () { | 3320 unittest.test("to-json--from-json", () { |
| 3321 var o = buildAnnotationClientVersionRanges(); | 3321 var o = buildAnnotationClientVersionRanges(); |
| (...skipping 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4824 }))); | 4824 }))); |
| 4825 }); | 4825 }); |
| 4826 | 4826 |
| 4827 unittest.test("method--list", () { | 4827 unittest.test("method--list", () { |
| 4828 | 4828 |
| 4829 var mock = new HttpServerMock(); | 4829 var mock = new HttpServerMock(); |
| 4830 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; | 4830 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; |
| 4831 var arg_volumeId = "foo"; | 4831 var arg_volumeId = "foo"; |
| 4832 var arg_layerId = "foo"; | 4832 var arg_layerId = "foo"; |
| 4833 var arg_contentVersion = "foo"; | 4833 var arg_contentVersion = "foo"; |
| 4834 var arg_annotationDataId = buildUnnamed1026(); | 4834 var arg_annotationDataId = buildUnnamed1052(); |
| 4835 var arg_h = 42; | 4835 var arg_h = 42; |
| 4836 var arg_locale = "foo"; | 4836 var arg_locale = "foo"; |
| 4837 var arg_maxResults = 42; | 4837 var arg_maxResults = 42; |
| 4838 var arg_pageToken = "foo"; | 4838 var arg_pageToken = "foo"; |
| 4839 var arg_scale = 42; | 4839 var arg_scale = 42; |
| 4840 var arg_source = "foo"; | 4840 var arg_source = "foo"; |
| 4841 var arg_updatedMax = "foo"; | 4841 var arg_updatedMax = "foo"; |
| 4842 var arg_updatedMin = "foo"; | 4842 var arg_updatedMin = "foo"; |
| 4843 var arg_w = 42; | 4843 var arg_w = 42; |
| 4844 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4844 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5109 }), true); | 5109 }), true); |
| 5110 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons
e) { | 5110 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons
e) { |
| 5111 checkUsersettings(response); | 5111 checkUsersettings(response); |
| 5112 }))); | 5112 }))); |
| 5113 }); | 5113 }); |
| 5114 | 5114 |
| 5115 unittest.test("method--releaseDownloadAccess", () { | 5115 unittest.test("method--releaseDownloadAccess", () { |
| 5116 | 5116 |
| 5117 var mock = new HttpServerMock(); | 5117 var mock = new HttpServerMock(); |
| 5118 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 5118 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
| 5119 var arg_volumeIds = buildUnnamed1027(); | 5119 var arg_volumeIds = buildUnnamed1053(); |
| 5120 var arg_cpksver = "foo"; | 5120 var arg_cpksver = "foo"; |
| 5121 var arg_locale = "foo"; | 5121 var arg_locale = "foo"; |
| 5122 var arg_source = "foo"; | 5122 var arg_source = "foo"; |
| 5123 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5123 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5124 var path = (req.url).path; | 5124 var path = (req.url).path; |
| 5125 var pathOffset = 0; | 5125 var pathOffset = 0; |
| 5126 var index; | 5126 var index; |
| 5127 var subPart; | 5127 var subPart; |
| 5128 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5128 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5129 pathOffset += 1; | 5129 pathOffset += 1; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5222 }))); | 5222 }))); |
| 5223 }); | 5223 }); |
| 5224 | 5224 |
| 5225 unittest.test("method--syncVolumeLicenses", () { | 5225 unittest.test("method--syncVolumeLicenses", () { |
| 5226 | 5226 |
| 5227 var mock = new HttpServerMock(); | 5227 var mock = new HttpServerMock(); |
| 5228 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 5228 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
| 5229 var arg_source = "foo"; | 5229 var arg_source = "foo"; |
| 5230 var arg_nonce = "foo"; | 5230 var arg_nonce = "foo"; |
| 5231 var arg_cpksver = "foo"; | 5231 var arg_cpksver = "foo"; |
| 5232 var arg_features = buildUnnamed1028(); | 5232 var arg_features = buildUnnamed1054(); |
| 5233 var arg_includeNonComicsSeries = true; | 5233 var arg_includeNonComicsSeries = true; |
| 5234 var arg_locale = "foo"; | 5234 var arg_locale = "foo"; |
| 5235 var arg_showPreorders = true; | 5235 var arg_showPreorders = true; |
| 5236 var arg_volumeIds = buildUnnamed1029(); | 5236 var arg_volumeIds = buildUnnamed1055(); |
| 5237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5237 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5238 var path = (req.url).path; | 5238 var path = (req.url).path; |
| 5239 var pathOffset = 0; | 5239 var pathOffset = 0; |
| 5240 var index; | 5240 var index; |
| 5241 var subPart; | 5241 var subPart; |
| 5242 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5242 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5243 pathOffset += 1; | 5243 pathOffset += 1; |
| 5244 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5244 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| 5245 pathOffset += 9; | 5245 pathOffset += 9; |
| 5246 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); | 5246 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5439 checkAnnotation(response); | 5439 checkAnnotation(response); |
| 5440 }))); | 5440 }))); |
| 5441 }); | 5441 }); |
| 5442 | 5442 |
| 5443 unittest.test("method--list", () { | 5443 unittest.test("method--list", () { |
| 5444 | 5444 |
| 5445 var mock = new HttpServerMock(); | 5445 var mock = new HttpServerMock(); |
| 5446 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 5446 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
| 5447 var arg_contentVersion = "foo"; | 5447 var arg_contentVersion = "foo"; |
| 5448 var arg_layerId = "foo"; | 5448 var arg_layerId = "foo"; |
| 5449 var arg_layerIds = buildUnnamed1030(); | 5449 var arg_layerIds = buildUnnamed1056(); |
| 5450 var arg_maxResults = 42; | 5450 var arg_maxResults = 42; |
| 5451 var arg_pageToken = "foo"; | 5451 var arg_pageToken = "foo"; |
| 5452 var arg_showDeleted = true; | 5452 var arg_showDeleted = true; |
| 5453 var arg_source = "foo"; | 5453 var arg_source = "foo"; |
| 5454 var arg_updatedMax = "foo"; | 5454 var arg_updatedMax = "foo"; |
| 5455 var arg_updatedMin = "foo"; | 5455 var arg_updatedMin = "foo"; |
| 5456 var arg_volumeId = "foo"; | 5456 var arg_volumeId = "foo"; |
| 5457 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5457 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5458 var path = (req.url).path; | 5458 var path = (req.url).path; |
| 5459 var pathOffset = 0; | 5459 var pathOffset = 0; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5502 }), true); | 5502 }), true); |
| 5503 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId
s: arg_layerIds, maxResults: arg_maxResults, pageToken: arg_pageToken, showDelet
ed: arg_showDeleted, source: arg_source, updatedMax: arg_updatedMax, updatedMin:
arg_updatedMin, volumeId: arg_volumeId).then(unittest.expectAsync(((api.Annotat
ions response) { | 5503 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId
s: arg_layerIds, maxResults: arg_maxResults, pageToken: arg_pageToken, showDelet
ed: arg_showDeleted, source: arg_source, updatedMax: arg_updatedMax, updatedMin:
arg_updatedMin, volumeId: arg_volumeId).then(unittest.expectAsync(((api.Annotat
ions response) { |
| 5504 checkAnnotations(response); | 5504 checkAnnotations(response); |
| 5505 }))); | 5505 }))); |
| 5506 }); | 5506 }); |
| 5507 | 5507 |
| 5508 unittest.test("method--summary", () { | 5508 unittest.test("method--summary", () { |
| 5509 | 5509 |
| 5510 var mock = new HttpServerMock(); | 5510 var mock = new HttpServerMock(); |
| 5511 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 5511 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
| 5512 var arg_layerIds = buildUnnamed1031(); | 5512 var arg_layerIds = buildUnnamed1057(); |
| 5513 var arg_volumeId = "foo"; | 5513 var arg_volumeId = "foo"; |
| 5514 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5514 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5515 var path = (req.url).path; | 5515 var path = (req.url).path; |
| 5516 var pathOffset = 0; | 5516 var pathOffset = 0; |
| 5517 var index; | 5517 var index; |
| 5518 var subPart; | 5518 var subPart; |
| 5519 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5519 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5520 pathOffset += 1; | 5520 pathOffset += 1; |
| 5521 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5521 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| 5522 pathOffset += 9; | 5522 pathOffset += 9; |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6229 }), true); | 6229 }), true); |
| 6230 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat
egory response) { | 6230 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat
egory response) { |
| 6231 checkCategory(response); | 6231 checkCategory(response); |
| 6232 }))); | 6232 }))); |
| 6233 }); | 6233 }); |
| 6234 | 6234 |
| 6235 unittest.test("method--listCategoryVolumes", () { | 6235 unittest.test("method--listCategoryVolumes", () { |
| 6236 | 6236 |
| 6237 var mock = new HttpServerMock(); | 6237 var mock = new HttpServerMock(); |
| 6238 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; | 6238 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; |
| 6239 var arg_categoryId = buildUnnamed1032(); | 6239 var arg_categoryId = buildUnnamed1058(); |
| 6240 var arg_locale = "foo"; | 6240 var arg_locale = "foo"; |
| 6241 var arg_maxAllowedMaturityRating = "foo"; | 6241 var arg_maxAllowedMaturityRating = "foo"; |
| 6242 var arg_pageSize = 42; | 6242 var arg_pageSize = 42; |
| 6243 var arg_pageToken = "foo"; | 6243 var arg_pageToken = "foo"; |
| 6244 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6244 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 6245 var path = (req.url).path; | 6245 var path = (req.url).path; |
| 6246 var pathOffset = 0; | 6246 var pathOffset = 0; |
| 6247 var index; | 6247 var index; |
| 6248 var subPart; | 6248 var subPart; |
| 6249 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6249 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6520 }); | 6520 }); |
| 6521 | 6521 |
| 6522 }); | 6522 }); |
| 6523 | 6523 |
| 6524 | 6524 |
| 6525 unittest.group("resource-SeriesResourceApi", () { | 6525 unittest.group("resource-SeriesResourceApi", () { |
| 6526 unittest.test("method--get", () { | 6526 unittest.test("method--get", () { |
| 6527 | 6527 |
| 6528 var mock = new HttpServerMock(); | 6528 var mock = new HttpServerMock(); |
| 6529 api.SeriesResourceApi res = new api.BooksApi(mock).series; | 6529 api.SeriesResourceApi res = new api.BooksApi(mock).series; |
| 6530 var arg_seriesId = buildUnnamed1033(); | 6530 var arg_seriesId = buildUnnamed1059(); |
| 6531 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6531 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 6532 var path = (req.url).path; | 6532 var path = (req.url).path; |
| 6533 var pathOffset = 0; | 6533 var pathOffset = 0; |
| 6534 var index; | 6534 var index; |
| 6535 var subPart; | 6535 var subPart; |
| 6536 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6536 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 6537 pathOffset += 1; | 6537 pathOffset += 1; |
| 6538 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 6538 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| 6539 pathOffset += 9; | 6539 pathOffset += 9; |
| 6540 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("series/get")); | 6540 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("series/get")); |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6692 | 6692 |
| 6693 unittest.test("method--list", () { | 6693 unittest.test("method--list", () { |
| 6694 | 6694 |
| 6695 var mock = new HttpServerMock(); | 6695 var mock = new HttpServerMock(); |
| 6696 api.VolumesResourceApi res = new api.BooksApi(mock).volumes; | 6696 api.VolumesResourceApi res = new api.BooksApi(mock).volumes; |
| 6697 var arg_q = "foo"; | 6697 var arg_q = "foo"; |
| 6698 var arg_download = "foo"; | 6698 var arg_download = "foo"; |
| 6699 var arg_filter = "foo"; | 6699 var arg_filter = "foo"; |
| 6700 var arg_langRestrict = "foo"; | 6700 var arg_langRestrict = "foo"; |
| 6701 var arg_libraryRestrict = "foo"; | 6701 var arg_libraryRestrict = "foo"; |
| 6702 var arg_maxAllowedMaturityRating = "foo"; |
| 6702 var arg_maxResults = 42; | 6703 var arg_maxResults = 42; |
| 6703 var arg_orderBy = "foo"; | 6704 var arg_orderBy = "foo"; |
| 6704 var arg_partner = "foo"; | 6705 var arg_partner = "foo"; |
| 6705 var arg_printType = "foo"; | 6706 var arg_printType = "foo"; |
| 6706 var arg_projection = "foo"; | 6707 var arg_projection = "foo"; |
| 6707 var arg_showPreorders = true; | 6708 var arg_showPreorders = true; |
| 6708 var arg_source = "foo"; | 6709 var arg_source = "foo"; |
| 6709 var arg_startIndex = 42; | 6710 var arg_startIndex = 42; |
| 6710 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6711 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 6711 var path = (req.url).path; | 6712 var path = (req.url).path; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 6733 for (var part in query.split("&")) { | 6734 for (var part in query.split("&")) { |
| 6734 var keyvalue = part.split("="); | 6735 var keyvalue = part.split("="); |
| 6735 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 6736 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 6736 } | 6737 } |
| 6737 } | 6738 } |
| 6738 unittest.expect(queryMap["q"].first, unittest.equals(arg_q)); | 6739 unittest.expect(queryMap["q"].first, unittest.equals(arg_q)); |
| 6739 unittest.expect(queryMap["download"].first, unittest.equals(arg_download
)); | 6740 unittest.expect(queryMap["download"].first, unittest.equals(arg_download
)); |
| 6740 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | 6741 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 6741 unittest.expect(queryMap["langRestrict"].first, unittest.equals(arg_lang
Restrict)); | 6742 unittest.expect(queryMap["langRestrict"].first, unittest.equals(arg_lang
Restrict)); |
| 6742 unittest.expect(queryMap["libraryRestrict"].first, unittest.equals(arg_l
ibraryRestrict)); | 6743 unittest.expect(queryMap["libraryRestrict"].first, unittest.equals(arg_l
ibraryRestrict)); |
| 6744 unittest.expect(queryMap["maxAllowedMaturityRating"].first, unittest.equ
als(arg_maxAllowedMaturityRating)); |
| 6743 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); | 6745 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e
quals(arg_maxResults)); |
| 6744 unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy))
; | 6746 unittest.expect(queryMap["orderBy"].first, unittest.equals(arg_orderBy))
; |
| 6745 unittest.expect(queryMap["partner"].first, unittest.equals(arg_partner))
; | 6747 unittest.expect(queryMap["partner"].first, unittest.equals(arg_partner))
; |
| 6746 unittest.expect(queryMap["printType"].first, unittest.equals(arg_printTy
pe)); | 6748 unittest.expect(queryMap["printType"].first, unittest.equals(arg_printTy
pe)); |
| 6747 unittest.expect(queryMap["projection"].first, unittest.equals(arg_projec
tion)); | 6749 unittest.expect(queryMap["projection"].first, unittest.equals(arg_projec
tion)); |
| 6748 unittest.expect(queryMap["showPreorders"].first, unittest.equals("$arg_s
howPreorders")); | 6750 unittest.expect(queryMap["showPreorders"].first, unittest.equals("$arg_s
howPreorders")); |
| 6749 unittest.expect(queryMap["source"].first, unittest.equals(arg_source)); | 6751 unittest.expect(queryMap["source"].first, unittest.equals(arg_source)); |
| 6750 unittest.expect(core.int.parse(queryMap["startIndex"].first), unittest.e
quals(arg_startIndex)); | 6752 unittest.expect(core.int.parse(queryMap["startIndex"].first), unittest.e
quals(arg_startIndex)); |
| 6751 | 6753 |
| 6752 | 6754 |
| 6753 var h = { | 6755 var h = { |
| 6754 "content-type" : "application/json; charset=utf-8", | 6756 "content-type" : "application/json; charset=utf-8", |
| 6755 }; | 6757 }; |
| 6756 var resp = convert.JSON.encode(buildVolumes()); | 6758 var resp = convert.JSON.encode(buildVolumes()); |
| 6757 return new async.Future.value(stringResponse(200, h, resp)); | 6759 return new async.Future.value(stringResponse(200, h, resp)); |
| 6758 }), true); | 6760 }), true); |
| 6759 res.list(arg_q, download: arg_download, filter: arg_filter, langRestrict:
arg_langRestrict, libraryRestrict: arg_libraryRestrict, maxResults: arg_maxResul
ts, orderBy: arg_orderBy, partner: arg_partner, printType: arg_printType, projec
tion: arg_projection, showPreorders: arg_showPreorders, source: arg_source, star
tIndex: arg_startIndex).then(unittest.expectAsync(((api.Volumes response) { | 6761 res.list(arg_q, download: arg_download, filter: arg_filter, langRestrict:
arg_langRestrict, libraryRestrict: arg_libraryRestrict, maxAllowedMaturityRating
: arg_maxAllowedMaturityRating, maxResults: arg_maxResults, orderBy: arg_orderBy
, partner: arg_partner, printType: arg_printType, projection: arg_projection, sh
owPreorders: arg_showPreorders, source: arg_source, startIndex: arg_startIndex).
then(unittest.expectAsync(((api.Volumes response) { |
| 6760 checkVolumes(response); | 6762 checkVolumes(response); |
| 6761 }))); | 6763 }))); |
| 6762 }); | 6764 }); |
| 6763 | 6765 |
| 6764 }); | 6766 }); |
| 6765 | 6767 |
| 6766 | 6768 |
| 6767 unittest.group("resource-VolumesAssociatedResourceApi", () { | 6769 unittest.group("resource-VolumesAssociatedResourceApi", () { |
| 6768 unittest.test("method--list", () { | 6770 unittest.test("method--list", () { |
| 6769 | 6771 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6827 }); | 6829 }); |
| 6828 | 6830 |
| 6829 }); | 6831 }); |
| 6830 | 6832 |
| 6831 | 6833 |
| 6832 unittest.group("resource-VolumesMybooksResourceApi", () { | 6834 unittest.group("resource-VolumesMybooksResourceApi", () { |
| 6833 unittest.test("method--list", () { | 6835 unittest.test("method--list", () { |
| 6834 | 6836 |
| 6835 var mock = new HttpServerMock(); | 6837 var mock = new HttpServerMock(); |
| 6836 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; | 6838 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; |
| 6837 var arg_acquireMethod = buildUnnamed1034(); | 6839 var arg_acquireMethod = buildUnnamed1060(); |
| 6838 var arg_country = "foo"; | 6840 var arg_country = "foo"; |
| 6839 var arg_locale = "foo"; | 6841 var arg_locale = "foo"; |
| 6840 var arg_maxResults = 42; | 6842 var arg_maxResults = 42; |
| 6841 var arg_processingState = buildUnnamed1035(); | 6843 var arg_processingState = buildUnnamed1061(); |
| 6842 var arg_source = "foo"; | 6844 var arg_source = "foo"; |
| 6843 var arg_startIndex = 42; | 6845 var arg_startIndex = 42; |
| 6844 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6846 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 6845 var path = (req.url).path; | 6847 var path = (req.url).path; |
| 6846 var pathOffset = 0; | 6848 var pathOffset = 0; |
| 6847 var index; | 6849 var index; |
| 6848 var subPart; | 6850 var subPart; |
| 6849 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6851 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 6850 pathOffset += 1; | 6852 pathOffset += 1; |
| 6851 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 6853 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7000 }); | 7002 }); |
| 7001 | 7003 |
| 7002 | 7004 |
| 7003 unittest.group("resource-VolumesUseruploadedResourceApi", () { | 7005 unittest.group("resource-VolumesUseruploadedResourceApi", () { |
| 7004 unittest.test("method--list", () { | 7006 unittest.test("method--list", () { |
| 7005 | 7007 |
| 7006 var mock = new HttpServerMock(); | 7008 var mock = new HttpServerMock(); |
| 7007 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; | 7009 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; |
| 7008 var arg_locale = "foo"; | 7010 var arg_locale = "foo"; |
| 7009 var arg_maxResults = 42; | 7011 var arg_maxResults = 42; |
| 7010 var arg_processingState = buildUnnamed1036(); | 7012 var arg_processingState = buildUnnamed1062(); |
| 7011 var arg_source = "foo"; | 7013 var arg_source = "foo"; |
| 7012 var arg_startIndex = 42; | 7014 var arg_startIndex = 42; |
| 7013 var arg_volumeId = buildUnnamed1037(); | 7015 var arg_volumeId = buildUnnamed1063(); |
| 7014 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 7016 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 7015 var path = (req.url).path; | 7017 var path = (req.url).path; |
| 7016 var pathOffset = 0; | 7018 var pathOffset = 0; |
| 7017 var index; | 7019 var index; |
| 7018 var subPart; | 7020 var subPart; |
| 7019 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 7021 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 7020 pathOffset += 1; | 7022 pathOffset += 1; |
| 7021 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 7023 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| 7022 pathOffset += 9; | 7024 pathOffset += 9; |
| 7023 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("volumes/useruploaded")); | 7025 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("volumes/useruploaded")); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7056 res.list(locale: arg_locale, maxResults: arg_maxResults, processingState:
arg_processingState, source: arg_source, startIndex: arg_startIndex, volumeId: a
rg_volumeId).then(unittest.expectAsync(((api.Volumes response) { | 7058 res.list(locale: arg_locale, maxResults: arg_maxResults, processingState:
arg_processingState, source: arg_source, startIndex: arg_startIndex, volumeId: a
rg_volumeId).then(unittest.expectAsync(((api.Volumes response) { |
| 7057 checkVolumes(response); | 7059 checkVolumes(response); |
| 7058 }))); | 7060 }))); |
| 7059 }); | 7061 }); |
| 7060 | 7062 |
| 7061 }); | 7063 }); |
| 7062 | 7064 |
| 7063 | 7065 |
| 7064 } | 7066 } |
| 7065 | 7067 |
| OLD | NEW |