| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { | 86 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { |
| 87 buildCounterAnnotationLayerSummary++; | 87 buildCounterAnnotationLayerSummary++; |
| 88 if (buildCounterAnnotationLayerSummary < 3) { | 88 if (buildCounterAnnotationLayerSummary < 3) { |
| 89 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); | 89 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); |
| 90 unittest.expect(o.limitType, unittest.equals('foo')); | 90 unittest.expect(o.limitType, unittest.equals('foo')); |
| 91 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); | 91 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); |
| 92 } | 92 } |
| 93 buildCounterAnnotationLayerSummary--; | 93 buildCounterAnnotationLayerSummary--; |
| 94 } | 94 } |
| 95 | 95 |
| 96 buildUnnamed948() { | 96 buildUnnamed509() { |
| 97 var o = new core.List<core.String>(); | 97 var o = new core.List<core.String>(); |
| 98 o.add("foo"); | 98 o.add("foo"); |
| 99 o.add("foo"); | 99 o.add("foo"); |
| 100 return o; | 100 return o; |
| 101 } | 101 } |
| 102 | 102 |
| 103 checkUnnamed948(core.List<core.String> o) { | 103 checkUnnamed509(core.List<core.String> o) { |
| 104 unittest.expect(o, unittest.hasLength(2)); | 104 unittest.expect(o, unittest.hasLength(2)); |
| 105 unittest.expect(o[0], unittest.equals('foo')); | 105 unittest.expect(o[0], unittest.equals('foo')); |
| 106 unittest.expect(o[1], unittest.equals('foo')); | 106 unittest.expect(o[1], unittest.equals('foo')); |
| 107 } | 107 } |
| 108 | 108 |
| 109 core.int buildCounterAnnotation = 0; | 109 core.int buildCounterAnnotation = 0; |
| 110 buildAnnotation() { | 110 buildAnnotation() { |
| 111 var o = new api.Annotation(); | 111 var o = new api.Annotation(); |
| 112 buildCounterAnnotation++; | 112 buildCounterAnnotation++; |
| 113 if (buildCounterAnnotation < 3) { | 113 if (buildCounterAnnotation < 3) { |
| 114 o.afterSelectedText = "foo"; | 114 o.afterSelectedText = "foo"; |
| 115 o.beforeSelectedText = "foo"; | 115 o.beforeSelectedText = "foo"; |
| 116 o.clientVersionRanges = buildAnnotationClientVersionRanges(); | 116 o.clientVersionRanges = buildAnnotationClientVersionRanges(); |
| 117 o.created = core.DateTime.parse("2002-02-27T14:01:02"); | 117 o.created = core.DateTime.parse("2002-02-27T14:01:02"); |
| 118 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); | 118 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); |
| 119 o.data = "foo"; | 119 o.data = "foo"; |
| 120 o.deleted = true; | 120 o.deleted = true; |
| 121 o.highlightStyle = "foo"; | 121 o.highlightStyle = "foo"; |
| 122 o.id = "foo"; | 122 o.id = "foo"; |
| 123 o.kind = "foo"; | 123 o.kind = "foo"; |
| 124 o.layerId = "foo"; | 124 o.layerId = "foo"; |
| 125 o.layerSummary = buildAnnotationLayerSummary(); | 125 o.layerSummary = buildAnnotationLayerSummary(); |
| 126 o.pageIds = buildUnnamed948(); | 126 o.pageIds = buildUnnamed509(); |
| 127 o.selectedText = "foo"; | 127 o.selectedText = "foo"; |
| 128 o.selfLink = "foo"; | 128 o.selfLink = "foo"; |
| 129 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 129 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 130 o.volumeId = "foo"; | 130 o.volumeId = "foo"; |
| 131 } | 131 } |
| 132 buildCounterAnnotation--; | 132 buildCounterAnnotation--; |
| 133 return o; | 133 return o; |
| 134 } | 134 } |
| 135 | 135 |
| 136 checkAnnotation(api.Annotation o) { | 136 checkAnnotation(api.Annotation o) { |
| 137 buildCounterAnnotation++; | 137 buildCounterAnnotation++; |
| 138 if (buildCounterAnnotation < 3) { | 138 if (buildCounterAnnotation < 3) { |
| 139 unittest.expect(o.afterSelectedText, unittest.equals('foo')); | 139 unittest.expect(o.afterSelectedText, unittest.equals('foo')); |
| 140 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); | 140 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); |
| 141 checkAnnotationClientVersionRanges(o.clientVersionRanges); | 141 checkAnnotationClientVersionRanges(o.clientVersionRanges); |
| 142 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 142 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 143 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); | 143 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); |
| 144 unittest.expect(o.data, unittest.equals('foo')); | 144 unittest.expect(o.data, unittest.equals('foo')); |
| 145 unittest.expect(o.deleted, unittest.isTrue); | 145 unittest.expect(o.deleted, unittest.isTrue); |
| 146 unittest.expect(o.highlightStyle, unittest.equals('foo')); | 146 unittest.expect(o.highlightStyle, unittest.equals('foo')); |
| 147 unittest.expect(o.id, unittest.equals('foo')); | 147 unittest.expect(o.id, unittest.equals('foo')); |
| 148 unittest.expect(o.kind, unittest.equals('foo')); | 148 unittest.expect(o.kind, unittest.equals('foo')); |
| 149 unittest.expect(o.layerId, unittest.equals('foo')); | 149 unittest.expect(o.layerId, unittest.equals('foo')); |
| 150 checkAnnotationLayerSummary(o.layerSummary); | 150 checkAnnotationLayerSummary(o.layerSummary); |
| 151 checkUnnamed948(o.pageIds); | 151 checkUnnamed509(o.pageIds); |
| 152 unittest.expect(o.selectedText, unittest.equals('foo')); | 152 unittest.expect(o.selectedText, unittest.equals('foo')); |
| 153 unittest.expect(o.selfLink, unittest.equals('foo')); | 153 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 154 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 154 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 155 unittest.expect(o.volumeId, unittest.equals('foo')); | 155 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 156 } | 156 } |
| 157 buildCounterAnnotation--; | 157 buildCounterAnnotation--; |
| 158 } | 158 } |
| 159 | 159 |
| 160 core.int buildCounterAnnotationdata = 0; | 160 core.int buildCounterAnnotationdata = 0; |
| 161 buildAnnotationdata() { | 161 buildAnnotationdata() { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 185 unittest.expect(o.id, unittest.equals('foo')); | 185 unittest.expect(o.id, unittest.equals('foo')); |
| 186 unittest.expect(o.kind, unittest.equals('foo')); | 186 unittest.expect(o.kind, unittest.equals('foo')); |
| 187 unittest.expect(o.layerId, unittest.equals('foo')); | 187 unittest.expect(o.layerId, 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 buildCounterAnnotationdata--; | 192 buildCounterAnnotationdata--; |
| 193 } | 193 } |
| 194 | 194 |
| 195 buildUnnamed949() { | 195 buildUnnamed510() { |
| 196 var o = new core.List<api.Annotation>(); | 196 var o = new core.List<api.Annotation>(); |
| 197 o.add(buildAnnotation()); | 197 o.add(buildAnnotation()); |
| 198 o.add(buildAnnotation()); | 198 o.add(buildAnnotation()); |
| 199 return o; | 199 return o; |
| 200 } | 200 } |
| 201 | 201 |
| 202 checkUnnamed949(core.List<api.Annotation> o) { | 202 checkUnnamed510(core.List<api.Annotation> o) { |
| 203 unittest.expect(o, unittest.hasLength(2)); | 203 unittest.expect(o, unittest.hasLength(2)); |
| 204 checkAnnotation(o[0]); | 204 checkAnnotation(o[0]); |
| 205 checkAnnotation(o[1]); | 205 checkAnnotation(o[1]); |
| 206 } | 206 } |
| 207 | 207 |
| 208 core.int buildCounterAnnotations = 0; | 208 core.int buildCounterAnnotations = 0; |
| 209 buildAnnotations() { | 209 buildAnnotations() { |
| 210 var o = new api.Annotations(); | 210 var o = new api.Annotations(); |
| 211 buildCounterAnnotations++; | 211 buildCounterAnnotations++; |
| 212 if (buildCounterAnnotations < 3) { | 212 if (buildCounterAnnotations < 3) { |
| 213 o.items = buildUnnamed949(); | 213 o.items = buildUnnamed510(); |
| 214 o.kind = "foo"; | 214 o.kind = "foo"; |
| 215 o.nextPageToken = "foo"; | 215 o.nextPageToken = "foo"; |
| 216 o.totalItems = 42; | 216 o.totalItems = 42; |
| 217 } | 217 } |
| 218 buildCounterAnnotations--; | 218 buildCounterAnnotations--; |
| 219 return o; | 219 return o; |
| 220 } | 220 } |
| 221 | 221 |
| 222 checkAnnotations(api.Annotations o) { | 222 checkAnnotations(api.Annotations o) { |
| 223 buildCounterAnnotations++; | 223 buildCounterAnnotations++; |
| 224 if (buildCounterAnnotations < 3) { | 224 if (buildCounterAnnotations < 3) { |
| 225 checkUnnamed949(o.items); | 225 checkUnnamed510(o.items); |
| 226 unittest.expect(o.kind, unittest.equals('foo')); | 226 unittest.expect(o.kind, unittest.equals('foo')); |
| 227 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 227 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 228 unittest.expect(o.totalItems, unittest.equals(42)); | 228 unittest.expect(o.totalItems, unittest.equals(42)); |
| 229 } | 229 } |
| 230 buildCounterAnnotations--; | 230 buildCounterAnnotations--; |
| 231 } | 231 } |
| 232 | 232 |
| 233 core.int buildCounterAnnotationsSummaryLayers = 0; | 233 core.int buildCounterAnnotationsSummaryLayers = 0; |
| 234 buildAnnotationsSummaryLayers() { | 234 buildAnnotationsSummaryLayers() { |
| 235 var o = new api.AnnotationsSummaryLayers(); | 235 var o = new api.AnnotationsSummaryLayers(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 250 if (buildCounterAnnotationsSummaryLayers < 3) { | 250 if (buildCounterAnnotationsSummaryLayers < 3) { |
| 251 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); | 251 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); |
| 252 unittest.expect(o.layerId, unittest.equals('foo')); | 252 unittest.expect(o.layerId, unittest.equals('foo')); |
| 253 unittest.expect(o.limitType, unittest.equals('foo')); | 253 unittest.expect(o.limitType, unittest.equals('foo')); |
| 254 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); | 254 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); |
| 255 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 255 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 256 } | 256 } |
| 257 buildCounterAnnotationsSummaryLayers--; | 257 buildCounterAnnotationsSummaryLayers--; |
| 258 } | 258 } |
| 259 | 259 |
| 260 buildUnnamed950() { | 260 buildUnnamed511() { |
| 261 var o = new core.List<api.AnnotationsSummaryLayers>(); | 261 var o = new core.List<api.AnnotationsSummaryLayers>(); |
| 262 o.add(buildAnnotationsSummaryLayers()); | 262 o.add(buildAnnotationsSummaryLayers()); |
| 263 o.add(buildAnnotationsSummaryLayers()); | 263 o.add(buildAnnotationsSummaryLayers()); |
| 264 return o; | 264 return o; |
| 265 } | 265 } |
| 266 | 266 |
| 267 checkUnnamed950(core.List<api.AnnotationsSummaryLayers> o) { | 267 checkUnnamed511(core.List<api.AnnotationsSummaryLayers> o) { |
| 268 unittest.expect(o, unittest.hasLength(2)); | 268 unittest.expect(o, unittest.hasLength(2)); |
| 269 checkAnnotationsSummaryLayers(o[0]); | 269 checkAnnotationsSummaryLayers(o[0]); |
| 270 checkAnnotationsSummaryLayers(o[1]); | 270 checkAnnotationsSummaryLayers(o[1]); |
| 271 } | 271 } |
| 272 | 272 |
| 273 core.int buildCounterAnnotationsSummary = 0; | 273 core.int buildCounterAnnotationsSummary = 0; |
| 274 buildAnnotationsSummary() { | 274 buildAnnotationsSummary() { |
| 275 var o = new api.AnnotationsSummary(); | 275 var o = new api.AnnotationsSummary(); |
| 276 buildCounterAnnotationsSummary++; | 276 buildCounterAnnotationsSummary++; |
| 277 if (buildCounterAnnotationsSummary < 3) { | 277 if (buildCounterAnnotationsSummary < 3) { |
| 278 o.kind = "foo"; | 278 o.kind = "foo"; |
| 279 o.layers = buildUnnamed950(); | 279 o.layers = buildUnnamed511(); |
| 280 } | 280 } |
| 281 buildCounterAnnotationsSummary--; | 281 buildCounterAnnotationsSummary--; |
| 282 return o; | 282 return o; |
| 283 } | 283 } |
| 284 | 284 |
| 285 checkAnnotationsSummary(api.AnnotationsSummary o) { | 285 checkAnnotationsSummary(api.AnnotationsSummary o) { |
| 286 buildCounterAnnotationsSummary++; | 286 buildCounterAnnotationsSummary++; |
| 287 if (buildCounterAnnotationsSummary < 3) { | 287 if (buildCounterAnnotationsSummary < 3) { |
| 288 unittest.expect(o.kind, unittest.equals('foo')); | 288 unittest.expect(o.kind, unittest.equals('foo')); |
| 289 checkUnnamed950(o.layers); | 289 checkUnnamed511(o.layers); |
| 290 } | 290 } |
| 291 buildCounterAnnotationsSummary--; | 291 buildCounterAnnotationsSummary--; |
| 292 } | 292 } |
| 293 | 293 |
| 294 buildUnnamed951() { | 294 buildUnnamed512() { |
| 295 var o = new core.List<api.Annotationdata>(); | 295 var o = new core.List<api.Annotationdata>(); |
| 296 o.add(buildAnnotationdata()); | 296 o.add(buildAnnotationdata()); |
| 297 o.add(buildAnnotationdata()); | 297 o.add(buildAnnotationdata()); |
| 298 return o; | 298 return o; |
| 299 } | 299 } |
| 300 | 300 |
| 301 checkUnnamed951(core.List<api.Annotationdata> o) { | 301 checkUnnamed512(core.List<api.Annotationdata> o) { |
| 302 unittest.expect(o, unittest.hasLength(2)); | 302 unittest.expect(o, unittest.hasLength(2)); |
| 303 checkAnnotationdata(o[0]); | 303 checkAnnotationdata(o[0]); |
| 304 checkAnnotationdata(o[1]); | 304 checkAnnotationdata(o[1]); |
| 305 } | 305 } |
| 306 | 306 |
| 307 core.int buildCounterAnnotationsdata = 0; | 307 core.int buildCounterAnnotationsdata = 0; |
| 308 buildAnnotationsdata() { | 308 buildAnnotationsdata() { |
| 309 var o = new api.Annotationsdata(); | 309 var o = new api.Annotationsdata(); |
| 310 buildCounterAnnotationsdata++; | 310 buildCounterAnnotationsdata++; |
| 311 if (buildCounterAnnotationsdata < 3) { | 311 if (buildCounterAnnotationsdata < 3) { |
| 312 o.items = buildUnnamed951(); | 312 o.items = buildUnnamed512(); |
| 313 o.kind = "foo"; | 313 o.kind = "foo"; |
| 314 o.nextPageToken = "foo"; | 314 o.nextPageToken = "foo"; |
| 315 o.totalItems = 42; | 315 o.totalItems = 42; |
| 316 } | 316 } |
| 317 buildCounterAnnotationsdata--; | 317 buildCounterAnnotationsdata--; |
| 318 return o; | 318 return o; |
| 319 } | 319 } |
| 320 | 320 |
| 321 checkAnnotationsdata(api.Annotationsdata o) { | 321 checkAnnotationsdata(api.Annotationsdata o) { |
| 322 buildCounterAnnotationsdata++; | 322 buildCounterAnnotationsdata++; |
| 323 if (buildCounterAnnotationsdata < 3) { | 323 if (buildCounterAnnotationsdata < 3) { |
| 324 checkUnnamed951(o.items); | 324 checkUnnamed512(o.items); |
| 325 unittest.expect(o.kind, unittest.equals('foo')); | 325 unittest.expect(o.kind, unittest.equals('foo')); |
| 326 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 326 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 327 unittest.expect(o.totalItems, unittest.equals(42)); | 327 unittest.expect(o.totalItems, unittest.equals(42)); |
| 328 } | 328 } |
| 329 buildCounterAnnotationsdata--; | 329 buildCounterAnnotationsdata--; |
| 330 } | 330 } |
| 331 | 331 |
| 332 core.int buildCounterBooksAnnotationsRange = 0; | 332 core.int buildCounterBooksAnnotationsRange = 0; |
| 333 buildBooksAnnotationsRange() { | 333 buildBooksAnnotationsRange() { |
| 334 var o = new api.BooksAnnotationsRange(); | 334 var o = new api.BooksAnnotationsRange(); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 unittest.expect(o.kind, unittest.equals('foo')); | 428 unittest.expect(o.kind, unittest.equals('foo')); |
| 429 unittest.expect(o.selfLink, unittest.equals('foo')); | 429 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 430 unittest.expect(o.title, unittest.equals('foo')); | 430 unittest.expect(o.title, unittest.equals('foo')); |
| 431 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 431 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 432 unittest.expect(o.volumeCount, unittest.equals(42)); | 432 unittest.expect(o.volumeCount, unittest.equals(42)); |
| 433 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 433 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
| 434 } | 434 } |
| 435 buildCounterBookshelf--; | 435 buildCounterBookshelf--; |
| 436 } | 436 } |
| 437 | 437 |
| 438 buildUnnamed952() { | 438 buildUnnamed513() { |
| 439 var o = new core.List<api.Bookshelf>(); | 439 var o = new core.List<api.Bookshelf>(); |
| 440 o.add(buildBookshelf()); | 440 o.add(buildBookshelf()); |
| 441 o.add(buildBookshelf()); | 441 o.add(buildBookshelf()); |
| 442 return o; | 442 return o; |
| 443 } | 443 } |
| 444 | 444 |
| 445 checkUnnamed952(core.List<api.Bookshelf> o) { | 445 checkUnnamed513(core.List<api.Bookshelf> o) { |
| 446 unittest.expect(o, unittest.hasLength(2)); | 446 unittest.expect(o, unittest.hasLength(2)); |
| 447 checkBookshelf(o[0]); | 447 checkBookshelf(o[0]); |
| 448 checkBookshelf(o[1]); | 448 checkBookshelf(o[1]); |
| 449 } | 449 } |
| 450 | 450 |
| 451 core.int buildCounterBookshelves = 0; | 451 core.int buildCounterBookshelves = 0; |
| 452 buildBookshelves() { | 452 buildBookshelves() { |
| 453 var o = new api.Bookshelves(); | 453 var o = new api.Bookshelves(); |
| 454 buildCounterBookshelves++; | 454 buildCounterBookshelves++; |
| 455 if (buildCounterBookshelves < 3) { | 455 if (buildCounterBookshelves < 3) { |
| 456 o.items = buildUnnamed952(); | 456 o.items = buildUnnamed513(); |
| 457 o.kind = "foo"; | 457 o.kind = "foo"; |
| 458 } | 458 } |
| 459 buildCounterBookshelves--; | 459 buildCounterBookshelves--; |
| 460 return o; | 460 return o; |
| 461 } | 461 } |
| 462 | 462 |
| 463 checkBookshelves(api.Bookshelves o) { | 463 checkBookshelves(api.Bookshelves o) { |
| 464 buildCounterBookshelves++; | 464 buildCounterBookshelves++; |
| 465 if (buildCounterBookshelves < 3) { | 465 if (buildCounterBookshelves < 3) { |
| 466 checkUnnamed952(o.items); | 466 checkUnnamed513(o.items); |
| 467 unittest.expect(o.kind, unittest.equals('foo')); | 467 unittest.expect(o.kind, unittest.equals('foo')); |
| 468 } | 468 } |
| 469 buildCounterBookshelves--; | 469 buildCounterBookshelves--; |
| 470 } | 470 } |
| 471 | 471 |
| 472 core.int buildCounterConcurrentAccessRestriction = 0; | 472 core.int buildCounterConcurrentAccessRestriction = 0; |
| 473 buildConcurrentAccessRestriction() { | 473 buildConcurrentAccessRestriction() { |
| 474 var o = new api.ConcurrentAccessRestriction(); | 474 var o = new api.ConcurrentAccessRestriction(); |
| 475 buildCounterConcurrentAccessRestriction++; | 475 buildCounterConcurrentAccessRestriction++; |
| 476 if (buildCounterConcurrentAccessRestriction < 3) { | 476 if (buildCounterConcurrentAccessRestriction < 3) { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 | 583 |
| 584 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
{ | 584 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
{ |
| 585 buildCounterDictlayerdataDictWordsDerivatives++; | 585 buildCounterDictlayerdataDictWordsDerivatives++; |
| 586 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { | 586 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { |
| 587 checkDictlayerdataDictWordsDerivativesSource(o.source); | 587 checkDictlayerdataDictWordsDerivativesSource(o.source); |
| 588 unittest.expect(o.text, unittest.equals('foo')); | 588 unittest.expect(o.text, unittest.equals('foo')); |
| 589 } | 589 } |
| 590 buildCounterDictlayerdataDictWordsDerivatives--; | 590 buildCounterDictlayerdataDictWordsDerivatives--; |
| 591 } | 591 } |
| 592 | 592 |
| 593 buildUnnamed953() { | 593 buildUnnamed514() { |
| 594 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); | 594 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); |
| 595 o.add(buildDictlayerdataDictWordsDerivatives()); | 595 o.add(buildDictlayerdataDictWordsDerivatives()); |
| 596 o.add(buildDictlayerdataDictWordsDerivatives()); | 596 o.add(buildDictlayerdataDictWordsDerivatives()); |
| 597 return o; | 597 return o; |
| 598 } | 598 } |
| 599 | 599 |
| 600 checkUnnamed953(core.List<api.DictlayerdataDictWordsDerivatives> o) { | 600 checkUnnamed514(core.List<api.DictlayerdataDictWordsDerivatives> o) { |
| 601 unittest.expect(o, unittest.hasLength(2)); | 601 unittest.expect(o, unittest.hasLength(2)); |
| 602 checkDictlayerdataDictWordsDerivatives(o[0]); | 602 checkDictlayerdataDictWordsDerivatives(o[0]); |
| 603 checkDictlayerdataDictWordsDerivatives(o[1]); | 603 checkDictlayerdataDictWordsDerivatives(o[1]); |
| 604 } | 604 } |
| 605 | 605 |
| 606 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; | 606 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; |
| 607 buildDictlayerdataDictWordsExamplesSource() { | 607 buildDictlayerdataDictWordsExamplesSource() { |
| 608 var o = new api.DictlayerdataDictWordsExamplesSource(); | 608 var o = new api.DictlayerdataDictWordsExamplesSource(); |
| 609 buildCounterDictlayerdataDictWordsExamplesSource++; | 609 buildCounterDictlayerdataDictWordsExamplesSource++; |
| 610 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { | 610 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 638 | 638 |
| 639 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { | 639 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { |
| 640 buildCounterDictlayerdataDictWordsExamples++; | 640 buildCounterDictlayerdataDictWordsExamples++; |
| 641 if (buildCounterDictlayerdataDictWordsExamples < 3) { | 641 if (buildCounterDictlayerdataDictWordsExamples < 3) { |
| 642 checkDictlayerdataDictWordsExamplesSource(o.source); | 642 checkDictlayerdataDictWordsExamplesSource(o.source); |
| 643 unittest.expect(o.text, unittest.equals('foo')); | 643 unittest.expect(o.text, unittest.equals('foo')); |
| 644 } | 644 } |
| 645 buildCounterDictlayerdataDictWordsExamples--; | 645 buildCounterDictlayerdataDictWordsExamples--; |
| 646 } | 646 } |
| 647 | 647 |
| 648 buildUnnamed954() { | 648 buildUnnamed515() { |
| 649 var o = new core.List<api.DictlayerdataDictWordsExamples>(); | 649 var o = new core.List<api.DictlayerdataDictWordsExamples>(); |
| 650 o.add(buildDictlayerdataDictWordsExamples()); | 650 o.add(buildDictlayerdataDictWordsExamples()); |
| 651 o.add(buildDictlayerdataDictWordsExamples()); | 651 o.add(buildDictlayerdataDictWordsExamples()); |
| 652 return o; | 652 return o; |
| 653 } | 653 } |
| 654 | 654 |
| 655 checkUnnamed954(core.List<api.DictlayerdataDictWordsExamples> o) { | 655 checkUnnamed515(core.List<api.DictlayerdataDictWordsExamples> o) { |
| 656 unittest.expect(o, unittest.hasLength(2)); | 656 unittest.expect(o, unittest.hasLength(2)); |
| 657 checkDictlayerdataDictWordsExamples(o[0]); | 657 checkDictlayerdataDictWordsExamples(o[0]); |
| 658 checkDictlayerdataDictWordsExamples(o[1]); | 658 checkDictlayerdataDictWordsExamples(o[1]); |
| 659 } | 659 } |
| 660 | 660 |
| 661 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; | 661 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; |
| 662 buildDictlayerdataDictWordsSensesConjugations() { | 662 buildDictlayerdataDictWordsSensesConjugations() { |
| 663 var o = new api.DictlayerdataDictWordsSensesConjugations(); | 663 var o = new api.DictlayerdataDictWordsSensesConjugations(); |
| 664 buildCounterDictlayerdataDictWordsSensesConjugations++; | 664 buildCounterDictlayerdataDictWordsSensesConjugations++; |
| 665 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { | 665 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { |
| 666 o.type = "foo"; | 666 o.type = "foo"; |
| 667 o.value = "foo"; | 667 o.value = "foo"; |
| 668 } | 668 } |
| 669 buildCounterDictlayerdataDictWordsSensesConjugations--; | 669 buildCounterDictlayerdataDictWordsSensesConjugations--; |
| 670 return o; | 670 return o; |
| 671 } | 671 } |
| 672 | 672 |
| 673 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
njugations o) { | 673 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
njugations o) { |
| 674 buildCounterDictlayerdataDictWordsSensesConjugations++; | 674 buildCounterDictlayerdataDictWordsSensesConjugations++; |
| 675 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { | 675 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { |
| 676 unittest.expect(o.type, unittest.equals('foo')); | 676 unittest.expect(o.type, unittest.equals('foo')); |
| 677 unittest.expect(o.value, unittest.equals('foo')); | 677 unittest.expect(o.value, unittest.equals('foo')); |
| 678 } | 678 } |
| 679 buildCounterDictlayerdataDictWordsSensesConjugations--; | 679 buildCounterDictlayerdataDictWordsSensesConjugations--; |
| 680 } | 680 } |
| 681 | 681 |
| 682 buildUnnamed955() { | 682 buildUnnamed516() { |
| 683 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); | 683 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); |
| 684 o.add(buildDictlayerdataDictWordsSensesConjugations()); | 684 o.add(buildDictlayerdataDictWordsSensesConjugations()); |
| 685 o.add(buildDictlayerdataDictWordsSensesConjugations()); | 685 o.add(buildDictlayerdataDictWordsSensesConjugations()); |
| 686 return o; | 686 return o; |
| 687 } | 687 } |
| 688 | 688 |
| 689 checkUnnamed955(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { | 689 checkUnnamed516(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { |
| 690 unittest.expect(o, unittest.hasLength(2)); | 690 unittest.expect(o, unittest.hasLength(2)); |
| 691 checkDictlayerdataDictWordsSensesConjugations(o[0]); | 691 checkDictlayerdataDictWordsSensesConjugations(o[0]); |
| 692 checkDictlayerdataDictWordsSensesConjugations(o[1]); | 692 checkDictlayerdataDictWordsSensesConjugations(o[1]); |
| 693 } | 693 } |
| 694 | 694 |
| 695 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; | 695 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; |
| 696 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { | 696 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { |
| 697 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); | 697 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); |
| 698 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; | 698 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; |
| 699 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { | 699 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 727 | 727 |
| 728 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
ensesDefinitionsExamples o) { | 728 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
ensesDefinitionsExamples o) { |
| 729 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; | 729 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; |
| 730 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { | 730 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { |
| 731 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); | 731 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); |
| 732 unittest.expect(o.text, unittest.equals('foo')); | 732 unittest.expect(o.text, unittest.equals('foo')); |
| 733 } | 733 } |
| 734 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; | 734 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; |
| 735 } | 735 } |
| 736 | 736 |
| 737 buildUnnamed956() { | 737 buildUnnamed517() { |
| 738 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); | 738 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); |
| 739 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); | 739 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); |
| 740 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); | 740 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); |
| 741 return o; | 741 return o; |
| 742 } | 742 } |
| 743 | 743 |
| 744 checkUnnamed956(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o
) { | 744 checkUnnamed517(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o
) { |
| 745 unittest.expect(o, unittest.hasLength(2)); | 745 unittest.expect(o, unittest.hasLength(2)); |
| 746 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); | 746 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); |
| 747 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); | 747 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); |
| 748 } | 748 } |
| 749 | 749 |
| 750 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; | 750 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; |
| 751 buildDictlayerdataDictWordsSensesDefinitions() { | 751 buildDictlayerdataDictWordsSensesDefinitions() { |
| 752 var o = new api.DictlayerdataDictWordsSensesDefinitions(); | 752 var o = new api.DictlayerdataDictWordsSensesDefinitions(); |
| 753 buildCounterDictlayerdataDictWordsSensesDefinitions++; | 753 buildCounterDictlayerdataDictWordsSensesDefinitions++; |
| 754 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { | 754 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { |
| 755 o.definition = "foo"; | 755 o.definition = "foo"; |
| 756 o.examples = buildUnnamed956(); | 756 o.examples = buildUnnamed517(); |
| 757 } | 757 } |
| 758 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 758 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
| 759 return o; | 759 return o; |
| 760 } | 760 } |
| 761 | 761 |
| 762 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
initions o) { | 762 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
initions o) { |
| 763 buildCounterDictlayerdataDictWordsSensesDefinitions++; | 763 buildCounterDictlayerdataDictWordsSensesDefinitions++; |
| 764 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { | 764 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { |
| 765 unittest.expect(o.definition, unittest.equals('foo')); | 765 unittest.expect(o.definition, unittest.equals('foo')); |
| 766 checkUnnamed956(o.examples); | 766 checkUnnamed517(o.examples); |
| 767 } | 767 } |
| 768 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 768 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
| 769 } | 769 } |
| 770 | 770 |
| 771 buildUnnamed957() { | 771 buildUnnamed518() { |
| 772 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); | 772 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); |
| 773 o.add(buildDictlayerdataDictWordsSensesDefinitions()); | 773 o.add(buildDictlayerdataDictWordsSensesDefinitions()); |
| 774 o.add(buildDictlayerdataDictWordsSensesDefinitions()); | 774 o.add(buildDictlayerdataDictWordsSensesDefinitions()); |
| 775 return o; | 775 return o; |
| 776 } | 776 } |
| 777 | 777 |
| 778 checkUnnamed957(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { | 778 checkUnnamed518(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { |
| 779 unittest.expect(o, unittest.hasLength(2)); | 779 unittest.expect(o, unittest.hasLength(2)); |
| 780 checkDictlayerdataDictWordsSensesDefinitions(o[0]); | 780 checkDictlayerdataDictWordsSensesDefinitions(o[0]); |
| 781 checkDictlayerdataDictWordsSensesDefinitions(o[1]); | 781 checkDictlayerdataDictWordsSensesDefinitions(o[1]); |
| 782 } | 782 } |
| 783 | 783 |
| 784 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; | 784 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; |
| 785 buildDictlayerdataDictWordsSensesSource() { | 785 buildDictlayerdataDictWordsSensesSource() { |
| 786 var o = new api.DictlayerdataDictWordsSensesSource(); | 786 var o = new api.DictlayerdataDictWordsSensesSource(); |
| 787 buildCounterDictlayerdataDictWordsSensesSource++; | 787 buildCounterDictlayerdataDictWordsSensesSource++; |
| 788 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { | 788 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 | 837 |
| 838 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
ms o) { | 838 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
ms o) { |
| 839 buildCounterDictlayerdataDictWordsSensesSynonyms++; | 839 buildCounterDictlayerdataDictWordsSensesSynonyms++; |
| 840 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { | 840 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { |
| 841 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); | 841 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); |
| 842 unittest.expect(o.text, unittest.equals('foo')); | 842 unittest.expect(o.text, unittest.equals('foo')); |
| 843 } | 843 } |
| 844 buildCounterDictlayerdataDictWordsSensesSynonyms--; | 844 buildCounterDictlayerdataDictWordsSensesSynonyms--; |
| 845 } | 845 } |
| 846 | 846 |
| 847 buildUnnamed958() { | 847 buildUnnamed519() { |
| 848 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); | 848 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); |
| 849 o.add(buildDictlayerdataDictWordsSensesSynonyms()); | 849 o.add(buildDictlayerdataDictWordsSensesSynonyms()); |
| 850 o.add(buildDictlayerdataDictWordsSensesSynonyms()); | 850 o.add(buildDictlayerdataDictWordsSensesSynonyms()); |
| 851 return o; | 851 return o; |
| 852 } | 852 } |
| 853 | 853 |
| 854 checkUnnamed958(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { | 854 checkUnnamed519(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { |
| 855 unittest.expect(o, unittest.hasLength(2)); | 855 unittest.expect(o, unittest.hasLength(2)); |
| 856 checkDictlayerdataDictWordsSensesSynonyms(o[0]); | 856 checkDictlayerdataDictWordsSensesSynonyms(o[0]); |
| 857 checkDictlayerdataDictWordsSensesSynonyms(o[1]); | 857 checkDictlayerdataDictWordsSensesSynonyms(o[1]); |
| 858 } | 858 } |
| 859 | 859 |
| 860 core.int buildCounterDictlayerdataDictWordsSenses = 0; | 860 core.int buildCounterDictlayerdataDictWordsSenses = 0; |
| 861 buildDictlayerdataDictWordsSenses() { | 861 buildDictlayerdataDictWordsSenses() { |
| 862 var o = new api.DictlayerdataDictWordsSenses(); | 862 var o = new api.DictlayerdataDictWordsSenses(); |
| 863 buildCounterDictlayerdataDictWordsSenses++; | 863 buildCounterDictlayerdataDictWordsSenses++; |
| 864 if (buildCounterDictlayerdataDictWordsSenses < 3) { | 864 if (buildCounterDictlayerdataDictWordsSenses < 3) { |
| 865 o.conjugations = buildUnnamed955(); | 865 o.conjugations = buildUnnamed516(); |
| 866 o.definitions = buildUnnamed957(); | 866 o.definitions = buildUnnamed518(); |
| 867 o.partOfSpeech = "foo"; | 867 o.partOfSpeech = "foo"; |
| 868 o.pronunciation = "foo"; | 868 o.pronunciation = "foo"; |
| 869 o.pronunciationUrl = "foo"; | 869 o.pronunciationUrl = "foo"; |
| 870 o.source = buildDictlayerdataDictWordsSensesSource(); | 870 o.source = buildDictlayerdataDictWordsSensesSource(); |
| 871 o.syllabification = "foo"; | 871 o.syllabification = "foo"; |
| 872 o.synonyms = buildUnnamed958(); | 872 o.synonyms = buildUnnamed519(); |
| 873 } | 873 } |
| 874 buildCounterDictlayerdataDictWordsSenses--; | 874 buildCounterDictlayerdataDictWordsSenses--; |
| 875 return o; | 875 return o; |
| 876 } | 876 } |
| 877 | 877 |
| 878 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { | 878 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { |
| 879 buildCounterDictlayerdataDictWordsSenses++; | 879 buildCounterDictlayerdataDictWordsSenses++; |
| 880 if (buildCounterDictlayerdataDictWordsSenses < 3) { | 880 if (buildCounterDictlayerdataDictWordsSenses < 3) { |
| 881 checkUnnamed955(o.conjugations); | 881 checkUnnamed516(o.conjugations); |
| 882 checkUnnamed957(o.definitions); | 882 checkUnnamed518(o.definitions); |
| 883 unittest.expect(o.partOfSpeech, unittest.equals('foo')); | 883 unittest.expect(o.partOfSpeech, unittest.equals('foo')); |
| 884 unittest.expect(o.pronunciation, unittest.equals('foo')); | 884 unittest.expect(o.pronunciation, unittest.equals('foo')); |
| 885 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); | 885 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); |
| 886 checkDictlayerdataDictWordsSensesSource(o.source); | 886 checkDictlayerdataDictWordsSensesSource(o.source); |
| 887 unittest.expect(o.syllabification, unittest.equals('foo')); | 887 unittest.expect(o.syllabification, unittest.equals('foo')); |
| 888 checkUnnamed958(o.synonyms); | 888 checkUnnamed519(o.synonyms); |
| 889 } | 889 } |
| 890 buildCounterDictlayerdataDictWordsSenses--; | 890 buildCounterDictlayerdataDictWordsSenses--; |
| 891 } | 891 } |
| 892 | 892 |
| 893 buildUnnamed959() { | 893 buildUnnamed520() { |
| 894 var o = new core.List<api.DictlayerdataDictWordsSenses>(); | 894 var o = new core.List<api.DictlayerdataDictWordsSenses>(); |
| 895 o.add(buildDictlayerdataDictWordsSenses()); | 895 o.add(buildDictlayerdataDictWordsSenses()); |
| 896 o.add(buildDictlayerdataDictWordsSenses()); | 896 o.add(buildDictlayerdataDictWordsSenses()); |
| 897 return o; | 897 return o; |
| 898 } | 898 } |
| 899 | 899 |
| 900 checkUnnamed959(core.List<api.DictlayerdataDictWordsSenses> o) { | 900 checkUnnamed520(core.List<api.DictlayerdataDictWordsSenses> o) { |
| 901 unittest.expect(o, unittest.hasLength(2)); | 901 unittest.expect(o, unittest.hasLength(2)); |
| 902 checkDictlayerdataDictWordsSenses(o[0]); | 902 checkDictlayerdataDictWordsSenses(o[0]); |
| 903 checkDictlayerdataDictWordsSenses(o[1]); | 903 checkDictlayerdataDictWordsSenses(o[1]); |
| 904 } | 904 } |
| 905 | 905 |
| 906 core.int buildCounterDictlayerdataDictWordsSource = 0; | 906 core.int buildCounterDictlayerdataDictWordsSource = 0; |
| 907 buildDictlayerdataDictWordsSource() { | 907 buildDictlayerdataDictWordsSource() { |
| 908 var o = new api.DictlayerdataDictWordsSource(); | 908 var o = new api.DictlayerdataDictWordsSource(); |
| 909 buildCounterDictlayerdataDictWordsSource++; | 909 buildCounterDictlayerdataDictWordsSource++; |
| 910 if (buildCounterDictlayerdataDictWordsSource < 3) { | 910 if (buildCounterDictlayerdataDictWordsSource < 3) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 922 unittest.expect(o.url, unittest.equals('foo')); | 922 unittest.expect(o.url, unittest.equals('foo')); |
| 923 } | 923 } |
| 924 buildCounterDictlayerdataDictWordsSource--; | 924 buildCounterDictlayerdataDictWordsSource--; |
| 925 } | 925 } |
| 926 | 926 |
| 927 core.int buildCounterDictlayerdataDictWords = 0; | 927 core.int buildCounterDictlayerdataDictWords = 0; |
| 928 buildDictlayerdataDictWords() { | 928 buildDictlayerdataDictWords() { |
| 929 var o = new api.DictlayerdataDictWords(); | 929 var o = new api.DictlayerdataDictWords(); |
| 930 buildCounterDictlayerdataDictWords++; | 930 buildCounterDictlayerdataDictWords++; |
| 931 if (buildCounterDictlayerdataDictWords < 3) { | 931 if (buildCounterDictlayerdataDictWords < 3) { |
| 932 o.derivatives = buildUnnamed953(); | 932 o.derivatives = buildUnnamed514(); |
| 933 o.examples = buildUnnamed954(); | 933 o.examples = buildUnnamed515(); |
| 934 o.senses = buildUnnamed959(); | 934 o.senses = buildUnnamed520(); |
| 935 o.source = buildDictlayerdataDictWordsSource(); | 935 o.source = buildDictlayerdataDictWordsSource(); |
| 936 } | 936 } |
| 937 buildCounterDictlayerdataDictWords--; | 937 buildCounterDictlayerdataDictWords--; |
| 938 return o; | 938 return o; |
| 939 } | 939 } |
| 940 | 940 |
| 941 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { | 941 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { |
| 942 buildCounterDictlayerdataDictWords++; | 942 buildCounterDictlayerdataDictWords++; |
| 943 if (buildCounterDictlayerdataDictWords < 3) { | 943 if (buildCounterDictlayerdataDictWords < 3) { |
| 944 checkUnnamed953(o.derivatives); | 944 checkUnnamed514(o.derivatives); |
| 945 checkUnnamed954(o.examples); | 945 checkUnnamed515(o.examples); |
| 946 checkUnnamed959(o.senses); | 946 checkUnnamed520(o.senses); |
| 947 checkDictlayerdataDictWordsSource(o.source); | 947 checkDictlayerdataDictWordsSource(o.source); |
| 948 } | 948 } |
| 949 buildCounterDictlayerdataDictWords--; | 949 buildCounterDictlayerdataDictWords--; |
| 950 } | 950 } |
| 951 | 951 |
| 952 buildUnnamed960() { | 952 buildUnnamed521() { |
| 953 var o = new core.List<api.DictlayerdataDictWords>(); | 953 var o = new core.List<api.DictlayerdataDictWords>(); |
| 954 o.add(buildDictlayerdataDictWords()); | 954 o.add(buildDictlayerdataDictWords()); |
| 955 o.add(buildDictlayerdataDictWords()); | 955 o.add(buildDictlayerdataDictWords()); |
| 956 return o; | 956 return o; |
| 957 } | 957 } |
| 958 | 958 |
| 959 checkUnnamed960(core.List<api.DictlayerdataDictWords> o) { | 959 checkUnnamed521(core.List<api.DictlayerdataDictWords> o) { |
| 960 unittest.expect(o, unittest.hasLength(2)); | 960 unittest.expect(o, unittest.hasLength(2)); |
| 961 checkDictlayerdataDictWords(o[0]); | 961 checkDictlayerdataDictWords(o[0]); |
| 962 checkDictlayerdataDictWords(o[1]); | 962 checkDictlayerdataDictWords(o[1]); |
| 963 } | 963 } |
| 964 | 964 |
| 965 core.int buildCounterDictlayerdataDict = 0; | 965 core.int buildCounterDictlayerdataDict = 0; |
| 966 buildDictlayerdataDict() { | 966 buildDictlayerdataDict() { |
| 967 var o = new api.DictlayerdataDict(); | 967 var o = new api.DictlayerdataDict(); |
| 968 buildCounterDictlayerdataDict++; | 968 buildCounterDictlayerdataDict++; |
| 969 if (buildCounterDictlayerdataDict < 3) { | 969 if (buildCounterDictlayerdataDict < 3) { |
| 970 o.source = buildDictlayerdataDictSource(); | 970 o.source = buildDictlayerdataDictSource(); |
| 971 o.words = buildUnnamed960(); | 971 o.words = buildUnnamed521(); |
| 972 } | 972 } |
| 973 buildCounterDictlayerdataDict--; | 973 buildCounterDictlayerdataDict--; |
| 974 return o; | 974 return o; |
| 975 } | 975 } |
| 976 | 976 |
| 977 checkDictlayerdataDict(api.DictlayerdataDict o) { | 977 checkDictlayerdataDict(api.DictlayerdataDict o) { |
| 978 buildCounterDictlayerdataDict++; | 978 buildCounterDictlayerdataDict++; |
| 979 if (buildCounterDictlayerdataDict < 3) { | 979 if (buildCounterDictlayerdataDict < 3) { |
| 980 checkDictlayerdataDictSource(o.source); | 980 checkDictlayerdataDictSource(o.source); |
| 981 checkUnnamed960(o.words); | 981 checkUnnamed521(o.words); |
| 982 } | 982 } |
| 983 buildCounterDictlayerdataDict--; | 983 buildCounterDictlayerdataDict--; |
| 984 } | 984 } |
| 985 | 985 |
| 986 core.int buildCounterDictlayerdata = 0; | 986 core.int buildCounterDictlayerdata = 0; |
| 987 buildDictlayerdata() { | 987 buildDictlayerdata() { |
| 988 var o = new api.Dictlayerdata(); | 988 var o = new api.Dictlayerdata(); |
| 989 buildCounterDictlayerdata++; | 989 buildCounterDictlayerdata++; |
| 990 if (buildCounterDictlayerdata < 3) { | 990 if (buildCounterDictlayerdata < 3) { |
| 991 o.common = buildDictlayerdataCommon(); | 991 o.common = buildDictlayerdataCommon(); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 unittest.expect(o.nonce, unittest.equals('foo')); | 1040 unittest.expect(o.nonce, unittest.equals('foo')); |
| 1041 unittest.expect(o.reasonCode, unittest.equals('foo')); | 1041 unittest.expect(o.reasonCode, unittest.equals('foo')); |
| 1042 unittest.expect(o.restricted, unittest.isTrue); | 1042 unittest.expect(o.restricted, unittest.isTrue); |
| 1043 unittest.expect(o.signature, unittest.equals('foo')); | 1043 unittest.expect(o.signature, unittest.equals('foo')); |
| 1044 unittest.expect(o.source, unittest.equals('foo')); | 1044 unittest.expect(o.source, unittest.equals('foo')); |
| 1045 unittest.expect(o.volumeId, unittest.equals('foo')); | 1045 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 1046 } | 1046 } |
| 1047 buildCounterDownloadAccessRestriction--; | 1047 buildCounterDownloadAccessRestriction--; |
| 1048 } | 1048 } |
| 1049 | 1049 |
| 1050 buildUnnamed961() { | 1050 buildUnnamed522() { |
| 1051 var o = new core.List<api.DownloadAccessRestriction>(); | 1051 var o = new core.List<api.DownloadAccessRestriction>(); |
| 1052 o.add(buildDownloadAccessRestriction()); | 1052 o.add(buildDownloadAccessRestriction()); |
| 1053 o.add(buildDownloadAccessRestriction()); | 1053 o.add(buildDownloadAccessRestriction()); |
| 1054 return o; | 1054 return o; |
| 1055 } | 1055 } |
| 1056 | 1056 |
| 1057 checkUnnamed961(core.List<api.DownloadAccessRestriction> o) { | 1057 checkUnnamed522(core.List<api.DownloadAccessRestriction> o) { |
| 1058 unittest.expect(o, unittest.hasLength(2)); | 1058 unittest.expect(o, unittest.hasLength(2)); |
| 1059 checkDownloadAccessRestriction(o[0]); | 1059 checkDownloadAccessRestriction(o[0]); |
| 1060 checkDownloadAccessRestriction(o[1]); | 1060 checkDownloadAccessRestriction(o[1]); |
| 1061 } | 1061 } |
| 1062 | 1062 |
| 1063 core.int buildCounterDownloadAccesses = 0; | 1063 core.int buildCounterDownloadAccesses = 0; |
| 1064 buildDownloadAccesses() { | 1064 buildDownloadAccesses() { |
| 1065 var o = new api.DownloadAccesses(); | 1065 var o = new api.DownloadAccesses(); |
| 1066 buildCounterDownloadAccesses++; | 1066 buildCounterDownloadAccesses++; |
| 1067 if (buildCounterDownloadAccesses < 3) { | 1067 if (buildCounterDownloadAccesses < 3) { |
| 1068 o.downloadAccessList = buildUnnamed961(); | 1068 o.downloadAccessList = buildUnnamed522(); |
| 1069 o.kind = "foo"; | 1069 o.kind = "foo"; |
| 1070 } | 1070 } |
| 1071 buildCounterDownloadAccesses--; | 1071 buildCounterDownloadAccesses--; |
| 1072 return o; | 1072 return o; |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 checkDownloadAccesses(api.DownloadAccesses o) { | 1075 checkDownloadAccesses(api.DownloadAccesses o) { |
| 1076 buildCounterDownloadAccesses++; | 1076 buildCounterDownloadAccesses++; |
| 1077 if (buildCounterDownloadAccesses < 3) { | 1077 if (buildCounterDownloadAccesses < 3) { |
| 1078 checkUnnamed961(o.downloadAccessList); | 1078 checkUnnamed522(o.downloadAccessList); |
| 1079 unittest.expect(o.kind, unittest.equals('foo')); | 1079 unittest.expect(o.kind, unittest.equals('foo')); |
| 1080 } | 1080 } |
| 1081 buildCounterDownloadAccesses--; | 1081 buildCounterDownloadAccesses--; |
| 1082 } | 1082 } |
| 1083 | 1083 |
| 1084 core.int buildCounterGeolayerdataCommon = 0; | 1084 core.int buildCounterGeolayerdataCommon = 0; |
| 1085 buildGeolayerdataCommon() { | 1085 buildGeolayerdataCommon() { |
| 1086 var o = new api.GeolayerdataCommon(); | 1086 var o = new api.GeolayerdataCommon(); |
| 1087 buildCounterGeolayerdataCommon++; | 1087 buildCounterGeolayerdataCommon++; |
| 1088 if (buildCounterGeolayerdataCommon < 3) { | 1088 if (buildCounterGeolayerdataCommon < 3) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1122 | 1122 |
| 1123 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { | 1123 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { |
| 1124 buildCounterGeolayerdataGeoBoundary++; | 1124 buildCounterGeolayerdataGeoBoundary++; |
| 1125 if (buildCounterGeolayerdataGeoBoundary < 3) { | 1125 if (buildCounterGeolayerdataGeoBoundary < 3) { |
| 1126 unittest.expect(o.latitude, unittest.equals(42)); | 1126 unittest.expect(o.latitude, unittest.equals(42)); |
| 1127 unittest.expect(o.longitude, unittest.equals(42)); | 1127 unittest.expect(o.longitude, unittest.equals(42)); |
| 1128 } | 1128 } |
| 1129 buildCounterGeolayerdataGeoBoundary--; | 1129 buildCounterGeolayerdataGeoBoundary--; |
| 1130 } | 1130 } |
| 1131 | 1131 |
| 1132 buildUnnamed962() { | 1132 buildUnnamed523() { |
| 1133 var o = new core.List<api.GeolayerdataGeoBoundary>(); | 1133 var o = new core.List<api.GeolayerdataGeoBoundary>(); |
| 1134 o.add(buildGeolayerdataGeoBoundary()); | 1134 o.add(buildGeolayerdataGeoBoundary()); |
| 1135 o.add(buildGeolayerdataGeoBoundary()); | 1135 o.add(buildGeolayerdataGeoBoundary()); |
| 1136 return o; | 1136 return o; |
| 1137 } | 1137 } |
| 1138 | 1138 |
| 1139 checkUnnamed962(core.List<api.GeolayerdataGeoBoundary> o) { | 1139 checkUnnamed523(core.List<api.GeolayerdataGeoBoundary> o) { |
| 1140 unittest.expect(o, unittest.hasLength(2)); | 1140 unittest.expect(o, unittest.hasLength(2)); |
| 1141 checkGeolayerdataGeoBoundary(o[0]); | 1141 checkGeolayerdataGeoBoundary(o[0]); |
| 1142 checkGeolayerdataGeoBoundary(o[1]); | 1142 checkGeolayerdataGeoBoundary(o[1]); |
| 1143 } | 1143 } |
| 1144 | 1144 |
| 1145 buildUnnamed963() { | 1145 buildUnnamed524() { |
| 1146 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); | 1146 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); |
| 1147 o.add(buildUnnamed962()); | 1147 o.add(buildUnnamed523()); |
| 1148 o.add(buildUnnamed962()); | 1148 o.add(buildUnnamed523()); |
| 1149 return o; | 1149 return o; |
| 1150 } | 1150 } |
| 1151 | 1151 |
| 1152 checkUnnamed963(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { | 1152 checkUnnamed524(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { |
| 1153 unittest.expect(o, unittest.hasLength(2)); | 1153 unittest.expect(o, unittest.hasLength(2)); |
| 1154 checkUnnamed962(o[0]); | 1154 checkUnnamed523(o[0]); |
| 1155 checkUnnamed962(o[1]); | 1155 checkUnnamed523(o[1]); |
| 1156 } | 1156 } |
| 1157 | 1157 |
| 1158 core.int buildCounterGeolayerdataGeoViewportHi = 0; | 1158 core.int buildCounterGeolayerdataGeoViewportHi = 0; |
| 1159 buildGeolayerdataGeoViewportHi() { | 1159 buildGeolayerdataGeoViewportHi() { |
| 1160 var o = new api.GeolayerdataGeoViewportHi(); | 1160 var o = new api.GeolayerdataGeoViewportHi(); |
| 1161 buildCounterGeolayerdataGeoViewportHi++; | 1161 buildCounterGeolayerdataGeoViewportHi++; |
| 1162 if (buildCounterGeolayerdataGeoViewportHi < 3) { | 1162 if (buildCounterGeolayerdataGeoViewportHi < 3) { |
| 1163 o.latitude = 42.0; | 1163 o.latitude = 42.0; |
| 1164 o.longitude = 42.0; | 1164 o.longitude = 42.0; |
| 1165 } | 1165 } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 checkGeolayerdataGeoViewportLo(o.lo); | 1216 checkGeolayerdataGeoViewportLo(o.lo); |
| 1217 } | 1217 } |
| 1218 buildCounterGeolayerdataGeoViewport--; | 1218 buildCounterGeolayerdataGeoViewport--; |
| 1219 } | 1219 } |
| 1220 | 1220 |
| 1221 core.int buildCounterGeolayerdataGeo = 0; | 1221 core.int buildCounterGeolayerdataGeo = 0; |
| 1222 buildGeolayerdataGeo() { | 1222 buildGeolayerdataGeo() { |
| 1223 var o = new api.GeolayerdataGeo(); | 1223 var o = new api.GeolayerdataGeo(); |
| 1224 buildCounterGeolayerdataGeo++; | 1224 buildCounterGeolayerdataGeo++; |
| 1225 if (buildCounterGeolayerdataGeo < 3) { | 1225 if (buildCounterGeolayerdataGeo < 3) { |
| 1226 o.boundary = buildUnnamed963(); | 1226 o.boundary = buildUnnamed524(); |
| 1227 o.cachePolicy = "foo"; | 1227 o.cachePolicy = "foo"; |
| 1228 o.countryCode = "foo"; | 1228 o.countryCode = "foo"; |
| 1229 o.latitude = 42.0; | 1229 o.latitude = 42.0; |
| 1230 o.longitude = 42.0; | 1230 o.longitude = 42.0; |
| 1231 o.mapType = "foo"; | 1231 o.mapType = "foo"; |
| 1232 o.viewport = buildGeolayerdataGeoViewport(); | 1232 o.viewport = buildGeolayerdataGeoViewport(); |
| 1233 o.zoom = 42; | 1233 o.zoom = 42; |
| 1234 } | 1234 } |
| 1235 buildCounterGeolayerdataGeo--; | 1235 buildCounterGeolayerdataGeo--; |
| 1236 return o; | 1236 return o; |
| 1237 } | 1237 } |
| 1238 | 1238 |
| 1239 checkGeolayerdataGeo(api.GeolayerdataGeo o) { | 1239 checkGeolayerdataGeo(api.GeolayerdataGeo o) { |
| 1240 buildCounterGeolayerdataGeo++; | 1240 buildCounterGeolayerdataGeo++; |
| 1241 if (buildCounterGeolayerdataGeo < 3) { | 1241 if (buildCounterGeolayerdataGeo < 3) { |
| 1242 checkUnnamed963(o.boundary); | 1242 checkUnnamed524(o.boundary); |
| 1243 unittest.expect(o.cachePolicy, unittest.equals('foo')); | 1243 unittest.expect(o.cachePolicy, unittest.equals('foo')); |
| 1244 unittest.expect(o.countryCode, unittest.equals('foo')); | 1244 unittest.expect(o.countryCode, unittest.equals('foo')); |
| 1245 unittest.expect(o.latitude, unittest.equals(42.0)); | 1245 unittest.expect(o.latitude, unittest.equals(42.0)); |
| 1246 unittest.expect(o.longitude, unittest.equals(42.0)); | 1246 unittest.expect(o.longitude, unittest.equals(42.0)); |
| 1247 unittest.expect(o.mapType, unittest.equals('foo')); | 1247 unittest.expect(o.mapType, unittest.equals('foo')); |
| 1248 checkGeolayerdataGeoViewport(o.viewport); | 1248 checkGeolayerdataGeoViewport(o.viewport); |
| 1249 unittest.expect(o.zoom, unittest.equals(42)); | 1249 unittest.expect(o.zoom, unittest.equals(42)); |
| 1250 } | 1250 } |
| 1251 buildCounterGeolayerdataGeo--; | 1251 buildCounterGeolayerdataGeo--; |
| 1252 } | 1252 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1267 checkGeolayerdata(api.Geolayerdata o) { | 1267 checkGeolayerdata(api.Geolayerdata o) { |
| 1268 buildCounterGeolayerdata++; | 1268 buildCounterGeolayerdata++; |
| 1269 if (buildCounterGeolayerdata < 3) { | 1269 if (buildCounterGeolayerdata < 3) { |
| 1270 checkGeolayerdataCommon(o.common); | 1270 checkGeolayerdataCommon(o.common); |
| 1271 checkGeolayerdataGeo(o.geo); | 1271 checkGeolayerdataGeo(o.geo); |
| 1272 unittest.expect(o.kind, unittest.equals('foo')); | 1272 unittest.expect(o.kind, unittest.equals('foo')); |
| 1273 } | 1273 } |
| 1274 buildCounterGeolayerdata--; | 1274 buildCounterGeolayerdata--; |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 buildUnnamed964() { | 1277 buildUnnamed525() { |
| 1278 var o = new core.List<api.Layersummary>(); | 1278 var o = new core.List<api.Layersummary>(); |
| 1279 o.add(buildLayersummary()); | 1279 o.add(buildLayersummary()); |
| 1280 o.add(buildLayersummary()); | 1280 o.add(buildLayersummary()); |
| 1281 return o; | 1281 return o; |
| 1282 } | 1282 } |
| 1283 | 1283 |
| 1284 checkUnnamed964(core.List<api.Layersummary> o) { | 1284 checkUnnamed525(core.List<api.Layersummary> o) { |
| 1285 unittest.expect(o, unittest.hasLength(2)); | 1285 unittest.expect(o, unittest.hasLength(2)); |
| 1286 checkLayersummary(o[0]); | 1286 checkLayersummary(o[0]); |
| 1287 checkLayersummary(o[1]); | 1287 checkLayersummary(o[1]); |
| 1288 } | 1288 } |
| 1289 | 1289 |
| 1290 core.int buildCounterLayersummaries = 0; | 1290 core.int buildCounterLayersummaries = 0; |
| 1291 buildLayersummaries() { | 1291 buildLayersummaries() { |
| 1292 var o = new api.Layersummaries(); | 1292 var o = new api.Layersummaries(); |
| 1293 buildCounterLayersummaries++; | 1293 buildCounterLayersummaries++; |
| 1294 if (buildCounterLayersummaries < 3) { | 1294 if (buildCounterLayersummaries < 3) { |
| 1295 o.items = buildUnnamed964(); | 1295 o.items = buildUnnamed525(); |
| 1296 o.kind = "foo"; | 1296 o.kind = "foo"; |
| 1297 o.totalItems = 42; | 1297 o.totalItems = 42; |
| 1298 } | 1298 } |
| 1299 buildCounterLayersummaries--; | 1299 buildCounterLayersummaries--; |
| 1300 return o; | 1300 return o; |
| 1301 } | 1301 } |
| 1302 | 1302 |
| 1303 checkLayersummaries(api.Layersummaries o) { | 1303 checkLayersummaries(api.Layersummaries o) { |
| 1304 buildCounterLayersummaries++; | 1304 buildCounterLayersummaries++; |
| 1305 if (buildCounterLayersummaries < 3) { | 1305 if (buildCounterLayersummaries < 3) { |
| 1306 checkUnnamed964(o.items); | 1306 checkUnnamed525(o.items); |
| 1307 unittest.expect(o.kind, unittest.equals('foo')); | 1307 unittest.expect(o.kind, unittest.equals('foo')); |
| 1308 unittest.expect(o.totalItems, unittest.equals(42)); | 1308 unittest.expect(o.totalItems, unittest.equals(42)); |
| 1309 } | 1309 } |
| 1310 buildCounterLayersummaries--; | 1310 buildCounterLayersummaries--; |
| 1311 } | 1311 } |
| 1312 | 1312 |
| 1313 buildUnnamed965() { | 1313 buildUnnamed526() { |
| 1314 var o = new core.List<core.String>(); | 1314 var o = new core.List<core.String>(); |
| 1315 o.add("foo"); | 1315 o.add("foo"); |
| 1316 o.add("foo"); | 1316 o.add("foo"); |
| 1317 return o; | 1317 return o; |
| 1318 } | 1318 } |
| 1319 | 1319 |
| 1320 checkUnnamed965(core.List<core.String> o) { | 1320 checkUnnamed526(core.List<core.String> o) { |
| 1321 unittest.expect(o, unittest.hasLength(2)); | 1321 unittest.expect(o, unittest.hasLength(2)); |
| 1322 unittest.expect(o[0], unittest.equals('foo')); | 1322 unittest.expect(o[0], unittest.equals('foo')); |
| 1323 unittest.expect(o[1], unittest.equals('foo')); | 1323 unittest.expect(o[1], unittest.equals('foo')); |
| 1324 } | 1324 } |
| 1325 | 1325 |
| 1326 core.int buildCounterLayersummary = 0; | 1326 core.int buildCounterLayersummary = 0; |
| 1327 buildLayersummary() { | 1327 buildLayersummary() { |
| 1328 var o = new api.Layersummary(); | 1328 var o = new api.Layersummary(); |
| 1329 buildCounterLayersummary++; | 1329 buildCounterLayersummary++; |
| 1330 if (buildCounterLayersummary < 3) { | 1330 if (buildCounterLayersummary < 3) { |
| 1331 o.annotationCount = 42; | 1331 o.annotationCount = 42; |
| 1332 o.annotationTypes = buildUnnamed965(); | 1332 o.annotationTypes = buildUnnamed526(); |
| 1333 o.annotationsDataLink = "foo"; | 1333 o.annotationsDataLink = "foo"; |
| 1334 o.annotationsLink = "foo"; | 1334 o.annotationsLink = "foo"; |
| 1335 o.contentVersion = "foo"; | 1335 o.contentVersion = "foo"; |
| 1336 o.dataCount = 42; | 1336 o.dataCount = 42; |
| 1337 o.id = "foo"; | 1337 o.id = "foo"; |
| 1338 o.kind = "foo"; | 1338 o.kind = "foo"; |
| 1339 o.layerId = "foo"; | 1339 o.layerId = "foo"; |
| 1340 o.selfLink = "foo"; | 1340 o.selfLink = "foo"; |
| 1341 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1341 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1342 o.volumeAnnotationsVersion = "foo"; | 1342 o.volumeAnnotationsVersion = "foo"; |
| 1343 o.volumeId = "foo"; | 1343 o.volumeId = "foo"; |
| 1344 } | 1344 } |
| 1345 buildCounterLayersummary--; | 1345 buildCounterLayersummary--; |
| 1346 return o; | 1346 return o; |
| 1347 } | 1347 } |
| 1348 | 1348 |
| 1349 checkLayersummary(api.Layersummary o) { | 1349 checkLayersummary(api.Layersummary o) { |
| 1350 buildCounterLayersummary++; | 1350 buildCounterLayersummary++; |
| 1351 if (buildCounterLayersummary < 3) { | 1351 if (buildCounterLayersummary < 3) { |
| 1352 unittest.expect(o.annotationCount, unittest.equals(42)); | 1352 unittest.expect(o.annotationCount, unittest.equals(42)); |
| 1353 checkUnnamed965(o.annotationTypes); | 1353 checkUnnamed526(o.annotationTypes); |
| 1354 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); | 1354 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); |
| 1355 unittest.expect(o.annotationsLink, unittest.equals('foo')); | 1355 unittest.expect(o.annotationsLink, unittest.equals('foo')); |
| 1356 unittest.expect(o.contentVersion, unittest.equals('foo')); | 1356 unittest.expect(o.contentVersion, unittest.equals('foo')); |
| 1357 unittest.expect(o.dataCount, unittest.equals(42)); | 1357 unittest.expect(o.dataCount, unittest.equals(42)); |
| 1358 unittest.expect(o.id, unittest.equals('foo')); | 1358 unittest.expect(o.id, unittest.equals('foo')); |
| 1359 unittest.expect(o.kind, unittest.equals('foo')); | 1359 unittest.expect(o.kind, unittest.equals('foo')); |
| 1360 unittest.expect(o.layerId, unittest.equals('foo')); | 1360 unittest.expect(o.layerId, unittest.equals('foo')); |
| 1361 unittest.expect(o.selfLink, unittest.equals('foo')); | 1361 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 1362 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1362 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 1363 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 1363 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 1388 unittest.expect(o.author, unittest.equals('foo')); | 1388 unittest.expect(o.author, unittest.equals('foo')); |
| 1389 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 1389 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
| 1390 unittest.expect(o.coverUrl, unittest.equals('foo')); | 1390 unittest.expect(o.coverUrl, unittest.equals('foo')); |
| 1391 unittest.expect(o.description, unittest.equals('foo')); | 1391 unittest.expect(o.description, unittest.equals('foo')); |
| 1392 unittest.expect(o.title, unittest.equals('foo')); | 1392 unittest.expect(o.title, unittest.equals('foo')); |
| 1393 unittest.expect(o.volumeId, unittest.equals('foo')); | 1393 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 1394 } | 1394 } |
| 1395 buildCounterOffersItemsItems--; | 1395 buildCounterOffersItemsItems--; |
| 1396 } | 1396 } |
| 1397 | 1397 |
| 1398 buildUnnamed966() { | 1398 buildUnnamed527() { |
| 1399 var o = new core.List<api.OffersItemsItems>(); | 1399 var o = new core.List<api.OffersItemsItems>(); |
| 1400 o.add(buildOffersItemsItems()); | 1400 o.add(buildOffersItemsItems()); |
| 1401 o.add(buildOffersItemsItems()); | 1401 o.add(buildOffersItemsItems()); |
| 1402 return o; | 1402 return o; |
| 1403 } | 1403 } |
| 1404 | 1404 |
| 1405 checkUnnamed966(core.List<api.OffersItemsItems> o) { | 1405 checkUnnamed527(core.List<api.OffersItemsItems> o) { |
| 1406 unittest.expect(o, unittest.hasLength(2)); | 1406 unittest.expect(o, unittest.hasLength(2)); |
| 1407 checkOffersItemsItems(o[0]); | 1407 checkOffersItemsItems(o[0]); |
| 1408 checkOffersItemsItems(o[1]); | 1408 checkOffersItemsItems(o[1]); |
| 1409 } | 1409 } |
| 1410 | 1410 |
| 1411 core.int buildCounterOffersItems = 0; | 1411 core.int buildCounterOffersItems = 0; |
| 1412 buildOffersItems() { | 1412 buildOffersItems() { |
| 1413 var o = new api.OffersItems(); | 1413 var o = new api.OffersItems(); |
| 1414 buildCounterOffersItems++; | 1414 buildCounterOffersItems++; |
| 1415 if (buildCounterOffersItems < 3) { | 1415 if (buildCounterOffersItems < 3) { |
| 1416 o.artUrl = "foo"; | 1416 o.artUrl = "foo"; |
| 1417 o.id = "foo"; | 1417 o.id = "foo"; |
| 1418 o.items = buildUnnamed966(); | 1418 o.items = buildUnnamed527(); |
| 1419 } | 1419 } |
| 1420 buildCounterOffersItems--; | 1420 buildCounterOffersItems--; |
| 1421 return o; | 1421 return o; |
| 1422 } | 1422 } |
| 1423 | 1423 |
| 1424 checkOffersItems(api.OffersItems o) { | 1424 checkOffersItems(api.OffersItems o) { |
| 1425 buildCounterOffersItems++; | 1425 buildCounterOffersItems++; |
| 1426 if (buildCounterOffersItems < 3) { | 1426 if (buildCounterOffersItems < 3) { |
| 1427 unittest.expect(o.artUrl, unittest.equals('foo')); | 1427 unittest.expect(o.artUrl, unittest.equals('foo')); |
| 1428 unittest.expect(o.id, unittest.equals('foo')); | 1428 unittest.expect(o.id, unittest.equals('foo')); |
| 1429 checkUnnamed966(o.items); | 1429 checkUnnamed527(o.items); |
| 1430 } | 1430 } |
| 1431 buildCounterOffersItems--; | 1431 buildCounterOffersItems--; |
| 1432 } | 1432 } |
| 1433 | 1433 |
| 1434 buildUnnamed967() { | 1434 buildUnnamed528() { |
| 1435 var o = new core.List<api.OffersItems>(); | 1435 var o = new core.List<api.OffersItems>(); |
| 1436 o.add(buildOffersItems()); | 1436 o.add(buildOffersItems()); |
| 1437 o.add(buildOffersItems()); | 1437 o.add(buildOffersItems()); |
| 1438 return o; | 1438 return o; |
| 1439 } | 1439 } |
| 1440 | 1440 |
| 1441 checkUnnamed967(core.List<api.OffersItems> o) { | 1441 checkUnnamed528(core.List<api.OffersItems> o) { |
| 1442 unittest.expect(o, unittest.hasLength(2)); | 1442 unittest.expect(o, unittest.hasLength(2)); |
| 1443 checkOffersItems(o[0]); | 1443 checkOffersItems(o[0]); |
| 1444 checkOffersItems(o[1]); | 1444 checkOffersItems(o[1]); |
| 1445 } | 1445 } |
| 1446 | 1446 |
| 1447 core.int buildCounterOffers = 0; | 1447 core.int buildCounterOffers = 0; |
| 1448 buildOffers() { | 1448 buildOffers() { |
| 1449 var o = new api.Offers(); | 1449 var o = new api.Offers(); |
| 1450 buildCounterOffers++; | 1450 buildCounterOffers++; |
| 1451 if (buildCounterOffers < 3) { | 1451 if (buildCounterOffers < 3) { |
| 1452 o.items = buildUnnamed967(); | 1452 o.items = buildUnnamed528(); |
| 1453 o.kind = "foo"; | 1453 o.kind = "foo"; |
| 1454 } | 1454 } |
| 1455 buildCounterOffers--; | 1455 buildCounterOffers--; |
| 1456 return o; | 1456 return o; |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 checkOffers(api.Offers o) { | 1459 checkOffers(api.Offers o) { |
| 1460 buildCounterOffers++; | 1460 buildCounterOffers++; |
| 1461 if (buildCounterOffers < 3) { | 1461 if (buildCounterOffers < 3) { |
| 1462 checkUnnamed967(o.items); | 1462 checkUnnamed528(o.items); |
| 1463 unittest.expect(o.kind, unittest.equals('foo')); | 1463 unittest.expect(o.kind, unittest.equals('foo')); |
| 1464 } | 1464 } |
| 1465 buildCounterOffers--; | 1465 buildCounterOffers--; |
| 1466 } | 1466 } |
| 1467 | 1467 |
| 1468 core.int buildCounterReadingPosition = 0; | 1468 core.int buildCounterReadingPosition = 0; |
| 1469 buildReadingPosition() { | 1469 buildReadingPosition() { |
| 1470 var o = new api.ReadingPosition(); | 1470 var o = new api.ReadingPosition(); |
| 1471 buildCounterReadingPosition++; | 1471 buildCounterReadingPosition++; |
| 1472 if (buildCounterReadingPosition < 3) { | 1472 if (buildCounterReadingPosition < 3) { |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1703 | 1703 |
| 1704 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { | 1704 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { |
| 1705 buildCounterVolumeLayerInfoLayers++; | 1705 buildCounterVolumeLayerInfoLayers++; |
| 1706 if (buildCounterVolumeLayerInfoLayers < 3) { | 1706 if (buildCounterVolumeLayerInfoLayers < 3) { |
| 1707 unittest.expect(o.layerId, unittest.equals('foo')); | 1707 unittest.expect(o.layerId, unittest.equals('foo')); |
| 1708 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 1708 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
| 1709 } | 1709 } |
| 1710 buildCounterVolumeLayerInfoLayers--; | 1710 buildCounterVolumeLayerInfoLayers--; |
| 1711 } | 1711 } |
| 1712 | 1712 |
| 1713 buildUnnamed968() { | 1713 buildUnnamed529() { |
| 1714 var o = new core.List<api.VolumeLayerInfoLayers>(); | 1714 var o = new core.List<api.VolumeLayerInfoLayers>(); |
| 1715 o.add(buildVolumeLayerInfoLayers()); | 1715 o.add(buildVolumeLayerInfoLayers()); |
| 1716 o.add(buildVolumeLayerInfoLayers()); | 1716 o.add(buildVolumeLayerInfoLayers()); |
| 1717 return o; | 1717 return o; |
| 1718 } | 1718 } |
| 1719 | 1719 |
| 1720 checkUnnamed968(core.List<api.VolumeLayerInfoLayers> o) { | 1720 checkUnnamed529(core.List<api.VolumeLayerInfoLayers> o) { |
| 1721 unittest.expect(o, unittest.hasLength(2)); | 1721 unittest.expect(o, unittest.hasLength(2)); |
| 1722 checkVolumeLayerInfoLayers(o[0]); | 1722 checkVolumeLayerInfoLayers(o[0]); |
| 1723 checkVolumeLayerInfoLayers(o[1]); | 1723 checkVolumeLayerInfoLayers(o[1]); |
| 1724 } | 1724 } |
| 1725 | 1725 |
| 1726 core.int buildCounterVolumeLayerInfo = 0; | 1726 core.int buildCounterVolumeLayerInfo = 0; |
| 1727 buildVolumeLayerInfo() { | 1727 buildVolumeLayerInfo() { |
| 1728 var o = new api.VolumeLayerInfo(); | 1728 var o = new api.VolumeLayerInfo(); |
| 1729 buildCounterVolumeLayerInfo++; | 1729 buildCounterVolumeLayerInfo++; |
| 1730 if (buildCounterVolumeLayerInfo < 3) { | 1730 if (buildCounterVolumeLayerInfo < 3) { |
| 1731 o.layers = buildUnnamed968(); | 1731 o.layers = buildUnnamed529(); |
| 1732 } | 1732 } |
| 1733 buildCounterVolumeLayerInfo--; | 1733 buildCounterVolumeLayerInfo--; |
| 1734 return o; | 1734 return o; |
| 1735 } | 1735 } |
| 1736 | 1736 |
| 1737 checkVolumeLayerInfo(api.VolumeLayerInfo o) { | 1737 checkVolumeLayerInfo(api.VolumeLayerInfo o) { |
| 1738 buildCounterVolumeLayerInfo++; | 1738 buildCounterVolumeLayerInfo++; |
| 1739 if (buildCounterVolumeLayerInfo < 3) { | 1739 if (buildCounterVolumeLayerInfo < 3) { |
| 1740 checkUnnamed968(o.layers); | 1740 checkUnnamed529(o.layers); |
| 1741 } | 1741 } |
| 1742 buildCounterVolumeLayerInfo--; | 1742 buildCounterVolumeLayerInfo--; |
| 1743 } | 1743 } |
| 1744 | 1744 |
| 1745 core.int buildCounterVolumeRecommendedInfo = 0; | 1745 core.int buildCounterVolumeRecommendedInfo = 0; |
| 1746 buildVolumeRecommendedInfo() { | 1746 buildVolumeRecommendedInfo() { |
| 1747 var o = new api.VolumeRecommendedInfo(); | 1747 var o = new api.VolumeRecommendedInfo(); |
| 1748 buildCounterVolumeRecommendedInfo++; | 1748 buildCounterVolumeRecommendedInfo++; |
| 1749 if (buildCounterVolumeRecommendedInfo < 3) { | 1749 if (buildCounterVolumeRecommendedInfo < 3) { |
| 1750 o.explanation = "foo"; | 1750 o.explanation = "foo"; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1863 buildCounterVolumeSaleInfoOffers++; | 1863 buildCounterVolumeSaleInfoOffers++; |
| 1864 if (buildCounterVolumeSaleInfoOffers < 3) { | 1864 if (buildCounterVolumeSaleInfoOffers < 3) { |
| 1865 unittest.expect(o.finskyOfferType, unittest.equals(42)); | 1865 unittest.expect(o.finskyOfferType, unittest.equals(42)); |
| 1866 checkVolumeSaleInfoOffersListPrice(o.listPrice); | 1866 checkVolumeSaleInfoOffersListPrice(o.listPrice); |
| 1867 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); | 1867 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); |
| 1868 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); | 1868 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); |
| 1869 } | 1869 } |
| 1870 buildCounterVolumeSaleInfoOffers--; | 1870 buildCounterVolumeSaleInfoOffers--; |
| 1871 } | 1871 } |
| 1872 | 1872 |
| 1873 buildUnnamed969() { | 1873 buildUnnamed530() { |
| 1874 var o = new core.List<api.VolumeSaleInfoOffers>(); | 1874 var o = new core.List<api.VolumeSaleInfoOffers>(); |
| 1875 o.add(buildVolumeSaleInfoOffers()); | 1875 o.add(buildVolumeSaleInfoOffers()); |
| 1876 o.add(buildVolumeSaleInfoOffers()); | 1876 o.add(buildVolumeSaleInfoOffers()); |
| 1877 return o; | 1877 return o; |
| 1878 } | 1878 } |
| 1879 | 1879 |
| 1880 checkUnnamed969(core.List<api.VolumeSaleInfoOffers> o) { | 1880 checkUnnamed530(core.List<api.VolumeSaleInfoOffers> o) { |
| 1881 unittest.expect(o, unittest.hasLength(2)); | 1881 unittest.expect(o, unittest.hasLength(2)); |
| 1882 checkVolumeSaleInfoOffers(o[0]); | 1882 checkVolumeSaleInfoOffers(o[0]); |
| 1883 checkVolumeSaleInfoOffers(o[1]); | 1883 checkVolumeSaleInfoOffers(o[1]); |
| 1884 } | 1884 } |
| 1885 | 1885 |
| 1886 core.int buildCounterVolumeSaleInfoRetailPrice = 0; | 1886 core.int buildCounterVolumeSaleInfoRetailPrice = 0; |
| 1887 buildVolumeSaleInfoRetailPrice() { | 1887 buildVolumeSaleInfoRetailPrice() { |
| 1888 var o = new api.VolumeSaleInfoRetailPrice(); | 1888 var o = new api.VolumeSaleInfoRetailPrice(); |
| 1889 buildCounterVolumeSaleInfoRetailPrice++; | 1889 buildCounterVolumeSaleInfoRetailPrice++; |
| 1890 if (buildCounterVolumeSaleInfoRetailPrice < 3) { | 1890 if (buildCounterVolumeSaleInfoRetailPrice < 3) { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1906 | 1906 |
| 1907 core.int buildCounterVolumeSaleInfo = 0; | 1907 core.int buildCounterVolumeSaleInfo = 0; |
| 1908 buildVolumeSaleInfo() { | 1908 buildVolumeSaleInfo() { |
| 1909 var o = new api.VolumeSaleInfo(); | 1909 var o = new api.VolumeSaleInfo(); |
| 1910 buildCounterVolumeSaleInfo++; | 1910 buildCounterVolumeSaleInfo++; |
| 1911 if (buildCounterVolumeSaleInfo < 3) { | 1911 if (buildCounterVolumeSaleInfo < 3) { |
| 1912 o.buyLink = "foo"; | 1912 o.buyLink = "foo"; |
| 1913 o.country = "foo"; | 1913 o.country = "foo"; |
| 1914 o.isEbook = true; | 1914 o.isEbook = true; |
| 1915 o.listPrice = buildVolumeSaleInfoListPrice(); | 1915 o.listPrice = buildVolumeSaleInfoListPrice(); |
| 1916 o.offers = buildUnnamed969(); | 1916 o.offers = buildUnnamed530(); |
| 1917 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); | 1917 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); |
| 1918 o.retailPrice = buildVolumeSaleInfoRetailPrice(); | 1918 o.retailPrice = buildVolumeSaleInfoRetailPrice(); |
| 1919 o.saleability = "foo"; | 1919 o.saleability = "foo"; |
| 1920 } | 1920 } |
| 1921 buildCounterVolumeSaleInfo--; | 1921 buildCounterVolumeSaleInfo--; |
| 1922 return o; | 1922 return o; |
| 1923 } | 1923 } |
| 1924 | 1924 |
| 1925 checkVolumeSaleInfo(api.VolumeSaleInfo o) { | 1925 checkVolumeSaleInfo(api.VolumeSaleInfo o) { |
| 1926 buildCounterVolumeSaleInfo++; | 1926 buildCounterVolumeSaleInfo++; |
| 1927 if (buildCounterVolumeSaleInfo < 3) { | 1927 if (buildCounterVolumeSaleInfo < 3) { |
| 1928 unittest.expect(o.buyLink, unittest.equals('foo')); | 1928 unittest.expect(o.buyLink, unittest.equals('foo')); |
| 1929 unittest.expect(o.country, unittest.equals('foo')); | 1929 unittest.expect(o.country, unittest.equals('foo')); |
| 1930 unittest.expect(o.isEbook, unittest.isTrue); | 1930 unittest.expect(o.isEbook, unittest.isTrue); |
| 1931 checkVolumeSaleInfoListPrice(o.listPrice); | 1931 checkVolumeSaleInfoListPrice(o.listPrice); |
| 1932 checkUnnamed969(o.offers); | 1932 checkUnnamed530(o.offers); |
| 1933 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); | 1933 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); |
| 1934 checkVolumeSaleInfoRetailPrice(o.retailPrice); | 1934 checkVolumeSaleInfoRetailPrice(o.retailPrice); |
| 1935 unittest.expect(o.saleability, unittest.equals('foo')); | 1935 unittest.expect(o.saleability, unittest.equals('foo')); |
| 1936 } | 1936 } |
| 1937 buildCounterVolumeSaleInfo--; | 1937 buildCounterVolumeSaleInfo--; |
| 1938 } | 1938 } |
| 1939 | 1939 |
| 1940 core.int buildCounterVolumeSearchInfo = 0; | 1940 core.int buildCounterVolumeSearchInfo = 0; |
| 1941 buildVolumeSearchInfo() { | 1941 buildVolumeSearchInfo() { |
| 1942 var o = new api.VolumeSearchInfo(); | 1942 var o = new api.VolumeSearchInfo(); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2053 checkReadingPosition(o.readingPosition); | 2053 checkReadingPosition(o.readingPosition); |
| 2054 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); | 2054 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); |
| 2055 unittest.expect(o.rentalState, unittest.equals('foo')); | 2055 unittest.expect(o.rentalState, unittest.equals('foo')); |
| 2056 checkReview(o.review); | 2056 checkReview(o.review); |
| 2057 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2057 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 2058 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); | 2058 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); |
| 2059 } | 2059 } |
| 2060 buildCounterVolumeUserInfo--; | 2060 buildCounterVolumeUserInfo--; |
| 2061 } | 2061 } |
| 2062 | 2062 |
| 2063 buildUnnamed970() { | 2063 buildUnnamed531() { |
| 2064 var o = new core.List<core.String>(); | 2064 var o = new core.List<core.String>(); |
| 2065 o.add("foo"); | 2065 o.add("foo"); |
| 2066 o.add("foo"); | 2066 o.add("foo"); |
| 2067 return o; | 2067 return o; |
| 2068 } | 2068 } |
| 2069 | 2069 |
| 2070 checkUnnamed970(core.List<core.String> o) { | 2070 checkUnnamed531(core.List<core.String> o) { |
| 2071 unittest.expect(o, unittest.hasLength(2)); | 2071 unittest.expect(o, unittest.hasLength(2)); |
| 2072 unittest.expect(o[0], unittest.equals('foo')); | 2072 unittest.expect(o[0], unittest.equals('foo')); |
| 2073 unittest.expect(o[1], unittest.equals('foo')); | 2073 unittest.expect(o[1], unittest.equals('foo')); |
| 2074 } | 2074 } |
| 2075 | 2075 |
| 2076 buildUnnamed971() { | 2076 buildUnnamed532() { |
| 2077 var o = new core.List<core.String>(); | 2077 var o = new core.List<core.String>(); |
| 2078 o.add("foo"); | 2078 o.add("foo"); |
| 2079 o.add("foo"); | 2079 o.add("foo"); |
| 2080 return o; | 2080 return o; |
| 2081 } | 2081 } |
| 2082 | 2082 |
| 2083 checkUnnamed971(core.List<core.String> o) { | 2083 checkUnnamed532(core.List<core.String> o) { |
| 2084 unittest.expect(o, unittest.hasLength(2)); | 2084 unittest.expect(o, unittest.hasLength(2)); |
| 2085 unittest.expect(o[0], unittest.equals('foo')); | 2085 unittest.expect(o[0], unittest.equals('foo')); |
| 2086 unittest.expect(o[1], unittest.equals('foo')); | 2086 unittest.expect(o[1], unittest.equals('foo')); |
| 2087 } | 2087 } |
| 2088 | 2088 |
| 2089 core.int buildCounterVolumeVolumeInfoDimensions = 0; | 2089 core.int buildCounterVolumeVolumeInfoDimensions = 0; |
| 2090 buildVolumeVolumeInfoDimensions() { | 2090 buildVolumeVolumeInfoDimensions() { |
| 2091 var o = new api.VolumeVolumeInfoDimensions(); | 2091 var o = new api.VolumeVolumeInfoDimensions(); |
| 2092 buildCounterVolumeVolumeInfoDimensions++; | 2092 buildCounterVolumeVolumeInfoDimensions++; |
| 2093 if (buildCounterVolumeVolumeInfoDimensions < 3) { | 2093 if (buildCounterVolumeVolumeInfoDimensions < 3) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2152 | 2152 |
| 2153 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { | 2153 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { |
| 2154 buildCounterVolumeVolumeInfoIndustryIdentifiers++; | 2154 buildCounterVolumeVolumeInfoIndustryIdentifiers++; |
| 2155 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { | 2155 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { |
| 2156 unittest.expect(o.identifier, unittest.equals('foo')); | 2156 unittest.expect(o.identifier, unittest.equals('foo')); |
| 2157 unittest.expect(o.type, unittest.equals('foo')); | 2157 unittest.expect(o.type, unittest.equals('foo')); |
| 2158 } | 2158 } |
| 2159 buildCounterVolumeVolumeInfoIndustryIdentifiers--; | 2159 buildCounterVolumeVolumeInfoIndustryIdentifiers--; |
| 2160 } | 2160 } |
| 2161 | 2161 |
| 2162 buildUnnamed972() { | 2162 buildUnnamed533() { |
| 2163 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); | 2163 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); |
| 2164 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2164 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
| 2165 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2165 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
| 2166 return o; | 2166 return o; |
| 2167 } | 2167 } |
| 2168 | 2168 |
| 2169 checkUnnamed972(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { | 2169 checkUnnamed533(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { |
| 2170 unittest.expect(o, unittest.hasLength(2)); | 2170 unittest.expect(o, unittest.hasLength(2)); |
| 2171 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); | 2171 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); |
| 2172 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); | 2172 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); |
| 2173 } | 2173 } |
| 2174 | 2174 |
| 2175 core.int buildCounterVolumeVolumeInfo = 0; | 2175 core.int buildCounterVolumeVolumeInfo = 0; |
| 2176 buildVolumeVolumeInfo() { | 2176 buildVolumeVolumeInfo() { |
| 2177 var o = new api.VolumeVolumeInfo(); | 2177 var o = new api.VolumeVolumeInfo(); |
| 2178 buildCounterVolumeVolumeInfo++; | 2178 buildCounterVolumeVolumeInfo++; |
| 2179 if (buildCounterVolumeVolumeInfo < 3) { | 2179 if (buildCounterVolumeVolumeInfo < 3) { |
| 2180 o.authors = buildUnnamed970(); | 2180 o.authors = buildUnnamed531(); |
| 2181 o.averageRating = 42.0; | 2181 o.averageRating = 42.0; |
| 2182 o.canonicalVolumeLink = "foo"; | 2182 o.canonicalVolumeLink = "foo"; |
| 2183 o.categories = buildUnnamed971(); | 2183 o.categories = buildUnnamed532(); |
| 2184 o.contentVersion = "foo"; | 2184 o.contentVersion = "foo"; |
| 2185 o.description = "foo"; | 2185 o.description = "foo"; |
| 2186 o.dimensions = buildVolumeVolumeInfoDimensions(); | 2186 o.dimensions = buildVolumeVolumeInfoDimensions(); |
| 2187 o.imageLinks = buildVolumeVolumeInfoImageLinks(); | 2187 o.imageLinks = buildVolumeVolumeInfoImageLinks(); |
| 2188 o.industryIdentifiers = buildUnnamed972(); | 2188 o.industryIdentifiers = buildUnnamed533(); |
| 2189 o.infoLink = "foo"; | 2189 o.infoLink = "foo"; |
| 2190 o.language = "foo"; | 2190 o.language = "foo"; |
| 2191 o.mainCategory = "foo"; | 2191 o.mainCategory = "foo"; |
| 2192 o.pageCount = 42; | 2192 o.pageCount = 42; |
| 2193 o.previewLink = "foo"; | 2193 o.previewLink = "foo"; |
| 2194 o.printType = "foo"; | 2194 o.printType = "foo"; |
| 2195 o.printedPageCount = 42; | 2195 o.printedPageCount = 42; |
| 2196 o.publishedDate = "foo"; | 2196 o.publishedDate = "foo"; |
| 2197 o.publisher = "foo"; | 2197 o.publisher = "foo"; |
| 2198 o.ratingsCount = 42; | 2198 o.ratingsCount = 42; |
| 2199 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2199 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2200 o.subtitle = "foo"; | 2200 o.subtitle = "foo"; |
| 2201 o.title = "foo"; | 2201 o.title = "foo"; |
| 2202 } | 2202 } |
| 2203 buildCounterVolumeVolumeInfo--; | 2203 buildCounterVolumeVolumeInfo--; |
| 2204 return o; | 2204 return o; |
| 2205 } | 2205 } |
| 2206 | 2206 |
| 2207 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { | 2207 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { |
| 2208 buildCounterVolumeVolumeInfo++; | 2208 buildCounterVolumeVolumeInfo++; |
| 2209 if (buildCounterVolumeVolumeInfo < 3) { | 2209 if (buildCounterVolumeVolumeInfo < 3) { |
| 2210 checkUnnamed970(o.authors); | 2210 checkUnnamed531(o.authors); |
| 2211 unittest.expect(o.averageRating, unittest.equals(42.0)); | 2211 unittest.expect(o.averageRating, unittest.equals(42.0)); |
| 2212 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 2212 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
| 2213 checkUnnamed971(o.categories); | 2213 checkUnnamed532(o.categories); |
| 2214 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2214 unittest.expect(o.contentVersion, unittest.equals('foo')); |
| 2215 unittest.expect(o.description, unittest.equals('foo')); | 2215 unittest.expect(o.description, unittest.equals('foo')); |
| 2216 checkVolumeVolumeInfoDimensions(o.dimensions); | 2216 checkVolumeVolumeInfoDimensions(o.dimensions); |
| 2217 checkVolumeVolumeInfoImageLinks(o.imageLinks); | 2217 checkVolumeVolumeInfoImageLinks(o.imageLinks); |
| 2218 checkUnnamed972(o.industryIdentifiers); | 2218 checkUnnamed533(o.industryIdentifiers); |
| 2219 unittest.expect(o.infoLink, unittest.equals('foo')); | 2219 unittest.expect(o.infoLink, unittest.equals('foo')); |
| 2220 unittest.expect(o.language, unittest.equals('foo')); | 2220 unittest.expect(o.language, unittest.equals('foo')); |
| 2221 unittest.expect(o.mainCategory, unittest.equals('foo')); | 2221 unittest.expect(o.mainCategory, unittest.equals('foo')); |
| 2222 unittest.expect(o.pageCount, unittest.equals(42)); | 2222 unittest.expect(o.pageCount, unittest.equals(42)); |
| 2223 unittest.expect(o.previewLink, unittest.equals('foo')); | 2223 unittest.expect(o.previewLink, unittest.equals('foo')); |
| 2224 unittest.expect(o.printType, unittest.equals('foo')); | 2224 unittest.expect(o.printType, unittest.equals('foo')); |
| 2225 unittest.expect(o.printedPageCount, unittest.equals(42)); | 2225 unittest.expect(o.printedPageCount, unittest.equals(42)); |
| 2226 unittest.expect(o.publishedDate, unittest.equals('foo')); | 2226 unittest.expect(o.publishedDate, unittest.equals('foo')); |
| 2227 unittest.expect(o.publisher, unittest.equals('foo')); | 2227 unittest.expect(o.publisher, unittest.equals('foo')); |
| 2228 unittest.expect(o.ratingsCount, unittest.equals(42)); | 2228 unittest.expect(o.ratingsCount, unittest.equals(42)); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2290 buildCounterVolumeannotationContentRanges++; | 2290 buildCounterVolumeannotationContentRanges++; |
| 2291 if (buildCounterVolumeannotationContentRanges < 3) { | 2291 if (buildCounterVolumeannotationContentRanges < 3) { |
| 2292 checkBooksAnnotationsRange(o.cfiRange); | 2292 checkBooksAnnotationsRange(o.cfiRange); |
| 2293 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2293 unittest.expect(o.contentVersion, unittest.equals('foo')); |
| 2294 checkBooksAnnotationsRange(o.gbImageRange); | 2294 checkBooksAnnotationsRange(o.gbImageRange); |
| 2295 checkBooksAnnotationsRange(o.gbTextRange); | 2295 checkBooksAnnotationsRange(o.gbTextRange); |
| 2296 } | 2296 } |
| 2297 buildCounterVolumeannotationContentRanges--; | 2297 buildCounterVolumeannotationContentRanges--; |
| 2298 } | 2298 } |
| 2299 | 2299 |
| 2300 buildUnnamed973() { | 2300 buildUnnamed534() { |
| 2301 var o = new core.List<core.String>(); | 2301 var o = new core.List<core.String>(); |
| 2302 o.add("foo"); | 2302 o.add("foo"); |
| 2303 o.add("foo"); | 2303 o.add("foo"); |
| 2304 return o; | 2304 return o; |
| 2305 } | 2305 } |
| 2306 | 2306 |
| 2307 checkUnnamed973(core.List<core.String> o) { | 2307 checkUnnamed534(core.List<core.String> o) { |
| 2308 unittest.expect(o, unittest.hasLength(2)); | 2308 unittest.expect(o, unittest.hasLength(2)); |
| 2309 unittest.expect(o[0], unittest.equals('foo')); | 2309 unittest.expect(o[0], unittest.equals('foo')); |
| 2310 unittest.expect(o[1], unittest.equals('foo')); | 2310 unittest.expect(o[1], unittest.equals('foo')); |
| 2311 } | 2311 } |
| 2312 | 2312 |
| 2313 core.int buildCounterVolumeannotation = 0; | 2313 core.int buildCounterVolumeannotation = 0; |
| 2314 buildVolumeannotation() { | 2314 buildVolumeannotation() { |
| 2315 var o = new api.Volumeannotation(); | 2315 var o = new api.Volumeannotation(); |
| 2316 buildCounterVolumeannotation++; | 2316 buildCounterVolumeannotation++; |
| 2317 if (buildCounterVolumeannotation < 3) { | 2317 if (buildCounterVolumeannotation < 3) { |
| 2318 o.annotationDataId = "foo"; | 2318 o.annotationDataId = "foo"; |
| 2319 o.annotationDataLink = "foo"; | 2319 o.annotationDataLink = "foo"; |
| 2320 o.annotationType = "foo"; | 2320 o.annotationType = "foo"; |
| 2321 o.contentRanges = buildVolumeannotationContentRanges(); | 2321 o.contentRanges = buildVolumeannotationContentRanges(); |
| 2322 o.data = "foo"; | 2322 o.data = "foo"; |
| 2323 o.deleted = true; | 2323 o.deleted = true; |
| 2324 o.id = "foo"; | 2324 o.id = "foo"; |
| 2325 o.kind = "foo"; | 2325 o.kind = "foo"; |
| 2326 o.layerId = "foo"; | 2326 o.layerId = "foo"; |
| 2327 o.pageIds = buildUnnamed973(); | 2327 o.pageIds = buildUnnamed534(); |
| 2328 o.selectedText = "foo"; | 2328 o.selectedText = "foo"; |
| 2329 o.selfLink = "foo"; | 2329 o.selfLink = "foo"; |
| 2330 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 2330 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
| 2331 o.volumeId = "foo"; | 2331 o.volumeId = "foo"; |
| 2332 } | 2332 } |
| 2333 buildCounterVolumeannotation--; | 2333 buildCounterVolumeannotation--; |
| 2334 return o; | 2334 return o; |
| 2335 } | 2335 } |
| 2336 | 2336 |
| 2337 checkVolumeannotation(api.Volumeannotation o) { | 2337 checkVolumeannotation(api.Volumeannotation o) { |
| 2338 buildCounterVolumeannotation++; | 2338 buildCounterVolumeannotation++; |
| 2339 if (buildCounterVolumeannotation < 3) { | 2339 if (buildCounterVolumeannotation < 3) { |
| 2340 unittest.expect(o.annotationDataId, unittest.equals('foo')); | 2340 unittest.expect(o.annotationDataId, unittest.equals('foo')); |
| 2341 unittest.expect(o.annotationDataLink, unittest.equals('foo')); | 2341 unittest.expect(o.annotationDataLink, unittest.equals('foo')); |
| 2342 unittest.expect(o.annotationType, unittest.equals('foo')); | 2342 unittest.expect(o.annotationType, unittest.equals('foo')); |
| 2343 checkVolumeannotationContentRanges(o.contentRanges); | 2343 checkVolumeannotationContentRanges(o.contentRanges); |
| 2344 unittest.expect(o.data, unittest.equals('foo')); | 2344 unittest.expect(o.data, unittest.equals('foo')); |
| 2345 unittest.expect(o.deleted, unittest.isTrue); | 2345 unittest.expect(o.deleted, unittest.isTrue); |
| 2346 unittest.expect(o.id, unittest.equals('foo')); | 2346 unittest.expect(o.id, unittest.equals('foo')); |
| 2347 unittest.expect(o.kind, unittest.equals('foo')); | 2347 unittest.expect(o.kind, unittest.equals('foo')); |
| 2348 unittest.expect(o.layerId, unittest.equals('foo')); | 2348 unittest.expect(o.layerId, unittest.equals('foo')); |
| 2349 checkUnnamed973(o.pageIds); | 2349 checkUnnamed534(o.pageIds); |
| 2350 unittest.expect(o.selectedText, unittest.equals('foo')); | 2350 unittest.expect(o.selectedText, unittest.equals('foo')); |
| 2351 unittest.expect(o.selfLink, unittest.equals('foo')); | 2351 unittest.expect(o.selfLink, unittest.equals('foo')); |
| 2352 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2352 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
| 2353 unittest.expect(o.volumeId, unittest.equals('foo')); | 2353 unittest.expect(o.volumeId, unittest.equals('foo')); |
| 2354 } | 2354 } |
| 2355 buildCounterVolumeannotation--; | 2355 buildCounterVolumeannotation--; |
| 2356 } | 2356 } |
| 2357 | 2357 |
| 2358 buildUnnamed974() { | 2358 buildUnnamed535() { |
| 2359 var o = new core.List<api.Volumeannotation>(); | 2359 var o = new core.List<api.Volumeannotation>(); |
| 2360 o.add(buildVolumeannotation()); | 2360 o.add(buildVolumeannotation()); |
| 2361 o.add(buildVolumeannotation()); | 2361 o.add(buildVolumeannotation()); |
| 2362 return o; | 2362 return o; |
| 2363 } | 2363 } |
| 2364 | 2364 |
| 2365 checkUnnamed974(core.List<api.Volumeannotation> o) { | 2365 checkUnnamed535(core.List<api.Volumeannotation> o) { |
| 2366 unittest.expect(o, unittest.hasLength(2)); | 2366 unittest.expect(o, unittest.hasLength(2)); |
| 2367 checkVolumeannotation(o[0]); | 2367 checkVolumeannotation(o[0]); |
| 2368 checkVolumeannotation(o[1]); | 2368 checkVolumeannotation(o[1]); |
| 2369 } | 2369 } |
| 2370 | 2370 |
| 2371 core.int buildCounterVolumeannotations = 0; | 2371 core.int buildCounterVolumeannotations = 0; |
| 2372 buildVolumeannotations() { | 2372 buildVolumeannotations() { |
| 2373 var o = new api.Volumeannotations(); | 2373 var o = new api.Volumeannotations(); |
| 2374 buildCounterVolumeannotations++; | 2374 buildCounterVolumeannotations++; |
| 2375 if (buildCounterVolumeannotations < 3) { | 2375 if (buildCounterVolumeannotations < 3) { |
| 2376 o.items = buildUnnamed974(); | 2376 o.items = buildUnnamed535(); |
| 2377 o.kind = "foo"; | 2377 o.kind = "foo"; |
| 2378 o.nextPageToken = "foo"; | 2378 o.nextPageToken = "foo"; |
| 2379 o.totalItems = 42; | 2379 o.totalItems = 42; |
| 2380 o.version = "foo"; | 2380 o.version = "foo"; |
| 2381 } | 2381 } |
| 2382 buildCounterVolumeannotations--; | 2382 buildCounterVolumeannotations--; |
| 2383 return o; | 2383 return o; |
| 2384 } | 2384 } |
| 2385 | 2385 |
| 2386 checkVolumeannotations(api.Volumeannotations o) { | 2386 checkVolumeannotations(api.Volumeannotations o) { |
| 2387 buildCounterVolumeannotations++; | 2387 buildCounterVolumeannotations++; |
| 2388 if (buildCounterVolumeannotations < 3) { | 2388 if (buildCounterVolumeannotations < 3) { |
| 2389 checkUnnamed974(o.items); | 2389 checkUnnamed535(o.items); |
| 2390 unittest.expect(o.kind, unittest.equals('foo')); | 2390 unittest.expect(o.kind, unittest.equals('foo')); |
| 2391 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2391 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2392 unittest.expect(o.totalItems, unittest.equals(42)); | 2392 unittest.expect(o.totalItems, unittest.equals(42)); |
| 2393 unittest.expect(o.version, unittest.equals('foo')); | 2393 unittest.expect(o.version, unittest.equals('foo')); |
| 2394 } | 2394 } |
| 2395 buildCounterVolumeannotations--; | 2395 buildCounterVolumeannotations--; |
| 2396 } | 2396 } |
| 2397 | 2397 |
| 2398 buildUnnamed975() { | 2398 buildUnnamed536() { |
| 2399 var o = new core.List<api.Volume>(); | 2399 var o = new core.List<api.Volume>(); |
| 2400 o.add(buildVolume()); | 2400 o.add(buildVolume()); |
| 2401 o.add(buildVolume()); | 2401 o.add(buildVolume()); |
| 2402 return o; | 2402 return o; |
| 2403 } | 2403 } |
| 2404 | 2404 |
| 2405 checkUnnamed975(core.List<api.Volume> o) { | 2405 checkUnnamed536(core.List<api.Volume> o) { |
| 2406 unittest.expect(o, unittest.hasLength(2)); | 2406 unittest.expect(o, unittest.hasLength(2)); |
| 2407 checkVolume(o[0]); | 2407 checkVolume(o[0]); |
| 2408 checkVolume(o[1]); | 2408 checkVolume(o[1]); |
| 2409 } | 2409 } |
| 2410 | 2410 |
| 2411 core.int buildCounterVolumes = 0; | 2411 core.int buildCounterVolumes = 0; |
| 2412 buildVolumes() { | 2412 buildVolumes() { |
| 2413 var o = new api.Volumes(); | 2413 var o = new api.Volumes(); |
| 2414 buildCounterVolumes++; | 2414 buildCounterVolumes++; |
| 2415 if (buildCounterVolumes < 3) { | 2415 if (buildCounterVolumes < 3) { |
| 2416 o.items = buildUnnamed975(); | 2416 o.items = buildUnnamed536(); |
| 2417 o.kind = "foo"; | 2417 o.kind = "foo"; |
| 2418 o.totalItems = 42; | 2418 o.totalItems = 42; |
| 2419 } | 2419 } |
| 2420 buildCounterVolumes--; | 2420 buildCounterVolumes--; |
| 2421 return o; | 2421 return o; |
| 2422 } | 2422 } |
| 2423 | 2423 |
| 2424 checkVolumes(api.Volumes o) { | 2424 checkVolumes(api.Volumes o) { |
| 2425 buildCounterVolumes++; | 2425 buildCounterVolumes++; |
| 2426 if (buildCounterVolumes < 3) { | 2426 if (buildCounterVolumes < 3) { |
| 2427 checkUnnamed975(o.items); | 2427 checkUnnamed536(o.items); |
| 2428 unittest.expect(o.kind, unittest.equals('foo')); | 2428 unittest.expect(o.kind, unittest.equals('foo')); |
| 2429 unittest.expect(o.totalItems, unittest.equals(42)); | 2429 unittest.expect(o.totalItems, unittest.equals(42)); |
| 2430 } | 2430 } |
| 2431 buildCounterVolumes--; | 2431 buildCounterVolumes--; |
| 2432 } | 2432 } |
| 2433 | 2433 |
| 2434 buildUnnamed976() { | 2434 buildUnnamed537() { |
| 2435 var o = new core.List<core.String>(); | 2435 var o = new core.List<core.String>(); |
| 2436 o.add("foo"); | 2436 o.add("foo"); |
| 2437 o.add("foo"); | 2437 o.add("foo"); |
| 2438 return o; | 2438 return o; |
| 2439 } | 2439 } |
| 2440 | 2440 |
| 2441 checkUnnamed976(core.List<core.String> o) { | 2441 checkUnnamed537(core.List<core.String> o) { |
| 2442 unittest.expect(o, unittest.hasLength(2)); | 2442 unittest.expect(o, unittest.hasLength(2)); |
| 2443 unittest.expect(o[0], unittest.equals('foo')); | 2443 unittest.expect(o[0], unittest.equals('foo')); |
| 2444 unittest.expect(o[1], unittest.equals('foo')); | 2444 unittest.expect(o[1], unittest.equals('foo')); |
| 2445 } | 2445 } |
| 2446 | 2446 |
| 2447 buildUnnamed977() { | 2447 buildUnnamed538() { |
| 2448 var o = new core.List<core.String>(); | 2448 var o = new core.List<core.String>(); |
| 2449 o.add("foo"); | 2449 o.add("foo"); |
| 2450 o.add("foo"); | 2450 o.add("foo"); |
| 2451 return o; | 2451 return o; |
| 2452 } | 2452 } |
| 2453 | 2453 |
| 2454 checkUnnamed977(core.List<core.String> o) { | 2454 checkUnnamed538(core.List<core.String> o) { |
| 2455 unittest.expect(o, unittest.hasLength(2)); | 2455 unittest.expect(o, unittest.hasLength(2)); |
| 2456 unittest.expect(o[0], unittest.equals('foo')); | 2456 unittest.expect(o[0], unittest.equals('foo')); |
| 2457 unittest.expect(o[1], unittest.equals('foo')); | 2457 unittest.expect(o[1], unittest.equals('foo')); |
| 2458 } | 2458 } |
| 2459 | 2459 |
| 2460 buildUnnamed978() { | 2460 buildUnnamed539() { |
| 2461 var o = new core.List<core.String>(); | 2461 var o = new core.List<core.String>(); |
| 2462 o.add("foo"); | 2462 o.add("foo"); |
| 2463 o.add("foo"); | 2463 o.add("foo"); |
| 2464 return o; | 2464 return o; |
| 2465 } | 2465 } |
| 2466 | 2466 |
| 2467 checkUnnamed978(core.List<core.String> o) { | 2467 checkUnnamed539(core.List<core.String> o) { |
| 2468 unittest.expect(o, unittest.hasLength(2)); | 2468 unittest.expect(o, unittest.hasLength(2)); |
| 2469 unittest.expect(o[0], unittest.equals('foo')); | 2469 unittest.expect(o[0], unittest.equals('foo')); |
| 2470 unittest.expect(o[1], unittest.equals('foo')); | 2470 unittest.expect(o[1], unittest.equals('foo')); |
| 2471 } | 2471 } |
| 2472 | 2472 |
| 2473 buildUnnamed979() { | 2473 buildUnnamed540() { |
| 2474 var o = new core.List<core.String>(); | 2474 var o = new core.List<core.String>(); |
| 2475 o.add("foo"); | 2475 o.add("foo"); |
| 2476 o.add("foo"); | 2476 o.add("foo"); |
| 2477 return o; | 2477 return o; |
| 2478 } | 2478 } |
| 2479 | 2479 |
| 2480 checkUnnamed979(core.List<core.String> o) { | 2480 checkUnnamed540(core.List<core.String> o) { |
| 2481 unittest.expect(o, unittest.hasLength(2)); | 2481 unittest.expect(o, unittest.hasLength(2)); |
| 2482 unittest.expect(o[0], unittest.equals('foo')); | 2482 unittest.expect(o[0], unittest.equals('foo')); |
| 2483 unittest.expect(o[1], unittest.equals('foo')); | 2483 unittest.expect(o[1], unittest.equals('foo')); |
| 2484 } | 2484 } |
| 2485 | 2485 |
| 2486 buildUnnamed980() { | 2486 buildUnnamed541() { |
| 2487 var o = new core.List<core.String>(); | 2487 var o = new core.List<core.String>(); |
| 2488 o.add("foo"); | 2488 o.add("foo"); |
| 2489 o.add("foo"); | 2489 o.add("foo"); |
| 2490 return o; | 2490 return o; |
| 2491 } | 2491 } |
| 2492 | 2492 |
| 2493 checkUnnamed980(core.List<core.String> o) { | 2493 checkUnnamed541(core.List<core.String> o) { |
| 2494 unittest.expect(o, unittest.hasLength(2)); | 2494 unittest.expect(o, unittest.hasLength(2)); |
| 2495 unittest.expect(o[0], unittest.equals('foo')); | 2495 unittest.expect(o[0], unittest.equals('foo')); |
| 2496 unittest.expect(o[1], unittest.equals('foo')); | 2496 unittest.expect(o[1], unittest.equals('foo')); |
| 2497 } | 2497 } |
| 2498 | 2498 |
| 2499 buildUnnamed981() { | 2499 buildUnnamed542() { |
| 2500 var o = new core.List<core.String>(); | 2500 var o = new core.List<core.String>(); |
| 2501 o.add("foo"); | 2501 o.add("foo"); |
| 2502 o.add("foo"); | 2502 o.add("foo"); |
| 2503 return o; | 2503 return o; |
| 2504 } | 2504 } |
| 2505 | 2505 |
| 2506 checkUnnamed981(core.List<core.String> o) { | 2506 checkUnnamed542(core.List<core.String> o) { |
| 2507 unittest.expect(o, unittest.hasLength(2)); | 2507 unittest.expect(o, unittest.hasLength(2)); |
| 2508 unittest.expect(o[0], unittest.equals('foo')); | 2508 unittest.expect(o[0], unittest.equals('foo')); |
| 2509 unittest.expect(o[1], unittest.equals('foo')); | 2509 unittest.expect(o[1], unittest.equals('foo')); |
| 2510 } | 2510 } |
| 2511 | 2511 |
| 2512 buildUnnamed982() { | 2512 buildUnnamed543() { |
| 2513 var o = new core.List<core.String>(); | 2513 var o = new core.List<core.String>(); |
| 2514 o.add("foo"); | 2514 o.add("foo"); |
| 2515 o.add("foo"); | 2515 o.add("foo"); |
| 2516 return o; | 2516 return o; |
| 2517 } | 2517 } |
| 2518 | 2518 |
| 2519 checkUnnamed982(core.List<core.String> o) { | 2519 checkUnnamed543(core.List<core.String> o) { |
| 2520 unittest.expect(o, unittest.hasLength(2)); | 2520 unittest.expect(o, unittest.hasLength(2)); |
| 2521 unittest.expect(o[0], unittest.equals('foo')); | 2521 unittest.expect(o[0], unittest.equals('foo')); |
| 2522 unittest.expect(o[1], unittest.equals('foo')); | 2522 unittest.expect(o[1], unittest.equals('foo')); |
| 2523 } | 2523 } |
| 2524 | 2524 |
| 2525 buildUnnamed983() { | 2525 buildUnnamed544() { |
| 2526 var o = new core.List<core.String>(); | 2526 var o = new core.List<core.String>(); |
| 2527 o.add("foo"); | 2527 o.add("foo"); |
| 2528 o.add("foo"); | 2528 o.add("foo"); |
| 2529 return o; | 2529 return o; |
| 2530 } | 2530 } |
| 2531 | 2531 |
| 2532 checkUnnamed983(core.List<core.String> o) { | 2532 checkUnnamed544(core.List<core.String> o) { |
| 2533 unittest.expect(o, unittest.hasLength(2)); | 2533 unittest.expect(o, unittest.hasLength(2)); |
| 2534 unittest.expect(o[0], unittest.equals('foo')); | 2534 unittest.expect(o[0], unittest.equals('foo')); |
| 2535 unittest.expect(o[1], unittest.equals('foo')); | 2535 unittest.expect(o[1], unittest.equals('foo')); |
| 2536 } | 2536 } |
| 2537 | 2537 |
| 2538 buildUnnamed984() { | 2538 buildUnnamed545() { |
| 2539 var o = new core.List<core.String>(); | 2539 var o = new core.List<core.String>(); |
| 2540 o.add("foo"); | 2540 o.add("foo"); |
| 2541 o.add("foo"); | 2541 o.add("foo"); |
| 2542 return o; | 2542 return o; |
| 2543 } | 2543 } |
| 2544 | 2544 |
| 2545 checkUnnamed984(core.List<core.String> o) { | 2545 checkUnnamed545(core.List<core.String> o) { |
| 2546 unittest.expect(o, unittest.hasLength(2)); | 2546 unittest.expect(o, unittest.hasLength(2)); |
| 2547 unittest.expect(o[0], unittest.equals('foo')); | 2547 unittest.expect(o[0], unittest.equals('foo')); |
| 2548 unittest.expect(o[1], unittest.equals('foo')); | 2548 unittest.expect(o[1], unittest.equals('foo')); |
| 2549 } | 2549 } |
| 2550 | 2550 |
| 2551 buildUnnamed985() { | 2551 buildUnnamed546() { |
| 2552 var o = new core.List<core.String>(); | 2552 var o = new core.List<core.String>(); |
| 2553 o.add("foo"); | 2553 o.add("foo"); |
| 2554 o.add("foo"); | 2554 o.add("foo"); |
| 2555 return o; | 2555 return o; |
| 2556 } | 2556 } |
| 2557 | 2557 |
| 2558 checkUnnamed985(core.List<core.String> o) { | 2558 checkUnnamed546(core.List<core.String> o) { |
| 2559 unittest.expect(o, unittest.hasLength(2)); | 2559 unittest.expect(o, unittest.hasLength(2)); |
| 2560 unittest.expect(o[0], unittest.equals('foo')); | 2560 unittest.expect(o[0], unittest.equals('foo')); |
| 2561 unittest.expect(o[1], unittest.equals('foo')); | 2561 unittest.expect(o[1], unittest.equals('foo')); |
| 2562 } | 2562 } |
| 2563 | 2563 |
| 2564 buildUnnamed986() { | 2564 buildUnnamed547() { |
| 2565 var o = new core.List<core.String>(); | 2565 var o = new core.List<core.String>(); |
| 2566 o.add("foo"); | 2566 o.add("foo"); |
| 2567 o.add("foo"); | 2567 o.add("foo"); |
| 2568 return o; | 2568 return o; |
| 2569 } | 2569 } |
| 2570 | 2570 |
| 2571 checkUnnamed986(core.List<core.String> o) { | 2571 checkUnnamed547(core.List<core.String> o) { |
| 2572 unittest.expect(o, unittest.hasLength(2)); | 2572 unittest.expect(o, unittest.hasLength(2)); |
| 2573 unittest.expect(o[0], unittest.equals('foo')); | 2573 unittest.expect(o[0], unittest.equals('foo')); |
| 2574 unittest.expect(o[1], unittest.equals('foo')); | 2574 unittest.expect(o[1], unittest.equals('foo')); |
| 2575 } | 2575 } |
| 2576 | 2576 |
| 2577 | 2577 |
| 2578 main() { | 2578 main() { |
| 2579 unittest.group("obj-schema-AnnotationClientVersionRanges", () { | 2579 unittest.group("obj-schema-AnnotationClientVersionRanges", () { |
| 2580 unittest.test("to-json--from-json", () { | 2580 unittest.test("to-json--from-json", () { |
| 2581 var o = buildAnnotationClientVersionRanges(); | 2581 var o = buildAnnotationClientVersionRanges(); |
| (...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3835 }))); | 3835 }))); |
| 3836 }); | 3836 }); |
| 3837 | 3837 |
| 3838 unittest.test("method--list", () { | 3838 unittest.test("method--list", () { |
| 3839 | 3839 |
| 3840 var mock = new common_test.HttpServerMock(); | 3840 var mock = new common_test.HttpServerMock(); |
| 3841 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; | 3841 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; |
| 3842 var arg_volumeId = "foo"; | 3842 var arg_volumeId = "foo"; |
| 3843 var arg_layerId = "foo"; | 3843 var arg_layerId = "foo"; |
| 3844 var arg_contentVersion = "foo"; | 3844 var arg_contentVersion = "foo"; |
| 3845 var arg_annotationDataId = buildUnnamed976(); | 3845 var arg_annotationDataId = buildUnnamed537(); |
| 3846 var arg_h = 42; | 3846 var arg_h = 42; |
| 3847 var arg_locale = "foo"; | 3847 var arg_locale = "foo"; |
| 3848 var arg_maxResults = 42; | 3848 var arg_maxResults = 42; |
| 3849 var arg_pageToken = "foo"; | 3849 var arg_pageToken = "foo"; |
| 3850 var arg_scale = 42; | 3850 var arg_scale = 42; |
| 3851 var arg_source = "foo"; | 3851 var arg_source = "foo"; |
| 3852 var arg_updatedMax = "foo"; | 3852 var arg_updatedMax = "foo"; |
| 3853 var arg_updatedMin = "foo"; | 3853 var arg_updatedMin = "foo"; |
| 3854 var arg_w = 42; | 3854 var arg_w = 42; |
| 3855 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 3855 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4075 }); | 4075 }); |
| 4076 | 4076 |
| 4077 }); | 4077 }); |
| 4078 | 4078 |
| 4079 | 4079 |
| 4080 unittest.group("resource-MyconfigResourceApi", () { | 4080 unittest.group("resource-MyconfigResourceApi", () { |
| 4081 unittest.test("method--releaseDownloadAccess", () { | 4081 unittest.test("method--releaseDownloadAccess", () { |
| 4082 | 4082 |
| 4083 var mock = new common_test.HttpServerMock(); | 4083 var mock = new common_test.HttpServerMock(); |
| 4084 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 4084 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
| 4085 var arg_volumeIds = buildUnnamed977(); | 4085 var arg_volumeIds = buildUnnamed538(); |
| 4086 var arg_cpksver = "foo"; | 4086 var arg_cpksver = "foo"; |
| 4087 var arg_locale = "foo"; | 4087 var arg_locale = "foo"; |
| 4088 var arg_source = "foo"; | 4088 var arg_source = "foo"; |
| 4089 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4089 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4090 var path = (req.url).path; | 4090 var path = (req.url).path; |
| 4091 var pathOffset = 0; | 4091 var pathOffset = 0; |
| 4092 var index; | 4092 var index; |
| 4093 var subPart; | 4093 var subPart; |
| 4094 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4094 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4095 pathOffset += 1; | 4095 pathOffset += 1; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4188 }))); | 4188 }))); |
| 4189 }); | 4189 }); |
| 4190 | 4190 |
| 4191 unittest.test("method--syncVolumeLicenses", () { | 4191 unittest.test("method--syncVolumeLicenses", () { |
| 4192 | 4192 |
| 4193 var mock = new common_test.HttpServerMock(); | 4193 var mock = new common_test.HttpServerMock(); |
| 4194 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 4194 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
| 4195 var arg_source = "foo"; | 4195 var arg_source = "foo"; |
| 4196 var arg_nonce = "foo"; | 4196 var arg_nonce = "foo"; |
| 4197 var arg_cpksver = "foo"; | 4197 var arg_cpksver = "foo"; |
| 4198 var arg_features = buildUnnamed978(); | 4198 var arg_features = buildUnnamed539(); |
| 4199 var arg_locale = "foo"; | 4199 var arg_locale = "foo"; |
| 4200 var arg_showPreorders = true; | 4200 var arg_showPreorders = true; |
| 4201 var arg_volumeIds = buildUnnamed979(); | 4201 var arg_volumeIds = buildUnnamed540(); |
| 4202 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4202 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4203 var path = (req.url).path; | 4203 var path = (req.url).path; |
| 4204 var pathOffset = 0; | 4204 var pathOffset = 0; |
| 4205 var index; | 4205 var index; |
| 4206 var subPart; | 4206 var subPart; |
| 4207 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4207 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4208 pathOffset += 1; | 4208 pathOffset += 1; |
| 4209 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 4209 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| 4210 pathOffset += 9; | 4210 pathOffset += 9; |
| 4211 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); | 4211 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4403 checkAnnotation(response); | 4403 checkAnnotation(response); |
| 4404 }))); | 4404 }))); |
| 4405 }); | 4405 }); |
| 4406 | 4406 |
| 4407 unittest.test("method--list", () { | 4407 unittest.test("method--list", () { |
| 4408 | 4408 |
| 4409 var mock = new common_test.HttpServerMock(); | 4409 var mock = new common_test.HttpServerMock(); |
| 4410 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 4410 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
| 4411 var arg_contentVersion = "foo"; | 4411 var arg_contentVersion = "foo"; |
| 4412 var arg_layerId = "foo"; | 4412 var arg_layerId = "foo"; |
| 4413 var arg_layerIds = buildUnnamed980(); | 4413 var arg_layerIds = buildUnnamed541(); |
| 4414 var arg_maxResults = 42; | 4414 var arg_maxResults = 42; |
| 4415 var arg_pageIds = buildUnnamed981(); | 4415 var arg_pageIds = buildUnnamed542(); |
| 4416 var arg_pageToken = "foo"; | 4416 var arg_pageToken = "foo"; |
| 4417 var arg_showDeleted = true; | 4417 var arg_showDeleted = true; |
| 4418 var arg_source = "foo"; | 4418 var arg_source = "foo"; |
| 4419 var arg_updatedMax = "foo"; | 4419 var arg_updatedMax = "foo"; |
| 4420 var arg_updatedMin = "foo"; | 4420 var arg_updatedMin = "foo"; |
| 4421 var arg_volumeId = "foo"; | 4421 var arg_volumeId = "foo"; |
| 4422 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4422 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4423 var path = (req.url).path; | 4423 var path = (req.url).path; |
| 4424 var pathOffset = 0; | 4424 var pathOffset = 0; |
| 4425 var index; | 4425 var index; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4468 }), true); | 4468 }), true); |
| 4469 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId
s: arg_layerIds, maxResults: arg_maxResults, pageIds: arg_pageIds, pageToken: ar
g_pageToken, showDeleted: arg_showDeleted, source: arg_source, updatedMax: arg_u
pdatedMax, updatedMin: arg_updatedMin, volumeId: arg_volumeId).then(unittest.exp
ectAsync(((api.Annotations response) { | 4469 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId
s: arg_layerIds, maxResults: arg_maxResults, pageIds: arg_pageIds, pageToken: ar
g_pageToken, showDeleted: arg_showDeleted, source: arg_source, updatedMax: arg_u
pdatedMax, updatedMin: arg_updatedMin, volumeId: arg_volumeId).then(unittest.exp
ectAsync(((api.Annotations response) { |
| 4470 checkAnnotations(response); | 4470 checkAnnotations(response); |
| 4471 }))); | 4471 }))); |
| 4472 }); | 4472 }); |
| 4473 | 4473 |
| 4474 unittest.test("method--summary", () { | 4474 unittest.test("method--summary", () { |
| 4475 | 4475 |
| 4476 var mock = new common_test.HttpServerMock(); | 4476 var mock = new common_test.HttpServerMock(); |
| 4477 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 4477 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
| 4478 var arg_layerIds = buildUnnamed982(); | 4478 var arg_layerIds = buildUnnamed543(); |
| 4479 var arg_volumeId = "foo"; | 4479 var arg_volumeId = "foo"; |
| 4480 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4480 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4481 var path = (req.url).path; | 4481 var path = (req.url).path; |
| 4482 var pathOffset = 0; | 4482 var pathOffset = 0; |
| 4483 var index; | 4483 var index; |
| 4484 var subPart; | 4484 var subPart; |
| 4485 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4485 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4486 pathOffset += 1; | 4486 pathOffset += 1; |
| 4487 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 4487 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| 4488 pathOffset += 9; | 4488 pathOffset += 9; |
| (...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5461 }); | 5461 }); |
| 5462 | 5462 |
| 5463 }); | 5463 }); |
| 5464 | 5464 |
| 5465 | 5465 |
| 5466 unittest.group("resource-VolumesMybooksResourceApi", () { | 5466 unittest.group("resource-VolumesMybooksResourceApi", () { |
| 5467 unittest.test("method--list", () { | 5467 unittest.test("method--list", () { |
| 5468 | 5468 |
| 5469 var mock = new common_test.HttpServerMock(); | 5469 var mock = new common_test.HttpServerMock(); |
| 5470 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; | 5470 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; |
| 5471 var arg_acquireMethod = buildUnnamed983(); | 5471 var arg_acquireMethod = buildUnnamed544(); |
| 5472 var arg_locale = "foo"; | 5472 var arg_locale = "foo"; |
| 5473 var arg_maxResults = 42; | 5473 var arg_maxResults = 42; |
| 5474 var arg_processingState = buildUnnamed984(); | 5474 var arg_processingState = buildUnnamed545(); |
| 5475 var arg_source = "foo"; | 5475 var arg_source = "foo"; |
| 5476 var arg_startIndex = 42; | 5476 var arg_startIndex = 42; |
| 5477 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5477 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5478 var path = (req.url).path; | 5478 var path = (req.url).path; |
| 5479 var pathOffset = 0; | 5479 var pathOffset = 0; |
| 5480 var index; | 5480 var index; |
| 5481 var subPart; | 5481 var subPart; |
| 5482 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5482 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5483 pathOffset += 1; | 5483 pathOffset += 1; |
| 5484 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5484 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5630 }); | 5630 }); |
| 5631 | 5631 |
| 5632 | 5632 |
| 5633 unittest.group("resource-VolumesUseruploadedResourceApi", () { | 5633 unittest.group("resource-VolumesUseruploadedResourceApi", () { |
| 5634 unittest.test("method--list", () { | 5634 unittest.test("method--list", () { |
| 5635 | 5635 |
| 5636 var mock = new common_test.HttpServerMock(); | 5636 var mock = new common_test.HttpServerMock(); |
| 5637 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; | 5637 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; |
| 5638 var arg_locale = "foo"; | 5638 var arg_locale = "foo"; |
| 5639 var arg_maxResults = 42; | 5639 var arg_maxResults = 42; |
| 5640 var arg_processingState = buildUnnamed985(); | 5640 var arg_processingState = buildUnnamed546(); |
| 5641 var arg_source = "foo"; | 5641 var arg_source = "foo"; |
| 5642 var arg_startIndex = 42; | 5642 var arg_startIndex = 42; |
| 5643 var arg_volumeId = buildUnnamed986(); | 5643 var arg_volumeId = buildUnnamed547(); |
| 5644 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5644 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5645 var path = (req.url).path; | 5645 var path = (req.url).path; |
| 5646 var pathOffset = 0; | 5646 var pathOffset = 0; |
| 5647 var index; | 5647 var index; |
| 5648 var subPart; | 5648 var subPart; |
| 5649 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5649 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5650 pathOffset += 1; | 5650 pathOffset += 1; |
| 5651 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5651 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
| 5652 pathOffset += 9; | 5652 pathOffset += 9; |
| 5653 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("volumes/useruploaded")); | 5653 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... |
| 5686 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) { | 5686 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) { |
| 5687 checkVolumes(response); | 5687 checkVolumes(response); |
| 5688 }))); | 5688 }))); |
| 5689 }); | 5689 }); |
| 5690 | 5690 |
| 5691 }); | 5691 }); |
| 5692 | 5692 |
| 5693 | 5693 |
| 5694 } | 5694 } |
| 5695 | 5695 |
| OLD | NEW |