OLD | NEW |
1 library googleapis.books.v1.test; | 1 library googleapis.books.v1.test; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { | 121 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { |
122 buildCounterAnnotationLayerSummary++; | 122 buildCounterAnnotationLayerSummary++; |
123 if (buildCounterAnnotationLayerSummary < 3) { | 123 if (buildCounterAnnotationLayerSummary < 3) { |
124 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); | 124 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); |
125 unittest.expect(o.limitType, unittest.equals('foo')); | 125 unittest.expect(o.limitType, unittest.equals('foo')); |
126 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); | 126 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); |
127 } | 127 } |
128 buildCounterAnnotationLayerSummary--; | 128 buildCounterAnnotationLayerSummary--; |
129 } | 129 } |
130 | 130 |
131 buildUnnamed799() { | 131 buildUnnamed381() { |
132 var o = new core.List<core.String>(); | 132 var o = new core.List<core.String>(); |
133 o.add("foo"); | 133 o.add("foo"); |
134 o.add("foo"); | 134 o.add("foo"); |
135 return o; | 135 return o; |
136 } | 136 } |
137 | 137 |
138 checkUnnamed799(core.List<core.String> o) { | 138 checkUnnamed381(core.List<core.String> o) { |
139 unittest.expect(o, unittest.hasLength(2)); | 139 unittest.expect(o, unittest.hasLength(2)); |
140 unittest.expect(o[0], unittest.equals('foo')); | 140 unittest.expect(o[0], unittest.equals('foo')); |
141 unittest.expect(o[1], unittest.equals('foo')); | 141 unittest.expect(o[1], unittest.equals('foo')); |
142 } | 142 } |
143 | 143 |
144 core.int buildCounterAnnotation = 0; | 144 core.int buildCounterAnnotation = 0; |
145 buildAnnotation() { | 145 buildAnnotation() { |
146 var o = new api.Annotation(); | 146 var o = new api.Annotation(); |
147 buildCounterAnnotation++; | 147 buildCounterAnnotation++; |
148 if (buildCounterAnnotation < 3) { | 148 if (buildCounterAnnotation < 3) { |
149 o.afterSelectedText = "foo"; | 149 o.afterSelectedText = "foo"; |
150 o.beforeSelectedText = "foo"; | 150 o.beforeSelectedText = "foo"; |
151 o.clientVersionRanges = buildAnnotationClientVersionRanges(); | 151 o.clientVersionRanges = buildAnnotationClientVersionRanges(); |
152 o.created = core.DateTime.parse("2002-02-27T14:01:02"); | 152 o.created = core.DateTime.parse("2002-02-27T14:01:02"); |
153 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); | 153 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); |
154 o.data = "foo"; | 154 o.data = "foo"; |
155 o.deleted = true; | 155 o.deleted = true; |
156 o.highlightStyle = "foo"; | 156 o.highlightStyle = "foo"; |
157 o.id = "foo"; | 157 o.id = "foo"; |
158 o.kind = "foo"; | 158 o.kind = "foo"; |
159 o.layerId = "foo"; | 159 o.layerId = "foo"; |
160 o.layerSummary = buildAnnotationLayerSummary(); | 160 o.layerSummary = buildAnnotationLayerSummary(); |
161 o.pageIds = buildUnnamed799(); | 161 o.pageIds = buildUnnamed381(); |
162 o.selectedText = "foo"; | 162 o.selectedText = "foo"; |
163 o.selfLink = "foo"; | 163 o.selfLink = "foo"; |
164 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 164 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
165 o.volumeId = "foo"; | 165 o.volumeId = "foo"; |
166 } | 166 } |
167 buildCounterAnnotation--; | 167 buildCounterAnnotation--; |
168 return o; | 168 return o; |
169 } | 169 } |
170 | 170 |
171 checkAnnotation(api.Annotation o) { | 171 checkAnnotation(api.Annotation o) { |
172 buildCounterAnnotation++; | 172 buildCounterAnnotation++; |
173 if (buildCounterAnnotation < 3) { | 173 if (buildCounterAnnotation < 3) { |
174 unittest.expect(o.afterSelectedText, unittest.equals('foo')); | 174 unittest.expect(o.afterSelectedText, unittest.equals('foo')); |
175 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); | 175 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); |
176 checkAnnotationClientVersionRanges(o.clientVersionRanges); | 176 checkAnnotationClientVersionRanges(o.clientVersionRanges); |
177 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 177 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
178 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); | 178 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); |
179 unittest.expect(o.data, unittest.equals('foo')); | 179 unittest.expect(o.data, unittest.equals('foo')); |
180 unittest.expect(o.deleted, unittest.isTrue); | 180 unittest.expect(o.deleted, unittest.isTrue); |
181 unittest.expect(o.highlightStyle, unittest.equals('foo')); | 181 unittest.expect(o.highlightStyle, unittest.equals('foo')); |
182 unittest.expect(o.id, unittest.equals('foo')); | 182 unittest.expect(o.id, unittest.equals('foo')); |
183 unittest.expect(o.kind, unittest.equals('foo')); | 183 unittest.expect(o.kind, unittest.equals('foo')); |
184 unittest.expect(o.layerId, unittest.equals('foo')); | 184 unittest.expect(o.layerId, unittest.equals('foo')); |
185 checkAnnotationLayerSummary(o.layerSummary); | 185 checkAnnotationLayerSummary(o.layerSummary); |
186 checkUnnamed799(o.pageIds); | 186 checkUnnamed381(o.pageIds); |
187 unittest.expect(o.selectedText, unittest.equals('foo')); | 187 unittest.expect(o.selectedText, unittest.equals('foo')); |
188 unittest.expect(o.selfLink, unittest.equals('foo')); | 188 unittest.expect(o.selfLink, unittest.equals('foo')); |
189 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 189 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
190 unittest.expect(o.volumeId, unittest.equals('foo')); | 190 unittest.expect(o.volumeId, unittest.equals('foo')); |
191 } | 191 } |
192 buildCounterAnnotation--; | 192 buildCounterAnnotation--; |
193 } | 193 } |
194 | 194 |
195 core.int buildCounterAnnotationdata = 0; | 195 core.int buildCounterAnnotationdata = 0; |
196 buildAnnotationdata() { | 196 buildAnnotationdata() { |
(...skipping 23 matching lines...) Expand all Loading... |
220 unittest.expect(o.id, unittest.equals('foo')); | 220 unittest.expect(o.id, unittest.equals('foo')); |
221 unittest.expect(o.kind, unittest.equals('foo')); | 221 unittest.expect(o.kind, unittest.equals('foo')); |
222 unittest.expect(o.layerId, unittest.equals('foo')); | 222 unittest.expect(o.layerId, unittest.equals('foo')); |
223 unittest.expect(o.selfLink, unittest.equals('foo')); | 223 unittest.expect(o.selfLink, unittest.equals('foo')); |
224 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 224 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
225 unittest.expect(o.volumeId, unittest.equals('foo')); | 225 unittest.expect(o.volumeId, unittest.equals('foo')); |
226 } | 226 } |
227 buildCounterAnnotationdata--; | 227 buildCounterAnnotationdata--; |
228 } | 228 } |
229 | 229 |
230 buildUnnamed800() { | 230 buildUnnamed382() { |
231 var o = new core.List<api.Annotation>(); | 231 var o = new core.List<api.Annotation>(); |
232 o.add(buildAnnotation()); | 232 o.add(buildAnnotation()); |
233 o.add(buildAnnotation()); | 233 o.add(buildAnnotation()); |
234 return o; | 234 return o; |
235 } | 235 } |
236 | 236 |
237 checkUnnamed800(core.List<api.Annotation> o) { | 237 checkUnnamed382(core.List<api.Annotation> o) { |
238 unittest.expect(o, unittest.hasLength(2)); | 238 unittest.expect(o, unittest.hasLength(2)); |
239 checkAnnotation(o[0]); | 239 checkAnnotation(o[0]); |
240 checkAnnotation(o[1]); | 240 checkAnnotation(o[1]); |
241 } | 241 } |
242 | 242 |
243 core.int buildCounterAnnotations = 0; | 243 core.int buildCounterAnnotations = 0; |
244 buildAnnotations() { | 244 buildAnnotations() { |
245 var o = new api.Annotations(); | 245 var o = new api.Annotations(); |
246 buildCounterAnnotations++; | 246 buildCounterAnnotations++; |
247 if (buildCounterAnnotations < 3) { | 247 if (buildCounterAnnotations < 3) { |
248 o.items = buildUnnamed800(); | 248 o.items = buildUnnamed382(); |
249 o.kind = "foo"; | 249 o.kind = "foo"; |
250 o.nextPageToken = "foo"; | 250 o.nextPageToken = "foo"; |
251 o.totalItems = 42; | 251 o.totalItems = 42; |
252 } | 252 } |
253 buildCounterAnnotations--; | 253 buildCounterAnnotations--; |
254 return o; | 254 return o; |
255 } | 255 } |
256 | 256 |
257 checkAnnotations(api.Annotations o) { | 257 checkAnnotations(api.Annotations o) { |
258 buildCounterAnnotations++; | 258 buildCounterAnnotations++; |
259 if (buildCounterAnnotations < 3) { | 259 if (buildCounterAnnotations < 3) { |
260 checkUnnamed800(o.items); | 260 checkUnnamed382(o.items); |
261 unittest.expect(o.kind, unittest.equals('foo')); | 261 unittest.expect(o.kind, unittest.equals('foo')); |
262 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 262 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
263 unittest.expect(o.totalItems, unittest.equals(42)); | 263 unittest.expect(o.totalItems, unittest.equals(42)); |
264 } | 264 } |
265 buildCounterAnnotations--; | 265 buildCounterAnnotations--; |
266 } | 266 } |
267 | 267 |
268 core.int buildCounterAnnotationsSummaryLayers = 0; | 268 core.int buildCounterAnnotationsSummaryLayers = 0; |
269 buildAnnotationsSummaryLayers() { | 269 buildAnnotationsSummaryLayers() { |
270 var o = new api.AnnotationsSummaryLayers(); | 270 var o = new api.AnnotationsSummaryLayers(); |
(...skipping 14 matching lines...) Expand all Loading... |
285 if (buildCounterAnnotationsSummaryLayers < 3) { | 285 if (buildCounterAnnotationsSummaryLayers < 3) { |
286 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); | 286 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); |
287 unittest.expect(o.layerId, unittest.equals('foo')); | 287 unittest.expect(o.layerId, unittest.equals('foo')); |
288 unittest.expect(o.limitType, unittest.equals('foo')); | 288 unittest.expect(o.limitType, unittest.equals('foo')); |
289 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); | 289 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); |
290 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 290 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
291 } | 291 } |
292 buildCounterAnnotationsSummaryLayers--; | 292 buildCounterAnnotationsSummaryLayers--; |
293 } | 293 } |
294 | 294 |
295 buildUnnamed801() { | 295 buildUnnamed383() { |
296 var o = new core.List<api.AnnotationsSummaryLayers>(); | 296 var o = new core.List<api.AnnotationsSummaryLayers>(); |
297 o.add(buildAnnotationsSummaryLayers()); | 297 o.add(buildAnnotationsSummaryLayers()); |
298 o.add(buildAnnotationsSummaryLayers()); | 298 o.add(buildAnnotationsSummaryLayers()); |
299 return o; | 299 return o; |
300 } | 300 } |
301 | 301 |
302 checkUnnamed801(core.List<api.AnnotationsSummaryLayers> o) { | 302 checkUnnamed383(core.List<api.AnnotationsSummaryLayers> o) { |
303 unittest.expect(o, unittest.hasLength(2)); | 303 unittest.expect(o, unittest.hasLength(2)); |
304 checkAnnotationsSummaryLayers(o[0]); | 304 checkAnnotationsSummaryLayers(o[0]); |
305 checkAnnotationsSummaryLayers(o[1]); | 305 checkAnnotationsSummaryLayers(o[1]); |
306 } | 306 } |
307 | 307 |
308 core.int buildCounterAnnotationsSummary = 0; | 308 core.int buildCounterAnnotationsSummary = 0; |
309 buildAnnotationsSummary() { | 309 buildAnnotationsSummary() { |
310 var o = new api.AnnotationsSummary(); | 310 var o = new api.AnnotationsSummary(); |
311 buildCounterAnnotationsSummary++; | 311 buildCounterAnnotationsSummary++; |
312 if (buildCounterAnnotationsSummary < 3) { | 312 if (buildCounterAnnotationsSummary < 3) { |
313 o.kind = "foo"; | 313 o.kind = "foo"; |
314 o.layers = buildUnnamed801(); | 314 o.layers = buildUnnamed383(); |
315 } | 315 } |
316 buildCounterAnnotationsSummary--; | 316 buildCounterAnnotationsSummary--; |
317 return o; | 317 return o; |
318 } | 318 } |
319 | 319 |
320 checkAnnotationsSummary(api.AnnotationsSummary o) { | 320 checkAnnotationsSummary(api.AnnotationsSummary o) { |
321 buildCounterAnnotationsSummary++; | 321 buildCounterAnnotationsSummary++; |
322 if (buildCounterAnnotationsSummary < 3) { | 322 if (buildCounterAnnotationsSummary < 3) { |
323 unittest.expect(o.kind, unittest.equals('foo')); | 323 unittest.expect(o.kind, unittest.equals('foo')); |
324 checkUnnamed801(o.layers); | 324 checkUnnamed383(o.layers); |
325 } | 325 } |
326 buildCounterAnnotationsSummary--; | 326 buildCounterAnnotationsSummary--; |
327 } | 327 } |
328 | 328 |
329 buildUnnamed802() { | 329 buildUnnamed384() { |
330 var o = new core.List<api.Annotationdata>(); | 330 var o = new core.List<api.Annotationdata>(); |
331 o.add(buildAnnotationdata()); | 331 o.add(buildAnnotationdata()); |
332 o.add(buildAnnotationdata()); | 332 o.add(buildAnnotationdata()); |
333 return o; | 333 return o; |
334 } | 334 } |
335 | 335 |
336 checkUnnamed802(core.List<api.Annotationdata> o) { | 336 checkUnnamed384(core.List<api.Annotationdata> o) { |
337 unittest.expect(o, unittest.hasLength(2)); | 337 unittest.expect(o, unittest.hasLength(2)); |
338 checkAnnotationdata(o[0]); | 338 checkAnnotationdata(o[0]); |
339 checkAnnotationdata(o[1]); | 339 checkAnnotationdata(o[1]); |
340 } | 340 } |
341 | 341 |
342 core.int buildCounterAnnotationsdata = 0; | 342 core.int buildCounterAnnotationsdata = 0; |
343 buildAnnotationsdata() { | 343 buildAnnotationsdata() { |
344 var o = new api.Annotationsdata(); | 344 var o = new api.Annotationsdata(); |
345 buildCounterAnnotationsdata++; | 345 buildCounterAnnotationsdata++; |
346 if (buildCounterAnnotationsdata < 3) { | 346 if (buildCounterAnnotationsdata < 3) { |
347 o.items = buildUnnamed802(); | 347 o.items = buildUnnamed384(); |
348 o.kind = "foo"; | 348 o.kind = "foo"; |
349 o.nextPageToken = "foo"; | 349 o.nextPageToken = "foo"; |
350 o.totalItems = 42; | 350 o.totalItems = 42; |
351 } | 351 } |
352 buildCounterAnnotationsdata--; | 352 buildCounterAnnotationsdata--; |
353 return o; | 353 return o; |
354 } | 354 } |
355 | 355 |
356 checkAnnotationsdata(api.Annotationsdata o) { | 356 checkAnnotationsdata(api.Annotationsdata o) { |
357 buildCounterAnnotationsdata++; | 357 buildCounterAnnotationsdata++; |
358 if (buildCounterAnnotationsdata < 3) { | 358 if (buildCounterAnnotationsdata < 3) { |
359 checkUnnamed802(o.items); | 359 checkUnnamed384(o.items); |
360 unittest.expect(o.kind, unittest.equals('foo')); | 360 unittest.expect(o.kind, unittest.equals('foo')); |
361 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 361 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
362 unittest.expect(o.totalItems, unittest.equals(42)); | 362 unittest.expect(o.totalItems, unittest.equals(42)); |
363 } | 363 } |
364 buildCounterAnnotationsdata--; | 364 buildCounterAnnotationsdata--; |
365 } | 365 } |
366 | 366 |
367 core.int buildCounterBooksAnnotationsRange = 0; | 367 core.int buildCounterBooksAnnotationsRange = 0; |
368 buildBooksAnnotationsRange() { | 368 buildBooksAnnotationsRange() { |
369 var o = new api.BooksAnnotationsRange(); | 369 var o = new api.BooksAnnotationsRange(); |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 unittest.expect(o.kind, unittest.equals('foo')); | 463 unittest.expect(o.kind, unittest.equals('foo')); |
464 unittest.expect(o.selfLink, unittest.equals('foo')); | 464 unittest.expect(o.selfLink, unittest.equals('foo')); |
465 unittest.expect(o.title, unittest.equals('foo')); | 465 unittest.expect(o.title, unittest.equals('foo')); |
466 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 466 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
467 unittest.expect(o.volumeCount, unittest.equals(42)); | 467 unittest.expect(o.volumeCount, unittest.equals(42)); |
468 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); | 468 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2
002-02-27T14:01:02"))); |
469 } | 469 } |
470 buildCounterBookshelf--; | 470 buildCounterBookshelf--; |
471 } | 471 } |
472 | 472 |
473 buildUnnamed803() { | 473 buildUnnamed385() { |
474 var o = new core.List<api.Bookshelf>(); | 474 var o = new core.List<api.Bookshelf>(); |
475 o.add(buildBookshelf()); | 475 o.add(buildBookshelf()); |
476 o.add(buildBookshelf()); | 476 o.add(buildBookshelf()); |
477 return o; | 477 return o; |
478 } | 478 } |
479 | 479 |
480 checkUnnamed803(core.List<api.Bookshelf> o) { | 480 checkUnnamed385(core.List<api.Bookshelf> o) { |
481 unittest.expect(o, unittest.hasLength(2)); | 481 unittest.expect(o, unittest.hasLength(2)); |
482 checkBookshelf(o[0]); | 482 checkBookshelf(o[0]); |
483 checkBookshelf(o[1]); | 483 checkBookshelf(o[1]); |
484 } | 484 } |
485 | 485 |
486 core.int buildCounterBookshelves = 0; | 486 core.int buildCounterBookshelves = 0; |
487 buildBookshelves() { | 487 buildBookshelves() { |
488 var o = new api.Bookshelves(); | 488 var o = new api.Bookshelves(); |
489 buildCounterBookshelves++; | 489 buildCounterBookshelves++; |
490 if (buildCounterBookshelves < 3) { | 490 if (buildCounterBookshelves < 3) { |
491 o.items = buildUnnamed803(); | 491 o.items = buildUnnamed385(); |
492 o.kind = "foo"; | 492 o.kind = "foo"; |
493 } | 493 } |
494 buildCounterBookshelves--; | 494 buildCounterBookshelves--; |
495 return o; | 495 return o; |
496 } | 496 } |
497 | 497 |
498 checkBookshelves(api.Bookshelves o) { | 498 checkBookshelves(api.Bookshelves o) { |
499 buildCounterBookshelves++; | 499 buildCounterBookshelves++; |
500 if (buildCounterBookshelves < 3) { | 500 if (buildCounterBookshelves < 3) { |
501 checkUnnamed803(o.items); | 501 checkUnnamed385(o.items); |
502 unittest.expect(o.kind, unittest.equals('foo')); | 502 unittest.expect(o.kind, unittest.equals('foo')); |
503 } | 503 } |
504 buildCounterBookshelves--; | 504 buildCounterBookshelves--; |
505 } | 505 } |
506 | 506 |
507 core.int buildCounterCategoryItems = 0; | 507 core.int buildCounterCategoryItems = 0; |
508 buildCategoryItems() { | 508 buildCategoryItems() { |
509 var o = new api.CategoryItems(); | 509 var o = new api.CategoryItems(); |
510 buildCounterCategoryItems++; | 510 buildCounterCategoryItems++; |
511 if (buildCounterCategoryItems < 3) { | 511 if (buildCounterCategoryItems < 3) { |
512 o.badgeUrl = "foo"; | 512 o.badgeUrl = "foo"; |
513 o.categoryId = "foo"; | 513 o.categoryId = "foo"; |
514 o.name = "foo"; | 514 o.name = "foo"; |
515 } | 515 } |
516 buildCounterCategoryItems--; | 516 buildCounterCategoryItems--; |
517 return o; | 517 return o; |
518 } | 518 } |
519 | 519 |
520 checkCategoryItems(api.CategoryItems o) { | 520 checkCategoryItems(api.CategoryItems o) { |
521 buildCounterCategoryItems++; | 521 buildCounterCategoryItems++; |
522 if (buildCounterCategoryItems < 3) { | 522 if (buildCounterCategoryItems < 3) { |
523 unittest.expect(o.badgeUrl, unittest.equals('foo')); | 523 unittest.expect(o.badgeUrl, unittest.equals('foo')); |
524 unittest.expect(o.categoryId, unittest.equals('foo')); | 524 unittest.expect(o.categoryId, unittest.equals('foo')); |
525 unittest.expect(o.name, unittest.equals('foo')); | 525 unittest.expect(o.name, unittest.equals('foo')); |
526 } | 526 } |
527 buildCounterCategoryItems--; | 527 buildCounterCategoryItems--; |
528 } | 528 } |
529 | 529 |
530 buildUnnamed804() { | 530 buildUnnamed386() { |
531 var o = new core.List<api.CategoryItems>(); | 531 var o = new core.List<api.CategoryItems>(); |
532 o.add(buildCategoryItems()); | 532 o.add(buildCategoryItems()); |
533 o.add(buildCategoryItems()); | 533 o.add(buildCategoryItems()); |
534 return o; | 534 return o; |
535 } | 535 } |
536 | 536 |
537 checkUnnamed804(core.List<api.CategoryItems> o) { | 537 checkUnnamed386(core.List<api.CategoryItems> o) { |
538 unittest.expect(o, unittest.hasLength(2)); | 538 unittest.expect(o, unittest.hasLength(2)); |
539 checkCategoryItems(o[0]); | 539 checkCategoryItems(o[0]); |
540 checkCategoryItems(o[1]); | 540 checkCategoryItems(o[1]); |
541 } | 541 } |
542 | 542 |
543 core.int buildCounterCategory = 0; | 543 core.int buildCounterCategory = 0; |
544 buildCategory() { | 544 buildCategory() { |
545 var o = new api.Category(); | 545 var o = new api.Category(); |
546 buildCounterCategory++; | 546 buildCounterCategory++; |
547 if (buildCounterCategory < 3) { | 547 if (buildCounterCategory < 3) { |
548 o.items = buildUnnamed804(); | 548 o.items = buildUnnamed386(); |
549 o.kind = "foo"; | 549 o.kind = "foo"; |
550 } | 550 } |
551 buildCounterCategory--; | 551 buildCounterCategory--; |
552 return o; | 552 return o; |
553 } | 553 } |
554 | 554 |
555 checkCategory(api.Category o) { | 555 checkCategory(api.Category o) { |
556 buildCounterCategory++; | 556 buildCounterCategory++; |
557 if (buildCounterCategory < 3) { | 557 if (buildCounterCategory < 3) { |
558 checkUnnamed804(o.items); | 558 checkUnnamed386(o.items); |
559 unittest.expect(o.kind, unittest.equals('foo')); | 559 unittest.expect(o.kind, unittest.equals('foo')); |
560 } | 560 } |
561 buildCounterCategory--; | 561 buildCounterCategory--; |
562 } | 562 } |
563 | 563 |
564 core.int buildCounterConcurrentAccessRestriction = 0; | 564 core.int buildCounterConcurrentAccessRestriction = 0; |
565 buildConcurrentAccessRestriction() { | 565 buildConcurrentAccessRestriction() { |
566 var o = new api.ConcurrentAccessRestriction(); | 566 var o = new api.ConcurrentAccessRestriction(); |
567 buildCounterConcurrentAccessRestriction++; | 567 buildCounterConcurrentAccessRestriction++; |
568 if (buildCounterConcurrentAccessRestriction < 3) { | 568 if (buildCounterConcurrentAccessRestriction < 3) { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 | 675 |
676 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
{ | 676 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
{ |
677 buildCounterDictlayerdataDictWordsDerivatives++; | 677 buildCounterDictlayerdataDictWordsDerivatives++; |
678 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { | 678 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { |
679 checkDictlayerdataDictWordsDerivativesSource(o.source); | 679 checkDictlayerdataDictWordsDerivativesSource(o.source); |
680 unittest.expect(o.text, unittest.equals('foo')); | 680 unittest.expect(o.text, unittest.equals('foo')); |
681 } | 681 } |
682 buildCounterDictlayerdataDictWordsDerivatives--; | 682 buildCounterDictlayerdataDictWordsDerivatives--; |
683 } | 683 } |
684 | 684 |
685 buildUnnamed805() { | 685 buildUnnamed387() { |
686 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); | 686 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); |
687 o.add(buildDictlayerdataDictWordsDerivatives()); | 687 o.add(buildDictlayerdataDictWordsDerivatives()); |
688 o.add(buildDictlayerdataDictWordsDerivatives()); | 688 o.add(buildDictlayerdataDictWordsDerivatives()); |
689 return o; | 689 return o; |
690 } | 690 } |
691 | 691 |
692 checkUnnamed805(core.List<api.DictlayerdataDictWordsDerivatives> o) { | 692 checkUnnamed387(core.List<api.DictlayerdataDictWordsDerivatives> o) { |
693 unittest.expect(o, unittest.hasLength(2)); | 693 unittest.expect(o, unittest.hasLength(2)); |
694 checkDictlayerdataDictWordsDerivatives(o[0]); | 694 checkDictlayerdataDictWordsDerivatives(o[0]); |
695 checkDictlayerdataDictWordsDerivatives(o[1]); | 695 checkDictlayerdataDictWordsDerivatives(o[1]); |
696 } | 696 } |
697 | 697 |
698 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; | 698 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; |
699 buildDictlayerdataDictWordsExamplesSource() { | 699 buildDictlayerdataDictWordsExamplesSource() { |
700 var o = new api.DictlayerdataDictWordsExamplesSource(); | 700 var o = new api.DictlayerdataDictWordsExamplesSource(); |
701 buildCounterDictlayerdataDictWordsExamplesSource++; | 701 buildCounterDictlayerdataDictWordsExamplesSource++; |
702 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { | 702 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
730 | 730 |
731 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { | 731 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { |
732 buildCounterDictlayerdataDictWordsExamples++; | 732 buildCounterDictlayerdataDictWordsExamples++; |
733 if (buildCounterDictlayerdataDictWordsExamples < 3) { | 733 if (buildCounterDictlayerdataDictWordsExamples < 3) { |
734 checkDictlayerdataDictWordsExamplesSource(o.source); | 734 checkDictlayerdataDictWordsExamplesSource(o.source); |
735 unittest.expect(o.text, unittest.equals('foo')); | 735 unittest.expect(o.text, unittest.equals('foo')); |
736 } | 736 } |
737 buildCounterDictlayerdataDictWordsExamples--; | 737 buildCounterDictlayerdataDictWordsExamples--; |
738 } | 738 } |
739 | 739 |
740 buildUnnamed806() { | 740 buildUnnamed388() { |
741 var o = new core.List<api.DictlayerdataDictWordsExamples>(); | 741 var o = new core.List<api.DictlayerdataDictWordsExamples>(); |
742 o.add(buildDictlayerdataDictWordsExamples()); | 742 o.add(buildDictlayerdataDictWordsExamples()); |
743 o.add(buildDictlayerdataDictWordsExamples()); | 743 o.add(buildDictlayerdataDictWordsExamples()); |
744 return o; | 744 return o; |
745 } | 745 } |
746 | 746 |
747 checkUnnamed806(core.List<api.DictlayerdataDictWordsExamples> o) { | 747 checkUnnamed388(core.List<api.DictlayerdataDictWordsExamples> o) { |
748 unittest.expect(o, unittest.hasLength(2)); | 748 unittest.expect(o, unittest.hasLength(2)); |
749 checkDictlayerdataDictWordsExamples(o[0]); | 749 checkDictlayerdataDictWordsExamples(o[0]); |
750 checkDictlayerdataDictWordsExamples(o[1]); | 750 checkDictlayerdataDictWordsExamples(o[1]); |
751 } | 751 } |
752 | 752 |
753 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; | 753 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; |
754 buildDictlayerdataDictWordsSensesConjugations() { | 754 buildDictlayerdataDictWordsSensesConjugations() { |
755 var o = new api.DictlayerdataDictWordsSensesConjugations(); | 755 var o = new api.DictlayerdataDictWordsSensesConjugations(); |
756 buildCounterDictlayerdataDictWordsSensesConjugations++; | 756 buildCounterDictlayerdataDictWordsSensesConjugations++; |
757 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { | 757 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { |
758 o.type = "foo"; | 758 o.type = "foo"; |
759 o.value = "foo"; | 759 o.value = "foo"; |
760 } | 760 } |
761 buildCounterDictlayerdataDictWordsSensesConjugations--; | 761 buildCounterDictlayerdataDictWordsSensesConjugations--; |
762 return o; | 762 return o; |
763 } | 763 } |
764 | 764 |
765 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
njugations o) { | 765 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
njugations o) { |
766 buildCounterDictlayerdataDictWordsSensesConjugations++; | 766 buildCounterDictlayerdataDictWordsSensesConjugations++; |
767 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { | 767 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { |
768 unittest.expect(o.type, unittest.equals('foo')); | 768 unittest.expect(o.type, unittest.equals('foo')); |
769 unittest.expect(o.value, unittest.equals('foo')); | 769 unittest.expect(o.value, unittest.equals('foo')); |
770 } | 770 } |
771 buildCounterDictlayerdataDictWordsSensesConjugations--; | 771 buildCounterDictlayerdataDictWordsSensesConjugations--; |
772 } | 772 } |
773 | 773 |
774 buildUnnamed807() { | 774 buildUnnamed389() { |
775 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); | 775 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); |
776 o.add(buildDictlayerdataDictWordsSensesConjugations()); | 776 o.add(buildDictlayerdataDictWordsSensesConjugations()); |
777 o.add(buildDictlayerdataDictWordsSensesConjugations()); | 777 o.add(buildDictlayerdataDictWordsSensesConjugations()); |
778 return o; | 778 return o; |
779 } | 779 } |
780 | 780 |
781 checkUnnamed807(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { | 781 checkUnnamed389(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { |
782 unittest.expect(o, unittest.hasLength(2)); | 782 unittest.expect(o, unittest.hasLength(2)); |
783 checkDictlayerdataDictWordsSensesConjugations(o[0]); | 783 checkDictlayerdataDictWordsSensesConjugations(o[0]); |
784 checkDictlayerdataDictWordsSensesConjugations(o[1]); | 784 checkDictlayerdataDictWordsSensesConjugations(o[1]); |
785 } | 785 } |
786 | 786 |
787 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; | 787 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; |
788 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { | 788 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { |
789 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); | 789 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); |
790 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; | 790 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; |
791 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { | 791 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { |
(...skipping 27 matching lines...) Expand all Loading... |
819 | 819 |
820 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
ensesDefinitionsExamples o) { | 820 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
ensesDefinitionsExamples o) { |
821 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; | 821 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; |
822 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { | 822 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { |
823 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); | 823 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); |
824 unittest.expect(o.text, unittest.equals('foo')); | 824 unittest.expect(o.text, unittest.equals('foo')); |
825 } | 825 } |
826 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; | 826 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; |
827 } | 827 } |
828 | 828 |
829 buildUnnamed808() { | 829 buildUnnamed390() { |
830 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); | 830 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); |
831 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); | 831 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); |
832 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); | 832 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); |
833 return o; | 833 return o; |
834 } | 834 } |
835 | 835 |
836 checkUnnamed808(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o
) { | 836 checkUnnamed390(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o
) { |
837 unittest.expect(o, unittest.hasLength(2)); | 837 unittest.expect(o, unittest.hasLength(2)); |
838 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); | 838 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); |
839 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); | 839 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); |
840 } | 840 } |
841 | 841 |
842 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; | 842 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; |
843 buildDictlayerdataDictWordsSensesDefinitions() { | 843 buildDictlayerdataDictWordsSensesDefinitions() { |
844 var o = new api.DictlayerdataDictWordsSensesDefinitions(); | 844 var o = new api.DictlayerdataDictWordsSensesDefinitions(); |
845 buildCounterDictlayerdataDictWordsSensesDefinitions++; | 845 buildCounterDictlayerdataDictWordsSensesDefinitions++; |
846 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { | 846 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { |
847 o.definition = "foo"; | 847 o.definition = "foo"; |
848 o.examples = buildUnnamed808(); | 848 o.examples = buildUnnamed390(); |
849 } | 849 } |
850 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 850 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
851 return o; | 851 return o; |
852 } | 852 } |
853 | 853 |
854 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
initions o) { | 854 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
initions o) { |
855 buildCounterDictlayerdataDictWordsSensesDefinitions++; | 855 buildCounterDictlayerdataDictWordsSensesDefinitions++; |
856 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { | 856 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { |
857 unittest.expect(o.definition, unittest.equals('foo')); | 857 unittest.expect(o.definition, unittest.equals('foo')); |
858 checkUnnamed808(o.examples); | 858 checkUnnamed390(o.examples); |
859 } | 859 } |
860 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 860 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
861 } | 861 } |
862 | 862 |
863 buildUnnamed809() { | 863 buildUnnamed391() { |
864 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); | 864 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); |
865 o.add(buildDictlayerdataDictWordsSensesDefinitions()); | 865 o.add(buildDictlayerdataDictWordsSensesDefinitions()); |
866 o.add(buildDictlayerdataDictWordsSensesDefinitions()); | 866 o.add(buildDictlayerdataDictWordsSensesDefinitions()); |
867 return o; | 867 return o; |
868 } | 868 } |
869 | 869 |
870 checkUnnamed809(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { | 870 checkUnnamed391(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { |
871 unittest.expect(o, unittest.hasLength(2)); | 871 unittest.expect(o, unittest.hasLength(2)); |
872 checkDictlayerdataDictWordsSensesDefinitions(o[0]); | 872 checkDictlayerdataDictWordsSensesDefinitions(o[0]); |
873 checkDictlayerdataDictWordsSensesDefinitions(o[1]); | 873 checkDictlayerdataDictWordsSensesDefinitions(o[1]); |
874 } | 874 } |
875 | 875 |
876 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; | 876 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; |
877 buildDictlayerdataDictWordsSensesSource() { | 877 buildDictlayerdataDictWordsSensesSource() { |
878 var o = new api.DictlayerdataDictWordsSensesSource(); | 878 var o = new api.DictlayerdataDictWordsSensesSource(); |
879 buildCounterDictlayerdataDictWordsSensesSource++; | 879 buildCounterDictlayerdataDictWordsSensesSource++; |
880 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { | 880 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 | 929 |
930 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
ms o) { | 930 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
ms o) { |
931 buildCounterDictlayerdataDictWordsSensesSynonyms++; | 931 buildCounterDictlayerdataDictWordsSensesSynonyms++; |
932 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { | 932 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { |
933 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); | 933 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); |
934 unittest.expect(o.text, unittest.equals('foo')); | 934 unittest.expect(o.text, unittest.equals('foo')); |
935 } | 935 } |
936 buildCounterDictlayerdataDictWordsSensesSynonyms--; | 936 buildCounterDictlayerdataDictWordsSensesSynonyms--; |
937 } | 937 } |
938 | 938 |
939 buildUnnamed810() { | 939 buildUnnamed392() { |
940 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); | 940 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); |
941 o.add(buildDictlayerdataDictWordsSensesSynonyms()); | 941 o.add(buildDictlayerdataDictWordsSensesSynonyms()); |
942 o.add(buildDictlayerdataDictWordsSensesSynonyms()); | 942 o.add(buildDictlayerdataDictWordsSensesSynonyms()); |
943 return o; | 943 return o; |
944 } | 944 } |
945 | 945 |
946 checkUnnamed810(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { | 946 checkUnnamed392(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { |
947 unittest.expect(o, unittest.hasLength(2)); | 947 unittest.expect(o, unittest.hasLength(2)); |
948 checkDictlayerdataDictWordsSensesSynonyms(o[0]); | 948 checkDictlayerdataDictWordsSensesSynonyms(o[0]); |
949 checkDictlayerdataDictWordsSensesSynonyms(o[1]); | 949 checkDictlayerdataDictWordsSensesSynonyms(o[1]); |
950 } | 950 } |
951 | 951 |
952 core.int buildCounterDictlayerdataDictWordsSenses = 0; | 952 core.int buildCounterDictlayerdataDictWordsSenses = 0; |
953 buildDictlayerdataDictWordsSenses() { | 953 buildDictlayerdataDictWordsSenses() { |
954 var o = new api.DictlayerdataDictWordsSenses(); | 954 var o = new api.DictlayerdataDictWordsSenses(); |
955 buildCounterDictlayerdataDictWordsSenses++; | 955 buildCounterDictlayerdataDictWordsSenses++; |
956 if (buildCounterDictlayerdataDictWordsSenses < 3) { | 956 if (buildCounterDictlayerdataDictWordsSenses < 3) { |
957 o.conjugations = buildUnnamed807(); | 957 o.conjugations = buildUnnamed389(); |
958 o.definitions = buildUnnamed809(); | 958 o.definitions = buildUnnamed391(); |
959 o.partOfSpeech = "foo"; | 959 o.partOfSpeech = "foo"; |
960 o.pronunciation = "foo"; | 960 o.pronunciation = "foo"; |
961 o.pronunciationUrl = "foo"; | 961 o.pronunciationUrl = "foo"; |
962 o.source = buildDictlayerdataDictWordsSensesSource(); | 962 o.source = buildDictlayerdataDictWordsSensesSource(); |
963 o.syllabification = "foo"; | 963 o.syllabification = "foo"; |
964 o.synonyms = buildUnnamed810(); | 964 o.synonyms = buildUnnamed392(); |
965 } | 965 } |
966 buildCounterDictlayerdataDictWordsSenses--; | 966 buildCounterDictlayerdataDictWordsSenses--; |
967 return o; | 967 return o; |
968 } | 968 } |
969 | 969 |
970 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { | 970 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { |
971 buildCounterDictlayerdataDictWordsSenses++; | 971 buildCounterDictlayerdataDictWordsSenses++; |
972 if (buildCounterDictlayerdataDictWordsSenses < 3) { | 972 if (buildCounterDictlayerdataDictWordsSenses < 3) { |
973 checkUnnamed807(o.conjugations); | 973 checkUnnamed389(o.conjugations); |
974 checkUnnamed809(o.definitions); | 974 checkUnnamed391(o.definitions); |
975 unittest.expect(o.partOfSpeech, unittest.equals('foo')); | 975 unittest.expect(o.partOfSpeech, unittest.equals('foo')); |
976 unittest.expect(o.pronunciation, unittest.equals('foo')); | 976 unittest.expect(o.pronunciation, unittest.equals('foo')); |
977 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); | 977 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); |
978 checkDictlayerdataDictWordsSensesSource(o.source); | 978 checkDictlayerdataDictWordsSensesSource(o.source); |
979 unittest.expect(o.syllabification, unittest.equals('foo')); | 979 unittest.expect(o.syllabification, unittest.equals('foo')); |
980 checkUnnamed810(o.synonyms); | 980 checkUnnamed392(o.synonyms); |
981 } | 981 } |
982 buildCounterDictlayerdataDictWordsSenses--; | 982 buildCounterDictlayerdataDictWordsSenses--; |
983 } | 983 } |
984 | 984 |
985 buildUnnamed811() { | 985 buildUnnamed393() { |
986 var o = new core.List<api.DictlayerdataDictWordsSenses>(); | 986 var o = new core.List<api.DictlayerdataDictWordsSenses>(); |
987 o.add(buildDictlayerdataDictWordsSenses()); | 987 o.add(buildDictlayerdataDictWordsSenses()); |
988 o.add(buildDictlayerdataDictWordsSenses()); | 988 o.add(buildDictlayerdataDictWordsSenses()); |
989 return o; | 989 return o; |
990 } | 990 } |
991 | 991 |
992 checkUnnamed811(core.List<api.DictlayerdataDictWordsSenses> o) { | 992 checkUnnamed393(core.List<api.DictlayerdataDictWordsSenses> o) { |
993 unittest.expect(o, unittest.hasLength(2)); | 993 unittest.expect(o, unittest.hasLength(2)); |
994 checkDictlayerdataDictWordsSenses(o[0]); | 994 checkDictlayerdataDictWordsSenses(o[0]); |
995 checkDictlayerdataDictWordsSenses(o[1]); | 995 checkDictlayerdataDictWordsSenses(o[1]); |
996 } | 996 } |
997 | 997 |
998 core.int buildCounterDictlayerdataDictWordsSource = 0; | 998 core.int buildCounterDictlayerdataDictWordsSource = 0; |
999 buildDictlayerdataDictWordsSource() { | 999 buildDictlayerdataDictWordsSource() { |
1000 var o = new api.DictlayerdataDictWordsSource(); | 1000 var o = new api.DictlayerdataDictWordsSource(); |
1001 buildCounterDictlayerdataDictWordsSource++; | 1001 buildCounterDictlayerdataDictWordsSource++; |
1002 if (buildCounterDictlayerdataDictWordsSource < 3) { | 1002 if (buildCounterDictlayerdataDictWordsSource < 3) { |
(...skipping 11 matching lines...) Expand all Loading... |
1014 unittest.expect(o.url, unittest.equals('foo')); | 1014 unittest.expect(o.url, unittest.equals('foo')); |
1015 } | 1015 } |
1016 buildCounterDictlayerdataDictWordsSource--; | 1016 buildCounterDictlayerdataDictWordsSource--; |
1017 } | 1017 } |
1018 | 1018 |
1019 core.int buildCounterDictlayerdataDictWords = 0; | 1019 core.int buildCounterDictlayerdataDictWords = 0; |
1020 buildDictlayerdataDictWords() { | 1020 buildDictlayerdataDictWords() { |
1021 var o = new api.DictlayerdataDictWords(); | 1021 var o = new api.DictlayerdataDictWords(); |
1022 buildCounterDictlayerdataDictWords++; | 1022 buildCounterDictlayerdataDictWords++; |
1023 if (buildCounterDictlayerdataDictWords < 3) { | 1023 if (buildCounterDictlayerdataDictWords < 3) { |
1024 o.derivatives = buildUnnamed805(); | 1024 o.derivatives = buildUnnamed387(); |
1025 o.examples = buildUnnamed806(); | 1025 o.examples = buildUnnamed388(); |
1026 o.senses = buildUnnamed811(); | 1026 o.senses = buildUnnamed393(); |
1027 o.source = buildDictlayerdataDictWordsSource(); | 1027 o.source = buildDictlayerdataDictWordsSource(); |
1028 } | 1028 } |
1029 buildCounterDictlayerdataDictWords--; | 1029 buildCounterDictlayerdataDictWords--; |
1030 return o; | 1030 return o; |
1031 } | 1031 } |
1032 | 1032 |
1033 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { | 1033 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { |
1034 buildCounterDictlayerdataDictWords++; | 1034 buildCounterDictlayerdataDictWords++; |
1035 if (buildCounterDictlayerdataDictWords < 3) { | 1035 if (buildCounterDictlayerdataDictWords < 3) { |
1036 checkUnnamed805(o.derivatives); | 1036 checkUnnamed387(o.derivatives); |
1037 checkUnnamed806(o.examples); | 1037 checkUnnamed388(o.examples); |
1038 checkUnnamed811(o.senses); | 1038 checkUnnamed393(o.senses); |
1039 checkDictlayerdataDictWordsSource(o.source); | 1039 checkDictlayerdataDictWordsSource(o.source); |
1040 } | 1040 } |
1041 buildCounterDictlayerdataDictWords--; | 1041 buildCounterDictlayerdataDictWords--; |
1042 } | 1042 } |
1043 | 1043 |
1044 buildUnnamed812() { | 1044 buildUnnamed394() { |
1045 var o = new core.List<api.DictlayerdataDictWords>(); | 1045 var o = new core.List<api.DictlayerdataDictWords>(); |
1046 o.add(buildDictlayerdataDictWords()); | 1046 o.add(buildDictlayerdataDictWords()); |
1047 o.add(buildDictlayerdataDictWords()); | 1047 o.add(buildDictlayerdataDictWords()); |
1048 return o; | 1048 return o; |
1049 } | 1049 } |
1050 | 1050 |
1051 checkUnnamed812(core.List<api.DictlayerdataDictWords> o) { | 1051 checkUnnamed394(core.List<api.DictlayerdataDictWords> o) { |
1052 unittest.expect(o, unittest.hasLength(2)); | 1052 unittest.expect(o, unittest.hasLength(2)); |
1053 checkDictlayerdataDictWords(o[0]); | 1053 checkDictlayerdataDictWords(o[0]); |
1054 checkDictlayerdataDictWords(o[1]); | 1054 checkDictlayerdataDictWords(o[1]); |
1055 } | 1055 } |
1056 | 1056 |
1057 core.int buildCounterDictlayerdataDict = 0; | 1057 core.int buildCounterDictlayerdataDict = 0; |
1058 buildDictlayerdataDict() { | 1058 buildDictlayerdataDict() { |
1059 var o = new api.DictlayerdataDict(); | 1059 var o = new api.DictlayerdataDict(); |
1060 buildCounterDictlayerdataDict++; | 1060 buildCounterDictlayerdataDict++; |
1061 if (buildCounterDictlayerdataDict < 3) { | 1061 if (buildCounterDictlayerdataDict < 3) { |
1062 o.source = buildDictlayerdataDictSource(); | 1062 o.source = buildDictlayerdataDictSource(); |
1063 o.words = buildUnnamed812(); | 1063 o.words = buildUnnamed394(); |
1064 } | 1064 } |
1065 buildCounterDictlayerdataDict--; | 1065 buildCounterDictlayerdataDict--; |
1066 return o; | 1066 return o; |
1067 } | 1067 } |
1068 | 1068 |
1069 checkDictlayerdataDict(api.DictlayerdataDict o) { | 1069 checkDictlayerdataDict(api.DictlayerdataDict o) { |
1070 buildCounterDictlayerdataDict++; | 1070 buildCounterDictlayerdataDict++; |
1071 if (buildCounterDictlayerdataDict < 3) { | 1071 if (buildCounterDictlayerdataDict < 3) { |
1072 checkDictlayerdataDictSource(o.source); | 1072 checkDictlayerdataDictSource(o.source); |
1073 checkUnnamed812(o.words); | 1073 checkUnnamed394(o.words); |
1074 } | 1074 } |
1075 buildCounterDictlayerdataDict--; | 1075 buildCounterDictlayerdataDict--; |
1076 } | 1076 } |
1077 | 1077 |
1078 core.int buildCounterDictlayerdata = 0; | 1078 core.int buildCounterDictlayerdata = 0; |
1079 buildDictlayerdata() { | 1079 buildDictlayerdata() { |
1080 var o = new api.Dictlayerdata(); | 1080 var o = new api.Dictlayerdata(); |
1081 buildCounterDictlayerdata++; | 1081 buildCounterDictlayerdata++; |
1082 if (buildCounterDictlayerdata < 3) { | 1082 if (buildCounterDictlayerdata < 3) { |
1083 o.common = buildDictlayerdataCommon(); | 1083 o.common = buildDictlayerdataCommon(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 unittest.expect(o.nonce, unittest.equals('foo')); | 1132 unittest.expect(o.nonce, unittest.equals('foo')); |
1133 unittest.expect(o.reasonCode, unittest.equals('foo')); | 1133 unittest.expect(o.reasonCode, unittest.equals('foo')); |
1134 unittest.expect(o.restricted, unittest.isTrue); | 1134 unittest.expect(o.restricted, unittest.isTrue); |
1135 unittest.expect(o.signature, unittest.equals('foo')); | 1135 unittest.expect(o.signature, unittest.equals('foo')); |
1136 unittest.expect(o.source, unittest.equals('foo')); | 1136 unittest.expect(o.source, unittest.equals('foo')); |
1137 unittest.expect(o.volumeId, unittest.equals('foo')); | 1137 unittest.expect(o.volumeId, unittest.equals('foo')); |
1138 } | 1138 } |
1139 buildCounterDownloadAccessRestriction--; | 1139 buildCounterDownloadAccessRestriction--; |
1140 } | 1140 } |
1141 | 1141 |
1142 buildUnnamed813() { | 1142 buildUnnamed395() { |
1143 var o = new core.List<api.DownloadAccessRestriction>(); | 1143 var o = new core.List<api.DownloadAccessRestriction>(); |
1144 o.add(buildDownloadAccessRestriction()); | 1144 o.add(buildDownloadAccessRestriction()); |
1145 o.add(buildDownloadAccessRestriction()); | 1145 o.add(buildDownloadAccessRestriction()); |
1146 return o; | 1146 return o; |
1147 } | 1147 } |
1148 | 1148 |
1149 checkUnnamed813(core.List<api.DownloadAccessRestriction> o) { | 1149 checkUnnamed395(core.List<api.DownloadAccessRestriction> o) { |
1150 unittest.expect(o, unittest.hasLength(2)); | 1150 unittest.expect(o, unittest.hasLength(2)); |
1151 checkDownloadAccessRestriction(o[0]); | 1151 checkDownloadAccessRestriction(o[0]); |
1152 checkDownloadAccessRestriction(o[1]); | 1152 checkDownloadAccessRestriction(o[1]); |
1153 } | 1153 } |
1154 | 1154 |
1155 core.int buildCounterDownloadAccesses = 0; | 1155 core.int buildCounterDownloadAccesses = 0; |
1156 buildDownloadAccesses() { | 1156 buildDownloadAccesses() { |
1157 var o = new api.DownloadAccesses(); | 1157 var o = new api.DownloadAccesses(); |
1158 buildCounterDownloadAccesses++; | 1158 buildCounterDownloadAccesses++; |
1159 if (buildCounterDownloadAccesses < 3) { | 1159 if (buildCounterDownloadAccesses < 3) { |
1160 o.downloadAccessList = buildUnnamed813(); | 1160 o.downloadAccessList = buildUnnamed395(); |
1161 o.kind = "foo"; | 1161 o.kind = "foo"; |
1162 } | 1162 } |
1163 buildCounterDownloadAccesses--; | 1163 buildCounterDownloadAccesses--; |
1164 return o; | 1164 return o; |
1165 } | 1165 } |
1166 | 1166 |
1167 checkDownloadAccesses(api.DownloadAccesses o) { | 1167 checkDownloadAccesses(api.DownloadAccesses o) { |
1168 buildCounterDownloadAccesses++; | 1168 buildCounterDownloadAccesses++; |
1169 if (buildCounterDownloadAccesses < 3) { | 1169 if (buildCounterDownloadAccesses < 3) { |
1170 checkUnnamed813(o.downloadAccessList); | 1170 checkUnnamed395(o.downloadAccessList); |
1171 unittest.expect(o.kind, unittest.equals('foo')); | 1171 unittest.expect(o.kind, unittest.equals('foo')); |
1172 } | 1172 } |
1173 buildCounterDownloadAccesses--; | 1173 buildCounterDownloadAccesses--; |
1174 } | 1174 } |
1175 | 1175 |
1176 core.int buildCounterGeolayerdataCommon = 0; | 1176 core.int buildCounterGeolayerdataCommon = 0; |
1177 buildGeolayerdataCommon() { | 1177 buildGeolayerdataCommon() { |
1178 var o = new api.GeolayerdataCommon(); | 1178 var o = new api.GeolayerdataCommon(); |
1179 buildCounterGeolayerdataCommon++; | 1179 buildCounterGeolayerdataCommon++; |
1180 if (buildCounterGeolayerdataCommon < 3) { | 1180 if (buildCounterGeolayerdataCommon < 3) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 | 1214 |
1215 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { | 1215 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { |
1216 buildCounterGeolayerdataGeoBoundary++; | 1216 buildCounterGeolayerdataGeoBoundary++; |
1217 if (buildCounterGeolayerdataGeoBoundary < 3) { | 1217 if (buildCounterGeolayerdataGeoBoundary < 3) { |
1218 unittest.expect(o.latitude, unittest.equals(42)); | 1218 unittest.expect(o.latitude, unittest.equals(42)); |
1219 unittest.expect(o.longitude, unittest.equals(42)); | 1219 unittest.expect(o.longitude, unittest.equals(42)); |
1220 } | 1220 } |
1221 buildCounterGeolayerdataGeoBoundary--; | 1221 buildCounterGeolayerdataGeoBoundary--; |
1222 } | 1222 } |
1223 | 1223 |
1224 buildUnnamed814() { | 1224 buildUnnamed396() { |
1225 var o = new core.List<api.GeolayerdataGeoBoundary>(); | 1225 var o = new core.List<api.GeolayerdataGeoBoundary>(); |
1226 o.add(buildGeolayerdataGeoBoundary()); | 1226 o.add(buildGeolayerdataGeoBoundary()); |
1227 o.add(buildGeolayerdataGeoBoundary()); | 1227 o.add(buildGeolayerdataGeoBoundary()); |
1228 return o; | 1228 return o; |
1229 } | 1229 } |
1230 | 1230 |
1231 checkUnnamed814(core.List<api.GeolayerdataGeoBoundary> o) { | 1231 checkUnnamed396(core.List<api.GeolayerdataGeoBoundary> o) { |
1232 unittest.expect(o, unittest.hasLength(2)); | 1232 unittest.expect(o, unittest.hasLength(2)); |
1233 checkGeolayerdataGeoBoundary(o[0]); | 1233 checkGeolayerdataGeoBoundary(o[0]); |
1234 checkGeolayerdataGeoBoundary(o[1]); | 1234 checkGeolayerdataGeoBoundary(o[1]); |
1235 } | 1235 } |
1236 | 1236 |
1237 buildUnnamed815() { | 1237 buildUnnamed397() { |
1238 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); | 1238 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); |
1239 o.add(buildUnnamed814()); | 1239 o.add(buildUnnamed396()); |
1240 o.add(buildUnnamed814()); | 1240 o.add(buildUnnamed396()); |
1241 return o; | 1241 return o; |
1242 } | 1242 } |
1243 | 1243 |
1244 checkUnnamed815(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { | 1244 checkUnnamed397(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { |
1245 unittest.expect(o, unittest.hasLength(2)); | 1245 unittest.expect(o, unittest.hasLength(2)); |
1246 checkUnnamed814(o[0]); | 1246 checkUnnamed396(o[0]); |
1247 checkUnnamed814(o[1]); | 1247 checkUnnamed396(o[1]); |
1248 } | 1248 } |
1249 | 1249 |
1250 core.int buildCounterGeolayerdataGeoViewportHi = 0; | 1250 core.int buildCounterGeolayerdataGeoViewportHi = 0; |
1251 buildGeolayerdataGeoViewportHi() { | 1251 buildGeolayerdataGeoViewportHi() { |
1252 var o = new api.GeolayerdataGeoViewportHi(); | 1252 var o = new api.GeolayerdataGeoViewportHi(); |
1253 buildCounterGeolayerdataGeoViewportHi++; | 1253 buildCounterGeolayerdataGeoViewportHi++; |
1254 if (buildCounterGeolayerdataGeoViewportHi < 3) { | 1254 if (buildCounterGeolayerdataGeoViewportHi < 3) { |
1255 o.latitude = 42.0; | 1255 o.latitude = 42.0; |
1256 o.longitude = 42.0; | 1256 o.longitude = 42.0; |
1257 } | 1257 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 checkGeolayerdataGeoViewportLo(o.lo); | 1308 checkGeolayerdataGeoViewportLo(o.lo); |
1309 } | 1309 } |
1310 buildCounterGeolayerdataGeoViewport--; | 1310 buildCounterGeolayerdataGeoViewport--; |
1311 } | 1311 } |
1312 | 1312 |
1313 core.int buildCounterGeolayerdataGeo = 0; | 1313 core.int buildCounterGeolayerdataGeo = 0; |
1314 buildGeolayerdataGeo() { | 1314 buildGeolayerdataGeo() { |
1315 var o = new api.GeolayerdataGeo(); | 1315 var o = new api.GeolayerdataGeo(); |
1316 buildCounterGeolayerdataGeo++; | 1316 buildCounterGeolayerdataGeo++; |
1317 if (buildCounterGeolayerdataGeo < 3) { | 1317 if (buildCounterGeolayerdataGeo < 3) { |
1318 o.boundary = buildUnnamed815(); | 1318 o.boundary = buildUnnamed397(); |
1319 o.cachePolicy = "foo"; | 1319 o.cachePolicy = "foo"; |
1320 o.countryCode = "foo"; | 1320 o.countryCode = "foo"; |
1321 o.latitude = 42.0; | 1321 o.latitude = 42.0; |
1322 o.longitude = 42.0; | 1322 o.longitude = 42.0; |
1323 o.mapType = "foo"; | 1323 o.mapType = "foo"; |
1324 o.viewport = buildGeolayerdataGeoViewport(); | 1324 o.viewport = buildGeolayerdataGeoViewport(); |
1325 o.zoom = 42; | 1325 o.zoom = 42; |
1326 } | 1326 } |
1327 buildCounterGeolayerdataGeo--; | 1327 buildCounterGeolayerdataGeo--; |
1328 return o; | 1328 return o; |
1329 } | 1329 } |
1330 | 1330 |
1331 checkGeolayerdataGeo(api.GeolayerdataGeo o) { | 1331 checkGeolayerdataGeo(api.GeolayerdataGeo o) { |
1332 buildCounterGeolayerdataGeo++; | 1332 buildCounterGeolayerdataGeo++; |
1333 if (buildCounterGeolayerdataGeo < 3) { | 1333 if (buildCounterGeolayerdataGeo < 3) { |
1334 checkUnnamed815(o.boundary); | 1334 checkUnnamed397(o.boundary); |
1335 unittest.expect(o.cachePolicy, unittest.equals('foo')); | 1335 unittest.expect(o.cachePolicy, unittest.equals('foo')); |
1336 unittest.expect(o.countryCode, unittest.equals('foo')); | 1336 unittest.expect(o.countryCode, unittest.equals('foo')); |
1337 unittest.expect(o.latitude, unittest.equals(42.0)); | 1337 unittest.expect(o.latitude, unittest.equals(42.0)); |
1338 unittest.expect(o.longitude, unittest.equals(42.0)); | 1338 unittest.expect(o.longitude, unittest.equals(42.0)); |
1339 unittest.expect(o.mapType, unittest.equals('foo')); | 1339 unittest.expect(o.mapType, unittest.equals('foo')); |
1340 checkGeolayerdataGeoViewport(o.viewport); | 1340 checkGeolayerdataGeoViewport(o.viewport); |
1341 unittest.expect(o.zoom, unittest.equals(42)); | 1341 unittest.expect(o.zoom, unittest.equals(42)); |
1342 } | 1342 } |
1343 buildCounterGeolayerdataGeo--; | 1343 buildCounterGeolayerdataGeo--; |
1344 } | 1344 } |
(...skipping 14 matching lines...) Expand all Loading... |
1359 checkGeolayerdata(api.Geolayerdata o) { | 1359 checkGeolayerdata(api.Geolayerdata o) { |
1360 buildCounterGeolayerdata++; | 1360 buildCounterGeolayerdata++; |
1361 if (buildCounterGeolayerdata < 3) { | 1361 if (buildCounterGeolayerdata < 3) { |
1362 checkGeolayerdataCommon(o.common); | 1362 checkGeolayerdataCommon(o.common); |
1363 checkGeolayerdataGeo(o.geo); | 1363 checkGeolayerdataGeo(o.geo); |
1364 unittest.expect(o.kind, unittest.equals('foo')); | 1364 unittest.expect(o.kind, unittest.equals('foo')); |
1365 } | 1365 } |
1366 buildCounterGeolayerdata--; | 1366 buildCounterGeolayerdata--; |
1367 } | 1367 } |
1368 | 1368 |
1369 buildUnnamed816() { | 1369 buildUnnamed398() { |
1370 var o = new core.List<api.Layersummary>(); | 1370 var o = new core.List<api.Layersummary>(); |
1371 o.add(buildLayersummary()); | 1371 o.add(buildLayersummary()); |
1372 o.add(buildLayersummary()); | 1372 o.add(buildLayersummary()); |
1373 return o; | 1373 return o; |
1374 } | 1374 } |
1375 | 1375 |
1376 checkUnnamed816(core.List<api.Layersummary> o) { | 1376 checkUnnamed398(core.List<api.Layersummary> o) { |
1377 unittest.expect(o, unittest.hasLength(2)); | 1377 unittest.expect(o, unittest.hasLength(2)); |
1378 checkLayersummary(o[0]); | 1378 checkLayersummary(o[0]); |
1379 checkLayersummary(o[1]); | 1379 checkLayersummary(o[1]); |
1380 } | 1380 } |
1381 | 1381 |
1382 core.int buildCounterLayersummaries = 0; | 1382 core.int buildCounterLayersummaries = 0; |
1383 buildLayersummaries() { | 1383 buildLayersummaries() { |
1384 var o = new api.Layersummaries(); | 1384 var o = new api.Layersummaries(); |
1385 buildCounterLayersummaries++; | 1385 buildCounterLayersummaries++; |
1386 if (buildCounterLayersummaries < 3) { | 1386 if (buildCounterLayersummaries < 3) { |
1387 o.items = buildUnnamed816(); | 1387 o.items = buildUnnamed398(); |
1388 o.kind = "foo"; | 1388 o.kind = "foo"; |
1389 o.totalItems = 42; | 1389 o.totalItems = 42; |
1390 } | 1390 } |
1391 buildCounterLayersummaries--; | 1391 buildCounterLayersummaries--; |
1392 return o; | 1392 return o; |
1393 } | 1393 } |
1394 | 1394 |
1395 checkLayersummaries(api.Layersummaries o) { | 1395 checkLayersummaries(api.Layersummaries o) { |
1396 buildCounterLayersummaries++; | 1396 buildCounterLayersummaries++; |
1397 if (buildCounterLayersummaries < 3) { | 1397 if (buildCounterLayersummaries < 3) { |
1398 checkUnnamed816(o.items); | 1398 checkUnnamed398(o.items); |
1399 unittest.expect(o.kind, unittest.equals('foo')); | 1399 unittest.expect(o.kind, unittest.equals('foo')); |
1400 unittest.expect(o.totalItems, unittest.equals(42)); | 1400 unittest.expect(o.totalItems, unittest.equals(42)); |
1401 } | 1401 } |
1402 buildCounterLayersummaries--; | 1402 buildCounterLayersummaries--; |
1403 } | 1403 } |
1404 | 1404 |
1405 buildUnnamed817() { | 1405 buildUnnamed399() { |
1406 var o = new core.List<core.String>(); | 1406 var o = new core.List<core.String>(); |
1407 o.add("foo"); | 1407 o.add("foo"); |
1408 o.add("foo"); | 1408 o.add("foo"); |
1409 return o; | 1409 return o; |
1410 } | 1410 } |
1411 | 1411 |
1412 checkUnnamed817(core.List<core.String> o) { | 1412 checkUnnamed399(core.List<core.String> o) { |
1413 unittest.expect(o, unittest.hasLength(2)); | 1413 unittest.expect(o, unittest.hasLength(2)); |
1414 unittest.expect(o[0], unittest.equals('foo')); | 1414 unittest.expect(o[0], unittest.equals('foo')); |
1415 unittest.expect(o[1], unittest.equals('foo')); | 1415 unittest.expect(o[1], unittest.equals('foo')); |
1416 } | 1416 } |
1417 | 1417 |
1418 core.int buildCounterLayersummary = 0; | 1418 core.int buildCounterLayersummary = 0; |
1419 buildLayersummary() { | 1419 buildLayersummary() { |
1420 var o = new api.Layersummary(); | 1420 var o = new api.Layersummary(); |
1421 buildCounterLayersummary++; | 1421 buildCounterLayersummary++; |
1422 if (buildCounterLayersummary < 3) { | 1422 if (buildCounterLayersummary < 3) { |
1423 o.annotationCount = 42; | 1423 o.annotationCount = 42; |
1424 o.annotationTypes = buildUnnamed817(); | 1424 o.annotationTypes = buildUnnamed399(); |
1425 o.annotationsDataLink = "foo"; | 1425 o.annotationsDataLink = "foo"; |
1426 o.annotationsLink = "foo"; | 1426 o.annotationsLink = "foo"; |
1427 o.contentVersion = "foo"; | 1427 o.contentVersion = "foo"; |
1428 o.dataCount = 42; | 1428 o.dataCount = 42; |
1429 o.id = "foo"; | 1429 o.id = "foo"; |
1430 o.kind = "foo"; | 1430 o.kind = "foo"; |
1431 o.layerId = "foo"; | 1431 o.layerId = "foo"; |
1432 o.selfLink = "foo"; | 1432 o.selfLink = "foo"; |
1433 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1433 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
1434 o.volumeAnnotationsVersion = "foo"; | 1434 o.volumeAnnotationsVersion = "foo"; |
1435 o.volumeId = "foo"; | 1435 o.volumeId = "foo"; |
1436 } | 1436 } |
1437 buildCounterLayersummary--; | 1437 buildCounterLayersummary--; |
1438 return o; | 1438 return o; |
1439 } | 1439 } |
1440 | 1440 |
1441 checkLayersummary(api.Layersummary o) { | 1441 checkLayersummary(api.Layersummary o) { |
1442 buildCounterLayersummary++; | 1442 buildCounterLayersummary++; |
1443 if (buildCounterLayersummary < 3) { | 1443 if (buildCounterLayersummary < 3) { |
1444 unittest.expect(o.annotationCount, unittest.equals(42)); | 1444 unittest.expect(o.annotationCount, unittest.equals(42)); |
1445 checkUnnamed817(o.annotationTypes); | 1445 checkUnnamed399(o.annotationTypes); |
1446 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); | 1446 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); |
1447 unittest.expect(o.annotationsLink, unittest.equals('foo')); | 1447 unittest.expect(o.annotationsLink, unittest.equals('foo')); |
1448 unittest.expect(o.contentVersion, unittest.equals('foo')); | 1448 unittest.expect(o.contentVersion, unittest.equals('foo')); |
1449 unittest.expect(o.dataCount, unittest.equals(42)); | 1449 unittest.expect(o.dataCount, unittest.equals(42)); |
1450 unittest.expect(o.id, unittest.equals('foo')); | 1450 unittest.expect(o.id, unittest.equals('foo')); |
1451 unittest.expect(o.kind, unittest.equals('foo')); | 1451 unittest.expect(o.kind, unittest.equals('foo')); |
1452 unittest.expect(o.layerId, unittest.equals('foo')); | 1452 unittest.expect(o.layerId, unittest.equals('foo')); |
1453 unittest.expect(o.selfLink, unittest.equals('foo')); | 1453 unittest.expect(o.selfLink, unittest.equals('foo')); |
1454 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1454 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
1455 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 1455 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
(...skipping 22 matching lines...) Expand all Loading... |
1478 if (buildCounterMetadataItems < 3) { | 1478 if (buildCounterMetadataItems < 3) { |
1479 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1479 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
1480 unittest.expect(o.encryptedKey, unittest.equals('foo')); | 1480 unittest.expect(o.encryptedKey, unittest.equals('foo')); |
1481 unittest.expect(o.language, unittest.equals('foo')); | 1481 unittest.expect(o.language, unittest.equals('foo')); |
1482 unittest.expect(o.size, unittest.equals('foo')); | 1482 unittest.expect(o.size, unittest.equals('foo')); |
1483 unittest.expect(o.version, unittest.equals('foo')); | 1483 unittest.expect(o.version, unittest.equals('foo')); |
1484 } | 1484 } |
1485 buildCounterMetadataItems--; | 1485 buildCounterMetadataItems--; |
1486 } | 1486 } |
1487 | 1487 |
1488 buildUnnamed818() { | 1488 buildUnnamed400() { |
1489 var o = new core.List<api.MetadataItems>(); | 1489 var o = new core.List<api.MetadataItems>(); |
1490 o.add(buildMetadataItems()); | 1490 o.add(buildMetadataItems()); |
1491 o.add(buildMetadataItems()); | 1491 o.add(buildMetadataItems()); |
1492 return o; | 1492 return o; |
1493 } | 1493 } |
1494 | 1494 |
1495 checkUnnamed818(core.List<api.MetadataItems> o) { | 1495 checkUnnamed400(core.List<api.MetadataItems> o) { |
1496 unittest.expect(o, unittest.hasLength(2)); | 1496 unittest.expect(o, unittest.hasLength(2)); |
1497 checkMetadataItems(o[0]); | 1497 checkMetadataItems(o[0]); |
1498 checkMetadataItems(o[1]); | 1498 checkMetadataItems(o[1]); |
1499 } | 1499 } |
1500 | 1500 |
1501 core.int buildCounterMetadata = 0; | 1501 core.int buildCounterMetadata = 0; |
1502 buildMetadata() { | 1502 buildMetadata() { |
1503 var o = new api.Metadata(); | 1503 var o = new api.Metadata(); |
1504 buildCounterMetadata++; | 1504 buildCounterMetadata++; |
1505 if (buildCounterMetadata < 3) { | 1505 if (buildCounterMetadata < 3) { |
1506 o.items = buildUnnamed818(); | 1506 o.items = buildUnnamed400(); |
1507 o.kind = "foo"; | 1507 o.kind = "foo"; |
1508 } | 1508 } |
1509 buildCounterMetadata--; | 1509 buildCounterMetadata--; |
1510 return o; | 1510 return o; |
1511 } | 1511 } |
1512 | 1512 |
1513 checkMetadata(api.Metadata o) { | 1513 checkMetadata(api.Metadata o) { |
1514 buildCounterMetadata++; | 1514 buildCounterMetadata++; |
1515 if (buildCounterMetadata < 3) { | 1515 if (buildCounterMetadata < 3) { |
1516 checkUnnamed818(o.items); | 1516 checkUnnamed400(o.items); |
1517 unittest.expect(o.kind, unittest.equals('foo')); | 1517 unittest.expect(o.kind, unittest.equals('foo')); |
1518 } | 1518 } |
1519 buildCounterMetadata--; | 1519 buildCounterMetadata--; |
1520 } | 1520 } |
1521 | 1521 |
1522 core.int buildCounterOffersItemsItems = 0; | 1522 core.int buildCounterOffersItemsItems = 0; |
1523 buildOffersItemsItems() { | 1523 buildOffersItemsItems() { |
1524 var o = new api.OffersItemsItems(); | 1524 var o = new api.OffersItemsItems(); |
1525 buildCounterOffersItemsItems++; | 1525 buildCounterOffersItemsItems++; |
1526 if (buildCounterOffersItemsItems < 3) { | 1526 if (buildCounterOffersItemsItems < 3) { |
(...skipping 14 matching lines...) Expand all Loading... |
1541 unittest.expect(o.author, unittest.equals('foo')); | 1541 unittest.expect(o.author, unittest.equals('foo')); |
1542 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 1542 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
1543 unittest.expect(o.coverUrl, unittest.equals('foo')); | 1543 unittest.expect(o.coverUrl, unittest.equals('foo')); |
1544 unittest.expect(o.description, unittest.equals('foo')); | 1544 unittest.expect(o.description, unittest.equals('foo')); |
1545 unittest.expect(o.title, unittest.equals('foo')); | 1545 unittest.expect(o.title, unittest.equals('foo')); |
1546 unittest.expect(o.volumeId, unittest.equals('foo')); | 1546 unittest.expect(o.volumeId, unittest.equals('foo')); |
1547 } | 1547 } |
1548 buildCounterOffersItemsItems--; | 1548 buildCounterOffersItemsItems--; |
1549 } | 1549 } |
1550 | 1550 |
1551 buildUnnamed819() { | 1551 buildUnnamed401() { |
1552 var o = new core.List<api.OffersItemsItems>(); | 1552 var o = new core.List<api.OffersItemsItems>(); |
1553 o.add(buildOffersItemsItems()); | 1553 o.add(buildOffersItemsItems()); |
1554 o.add(buildOffersItemsItems()); | 1554 o.add(buildOffersItemsItems()); |
1555 return o; | 1555 return o; |
1556 } | 1556 } |
1557 | 1557 |
1558 checkUnnamed819(core.List<api.OffersItemsItems> o) { | 1558 checkUnnamed401(core.List<api.OffersItemsItems> o) { |
1559 unittest.expect(o, unittest.hasLength(2)); | 1559 unittest.expect(o, unittest.hasLength(2)); |
1560 checkOffersItemsItems(o[0]); | 1560 checkOffersItemsItems(o[0]); |
1561 checkOffersItemsItems(o[1]); | 1561 checkOffersItemsItems(o[1]); |
1562 } | 1562 } |
1563 | 1563 |
1564 core.int buildCounterOffersItems = 0; | 1564 core.int buildCounterOffersItems = 0; |
1565 buildOffersItems() { | 1565 buildOffersItems() { |
1566 var o = new api.OffersItems(); | 1566 var o = new api.OffersItems(); |
1567 buildCounterOffersItems++; | 1567 buildCounterOffersItems++; |
1568 if (buildCounterOffersItems < 3) { | 1568 if (buildCounterOffersItems < 3) { |
1569 o.artUrl = "foo"; | 1569 o.artUrl = "foo"; |
1570 o.gservicesKey = "foo"; | 1570 o.gservicesKey = "foo"; |
1571 o.id = "foo"; | 1571 o.id = "foo"; |
1572 o.items = buildUnnamed819(); | 1572 o.items = buildUnnamed401(); |
1573 } | 1573 } |
1574 buildCounterOffersItems--; | 1574 buildCounterOffersItems--; |
1575 return o; | 1575 return o; |
1576 } | 1576 } |
1577 | 1577 |
1578 checkOffersItems(api.OffersItems o) { | 1578 checkOffersItems(api.OffersItems o) { |
1579 buildCounterOffersItems++; | 1579 buildCounterOffersItems++; |
1580 if (buildCounterOffersItems < 3) { | 1580 if (buildCounterOffersItems < 3) { |
1581 unittest.expect(o.artUrl, unittest.equals('foo')); | 1581 unittest.expect(o.artUrl, unittest.equals('foo')); |
1582 unittest.expect(o.gservicesKey, unittest.equals('foo')); | 1582 unittest.expect(o.gservicesKey, unittest.equals('foo')); |
1583 unittest.expect(o.id, unittest.equals('foo')); | 1583 unittest.expect(o.id, unittest.equals('foo')); |
1584 checkUnnamed819(o.items); | 1584 checkUnnamed401(o.items); |
1585 } | 1585 } |
1586 buildCounterOffersItems--; | 1586 buildCounterOffersItems--; |
1587 } | 1587 } |
1588 | 1588 |
1589 buildUnnamed820() { | 1589 buildUnnamed402() { |
1590 var o = new core.List<api.OffersItems>(); | 1590 var o = new core.List<api.OffersItems>(); |
1591 o.add(buildOffersItems()); | 1591 o.add(buildOffersItems()); |
1592 o.add(buildOffersItems()); | 1592 o.add(buildOffersItems()); |
1593 return o; | 1593 return o; |
1594 } | 1594 } |
1595 | 1595 |
1596 checkUnnamed820(core.List<api.OffersItems> o) { | 1596 checkUnnamed402(core.List<api.OffersItems> o) { |
1597 unittest.expect(o, unittest.hasLength(2)); | 1597 unittest.expect(o, unittest.hasLength(2)); |
1598 checkOffersItems(o[0]); | 1598 checkOffersItems(o[0]); |
1599 checkOffersItems(o[1]); | 1599 checkOffersItems(o[1]); |
1600 } | 1600 } |
1601 | 1601 |
1602 core.int buildCounterOffers = 0; | 1602 core.int buildCounterOffers = 0; |
1603 buildOffers() { | 1603 buildOffers() { |
1604 var o = new api.Offers(); | 1604 var o = new api.Offers(); |
1605 buildCounterOffers++; | 1605 buildCounterOffers++; |
1606 if (buildCounterOffers < 3) { | 1606 if (buildCounterOffers < 3) { |
1607 o.items = buildUnnamed820(); | 1607 o.items = buildUnnamed402(); |
1608 o.kind = "foo"; | 1608 o.kind = "foo"; |
1609 } | 1609 } |
1610 buildCounterOffers--; | 1610 buildCounterOffers--; |
1611 return o; | 1611 return o; |
1612 } | 1612 } |
1613 | 1613 |
1614 checkOffers(api.Offers o) { | 1614 checkOffers(api.Offers o) { |
1615 buildCounterOffers++; | 1615 buildCounterOffers++; |
1616 if (buildCounterOffers < 3) { | 1616 if (buildCounterOffers < 3) { |
1617 checkUnnamed820(o.items); | 1617 checkUnnamed402(o.items); |
1618 unittest.expect(o.kind, unittest.equals('foo')); | 1618 unittest.expect(o.kind, unittest.equals('foo')); |
1619 } | 1619 } |
1620 buildCounterOffers--; | 1620 buildCounterOffers--; |
1621 } | 1621 } |
1622 | 1622 |
1623 core.int buildCounterReadingPosition = 0; | 1623 core.int buildCounterReadingPosition = 0; |
1624 buildReadingPosition() { | 1624 buildReadingPosition() { |
1625 var o = new api.ReadingPosition(); | 1625 var o = new api.ReadingPosition(); |
1626 buildCounterReadingPosition++; | 1626 buildCounterReadingPosition++; |
1627 if (buildCounterReadingPosition < 3) { | 1627 if (buildCounterReadingPosition < 3) { |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1900 | 1900 |
1901 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { | 1901 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { |
1902 buildCounterVolumeLayerInfoLayers++; | 1902 buildCounterVolumeLayerInfoLayers++; |
1903 if (buildCounterVolumeLayerInfoLayers < 3) { | 1903 if (buildCounterVolumeLayerInfoLayers < 3) { |
1904 unittest.expect(o.layerId, unittest.equals('foo')); | 1904 unittest.expect(o.layerId, unittest.equals('foo')); |
1905 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 1905 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
1906 } | 1906 } |
1907 buildCounterVolumeLayerInfoLayers--; | 1907 buildCounterVolumeLayerInfoLayers--; |
1908 } | 1908 } |
1909 | 1909 |
1910 buildUnnamed821() { | 1910 buildUnnamed403() { |
1911 var o = new core.List<api.VolumeLayerInfoLayers>(); | 1911 var o = new core.List<api.VolumeLayerInfoLayers>(); |
1912 o.add(buildVolumeLayerInfoLayers()); | 1912 o.add(buildVolumeLayerInfoLayers()); |
1913 o.add(buildVolumeLayerInfoLayers()); | 1913 o.add(buildVolumeLayerInfoLayers()); |
1914 return o; | 1914 return o; |
1915 } | 1915 } |
1916 | 1916 |
1917 checkUnnamed821(core.List<api.VolumeLayerInfoLayers> o) { | 1917 checkUnnamed403(core.List<api.VolumeLayerInfoLayers> o) { |
1918 unittest.expect(o, unittest.hasLength(2)); | 1918 unittest.expect(o, unittest.hasLength(2)); |
1919 checkVolumeLayerInfoLayers(o[0]); | 1919 checkVolumeLayerInfoLayers(o[0]); |
1920 checkVolumeLayerInfoLayers(o[1]); | 1920 checkVolumeLayerInfoLayers(o[1]); |
1921 } | 1921 } |
1922 | 1922 |
1923 core.int buildCounterVolumeLayerInfo = 0; | 1923 core.int buildCounterVolumeLayerInfo = 0; |
1924 buildVolumeLayerInfo() { | 1924 buildVolumeLayerInfo() { |
1925 var o = new api.VolumeLayerInfo(); | 1925 var o = new api.VolumeLayerInfo(); |
1926 buildCounterVolumeLayerInfo++; | 1926 buildCounterVolumeLayerInfo++; |
1927 if (buildCounterVolumeLayerInfo < 3) { | 1927 if (buildCounterVolumeLayerInfo < 3) { |
1928 o.layers = buildUnnamed821(); | 1928 o.layers = buildUnnamed403(); |
1929 } | 1929 } |
1930 buildCounterVolumeLayerInfo--; | 1930 buildCounterVolumeLayerInfo--; |
1931 return o; | 1931 return o; |
1932 } | 1932 } |
1933 | 1933 |
1934 checkVolumeLayerInfo(api.VolumeLayerInfo o) { | 1934 checkVolumeLayerInfo(api.VolumeLayerInfo o) { |
1935 buildCounterVolumeLayerInfo++; | 1935 buildCounterVolumeLayerInfo++; |
1936 if (buildCounterVolumeLayerInfo < 3) { | 1936 if (buildCounterVolumeLayerInfo < 3) { |
1937 checkUnnamed821(o.layers); | 1937 checkUnnamed403(o.layers); |
1938 } | 1938 } |
1939 buildCounterVolumeLayerInfo--; | 1939 buildCounterVolumeLayerInfo--; |
1940 } | 1940 } |
1941 | 1941 |
1942 core.int buildCounterVolumeRecommendedInfo = 0; | 1942 core.int buildCounterVolumeRecommendedInfo = 0; |
1943 buildVolumeRecommendedInfo() { | 1943 buildVolumeRecommendedInfo() { |
1944 var o = new api.VolumeRecommendedInfo(); | 1944 var o = new api.VolumeRecommendedInfo(); |
1945 buildCounterVolumeRecommendedInfo++; | 1945 buildCounterVolumeRecommendedInfo++; |
1946 if (buildCounterVolumeRecommendedInfo < 3) { | 1946 if (buildCounterVolumeRecommendedInfo < 3) { |
1947 o.explanation = "foo"; | 1947 o.explanation = "foo"; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2060 buildCounterVolumeSaleInfoOffers++; | 2060 buildCounterVolumeSaleInfoOffers++; |
2061 if (buildCounterVolumeSaleInfoOffers < 3) { | 2061 if (buildCounterVolumeSaleInfoOffers < 3) { |
2062 unittest.expect(o.finskyOfferType, unittest.equals(42)); | 2062 unittest.expect(o.finskyOfferType, unittest.equals(42)); |
2063 checkVolumeSaleInfoOffersListPrice(o.listPrice); | 2063 checkVolumeSaleInfoOffersListPrice(o.listPrice); |
2064 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); | 2064 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); |
2065 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); | 2065 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); |
2066 } | 2066 } |
2067 buildCounterVolumeSaleInfoOffers--; | 2067 buildCounterVolumeSaleInfoOffers--; |
2068 } | 2068 } |
2069 | 2069 |
2070 buildUnnamed822() { | 2070 buildUnnamed404() { |
2071 var o = new core.List<api.VolumeSaleInfoOffers>(); | 2071 var o = new core.List<api.VolumeSaleInfoOffers>(); |
2072 o.add(buildVolumeSaleInfoOffers()); | 2072 o.add(buildVolumeSaleInfoOffers()); |
2073 o.add(buildVolumeSaleInfoOffers()); | 2073 o.add(buildVolumeSaleInfoOffers()); |
2074 return o; | 2074 return o; |
2075 } | 2075 } |
2076 | 2076 |
2077 checkUnnamed822(core.List<api.VolumeSaleInfoOffers> o) { | 2077 checkUnnamed404(core.List<api.VolumeSaleInfoOffers> o) { |
2078 unittest.expect(o, unittest.hasLength(2)); | 2078 unittest.expect(o, unittest.hasLength(2)); |
2079 checkVolumeSaleInfoOffers(o[0]); | 2079 checkVolumeSaleInfoOffers(o[0]); |
2080 checkVolumeSaleInfoOffers(o[1]); | 2080 checkVolumeSaleInfoOffers(o[1]); |
2081 } | 2081 } |
2082 | 2082 |
2083 core.int buildCounterVolumeSaleInfoRetailPrice = 0; | 2083 core.int buildCounterVolumeSaleInfoRetailPrice = 0; |
2084 buildVolumeSaleInfoRetailPrice() { | 2084 buildVolumeSaleInfoRetailPrice() { |
2085 var o = new api.VolumeSaleInfoRetailPrice(); | 2085 var o = new api.VolumeSaleInfoRetailPrice(); |
2086 buildCounterVolumeSaleInfoRetailPrice++; | 2086 buildCounterVolumeSaleInfoRetailPrice++; |
2087 if (buildCounterVolumeSaleInfoRetailPrice < 3) { | 2087 if (buildCounterVolumeSaleInfoRetailPrice < 3) { |
(...skipping 15 matching lines...) Expand all Loading... |
2103 | 2103 |
2104 core.int buildCounterVolumeSaleInfo = 0; | 2104 core.int buildCounterVolumeSaleInfo = 0; |
2105 buildVolumeSaleInfo() { | 2105 buildVolumeSaleInfo() { |
2106 var o = new api.VolumeSaleInfo(); | 2106 var o = new api.VolumeSaleInfo(); |
2107 buildCounterVolumeSaleInfo++; | 2107 buildCounterVolumeSaleInfo++; |
2108 if (buildCounterVolumeSaleInfo < 3) { | 2108 if (buildCounterVolumeSaleInfo < 3) { |
2109 o.buyLink = "foo"; | 2109 o.buyLink = "foo"; |
2110 o.country = "foo"; | 2110 o.country = "foo"; |
2111 o.isEbook = true; | 2111 o.isEbook = true; |
2112 o.listPrice = buildVolumeSaleInfoListPrice(); | 2112 o.listPrice = buildVolumeSaleInfoListPrice(); |
2113 o.offers = buildUnnamed822(); | 2113 o.offers = buildUnnamed404(); |
2114 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); | 2114 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); |
2115 o.retailPrice = buildVolumeSaleInfoRetailPrice(); | 2115 o.retailPrice = buildVolumeSaleInfoRetailPrice(); |
2116 o.saleability = "foo"; | 2116 o.saleability = "foo"; |
2117 } | 2117 } |
2118 buildCounterVolumeSaleInfo--; | 2118 buildCounterVolumeSaleInfo--; |
2119 return o; | 2119 return o; |
2120 } | 2120 } |
2121 | 2121 |
2122 checkVolumeSaleInfo(api.VolumeSaleInfo o) { | 2122 checkVolumeSaleInfo(api.VolumeSaleInfo o) { |
2123 buildCounterVolumeSaleInfo++; | 2123 buildCounterVolumeSaleInfo++; |
2124 if (buildCounterVolumeSaleInfo < 3) { | 2124 if (buildCounterVolumeSaleInfo < 3) { |
2125 unittest.expect(o.buyLink, unittest.equals('foo')); | 2125 unittest.expect(o.buyLink, unittest.equals('foo')); |
2126 unittest.expect(o.country, unittest.equals('foo')); | 2126 unittest.expect(o.country, unittest.equals('foo')); |
2127 unittest.expect(o.isEbook, unittest.isTrue); | 2127 unittest.expect(o.isEbook, unittest.isTrue); |
2128 checkVolumeSaleInfoListPrice(o.listPrice); | 2128 checkVolumeSaleInfoListPrice(o.listPrice); |
2129 checkUnnamed822(o.offers); | 2129 checkUnnamed404(o.offers); |
2130 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); | 2130 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); |
2131 checkVolumeSaleInfoRetailPrice(o.retailPrice); | 2131 checkVolumeSaleInfoRetailPrice(o.retailPrice); |
2132 unittest.expect(o.saleability, unittest.equals('foo')); | 2132 unittest.expect(o.saleability, unittest.equals('foo')); |
2133 } | 2133 } |
2134 buildCounterVolumeSaleInfo--; | 2134 buildCounterVolumeSaleInfo--; |
2135 } | 2135 } |
2136 | 2136 |
2137 core.int buildCounterVolumeSearchInfo = 0; | 2137 core.int buildCounterVolumeSearchInfo = 0; |
2138 buildVolumeSearchInfo() { | 2138 buildVolumeSearchInfo() { |
2139 var o = new api.VolumeSearchInfo(); | 2139 var o = new api.VolumeSearchInfo(); |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2250 checkReadingPosition(o.readingPosition); | 2250 checkReadingPosition(o.readingPosition); |
2251 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); | 2251 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); |
2252 unittest.expect(o.rentalState, unittest.equals('foo')); | 2252 unittest.expect(o.rentalState, unittest.equals('foo')); |
2253 checkReview(o.review); | 2253 checkReview(o.review); |
2254 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2254 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
2255 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); | 2255 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); |
2256 } | 2256 } |
2257 buildCounterVolumeUserInfo--; | 2257 buildCounterVolumeUserInfo--; |
2258 } | 2258 } |
2259 | 2259 |
2260 buildUnnamed823() { | 2260 buildUnnamed405() { |
2261 var o = new core.List<core.String>(); | 2261 var o = new core.List<core.String>(); |
2262 o.add("foo"); | 2262 o.add("foo"); |
2263 o.add("foo"); | 2263 o.add("foo"); |
2264 return o; | 2264 return o; |
2265 } | 2265 } |
2266 | 2266 |
2267 checkUnnamed823(core.List<core.String> o) { | 2267 checkUnnamed405(core.List<core.String> o) { |
2268 unittest.expect(o, unittest.hasLength(2)); | 2268 unittest.expect(o, unittest.hasLength(2)); |
2269 unittest.expect(o[0], unittest.equals('foo')); | 2269 unittest.expect(o[0], unittest.equals('foo')); |
2270 unittest.expect(o[1], unittest.equals('foo')); | 2270 unittest.expect(o[1], unittest.equals('foo')); |
2271 } | 2271 } |
2272 | 2272 |
2273 buildUnnamed824() { | 2273 buildUnnamed406() { |
2274 var o = new core.List<core.String>(); | 2274 var o = new core.List<core.String>(); |
2275 o.add("foo"); | 2275 o.add("foo"); |
2276 o.add("foo"); | 2276 o.add("foo"); |
2277 return o; | 2277 return o; |
2278 } | 2278 } |
2279 | 2279 |
2280 checkUnnamed824(core.List<core.String> o) { | 2280 checkUnnamed406(core.List<core.String> o) { |
2281 unittest.expect(o, unittest.hasLength(2)); | 2281 unittest.expect(o, unittest.hasLength(2)); |
2282 unittest.expect(o[0], unittest.equals('foo')); | 2282 unittest.expect(o[0], unittest.equals('foo')); |
2283 unittest.expect(o[1], unittest.equals('foo')); | 2283 unittest.expect(o[1], unittest.equals('foo')); |
2284 } | 2284 } |
2285 | 2285 |
2286 core.int buildCounterVolumeVolumeInfoDimensions = 0; | 2286 core.int buildCounterVolumeVolumeInfoDimensions = 0; |
2287 buildVolumeVolumeInfoDimensions() { | 2287 buildVolumeVolumeInfoDimensions() { |
2288 var o = new api.VolumeVolumeInfoDimensions(); | 2288 var o = new api.VolumeVolumeInfoDimensions(); |
2289 buildCounterVolumeVolumeInfoDimensions++; | 2289 buildCounterVolumeVolumeInfoDimensions++; |
2290 if (buildCounterVolumeVolumeInfoDimensions < 3) { | 2290 if (buildCounterVolumeVolumeInfoDimensions < 3) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2349 | 2349 |
2350 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { | 2350 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { |
2351 buildCounterVolumeVolumeInfoIndustryIdentifiers++; | 2351 buildCounterVolumeVolumeInfoIndustryIdentifiers++; |
2352 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { | 2352 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { |
2353 unittest.expect(o.identifier, unittest.equals('foo')); | 2353 unittest.expect(o.identifier, unittest.equals('foo')); |
2354 unittest.expect(o.type, unittest.equals('foo')); | 2354 unittest.expect(o.type, unittest.equals('foo')); |
2355 } | 2355 } |
2356 buildCounterVolumeVolumeInfoIndustryIdentifiers--; | 2356 buildCounterVolumeVolumeInfoIndustryIdentifiers--; |
2357 } | 2357 } |
2358 | 2358 |
2359 buildUnnamed825() { | 2359 buildUnnamed407() { |
2360 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); | 2360 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); |
2361 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2361 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
2362 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2362 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
2363 return o; | 2363 return o; |
2364 } | 2364 } |
2365 | 2365 |
2366 checkUnnamed825(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { | 2366 checkUnnamed407(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { |
2367 unittest.expect(o, unittest.hasLength(2)); | 2367 unittest.expect(o, unittest.hasLength(2)); |
2368 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); | 2368 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); |
2369 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); | 2369 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); |
2370 } | 2370 } |
2371 | 2371 |
2372 core.int buildCounterVolumeVolumeInfo = 0; | 2372 core.int buildCounterVolumeVolumeInfo = 0; |
2373 buildVolumeVolumeInfo() { | 2373 buildVolumeVolumeInfo() { |
2374 var o = new api.VolumeVolumeInfo(); | 2374 var o = new api.VolumeVolumeInfo(); |
2375 buildCounterVolumeVolumeInfo++; | 2375 buildCounterVolumeVolumeInfo++; |
2376 if (buildCounterVolumeVolumeInfo < 3) { | 2376 if (buildCounterVolumeVolumeInfo < 3) { |
2377 o.allowAnonLogging = true; | 2377 o.allowAnonLogging = true; |
2378 o.authors = buildUnnamed823(); | 2378 o.authors = buildUnnamed405(); |
2379 o.averageRating = 42.0; | 2379 o.averageRating = 42.0; |
2380 o.canonicalVolumeLink = "foo"; | 2380 o.canonicalVolumeLink = "foo"; |
2381 o.categories = buildUnnamed824(); | 2381 o.categories = buildUnnamed406(); |
2382 o.contentVersion = "foo"; | 2382 o.contentVersion = "foo"; |
2383 o.description = "foo"; | 2383 o.description = "foo"; |
2384 o.dimensions = buildVolumeVolumeInfoDimensions(); | 2384 o.dimensions = buildVolumeVolumeInfoDimensions(); |
2385 o.imageLinks = buildVolumeVolumeInfoImageLinks(); | 2385 o.imageLinks = buildVolumeVolumeInfoImageLinks(); |
2386 o.industryIdentifiers = buildUnnamed825(); | 2386 o.industryIdentifiers = buildUnnamed407(); |
2387 o.infoLink = "foo"; | 2387 o.infoLink = "foo"; |
2388 o.language = "foo"; | 2388 o.language = "foo"; |
2389 o.mainCategory = "foo"; | 2389 o.mainCategory = "foo"; |
2390 o.maturityRating = "foo"; | 2390 o.maturityRating = "foo"; |
2391 o.pageCount = 42; | 2391 o.pageCount = 42; |
2392 o.previewLink = "foo"; | 2392 o.previewLink = "foo"; |
2393 o.printType = "foo"; | 2393 o.printType = "foo"; |
2394 o.printedPageCount = 42; | 2394 o.printedPageCount = 42; |
2395 o.publishedDate = "foo"; | 2395 o.publishedDate = "foo"; |
2396 o.publisher = "foo"; | 2396 o.publisher = "foo"; |
2397 o.ratingsCount = 42; | 2397 o.ratingsCount = 42; |
2398 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2398 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2399 o.samplePageCount = 42; | 2399 o.samplePageCount = 42; |
2400 o.subtitle = "foo"; | 2400 o.subtitle = "foo"; |
2401 o.title = "foo"; | 2401 o.title = "foo"; |
2402 } | 2402 } |
2403 buildCounterVolumeVolumeInfo--; | 2403 buildCounterVolumeVolumeInfo--; |
2404 return o; | 2404 return o; |
2405 } | 2405 } |
2406 | 2406 |
2407 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { | 2407 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { |
2408 buildCounterVolumeVolumeInfo++; | 2408 buildCounterVolumeVolumeInfo++; |
2409 if (buildCounterVolumeVolumeInfo < 3) { | 2409 if (buildCounterVolumeVolumeInfo < 3) { |
2410 unittest.expect(o.allowAnonLogging, unittest.isTrue); | 2410 unittest.expect(o.allowAnonLogging, unittest.isTrue); |
2411 checkUnnamed823(o.authors); | 2411 checkUnnamed405(o.authors); |
2412 unittest.expect(o.averageRating, unittest.equals(42.0)); | 2412 unittest.expect(o.averageRating, unittest.equals(42.0)); |
2413 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 2413 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
2414 checkUnnamed824(o.categories); | 2414 checkUnnamed406(o.categories); |
2415 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2415 unittest.expect(o.contentVersion, unittest.equals('foo')); |
2416 unittest.expect(o.description, unittest.equals('foo')); | 2416 unittest.expect(o.description, unittest.equals('foo')); |
2417 checkVolumeVolumeInfoDimensions(o.dimensions); | 2417 checkVolumeVolumeInfoDimensions(o.dimensions); |
2418 checkVolumeVolumeInfoImageLinks(o.imageLinks); | 2418 checkVolumeVolumeInfoImageLinks(o.imageLinks); |
2419 checkUnnamed825(o.industryIdentifiers); | 2419 checkUnnamed407(o.industryIdentifiers); |
2420 unittest.expect(o.infoLink, unittest.equals('foo')); | 2420 unittest.expect(o.infoLink, unittest.equals('foo')); |
2421 unittest.expect(o.language, unittest.equals('foo')); | 2421 unittest.expect(o.language, unittest.equals('foo')); |
2422 unittest.expect(o.mainCategory, unittest.equals('foo')); | 2422 unittest.expect(o.mainCategory, unittest.equals('foo')); |
2423 unittest.expect(o.maturityRating, unittest.equals('foo')); | 2423 unittest.expect(o.maturityRating, unittest.equals('foo')); |
2424 unittest.expect(o.pageCount, unittest.equals(42)); | 2424 unittest.expect(o.pageCount, unittest.equals(42)); |
2425 unittest.expect(o.previewLink, unittest.equals('foo')); | 2425 unittest.expect(o.previewLink, unittest.equals('foo')); |
2426 unittest.expect(o.printType, unittest.equals('foo')); | 2426 unittest.expect(o.printType, unittest.equals('foo')); |
2427 unittest.expect(o.printedPageCount, unittest.equals(42)); | 2427 unittest.expect(o.printedPageCount, unittest.equals(42)); |
2428 unittest.expect(o.publishedDate, unittest.equals('foo')); | 2428 unittest.expect(o.publishedDate, unittest.equals('foo')); |
2429 unittest.expect(o.publisher, unittest.equals('foo')); | 2429 unittest.expect(o.publisher, unittest.equals('foo')); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2468 checkVolumeRecommendedInfo(o.recommendedInfo); | 2468 checkVolumeRecommendedInfo(o.recommendedInfo); |
2469 checkVolumeSaleInfo(o.saleInfo); | 2469 checkVolumeSaleInfo(o.saleInfo); |
2470 checkVolumeSearchInfo(o.searchInfo); | 2470 checkVolumeSearchInfo(o.searchInfo); |
2471 unittest.expect(o.selfLink, unittest.equals('foo')); | 2471 unittest.expect(o.selfLink, unittest.equals('foo')); |
2472 checkVolumeUserInfo(o.userInfo); | 2472 checkVolumeUserInfo(o.userInfo); |
2473 checkVolumeVolumeInfo(o.volumeInfo); | 2473 checkVolumeVolumeInfo(o.volumeInfo); |
2474 } | 2474 } |
2475 buildCounterVolume--; | 2475 buildCounterVolume--; |
2476 } | 2476 } |
2477 | 2477 |
2478 buildUnnamed826() { | 2478 buildUnnamed408() { |
2479 var o = new core.List<api.Volume>(); | 2479 var o = new core.List<api.Volume>(); |
2480 o.add(buildVolume()); | 2480 o.add(buildVolume()); |
2481 o.add(buildVolume()); | 2481 o.add(buildVolume()); |
2482 return o; | 2482 return o; |
2483 } | 2483 } |
2484 | 2484 |
2485 checkUnnamed826(core.List<api.Volume> o) { | 2485 checkUnnamed408(core.List<api.Volume> o) { |
2486 unittest.expect(o, unittest.hasLength(2)); | 2486 unittest.expect(o, unittest.hasLength(2)); |
2487 checkVolume(o[0]); | 2487 checkVolume(o[0]); |
2488 checkVolume(o[1]); | 2488 checkVolume(o[1]); |
2489 } | 2489 } |
2490 | 2490 |
2491 core.int buildCounterVolume2 = 0; | 2491 core.int buildCounterVolume2 = 0; |
2492 buildVolume2() { | 2492 buildVolume2() { |
2493 var o = new api.Volume2(); | 2493 var o = new api.Volume2(); |
2494 buildCounterVolume2++; | 2494 buildCounterVolume2++; |
2495 if (buildCounterVolume2 < 3) { | 2495 if (buildCounterVolume2 < 3) { |
2496 o.items = buildUnnamed826(); | 2496 o.items = buildUnnamed408(); |
2497 o.kind = "foo"; | 2497 o.kind = "foo"; |
2498 o.nextPageToken = "foo"; | 2498 o.nextPageToken = "foo"; |
2499 } | 2499 } |
2500 buildCounterVolume2--; | 2500 buildCounterVolume2--; |
2501 return o; | 2501 return o; |
2502 } | 2502 } |
2503 | 2503 |
2504 checkVolume2(api.Volume2 o) { | 2504 checkVolume2(api.Volume2 o) { |
2505 buildCounterVolume2++; | 2505 buildCounterVolume2++; |
2506 if (buildCounterVolume2 < 3) { | 2506 if (buildCounterVolume2 < 3) { |
2507 checkUnnamed826(o.items); | 2507 checkUnnamed408(o.items); |
2508 unittest.expect(o.kind, unittest.equals('foo')); | 2508 unittest.expect(o.kind, unittest.equals('foo')); |
2509 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2509 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2510 } | 2510 } |
2511 buildCounterVolume2--; | 2511 buildCounterVolume2--; |
2512 } | 2512 } |
2513 | 2513 |
2514 core.int buildCounterVolumeannotationContentRanges = 0; | 2514 core.int buildCounterVolumeannotationContentRanges = 0; |
2515 buildVolumeannotationContentRanges() { | 2515 buildVolumeannotationContentRanges() { |
2516 var o = new api.VolumeannotationContentRanges(); | 2516 var o = new api.VolumeannotationContentRanges(); |
2517 buildCounterVolumeannotationContentRanges++; | 2517 buildCounterVolumeannotationContentRanges++; |
(...skipping 11 matching lines...) Expand all Loading... |
2529 buildCounterVolumeannotationContentRanges++; | 2529 buildCounterVolumeannotationContentRanges++; |
2530 if (buildCounterVolumeannotationContentRanges < 3) { | 2530 if (buildCounterVolumeannotationContentRanges < 3) { |
2531 checkBooksAnnotationsRange(o.cfiRange); | 2531 checkBooksAnnotationsRange(o.cfiRange); |
2532 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2532 unittest.expect(o.contentVersion, unittest.equals('foo')); |
2533 checkBooksAnnotationsRange(o.gbImageRange); | 2533 checkBooksAnnotationsRange(o.gbImageRange); |
2534 checkBooksAnnotationsRange(o.gbTextRange); | 2534 checkBooksAnnotationsRange(o.gbTextRange); |
2535 } | 2535 } |
2536 buildCounterVolumeannotationContentRanges--; | 2536 buildCounterVolumeannotationContentRanges--; |
2537 } | 2537 } |
2538 | 2538 |
2539 buildUnnamed827() { | 2539 buildUnnamed409() { |
2540 var o = new core.List<core.String>(); | 2540 var o = new core.List<core.String>(); |
2541 o.add("foo"); | 2541 o.add("foo"); |
2542 o.add("foo"); | 2542 o.add("foo"); |
2543 return o; | 2543 return o; |
2544 } | 2544 } |
2545 | 2545 |
2546 checkUnnamed827(core.List<core.String> o) { | 2546 checkUnnamed409(core.List<core.String> o) { |
2547 unittest.expect(o, unittest.hasLength(2)); | 2547 unittest.expect(o, unittest.hasLength(2)); |
2548 unittest.expect(o[0], unittest.equals('foo')); | 2548 unittest.expect(o[0], unittest.equals('foo')); |
2549 unittest.expect(o[1], unittest.equals('foo')); | 2549 unittest.expect(o[1], unittest.equals('foo')); |
2550 } | 2550 } |
2551 | 2551 |
2552 core.int buildCounterVolumeannotation = 0; | 2552 core.int buildCounterVolumeannotation = 0; |
2553 buildVolumeannotation() { | 2553 buildVolumeannotation() { |
2554 var o = new api.Volumeannotation(); | 2554 var o = new api.Volumeannotation(); |
2555 buildCounterVolumeannotation++; | 2555 buildCounterVolumeannotation++; |
2556 if (buildCounterVolumeannotation < 3) { | 2556 if (buildCounterVolumeannotation < 3) { |
2557 o.annotationDataId = "foo"; | 2557 o.annotationDataId = "foo"; |
2558 o.annotationDataLink = "foo"; | 2558 o.annotationDataLink = "foo"; |
2559 o.annotationType = "foo"; | 2559 o.annotationType = "foo"; |
2560 o.contentRanges = buildVolumeannotationContentRanges(); | 2560 o.contentRanges = buildVolumeannotationContentRanges(); |
2561 o.data = "foo"; | 2561 o.data = "foo"; |
2562 o.deleted = true; | 2562 o.deleted = true; |
2563 o.id = "foo"; | 2563 o.id = "foo"; |
2564 o.kind = "foo"; | 2564 o.kind = "foo"; |
2565 o.layerId = "foo"; | 2565 o.layerId = "foo"; |
2566 o.pageIds = buildUnnamed827(); | 2566 o.pageIds = buildUnnamed409(); |
2567 o.selectedText = "foo"; | 2567 o.selectedText = "foo"; |
2568 o.selfLink = "foo"; | 2568 o.selfLink = "foo"; |
2569 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 2569 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
2570 o.volumeId = "foo"; | 2570 o.volumeId = "foo"; |
2571 } | 2571 } |
2572 buildCounterVolumeannotation--; | 2572 buildCounterVolumeannotation--; |
2573 return o; | 2573 return o; |
2574 } | 2574 } |
2575 | 2575 |
2576 checkVolumeannotation(api.Volumeannotation o) { | 2576 checkVolumeannotation(api.Volumeannotation o) { |
2577 buildCounterVolumeannotation++; | 2577 buildCounterVolumeannotation++; |
2578 if (buildCounterVolumeannotation < 3) { | 2578 if (buildCounterVolumeannotation < 3) { |
2579 unittest.expect(o.annotationDataId, unittest.equals('foo')); | 2579 unittest.expect(o.annotationDataId, unittest.equals('foo')); |
2580 unittest.expect(o.annotationDataLink, unittest.equals('foo')); | 2580 unittest.expect(o.annotationDataLink, unittest.equals('foo')); |
2581 unittest.expect(o.annotationType, unittest.equals('foo')); | 2581 unittest.expect(o.annotationType, unittest.equals('foo')); |
2582 checkVolumeannotationContentRanges(o.contentRanges); | 2582 checkVolumeannotationContentRanges(o.contentRanges); |
2583 unittest.expect(o.data, unittest.equals('foo')); | 2583 unittest.expect(o.data, unittest.equals('foo')); |
2584 unittest.expect(o.deleted, unittest.isTrue); | 2584 unittest.expect(o.deleted, unittest.isTrue); |
2585 unittest.expect(o.id, unittest.equals('foo')); | 2585 unittest.expect(o.id, unittest.equals('foo')); |
2586 unittest.expect(o.kind, unittest.equals('foo')); | 2586 unittest.expect(o.kind, unittest.equals('foo')); |
2587 unittest.expect(o.layerId, unittest.equals('foo')); | 2587 unittest.expect(o.layerId, unittest.equals('foo')); |
2588 checkUnnamed827(o.pageIds); | 2588 checkUnnamed409(o.pageIds); |
2589 unittest.expect(o.selectedText, unittest.equals('foo')); | 2589 unittest.expect(o.selectedText, unittest.equals('foo')); |
2590 unittest.expect(o.selfLink, unittest.equals('foo')); | 2590 unittest.expect(o.selfLink, unittest.equals('foo')); |
2591 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2591 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
2592 unittest.expect(o.volumeId, unittest.equals('foo')); | 2592 unittest.expect(o.volumeId, unittest.equals('foo')); |
2593 } | 2593 } |
2594 buildCounterVolumeannotation--; | 2594 buildCounterVolumeannotation--; |
2595 } | 2595 } |
2596 | 2596 |
2597 buildUnnamed828() { | 2597 buildUnnamed410() { |
2598 var o = new core.List<api.Volumeannotation>(); | 2598 var o = new core.List<api.Volumeannotation>(); |
2599 o.add(buildVolumeannotation()); | 2599 o.add(buildVolumeannotation()); |
2600 o.add(buildVolumeannotation()); | 2600 o.add(buildVolumeannotation()); |
2601 return o; | 2601 return o; |
2602 } | 2602 } |
2603 | 2603 |
2604 checkUnnamed828(core.List<api.Volumeannotation> o) { | 2604 checkUnnamed410(core.List<api.Volumeannotation> o) { |
2605 unittest.expect(o, unittest.hasLength(2)); | 2605 unittest.expect(o, unittest.hasLength(2)); |
2606 checkVolumeannotation(o[0]); | 2606 checkVolumeannotation(o[0]); |
2607 checkVolumeannotation(o[1]); | 2607 checkVolumeannotation(o[1]); |
2608 } | 2608 } |
2609 | 2609 |
2610 core.int buildCounterVolumeannotations = 0; | 2610 core.int buildCounterVolumeannotations = 0; |
2611 buildVolumeannotations() { | 2611 buildVolumeannotations() { |
2612 var o = new api.Volumeannotations(); | 2612 var o = new api.Volumeannotations(); |
2613 buildCounterVolumeannotations++; | 2613 buildCounterVolumeannotations++; |
2614 if (buildCounterVolumeannotations < 3) { | 2614 if (buildCounterVolumeannotations < 3) { |
2615 o.items = buildUnnamed828(); | 2615 o.items = buildUnnamed410(); |
2616 o.kind = "foo"; | 2616 o.kind = "foo"; |
2617 o.nextPageToken = "foo"; | 2617 o.nextPageToken = "foo"; |
2618 o.totalItems = 42; | 2618 o.totalItems = 42; |
2619 o.version = "foo"; | 2619 o.version = "foo"; |
2620 } | 2620 } |
2621 buildCounterVolumeannotations--; | 2621 buildCounterVolumeannotations--; |
2622 return o; | 2622 return o; |
2623 } | 2623 } |
2624 | 2624 |
2625 checkVolumeannotations(api.Volumeannotations o) { | 2625 checkVolumeannotations(api.Volumeannotations o) { |
2626 buildCounterVolumeannotations++; | 2626 buildCounterVolumeannotations++; |
2627 if (buildCounterVolumeannotations < 3) { | 2627 if (buildCounterVolumeannotations < 3) { |
2628 checkUnnamed828(o.items); | 2628 checkUnnamed410(o.items); |
2629 unittest.expect(o.kind, unittest.equals('foo')); | 2629 unittest.expect(o.kind, unittest.equals('foo')); |
2630 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2630 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2631 unittest.expect(o.totalItems, unittest.equals(42)); | 2631 unittest.expect(o.totalItems, unittest.equals(42)); |
2632 unittest.expect(o.version, unittest.equals('foo')); | 2632 unittest.expect(o.version, unittest.equals('foo')); |
2633 } | 2633 } |
2634 buildCounterVolumeannotations--; | 2634 buildCounterVolumeannotations--; |
2635 } | 2635 } |
2636 | 2636 |
2637 buildUnnamed829() { | 2637 buildUnnamed411() { |
2638 var o = new core.List<api.Volume>(); | 2638 var o = new core.List<api.Volume>(); |
2639 o.add(buildVolume()); | 2639 o.add(buildVolume()); |
2640 o.add(buildVolume()); | 2640 o.add(buildVolume()); |
2641 return o; | 2641 return o; |
2642 } | 2642 } |
2643 | 2643 |
2644 checkUnnamed829(core.List<api.Volume> o) { | 2644 checkUnnamed411(core.List<api.Volume> o) { |
2645 unittest.expect(o, unittest.hasLength(2)); | 2645 unittest.expect(o, unittest.hasLength(2)); |
2646 checkVolume(o[0]); | 2646 checkVolume(o[0]); |
2647 checkVolume(o[1]); | 2647 checkVolume(o[1]); |
2648 } | 2648 } |
2649 | 2649 |
2650 core.int buildCounterVolumes = 0; | 2650 core.int buildCounterVolumes = 0; |
2651 buildVolumes() { | 2651 buildVolumes() { |
2652 var o = new api.Volumes(); | 2652 var o = new api.Volumes(); |
2653 buildCounterVolumes++; | 2653 buildCounterVolumes++; |
2654 if (buildCounterVolumes < 3) { | 2654 if (buildCounterVolumes < 3) { |
2655 o.items = buildUnnamed829(); | 2655 o.items = buildUnnamed411(); |
2656 o.kind = "foo"; | 2656 o.kind = "foo"; |
2657 o.totalItems = 42; | 2657 o.totalItems = 42; |
2658 } | 2658 } |
2659 buildCounterVolumes--; | 2659 buildCounterVolumes--; |
2660 return o; | 2660 return o; |
2661 } | 2661 } |
2662 | 2662 |
2663 checkVolumes(api.Volumes o) { | 2663 checkVolumes(api.Volumes o) { |
2664 buildCounterVolumes++; | 2664 buildCounterVolumes++; |
2665 if (buildCounterVolumes < 3) { | 2665 if (buildCounterVolumes < 3) { |
2666 checkUnnamed829(o.items); | 2666 checkUnnamed411(o.items); |
2667 unittest.expect(o.kind, unittest.equals('foo')); | 2667 unittest.expect(o.kind, unittest.equals('foo')); |
2668 unittest.expect(o.totalItems, unittest.equals(42)); | 2668 unittest.expect(o.totalItems, unittest.equals(42)); |
2669 } | 2669 } |
2670 buildCounterVolumes--; | 2670 buildCounterVolumes--; |
2671 } | 2671 } |
2672 | 2672 |
2673 buildUnnamed830() { | 2673 buildUnnamed412() { |
2674 var o = new core.List<core.String>(); | 2674 var o = new core.List<core.String>(); |
2675 o.add("foo"); | 2675 o.add("foo"); |
2676 o.add("foo"); | 2676 o.add("foo"); |
2677 return o; | 2677 return o; |
2678 } | 2678 } |
2679 | 2679 |
2680 checkUnnamed830(core.List<core.String> o) { | 2680 checkUnnamed412(core.List<core.String> o) { |
2681 unittest.expect(o, unittest.hasLength(2)); | 2681 unittest.expect(o, unittest.hasLength(2)); |
2682 unittest.expect(o[0], unittest.equals('foo')); | 2682 unittest.expect(o[0], unittest.equals('foo')); |
2683 unittest.expect(o[1], unittest.equals('foo')); | 2683 unittest.expect(o[1], unittest.equals('foo')); |
2684 } | 2684 } |
2685 | 2685 |
2686 buildUnnamed831() { | 2686 buildUnnamed413() { |
2687 var o = new core.List<core.String>(); | 2687 var o = new core.List<core.String>(); |
2688 o.add("foo"); | 2688 o.add("foo"); |
2689 o.add("foo"); | 2689 o.add("foo"); |
2690 return o; | 2690 return o; |
2691 } | 2691 } |
2692 | 2692 |
2693 checkUnnamed831(core.List<core.String> o) { | 2693 checkUnnamed413(core.List<core.String> o) { |
2694 unittest.expect(o, unittest.hasLength(2)); | 2694 unittest.expect(o, unittest.hasLength(2)); |
2695 unittest.expect(o[0], unittest.equals('foo')); | 2695 unittest.expect(o[0], unittest.equals('foo')); |
2696 unittest.expect(o[1], unittest.equals('foo')); | 2696 unittest.expect(o[1], unittest.equals('foo')); |
2697 } | 2697 } |
2698 | 2698 |
2699 buildUnnamed832() { | 2699 buildUnnamed414() { |
2700 var o = new core.List<core.String>(); | 2700 var o = new core.List<core.String>(); |
2701 o.add("foo"); | 2701 o.add("foo"); |
2702 o.add("foo"); | 2702 o.add("foo"); |
2703 return o; | 2703 return o; |
2704 } | 2704 } |
2705 | 2705 |
2706 checkUnnamed832(core.List<core.String> o) { | 2706 checkUnnamed414(core.List<core.String> o) { |
2707 unittest.expect(o, unittest.hasLength(2)); | 2707 unittest.expect(o, unittest.hasLength(2)); |
2708 unittest.expect(o[0], unittest.equals('foo')); | 2708 unittest.expect(o[0], unittest.equals('foo')); |
2709 unittest.expect(o[1], unittest.equals('foo')); | 2709 unittest.expect(o[1], unittest.equals('foo')); |
2710 } | 2710 } |
2711 | 2711 |
2712 buildUnnamed833() { | 2712 buildUnnamed415() { |
2713 var o = new core.List<core.String>(); | 2713 var o = new core.List<core.String>(); |
2714 o.add("foo"); | 2714 o.add("foo"); |
2715 o.add("foo"); | 2715 o.add("foo"); |
2716 return o; | 2716 return o; |
2717 } | 2717 } |
2718 | 2718 |
2719 checkUnnamed833(core.List<core.String> o) { | 2719 checkUnnamed415(core.List<core.String> o) { |
2720 unittest.expect(o, unittest.hasLength(2)); | 2720 unittest.expect(o, unittest.hasLength(2)); |
2721 unittest.expect(o[0], unittest.equals('foo')); | 2721 unittest.expect(o[0], unittest.equals('foo')); |
2722 unittest.expect(o[1], unittest.equals('foo')); | 2722 unittest.expect(o[1], unittest.equals('foo')); |
2723 } | 2723 } |
2724 | 2724 |
2725 buildUnnamed834() { | 2725 buildUnnamed416() { |
2726 var o = new core.List<core.String>(); | 2726 var o = new core.List<core.String>(); |
2727 o.add("foo"); | 2727 o.add("foo"); |
2728 o.add("foo"); | 2728 o.add("foo"); |
2729 return o; | 2729 return o; |
2730 } | 2730 } |
2731 | 2731 |
2732 checkUnnamed834(core.List<core.String> o) { | 2732 checkUnnamed416(core.List<core.String> o) { |
2733 unittest.expect(o, unittest.hasLength(2)); | 2733 unittest.expect(o, unittest.hasLength(2)); |
2734 unittest.expect(o[0], unittest.equals('foo')); | 2734 unittest.expect(o[0], unittest.equals('foo')); |
2735 unittest.expect(o[1], unittest.equals('foo')); | 2735 unittest.expect(o[1], unittest.equals('foo')); |
2736 } | 2736 } |
2737 | 2737 |
2738 buildUnnamed835() { | 2738 buildUnnamed417() { |
2739 var o = new core.List<core.String>(); | 2739 var o = new core.List<core.String>(); |
2740 o.add("foo"); | 2740 o.add("foo"); |
2741 o.add("foo"); | 2741 o.add("foo"); |
2742 return o; | 2742 return o; |
2743 } | 2743 } |
2744 | 2744 |
2745 checkUnnamed835(core.List<core.String> o) { | 2745 checkUnnamed417(core.List<core.String> o) { |
2746 unittest.expect(o, unittest.hasLength(2)); | 2746 unittest.expect(o, unittest.hasLength(2)); |
2747 unittest.expect(o[0], unittest.equals('foo')); | 2747 unittest.expect(o[0], unittest.equals('foo')); |
2748 unittest.expect(o[1], unittest.equals('foo')); | 2748 unittest.expect(o[1], unittest.equals('foo')); |
2749 } | 2749 } |
2750 | 2750 |
2751 buildUnnamed836() { | 2751 buildUnnamed418() { |
2752 var o = new core.List<core.String>(); | 2752 var o = new core.List<core.String>(); |
2753 o.add("foo"); | 2753 o.add("foo"); |
2754 o.add("foo"); | 2754 o.add("foo"); |
2755 return o; | 2755 return o; |
2756 } | 2756 } |
2757 | 2757 |
2758 checkUnnamed836(core.List<core.String> o) { | 2758 checkUnnamed418(core.List<core.String> o) { |
2759 unittest.expect(o, unittest.hasLength(2)); | 2759 unittest.expect(o, unittest.hasLength(2)); |
2760 unittest.expect(o[0], unittest.equals('foo')); | 2760 unittest.expect(o[0], unittest.equals('foo')); |
2761 unittest.expect(o[1], unittest.equals('foo')); | 2761 unittest.expect(o[1], unittest.equals('foo')); |
2762 } | 2762 } |
2763 | 2763 |
2764 buildUnnamed837() { | 2764 buildUnnamed419() { |
2765 var o = new core.List<core.String>(); | 2765 var o = new core.List<core.String>(); |
2766 o.add("foo"); | 2766 o.add("foo"); |
2767 o.add("foo"); | 2767 o.add("foo"); |
2768 return o; | 2768 return o; |
2769 } | 2769 } |
2770 | 2770 |
2771 checkUnnamed837(core.List<core.String> o) { | 2771 checkUnnamed419(core.List<core.String> o) { |
2772 unittest.expect(o, unittest.hasLength(2)); | 2772 unittest.expect(o, unittest.hasLength(2)); |
2773 unittest.expect(o[0], unittest.equals('foo')); | 2773 unittest.expect(o[0], unittest.equals('foo')); |
2774 unittest.expect(o[1], unittest.equals('foo')); | 2774 unittest.expect(o[1], unittest.equals('foo')); |
2775 } | 2775 } |
2776 | 2776 |
2777 buildUnnamed838() { | 2777 buildUnnamed420() { |
2778 var o = new core.List<core.String>(); | 2778 var o = new core.List<core.String>(); |
2779 o.add("foo"); | 2779 o.add("foo"); |
2780 o.add("foo"); | 2780 o.add("foo"); |
2781 return o; | 2781 return o; |
2782 } | 2782 } |
2783 | 2783 |
2784 checkUnnamed838(core.List<core.String> o) { | 2784 checkUnnamed420(core.List<core.String> o) { |
2785 unittest.expect(o, unittest.hasLength(2)); | 2785 unittest.expect(o, unittest.hasLength(2)); |
2786 unittest.expect(o[0], unittest.equals('foo')); | 2786 unittest.expect(o[0], unittest.equals('foo')); |
2787 unittest.expect(o[1], unittest.equals('foo')); | 2787 unittest.expect(o[1], unittest.equals('foo')); |
2788 } | 2788 } |
2789 | 2789 |
2790 buildUnnamed839() { | 2790 buildUnnamed421() { |
2791 var o = new core.List<core.String>(); | 2791 var o = new core.List<core.String>(); |
2792 o.add("foo"); | 2792 o.add("foo"); |
2793 o.add("foo"); | 2793 o.add("foo"); |
2794 return o; | 2794 return o; |
2795 } | 2795 } |
2796 | 2796 |
2797 checkUnnamed839(core.List<core.String> o) { | 2797 checkUnnamed421(core.List<core.String> o) { |
2798 unittest.expect(o, unittest.hasLength(2)); | 2798 unittest.expect(o, unittest.hasLength(2)); |
2799 unittest.expect(o[0], unittest.equals('foo')); | 2799 unittest.expect(o[0], unittest.equals('foo')); |
2800 unittest.expect(o[1], unittest.equals('foo')); | 2800 unittest.expect(o[1], unittest.equals('foo')); |
2801 } | 2801 } |
2802 | 2802 |
2803 buildUnnamed840() { | 2803 buildUnnamed422() { |
2804 var o = new core.List<core.String>(); | 2804 var o = new core.List<core.String>(); |
2805 o.add("foo"); | 2805 o.add("foo"); |
2806 o.add("foo"); | 2806 o.add("foo"); |
2807 return o; | 2807 return o; |
2808 } | 2808 } |
2809 | 2809 |
2810 checkUnnamed840(core.List<core.String> o) { | 2810 checkUnnamed422(core.List<core.String> o) { |
2811 unittest.expect(o, unittest.hasLength(2)); | 2811 unittest.expect(o, unittest.hasLength(2)); |
2812 unittest.expect(o[0], unittest.equals('foo')); | 2812 unittest.expect(o[0], unittest.equals('foo')); |
2813 unittest.expect(o[1], unittest.equals('foo')); | 2813 unittest.expect(o[1], unittest.equals('foo')); |
2814 } | 2814 } |
2815 | 2815 |
2816 | 2816 |
2817 main() { | 2817 main() { |
2818 unittest.group("obj-schema-AnnotationClientVersionRanges", () { | 2818 unittest.group("obj-schema-AnnotationClientVersionRanges", () { |
2819 unittest.test("to-json--from-json", () { | 2819 unittest.test("to-json--from-json", () { |
2820 var o = buildAnnotationClientVersionRanges(); | 2820 var o = buildAnnotationClientVersionRanges(); |
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4188 }))); | 4188 }))); |
4189 }); | 4189 }); |
4190 | 4190 |
4191 unittest.test("method--list", () { | 4191 unittest.test("method--list", () { |
4192 | 4192 |
4193 var mock = new HttpServerMock(); | 4193 var mock = new HttpServerMock(); |
4194 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; | 4194 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; |
4195 var arg_volumeId = "foo"; | 4195 var arg_volumeId = "foo"; |
4196 var arg_layerId = "foo"; | 4196 var arg_layerId = "foo"; |
4197 var arg_contentVersion = "foo"; | 4197 var arg_contentVersion = "foo"; |
4198 var arg_annotationDataId = buildUnnamed830(); | 4198 var arg_annotationDataId = buildUnnamed412(); |
4199 var arg_h = 42; | 4199 var arg_h = 42; |
4200 var arg_locale = "foo"; | 4200 var arg_locale = "foo"; |
4201 var arg_maxResults = 42; | 4201 var arg_maxResults = 42; |
4202 var arg_pageToken = "foo"; | 4202 var arg_pageToken = "foo"; |
4203 var arg_scale = 42; | 4203 var arg_scale = 42; |
4204 var arg_source = "foo"; | 4204 var arg_source = "foo"; |
4205 var arg_updatedMax = "foo"; | 4205 var arg_updatedMax = "foo"; |
4206 var arg_updatedMin = "foo"; | 4206 var arg_updatedMin = "foo"; |
4207 var arg_w = 42; | 4207 var arg_w = 42; |
4208 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4208 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4473 }), true); | 4473 }), true); |
4474 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons
e) { | 4474 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons
e) { |
4475 checkUsersettings(response); | 4475 checkUsersettings(response); |
4476 }))); | 4476 }))); |
4477 }); | 4477 }); |
4478 | 4478 |
4479 unittest.test("method--releaseDownloadAccess", () { | 4479 unittest.test("method--releaseDownloadAccess", () { |
4480 | 4480 |
4481 var mock = new HttpServerMock(); | 4481 var mock = new HttpServerMock(); |
4482 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 4482 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
4483 var arg_volumeIds = buildUnnamed831(); | 4483 var arg_volumeIds = buildUnnamed413(); |
4484 var arg_cpksver = "foo"; | 4484 var arg_cpksver = "foo"; |
4485 var arg_locale = "foo"; | 4485 var arg_locale = "foo"; |
4486 var arg_source = "foo"; | 4486 var arg_source = "foo"; |
4487 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4487 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
4488 var path = (req.url).path; | 4488 var path = (req.url).path; |
4489 var pathOffset = 0; | 4489 var pathOffset = 0; |
4490 var index; | 4490 var index; |
4491 var subPart; | 4491 var subPart; |
4492 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4492 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
4493 pathOffset += 1; | 4493 pathOffset += 1; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4586 }))); | 4586 }))); |
4587 }); | 4587 }); |
4588 | 4588 |
4589 unittest.test("method--syncVolumeLicenses", () { | 4589 unittest.test("method--syncVolumeLicenses", () { |
4590 | 4590 |
4591 var mock = new HttpServerMock(); | 4591 var mock = new HttpServerMock(); |
4592 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 4592 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
4593 var arg_source = "foo"; | 4593 var arg_source = "foo"; |
4594 var arg_nonce = "foo"; | 4594 var arg_nonce = "foo"; |
4595 var arg_cpksver = "foo"; | 4595 var arg_cpksver = "foo"; |
4596 var arg_features = buildUnnamed832(); | 4596 var arg_features = buildUnnamed414(); |
4597 var arg_locale = "foo"; | 4597 var arg_locale = "foo"; |
4598 var arg_showPreorders = true; | 4598 var arg_showPreorders = true; |
4599 var arg_volumeIds = buildUnnamed833(); | 4599 var arg_volumeIds = buildUnnamed415(); |
4600 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4600 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
4601 var path = (req.url).path; | 4601 var path = (req.url).path; |
4602 var pathOffset = 0; | 4602 var pathOffset = 0; |
4603 var index; | 4603 var index; |
4604 var subPart; | 4604 var subPart; |
4605 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4605 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
4606 pathOffset += 1; | 4606 pathOffset += 1; |
4607 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 4607 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
4608 pathOffset += 9; | 4608 pathOffset += 9; |
4609 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); | 4609 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... |
4801 checkAnnotation(response); | 4801 checkAnnotation(response); |
4802 }))); | 4802 }))); |
4803 }); | 4803 }); |
4804 | 4804 |
4805 unittest.test("method--list", () { | 4805 unittest.test("method--list", () { |
4806 | 4806 |
4807 var mock = new HttpServerMock(); | 4807 var mock = new HttpServerMock(); |
4808 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 4808 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
4809 var arg_contentVersion = "foo"; | 4809 var arg_contentVersion = "foo"; |
4810 var arg_layerId = "foo"; | 4810 var arg_layerId = "foo"; |
4811 var arg_layerIds = buildUnnamed834(); | 4811 var arg_layerIds = buildUnnamed416(); |
4812 var arg_maxResults = 42; | 4812 var arg_maxResults = 42; |
4813 var arg_pageToken = "foo"; | 4813 var arg_pageToken = "foo"; |
4814 var arg_showDeleted = true; | 4814 var arg_showDeleted = true; |
4815 var arg_source = "foo"; | 4815 var arg_source = "foo"; |
4816 var arg_updatedMax = "foo"; | 4816 var arg_updatedMax = "foo"; |
4817 var arg_updatedMin = "foo"; | 4817 var arg_updatedMin = "foo"; |
4818 var arg_volumeId = "foo"; | 4818 var arg_volumeId = "foo"; |
4819 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4819 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
4820 var path = (req.url).path; | 4820 var path = (req.url).path; |
4821 var pathOffset = 0; | 4821 var pathOffset = 0; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4864 }), true); | 4864 }), true); |
4865 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId
s: arg_layerIds, maxResults: arg_maxResults, pageToken: arg_pageToken, showDelet
ed: arg_showDeleted, source: arg_source, updatedMax: arg_updatedMax, updatedMin:
arg_updatedMin, volumeId: arg_volumeId).then(unittest.expectAsync(((api.Annotat
ions response) { | 4865 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId
s: arg_layerIds, maxResults: arg_maxResults, pageToken: arg_pageToken, showDelet
ed: arg_showDeleted, source: arg_source, updatedMax: arg_updatedMax, updatedMin:
arg_updatedMin, volumeId: arg_volumeId).then(unittest.expectAsync(((api.Annotat
ions response) { |
4866 checkAnnotations(response); | 4866 checkAnnotations(response); |
4867 }))); | 4867 }))); |
4868 }); | 4868 }); |
4869 | 4869 |
4870 unittest.test("method--summary", () { | 4870 unittest.test("method--summary", () { |
4871 | 4871 |
4872 var mock = new HttpServerMock(); | 4872 var mock = new HttpServerMock(); |
4873 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 4873 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
4874 var arg_layerIds = buildUnnamed835(); | 4874 var arg_layerIds = buildUnnamed417(); |
4875 var arg_volumeId = "foo"; | 4875 var arg_volumeId = "foo"; |
4876 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4876 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
4877 var path = (req.url).path; | 4877 var path = (req.url).path; |
4878 var pathOffset = 0; | 4878 var pathOffset = 0; |
4879 var index; | 4879 var index; |
4880 var subPart; | 4880 var subPart; |
4881 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4881 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
4882 pathOffset += 1; | 4882 pathOffset += 1; |
4883 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 4883 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
4884 pathOffset += 9; | 4884 pathOffset += 9; |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5536 }), true); | 5536 }), true); |
5537 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat
egory response) { | 5537 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat
egory response) { |
5538 checkCategory(response); | 5538 checkCategory(response); |
5539 }))); | 5539 }))); |
5540 }); | 5540 }); |
5541 | 5541 |
5542 unittest.test("method--listCategoryVolumes", () { | 5542 unittest.test("method--listCategoryVolumes", () { |
5543 | 5543 |
5544 var mock = new HttpServerMock(); | 5544 var mock = new HttpServerMock(); |
5545 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; | 5545 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; |
5546 var arg_categoryId = buildUnnamed836(); | 5546 var arg_categoryId = buildUnnamed418(); |
5547 var arg_locale = "foo"; | 5547 var arg_locale = "foo"; |
5548 var arg_maxAllowedMaturityRating = "foo"; | 5548 var arg_maxAllowedMaturityRating = "foo"; |
5549 var arg_pageSize = 42; | 5549 var arg_pageSize = 42; |
5550 var arg_pageToken = "foo"; | 5550 var arg_pageToken = "foo"; |
5551 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5551 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5552 var path = (req.url).path; | 5552 var path = (req.url).path; |
5553 var pathOffset = 0; | 5553 var pathOffset = 0; |
5554 var index; | 5554 var index; |
5555 var subPart; | 5555 var subPart; |
5556 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5556 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5971 }); | 5971 }); |
5972 | 5972 |
5973 }); | 5973 }); |
5974 | 5974 |
5975 | 5975 |
5976 unittest.group("resource-VolumesMybooksResourceApi", () { | 5976 unittest.group("resource-VolumesMybooksResourceApi", () { |
5977 unittest.test("method--list", () { | 5977 unittest.test("method--list", () { |
5978 | 5978 |
5979 var mock = new HttpServerMock(); | 5979 var mock = new HttpServerMock(); |
5980 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; | 5980 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; |
5981 var arg_acquireMethod = buildUnnamed837(); | 5981 var arg_acquireMethod = buildUnnamed419(); |
5982 var arg_locale = "foo"; | 5982 var arg_locale = "foo"; |
5983 var arg_maxResults = 42; | 5983 var arg_maxResults = 42; |
5984 var arg_processingState = buildUnnamed838(); | 5984 var arg_processingState = buildUnnamed420(); |
5985 var arg_source = "foo"; | 5985 var arg_source = "foo"; |
5986 var arg_startIndex = 42; | 5986 var arg_startIndex = 42; |
5987 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5987 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5988 var path = (req.url).path; | 5988 var path = (req.url).path; |
5989 var pathOffset = 0; | 5989 var pathOffset = 0; |
5990 var index; | 5990 var index; |
5991 var subPart; | 5991 var subPart; |
5992 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5992 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5993 pathOffset += 1; | 5993 pathOffset += 1; |
5994 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5994 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6142 }); | 6142 }); |
6143 | 6143 |
6144 | 6144 |
6145 unittest.group("resource-VolumesUseruploadedResourceApi", () { | 6145 unittest.group("resource-VolumesUseruploadedResourceApi", () { |
6146 unittest.test("method--list", () { | 6146 unittest.test("method--list", () { |
6147 | 6147 |
6148 var mock = new HttpServerMock(); | 6148 var mock = new HttpServerMock(); |
6149 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; | 6149 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; |
6150 var arg_locale = "foo"; | 6150 var arg_locale = "foo"; |
6151 var arg_maxResults = 42; | 6151 var arg_maxResults = 42; |
6152 var arg_processingState = buildUnnamed839(); | 6152 var arg_processingState = buildUnnamed421(); |
6153 var arg_source = "foo"; | 6153 var arg_source = "foo"; |
6154 var arg_startIndex = 42; | 6154 var arg_startIndex = 42; |
6155 var arg_volumeId = buildUnnamed840(); | 6155 var arg_volumeId = buildUnnamed422(); |
6156 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6156 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6157 var path = (req.url).path; | 6157 var path = (req.url).path; |
6158 var pathOffset = 0; | 6158 var pathOffset = 0; |
6159 var index; | 6159 var index; |
6160 var subPart; | 6160 var subPart; |
6161 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6161 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
6162 pathOffset += 1; | 6162 pathOffset += 1; |
6163 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 6163 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
6164 pathOffset += 9; | 6164 pathOffset += 9; |
6165 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("volumes/useruploaded")); | 6165 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... |
6198 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) { | 6198 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) { |
6199 checkVolumes(response); | 6199 checkVolumes(response); |
6200 }))); | 6200 }))); |
6201 }); | 6201 }); |
6202 | 6202 |
6203 }); | 6203 }); |
6204 | 6204 |
6205 | 6205 |
6206 } | 6206 } |
6207 | 6207 |
OLD | NEW |