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 buildUnnamed765() { | 131 buildUnnamed772() { |
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 checkUnnamed765(core.List<core.String> o) { | 138 checkUnnamed772(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 = buildUnnamed765(); | 161 o.pageIds = buildUnnamed772(); |
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 checkUnnamed765(o.pageIds); | 186 checkUnnamed772(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 buildUnnamed766() { | 230 buildUnnamed773() { |
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 checkUnnamed766(core.List<api.Annotation> o) { | 237 checkUnnamed773(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 = buildUnnamed766(); | 248 o.items = buildUnnamed773(); |
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 checkUnnamed766(o.items); | 260 checkUnnamed773(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 buildUnnamed767() { | 295 buildUnnamed774() { |
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 checkUnnamed767(core.List<api.AnnotationsSummaryLayers> o) { | 302 checkUnnamed774(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 = buildUnnamed767(); | 314 o.layers = buildUnnamed774(); |
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 checkUnnamed767(o.layers); | 324 checkUnnamed774(o.layers); |
325 } | 325 } |
326 buildCounterAnnotationsSummary--; | 326 buildCounterAnnotationsSummary--; |
327 } | 327 } |
328 | 328 |
329 buildUnnamed768() { | 329 buildUnnamed775() { |
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 checkUnnamed768(core.List<api.Annotationdata> o) { | 336 checkUnnamed775(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 = buildUnnamed768(); | 347 o.items = buildUnnamed775(); |
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 checkUnnamed768(o.items); | 359 checkUnnamed775(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 buildUnnamed769() { | 473 buildUnnamed776() { |
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 checkUnnamed769(core.List<api.Bookshelf> o) { | 480 checkUnnamed776(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 = buildUnnamed769(); | 491 o.items = buildUnnamed776(); |
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 checkUnnamed769(o.items); | 501 checkUnnamed776(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 buildUnnamed770() { | 530 buildUnnamed777() { |
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 checkUnnamed770(core.List<api.CategoryItems> o) { | 537 checkUnnamed777(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 = buildUnnamed770(); | 548 o.items = buildUnnamed777(); |
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 checkUnnamed770(o.items); | 558 checkUnnamed777(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 buildUnnamed771() { | 685 buildUnnamed778() { |
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 checkUnnamed771(core.List<api.DictlayerdataDictWordsDerivatives> o) { | 692 checkUnnamed778(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 buildUnnamed772() { | 740 buildUnnamed779() { |
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 checkUnnamed772(core.List<api.DictlayerdataDictWordsExamples> o) { | 747 checkUnnamed779(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 buildUnnamed773() { | 774 buildUnnamed780() { |
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 checkUnnamed773(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { | 781 checkUnnamed780(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 buildUnnamed774() { | 829 buildUnnamed781() { |
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 checkUnnamed774(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o
) { | 836 checkUnnamed781(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 = buildUnnamed774(); | 848 o.examples = buildUnnamed781(); |
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 checkUnnamed774(o.examples); | 858 checkUnnamed781(o.examples); |
859 } | 859 } |
860 buildCounterDictlayerdataDictWordsSensesDefinitions--; | 860 buildCounterDictlayerdataDictWordsSensesDefinitions--; |
861 } | 861 } |
862 | 862 |
863 buildUnnamed775() { | 863 buildUnnamed782() { |
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 checkUnnamed775(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { | 870 checkUnnamed782(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 buildUnnamed776() { | 939 buildUnnamed783() { |
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 checkUnnamed776(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { | 946 checkUnnamed783(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 = buildUnnamed773(); | 957 o.conjugations = buildUnnamed780(); |
958 o.definitions = buildUnnamed775(); | 958 o.definitions = buildUnnamed782(); |
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 = buildUnnamed776(); | 964 o.synonyms = buildUnnamed783(); |
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 checkUnnamed773(o.conjugations); | 973 checkUnnamed780(o.conjugations); |
974 checkUnnamed775(o.definitions); | 974 checkUnnamed782(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 checkUnnamed776(o.synonyms); | 980 checkUnnamed783(o.synonyms); |
981 } | 981 } |
982 buildCounterDictlayerdataDictWordsSenses--; | 982 buildCounterDictlayerdataDictWordsSenses--; |
983 } | 983 } |
984 | 984 |
985 buildUnnamed777() { | 985 buildUnnamed784() { |
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 checkUnnamed777(core.List<api.DictlayerdataDictWordsSenses> o) { | 992 checkUnnamed784(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 = buildUnnamed771(); | 1024 o.derivatives = buildUnnamed778(); |
1025 o.examples = buildUnnamed772(); | 1025 o.examples = buildUnnamed779(); |
1026 o.senses = buildUnnamed777(); | 1026 o.senses = buildUnnamed784(); |
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 checkUnnamed771(o.derivatives); | 1036 checkUnnamed778(o.derivatives); |
1037 checkUnnamed772(o.examples); | 1037 checkUnnamed779(o.examples); |
1038 checkUnnamed777(o.senses); | 1038 checkUnnamed784(o.senses); |
1039 checkDictlayerdataDictWordsSource(o.source); | 1039 checkDictlayerdataDictWordsSource(o.source); |
1040 } | 1040 } |
1041 buildCounterDictlayerdataDictWords--; | 1041 buildCounterDictlayerdataDictWords--; |
1042 } | 1042 } |
1043 | 1043 |
1044 buildUnnamed778() { | 1044 buildUnnamed785() { |
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 checkUnnamed778(core.List<api.DictlayerdataDictWords> o) { | 1051 checkUnnamed785(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 = buildUnnamed778(); | 1063 o.words = buildUnnamed785(); |
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 checkUnnamed778(o.words); | 1073 checkUnnamed785(o.words); |
1074 } | 1074 } |
1075 buildCounterDictlayerdataDict--; | 1075 buildCounterDictlayerdataDict--; |
1076 } | 1076 } |
1077 | 1077 |
1078 core.int buildCounterDictlayerdata = 0; | 1078 core.int buildCounterDictlayerdata = 0; |
1079 buildDictlayerdata() { | 1079 buildDictlayerdata() { |
1080 var o = new api.Dictlayerdata(); | 1080 var o = new api.Dictlayerdata(); |
1081 buildCounterDictlayerdata++; | 1081 buildCounterDictlayerdata++; |
1082 if (buildCounterDictlayerdata < 3) { | 1082 if (buildCounterDictlayerdata < 3) { |
1083 o.common = buildDictlayerdataCommon(); | 1083 o.common = buildDictlayerdataCommon(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 unittest.expect(o.fillColorArgb, unittest.equals('foo')); | 1120 unittest.expect(o.fillColorArgb, unittest.equals('foo')); |
1121 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1121 unittest.expect(o.imageUrl, unittest.equals('foo')); |
1122 unittest.expect(o.maskColorArgb, unittest.equals('foo')); | 1122 unittest.expect(o.maskColorArgb, unittest.equals('foo')); |
1123 unittest.expect(o.moreButtonText, unittest.equals('foo')); | 1123 unittest.expect(o.moreButtonText, unittest.equals('foo')); |
1124 unittest.expect(o.moreButtonUrl, unittest.equals('foo')); | 1124 unittest.expect(o.moreButtonUrl, unittest.equals('foo')); |
1125 unittest.expect(o.textColorArgb, unittest.equals('foo')); | 1125 unittest.expect(o.textColorArgb, unittest.equals('foo')); |
1126 } | 1126 } |
1127 buildCounterDiscoveryclustersClustersBannerWithContentContainer--; | 1127 buildCounterDiscoveryclustersClustersBannerWithContentContainer--; |
1128 } | 1128 } |
1129 | 1129 |
1130 buildUnnamed779() { | 1130 buildUnnamed786() { |
1131 var o = new core.List<api.Volume>(); | 1131 var o = new core.List<api.Volume>(); |
1132 o.add(buildVolume()); | 1132 o.add(buildVolume()); |
1133 o.add(buildVolume()); | 1133 o.add(buildVolume()); |
1134 return o; | 1134 return o; |
1135 } | 1135 } |
1136 | 1136 |
1137 checkUnnamed779(core.List<api.Volume> o) { | 1137 checkUnnamed786(core.List<api.Volume> o) { |
1138 unittest.expect(o, unittest.hasLength(2)); | 1138 unittest.expect(o, unittest.hasLength(2)); |
1139 checkVolume(o[0]); | 1139 checkVolume(o[0]); |
1140 checkVolume(o[1]); | 1140 checkVolume(o[1]); |
1141 } | 1141 } |
1142 | 1142 |
1143 core.int buildCounterDiscoveryclustersClusters = 0; | 1143 core.int buildCounterDiscoveryclustersClusters = 0; |
1144 buildDiscoveryclustersClusters() { | 1144 buildDiscoveryclustersClusters() { |
1145 var o = new api.DiscoveryclustersClusters(); | 1145 var o = new api.DiscoveryclustersClusters(); |
1146 buildCounterDiscoveryclustersClusters++; | 1146 buildCounterDiscoveryclustersClusters++; |
1147 if (buildCounterDiscoveryclustersClusters < 3) { | 1147 if (buildCounterDiscoveryclustersClusters < 3) { |
1148 o.bannerWithContentContainer = buildDiscoveryclustersClustersBannerWithConte
ntContainer(); | 1148 o.bannerWithContentContainer = buildDiscoveryclustersClustersBannerWithConte
ntContainer(); |
1149 o.subTitle = "foo"; | 1149 o.subTitle = "foo"; |
1150 o.title = "foo"; | 1150 o.title = "foo"; |
1151 o.totalVolumes = 42; | 1151 o.totalVolumes = 42; |
1152 o.uid = "foo"; | 1152 o.uid = "foo"; |
1153 o.volumes = buildUnnamed779(); | 1153 o.volumes = buildUnnamed786(); |
1154 } | 1154 } |
1155 buildCounterDiscoveryclustersClusters--; | 1155 buildCounterDiscoveryclustersClusters--; |
1156 return o; | 1156 return o; |
1157 } | 1157 } |
1158 | 1158 |
1159 checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) { | 1159 checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) { |
1160 buildCounterDiscoveryclustersClusters++; | 1160 buildCounterDiscoveryclustersClusters++; |
1161 if (buildCounterDiscoveryclustersClusters < 3) { | 1161 if (buildCounterDiscoveryclustersClusters < 3) { |
1162 checkDiscoveryclustersClustersBannerWithContentContainer(o.bannerWithContent
Container); | 1162 checkDiscoveryclustersClustersBannerWithContentContainer(o.bannerWithContent
Container); |
1163 unittest.expect(o.subTitle, unittest.equals('foo')); | 1163 unittest.expect(o.subTitle, unittest.equals('foo')); |
1164 unittest.expect(o.title, unittest.equals('foo')); | 1164 unittest.expect(o.title, unittest.equals('foo')); |
1165 unittest.expect(o.totalVolumes, unittest.equals(42)); | 1165 unittest.expect(o.totalVolumes, unittest.equals(42)); |
1166 unittest.expect(o.uid, unittest.equals('foo')); | 1166 unittest.expect(o.uid, unittest.equals('foo')); |
1167 checkUnnamed779(o.volumes); | 1167 checkUnnamed786(o.volumes); |
1168 } | 1168 } |
1169 buildCounterDiscoveryclustersClusters--; | 1169 buildCounterDiscoveryclustersClusters--; |
1170 } | 1170 } |
1171 | 1171 |
1172 buildUnnamed780() { | 1172 buildUnnamed787() { |
1173 var o = new core.List<api.DiscoveryclustersClusters>(); | 1173 var o = new core.List<api.DiscoveryclustersClusters>(); |
1174 o.add(buildDiscoveryclustersClusters()); | 1174 o.add(buildDiscoveryclustersClusters()); |
1175 o.add(buildDiscoveryclustersClusters()); | 1175 o.add(buildDiscoveryclustersClusters()); |
1176 return o; | 1176 return o; |
1177 } | 1177 } |
1178 | 1178 |
1179 checkUnnamed780(core.List<api.DiscoveryclustersClusters> o) { | 1179 checkUnnamed787(core.List<api.DiscoveryclustersClusters> o) { |
1180 unittest.expect(o, unittest.hasLength(2)); | 1180 unittest.expect(o, unittest.hasLength(2)); |
1181 checkDiscoveryclustersClusters(o[0]); | 1181 checkDiscoveryclustersClusters(o[0]); |
1182 checkDiscoveryclustersClusters(o[1]); | 1182 checkDiscoveryclustersClusters(o[1]); |
1183 } | 1183 } |
1184 | 1184 |
1185 core.int buildCounterDiscoveryclusters = 0; | 1185 core.int buildCounterDiscoveryclusters = 0; |
1186 buildDiscoveryclusters() { | 1186 buildDiscoveryclusters() { |
1187 var o = new api.Discoveryclusters(); | 1187 var o = new api.Discoveryclusters(); |
1188 buildCounterDiscoveryclusters++; | 1188 buildCounterDiscoveryclusters++; |
1189 if (buildCounterDiscoveryclusters < 3) { | 1189 if (buildCounterDiscoveryclusters < 3) { |
1190 o.clusters = buildUnnamed780(); | 1190 o.clusters = buildUnnamed787(); |
1191 o.kind = "foo"; | 1191 o.kind = "foo"; |
1192 o.totalClusters = 42; | 1192 o.totalClusters = 42; |
1193 } | 1193 } |
1194 buildCounterDiscoveryclusters--; | 1194 buildCounterDiscoveryclusters--; |
1195 return o; | 1195 return o; |
1196 } | 1196 } |
1197 | 1197 |
1198 checkDiscoveryclusters(api.Discoveryclusters o) { | 1198 checkDiscoveryclusters(api.Discoveryclusters o) { |
1199 buildCounterDiscoveryclusters++; | 1199 buildCounterDiscoveryclusters++; |
1200 if (buildCounterDiscoveryclusters < 3) { | 1200 if (buildCounterDiscoveryclusters < 3) { |
1201 checkUnnamed780(o.clusters); | 1201 checkUnnamed787(o.clusters); |
1202 unittest.expect(o.kind, unittest.equals('foo')); | 1202 unittest.expect(o.kind, unittest.equals('foo')); |
1203 unittest.expect(o.totalClusters, unittest.equals(42)); | 1203 unittest.expect(o.totalClusters, unittest.equals(42)); |
1204 } | 1204 } |
1205 buildCounterDiscoveryclusters--; | 1205 buildCounterDiscoveryclusters--; |
1206 } | 1206 } |
1207 | 1207 |
1208 core.int buildCounterDownloadAccessRestriction = 0; | 1208 core.int buildCounterDownloadAccessRestriction = 0; |
1209 buildDownloadAccessRestriction() { | 1209 buildDownloadAccessRestriction() { |
1210 var o = new api.DownloadAccessRestriction(); | 1210 var o = new api.DownloadAccessRestriction(); |
1211 buildCounterDownloadAccessRestriction++; | 1211 buildCounterDownloadAccessRestriction++; |
(...skipping 27 matching lines...) Expand all Loading... |
1239 unittest.expect(o.nonce, unittest.equals('foo')); | 1239 unittest.expect(o.nonce, unittest.equals('foo')); |
1240 unittest.expect(o.reasonCode, unittest.equals('foo')); | 1240 unittest.expect(o.reasonCode, unittest.equals('foo')); |
1241 unittest.expect(o.restricted, unittest.isTrue); | 1241 unittest.expect(o.restricted, unittest.isTrue); |
1242 unittest.expect(o.signature, unittest.equals('foo')); | 1242 unittest.expect(o.signature, unittest.equals('foo')); |
1243 unittest.expect(o.source, unittest.equals('foo')); | 1243 unittest.expect(o.source, unittest.equals('foo')); |
1244 unittest.expect(o.volumeId, unittest.equals('foo')); | 1244 unittest.expect(o.volumeId, unittest.equals('foo')); |
1245 } | 1245 } |
1246 buildCounterDownloadAccessRestriction--; | 1246 buildCounterDownloadAccessRestriction--; |
1247 } | 1247 } |
1248 | 1248 |
1249 buildUnnamed781() { | 1249 buildUnnamed788() { |
1250 var o = new core.List<api.DownloadAccessRestriction>(); | 1250 var o = new core.List<api.DownloadAccessRestriction>(); |
1251 o.add(buildDownloadAccessRestriction()); | 1251 o.add(buildDownloadAccessRestriction()); |
1252 o.add(buildDownloadAccessRestriction()); | 1252 o.add(buildDownloadAccessRestriction()); |
1253 return o; | 1253 return o; |
1254 } | 1254 } |
1255 | 1255 |
1256 checkUnnamed781(core.List<api.DownloadAccessRestriction> o) { | 1256 checkUnnamed788(core.List<api.DownloadAccessRestriction> o) { |
1257 unittest.expect(o, unittest.hasLength(2)); | 1257 unittest.expect(o, unittest.hasLength(2)); |
1258 checkDownloadAccessRestriction(o[0]); | 1258 checkDownloadAccessRestriction(o[0]); |
1259 checkDownloadAccessRestriction(o[1]); | 1259 checkDownloadAccessRestriction(o[1]); |
1260 } | 1260 } |
1261 | 1261 |
1262 core.int buildCounterDownloadAccesses = 0; | 1262 core.int buildCounterDownloadAccesses = 0; |
1263 buildDownloadAccesses() { | 1263 buildDownloadAccesses() { |
1264 var o = new api.DownloadAccesses(); | 1264 var o = new api.DownloadAccesses(); |
1265 buildCounterDownloadAccesses++; | 1265 buildCounterDownloadAccesses++; |
1266 if (buildCounterDownloadAccesses < 3) { | 1266 if (buildCounterDownloadAccesses < 3) { |
1267 o.downloadAccessList = buildUnnamed781(); | 1267 o.downloadAccessList = buildUnnamed788(); |
1268 o.kind = "foo"; | 1268 o.kind = "foo"; |
1269 } | 1269 } |
1270 buildCounterDownloadAccesses--; | 1270 buildCounterDownloadAccesses--; |
1271 return o; | 1271 return o; |
1272 } | 1272 } |
1273 | 1273 |
1274 checkDownloadAccesses(api.DownloadAccesses o) { | 1274 checkDownloadAccesses(api.DownloadAccesses o) { |
1275 buildCounterDownloadAccesses++; | 1275 buildCounterDownloadAccesses++; |
1276 if (buildCounterDownloadAccesses < 3) { | 1276 if (buildCounterDownloadAccesses < 3) { |
1277 checkUnnamed781(o.downloadAccessList); | 1277 checkUnnamed788(o.downloadAccessList); |
1278 unittest.expect(o.kind, unittest.equals('foo')); | 1278 unittest.expect(o.kind, unittest.equals('foo')); |
1279 } | 1279 } |
1280 buildCounterDownloadAccesses--; | 1280 buildCounterDownloadAccesses--; |
1281 } | 1281 } |
1282 | 1282 |
1283 core.int buildCounterGeolayerdataCommon = 0; | 1283 core.int buildCounterGeolayerdataCommon = 0; |
1284 buildGeolayerdataCommon() { | 1284 buildGeolayerdataCommon() { |
1285 var o = new api.GeolayerdataCommon(); | 1285 var o = new api.GeolayerdataCommon(); |
1286 buildCounterGeolayerdataCommon++; | 1286 buildCounterGeolayerdataCommon++; |
1287 if (buildCounterGeolayerdataCommon < 3) { | 1287 if (buildCounterGeolayerdataCommon < 3) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 | 1321 |
1322 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { | 1322 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { |
1323 buildCounterGeolayerdataGeoBoundary++; | 1323 buildCounterGeolayerdataGeoBoundary++; |
1324 if (buildCounterGeolayerdataGeoBoundary < 3) { | 1324 if (buildCounterGeolayerdataGeoBoundary < 3) { |
1325 unittest.expect(o.latitude, unittest.equals(42)); | 1325 unittest.expect(o.latitude, unittest.equals(42)); |
1326 unittest.expect(o.longitude, unittest.equals(42)); | 1326 unittest.expect(o.longitude, unittest.equals(42)); |
1327 } | 1327 } |
1328 buildCounterGeolayerdataGeoBoundary--; | 1328 buildCounterGeolayerdataGeoBoundary--; |
1329 } | 1329 } |
1330 | 1330 |
1331 buildUnnamed782() { | 1331 buildUnnamed789() { |
1332 var o = new core.List<api.GeolayerdataGeoBoundary>(); | 1332 var o = new core.List<api.GeolayerdataGeoBoundary>(); |
1333 o.add(buildGeolayerdataGeoBoundary()); | 1333 o.add(buildGeolayerdataGeoBoundary()); |
1334 o.add(buildGeolayerdataGeoBoundary()); | 1334 o.add(buildGeolayerdataGeoBoundary()); |
1335 return o; | 1335 return o; |
1336 } | 1336 } |
1337 | 1337 |
1338 checkUnnamed782(core.List<api.GeolayerdataGeoBoundary> o) { | 1338 checkUnnamed789(core.List<api.GeolayerdataGeoBoundary> o) { |
1339 unittest.expect(o, unittest.hasLength(2)); | 1339 unittest.expect(o, unittest.hasLength(2)); |
1340 checkGeolayerdataGeoBoundary(o[0]); | 1340 checkGeolayerdataGeoBoundary(o[0]); |
1341 checkGeolayerdataGeoBoundary(o[1]); | 1341 checkGeolayerdataGeoBoundary(o[1]); |
1342 } | 1342 } |
1343 | 1343 |
1344 buildUnnamed783() { | 1344 buildUnnamed790() { |
1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); | 1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); |
1346 o.add(buildUnnamed782()); | 1346 o.add(buildUnnamed789()); |
1347 o.add(buildUnnamed782()); | 1347 o.add(buildUnnamed789()); |
1348 return o; | 1348 return o; |
1349 } | 1349 } |
1350 | 1350 |
1351 checkUnnamed783(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { | 1351 checkUnnamed790(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { |
1352 unittest.expect(o, unittest.hasLength(2)); | 1352 unittest.expect(o, unittest.hasLength(2)); |
1353 checkUnnamed782(o[0]); | 1353 checkUnnamed789(o[0]); |
1354 checkUnnamed782(o[1]); | 1354 checkUnnamed789(o[1]); |
1355 } | 1355 } |
1356 | 1356 |
1357 core.int buildCounterGeolayerdataGeoViewportHi = 0; | 1357 core.int buildCounterGeolayerdataGeoViewportHi = 0; |
1358 buildGeolayerdataGeoViewportHi() { | 1358 buildGeolayerdataGeoViewportHi() { |
1359 var o = new api.GeolayerdataGeoViewportHi(); | 1359 var o = new api.GeolayerdataGeoViewportHi(); |
1360 buildCounterGeolayerdataGeoViewportHi++; | 1360 buildCounterGeolayerdataGeoViewportHi++; |
1361 if (buildCounterGeolayerdataGeoViewportHi < 3) { | 1361 if (buildCounterGeolayerdataGeoViewportHi < 3) { |
1362 o.latitude = 42.0; | 1362 o.latitude = 42.0; |
1363 o.longitude = 42.0; | 1363 o.longitude = 42.0; |
1364 } | 1364 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1415 checkGeolayerdataGeoViewportLo(o.lo); | 1415 checkGeolayerdataGeoViewportLo(o.lo); |
1416 } | 1416 } |
1417 buildCounterGeolayerdataGeoViewport--; | 1417 buildCounterGeolayerdataGeoViewport--; |
1418 } | 1418 } |
1419 | 1419 |
1420 core.int buildCounterGeolayerdataGeo = 0; | 1420 core.int buildCounterGeolayerdataGeo = 0; |
1421 buildGeolayerdataGeo() { | 1421 buildGeolayerdataGeo() { |
1422 var o = new api.GeolayerdataGeo(); | 1422 var o = new api.GeolayerdataGeo(); |
1423 buildCounterGeolayerdataGeo++; | 1423 buildCounterGeolayerdataGeo++; |
1424 if (buildCounterGeolayerdataGeo < 3) { | 1424 if (buildCounterGeolayerdataGeo < 3) { |
1425 o.boundary = buildUnnamed783(); | 1425 o.boundary = buildUnnamed790(); |
1426 o.cachePolicy = "foo"; | 1426 o.cachePolicy = "foo"; |
1427 o.countryCode = "foo"; | 1427 o.countryCode = "foo"; |
1428 o.latitude = 42.0; | 1428 o.latitude = 42.0; |
1429 o.longitude = 42.0; | 1429 o.longitude = 42.0; |
1430 o.mapType = "foo"; | 1430 o.mapType = "foo"; |
1431 o.viewport = buildGeolayerdataGeoViewport(); | 1431 o.viewport = buildGeolayerdataGeoViewport(); |
1432 o.zoom = 42; | 1432 o.zoom = 42; |
1433 } | 1433 } |
1434 buildCounterGeolayerdataGeo--; | 1434 buildCounterGeolayerdataGeo--; |
1435 return o; | 1435 return o; |
1436 } | 1436 } |
1437 | 1437 |
1438 checkGeolayerdataGeo(api.GeolayerdataGeo o) { | 1438 checkGeolayerdataGeo(api.GeolayerdataGeo o) { |
1439 buildCounterGeolayerdataGeo++; | 1439 buildCounterGeolayerdataGeo++; |
1440 if (buildCounterGeolayerdataGeo < 3) { | 1440 if (buildCounterGeolayerdataGeo < 3) { |
1441 checkUnnamed783(o.boundary); | 1441 checkUnnamed790(o.boundary); |
1442 unittest.expect(o.cachePolicy, unittest.equals('foo')); | 1442 unittest.expect(o.cachePolicy, unittest.equals('foo')); |
1443 unittest.expect(o.countryCode, unittest.equals('foo')); | 1443 unittest.expect(o.countryCode, unittest.equals('foo')); |
1444 unittest.expect(o.latitude, unittest.equals(42.0)); | 1444 unittest.expect(o.latitude, unittest.equals(42.0)); |
1445 unittest.expect(o.longitude, unittest.equals(42.0)); | 1445 unittest.expect(o.longitude, unittest.equals(42.0)); |
1446 unittest.expect(o.mapType, unittest.equals('foo')); | 1446 unittest.expect(o.mapType, unittest.equals('foo')); |
1447 checkGeolayerdataGeoViewport(o.viewport); | 1447 checkGeolayerdataGeoViewport(o.viewport); |
1448 unittest.expect(o.zoom, unittest.equals(42)); | 1448 unittest.expect(o.zoom, unittest.equals(42)); |
1449 } | 1449 } |
1450 buildCounterGeolayerdataGeo--; | 1450 buildCounterGeolayerdataGeo--; |
1451 } | 1451 } |
(...skipping 14 matching lines...) Expand all Loading... |
1466 checkGeolayerdata(api.Geolayerdata o) { | 1466 checkGeolayerdata(api.Geolayerdata o) { |
1467 buildCounterGeolayerdata++; | 1467 buildCounterGeolayerdata++; |
1468 if (buildCounterGeolayerdata < 3) { | 1468 if (buildCounterGeolayerdata < 3) { |
1469 checkGeolayerdataCommon(o.common); | 1469 checkGeolayerdataCommon(o.common); |
1470 checkGeolayerdataGeo(o.geo); | 1470 checkGeolayerdataGeo(o.geo); |
1471 unittest.expect(o.kind, unittest.equals('foo')); | 1471 unittest.expect(o.kind, unittest.equals('foo')); |
1472 } | 1472 } |
1473 buildCounterGeolayerdata--; | 1473 buildCounterGeolayerdata--; |
1474 } | 1474 } |
1475 | 1475 |
1476 buildUnnamed784() { | 1476 buildUnnamed791() { |
1477 var o = new core.List<api.Layersummary>(); | 1477 var o = new core.List<api.Layersummary>(); |
1478 o.add(buildLayersummary()); | 1478 o.add(buildLayersummary()); |
1479 o.add(buildLayersummary()); | 1479 o.add(buildLayersummary()); |
1480 return o; | 1480 return o; |
1481 } | 1481 } |
1482 | 1482 |
1483 checkUnnamed784(core.List<api.Layersummary> o) { | 1483 checkUnnamed791(core.List<api.Layersummary> o) { |
1484 unittest.expect(o, unittest.hasLength(2)); | 1484 unittest.expect(o, unittest.hasLength(2)); |
1485 checkLayersummary(o[0]); | 1485 checkLayersummary(o[0]); |
1486 checkLayersummary(o[1]); | 1486 checkLayersummary(o[1]); |
1487 } | 1487 } |
1488 | 1488 |
1489 core.int buildCounterLayersummaries = 0; | 1489 core.int buildCounterLayersummaries = 0; |
1490 buildLayersummaries() { | 1490 buildLayersummaries() { |
1491 var o = new api.Layersummaries(); | 1491 var o = new api.Layersummaries(); |
1492 buildCounterLayersummaries++; | 1492 buildCounterLayersummaries++; |
1493 if (buildCounterLayersummaries < 3) { | 1493 if (buildCounterLayersummaries < 3) { |
1494 o.items = buildUnnamed784(); | 1494 o.items = buildUnnamed791(); |
1495 o.kind = "foo"; | 1495 o.kind = "foo"; |
1496 o.totalItems = 42; | 1496 o.totalItems = 42; |
1497 } | 1497 } |
1498 buildCounterLayersummaries--; | 1498 buildCounterLayersummaries--; |
1499 return o; | 1499 return o; |
1500 } | 1500 } |
1501 | 1501 |
1502 checkLayersummaries(api.Layersummaries o) { | 1502 checkLayersummaries(api.Layersummaries o) { |
1503 buildCounterLayersummaries++; | 1503 buildCounterLayersummaries++; |
1504 if (buildCounterLayersummaries < 3) { | 1504 if (buildCounterLayersummaries < 3) { |
1505 checkUnnamed784(o.items); | 1505 checkUnnamed791(o.items); |
1506 unittest.expect(o.kind, unittest.equals('foo')); | 1506 unittest.expect(o.kind, unittest.equals('foo')); |
1507 unittest.expect(o.totalItems, unittest.equals(42)); | 1507 unittest.expect(o.totalItems, unittest.equals(42)); |
1508 } | 1508 } |
1509 buildCounterLayersummaries--; | 1509 buildCounterLayersummaries--; |
1510 } | 1510 } |
1511 | 1511 |
1512 buildUnnamed785() { | 1512 buildUnnamed792() { |
1513 var o = new core.List<core.String>(); | 1513 var o = new core.List<core.String>(); |
1514 o.add("foo"); | 1514 o.add("foo"); |
1515 o.add("foo"); | 1515 o.add("foo"); |
1516 return o; | 1516 return o; |
1517 } | 1517 } |
1518 | 1518 |
1519 checkUnnamed785(core.List<core.String> o) { | 1519 checkUnnamed792(core.List<core.String> o) { |
1520 unittest.expect(o, unittest.hasLength(2)); | 1520 unittest.expect(o, unittest.hasLength(2)); |
1521 unittest.expect(o[0], unittest.equals('foo')); | 1521 unittest.expect(o[0], unittest.equals('foo')); |
1522 unittest.expect(o[1], unittest.equals('foo')); | 1522 unittest.expect(o[1], unittest.equals('foo')); |
1523 } | 1523 } |
1524 | 1524 |
1525 core.int buildCounterLayersummary = 0; | 1525 core.int buildCounterLayersummary = 0; |
1526 buildLayersummary() { | 1526 buildLayersummary() { |
1527 var o = new api.Layersummary(); | 1527 var o = new api.Layersummary(); |
1528 buildCounterLayersummary++; | 1528 buildCounterLayersummary++; |
1529 if (buildCounterLayersummary < 3) { | 1529 if (buildCounterLayersummary < 3) { |
1530 o.annotationCount = 42; | 1530 o.annotationCount = 42; |
1531 o.annotationTypes = buildUnnamed785(); | 1531 o.annotationTypes = buildUnnamed792(); |
1532 o.annotationsDataLink = "foo"; | 1532 o.annotationsDataLink = "foo"; |
1533 o.annotationsLink = "foo"; | 1533 o.annotationsLink = "foo"; |
1534 o.contentVersion = "foo"; | 1534 o.contentVersion = "foo"; |
1535 o.dataCount = 42; | 1535 o.dataCount = 42; |
1536 o.id = "foo"; | 1536 o.id = "foo"; |
1537 o.kind = "foo"; | 1537 o.kind = "foo"; |
1538 o.layerId = "foo"; | 1538 o.layerId = "foo"; |
1539 o.selfLink = "foo"; | 1539 o.selfLink = "foo"; |
1540 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 1540 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
1541 o.volumeAnnotationsVersion = "foo"; | 1541 o.volumeAnnotationsVersion = "foo"; |
1542 o.volumeId = "foo"; | 1542 o.volumeId = "foo"; |
1543 } | 1543 } |
1544 buildCounterLayersummary--; | 1544 buildCounterLayersummary--; |
1545 return o; | 1545 return o; |
1546 } | 1546 } |
1547 | 1547 |
1548 checkLayersummary(api.Layersummary o) { | 1548 checkLayersummary(api.Layersummary o) { |
1549 buildCounterLayersummary++; | 1549 buildCounterLayersummary++; |
1550 if (buildCounterLayersummary < 3) { | 1550 if (buildCounterLayersummary < 3) { |
1551 unittest.expect(o.annotationCount, unittest.equals(42)); | 1551 unittest.expect(o.annotationCount, unittest.equals(42)); |
1552 checkUnnamed785(o.annotationTypes); | 1552 checkUnnamed792(o.annotationTypes); |
1553 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); | 1553 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); |
1554 unittest.expect(o.annotationsLink, unittest.equals('foo')); | 1554 unittest.expect(o.annotationsLink, unittest.equals('foo')); |
1555 unittest.expect(o.contentVersion, unittest.equals('foo')); | 1555 unittest.expect(o.contentVersion, unittest.equals('foo')); |
1556 unittest.expect(o.dataCount, unittest.equals(42)); | 1556 unittest.expect(o.dataCount, unittest.equals(42)); |
1557 unittest.expect(o.id, unittest.equals('foo')); | 1557 unittest.expect(o.id, unittest.equals('foo')); |
1558 unittest.expect(o.kind, unittest.equals('foo')); | 1558 unittest.expect(o.kind, unittest.equals('foo')); |
1559 unittest.expect(o.layerId, unittest.equals('foo')); | 1559 unittest.expect(o.layerId, unittest.equals('foo')); |
1560 unittest.expect(o.selfLink, unittest.equals('foo')); | 1560 unittest.expect(o.selfLink, unittest.equals('foo')); |
1561 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 1561 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
1562 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 1562 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
(...skipping 22 matching lines...) Expand all Loading... |
1585 if (buildCounterMetadataItems < 3) { | 1585 if (buildCounterMetadataItems < 3) { |
1586 unittest.expect(o.downloadUrl, unittest.equals('foo')); | 1586 unittest.expect(o.downloadUrl, unittest.equals('foo')); |
1587 unittest.expect(o.encryptedKey, unittest.equals('foo')); | 1587 unittest.expect(o.encryptedKey, unittest.equals('foo')); |
1588 unittest.expect(o.language, unittest.equals('foo')); | 1588 unittest.expect(o.language, unittest.equals('foo')); |
1589 unittest.expect(o.size, unittest.equals('foo')); | 1589 unittest.expect(o.size, unittest.equals('foo')); |
1590 unittest.expect(o.version, unittest.equals('foo')); | 1590 unittest.expect(o.version, unittest.equals('foo')); |
1591 } | 1591 } |
1592 buildCounterMetadataItems--; | 1592 buildCounterMetadataItems--; |
1593 } | 1593 } |
1594 | 1594 |
1595 buildUnnamed786() { | 1595 buildUnnamed793() { |
1596 var o = new core.List<api.MetadataItems>(); | 1596 var o = new core.List<api.MetadataItems>(); |
1597 o.add(buildMetadataItems()); | 1597 o.add(buildMetadataItems()); |
1598 o.add(buildMetadataItems()); | 1598 o.add(buildMetadataItems()); |
1599 return o; | 1599 return o; |
1600 } | 1600 } |
1601 | 1601 |
1602 checkUnnamed786(core.List<api.MetadataItems> o) { | 1602 checkUnnamed793(core.List<api.MetadataItems> o) { |
1603 unittest.expect(o, unittest.hasLength(2)); | 1603 unittest.expect(o, unittest.hasLength(2)); |
1604 checkMetadataItems(o[0]); | 1604 checkMetadataItems(o[0]); |
1605 checkMetadataItems(o[1]); | 1605 checkMetadataItems(o[1]); |
1606 } | 1606 } |
1607 | 1607 |
1608 core.int buildCounterMetadata = 0; | 1608 core.int buildCounterMetadata = 0; |
1609 buildMetadata() { | 1609 buildMetadata() { |
1610 var o = new api.Metadata(); | 1610 var o = new api.Metadata(); |
1611 buildCounterMetadata++; | 1611 buildCounterMetadata++; |
1612 if (buildCounterMetadata < 3) { | 1612 if (buildCounterMetadata < 3) { |
1613 o.items = buildUnnamed786(); | 1613 o.items = buildUnnamed793(); |
1614 o.kind = "foo"; | 1614 o.kind = "foo"; |
1615 } | 1615 } |
1616 buildCounterMetadata--; | 1616 buildCounterMetadata--; |
1617 return o; | 1617 return o; |
1618 } | 1618 } |
1619 | 1619 |
1620 checkMetadata(api.Metadata o) { | 1620 checkMetadata(api.Metadata o) { |
1621 buildCounterMetadata++; | 1621 buildCounterMetadata++; |
1622 if (buildCounterMetadata < 3) { | 1622 if (buildCounterMetadata < 3) { |
1623 checkUnnamed786(o.items); | 1623 checkUnnamed793(o.items); |
1624 unittest.expect(o.kind, unittest.equals('foo')); | 1624 unittest.expect(o.kind, unittest.equals('foo')); |
1625 } | 1625 } |
1626 buildCounterMetadata--; | 1626 buildCounterMetadata--; |
1627 } | 1627 } |
1628 | 1628 |
1629 buildUnnamed787() { | 1629 buildUnnamed794() { |
1630 var o = new core.List<core.String>(); | 1630 var o = new core.List<core.String>(); |
1631 o.add("foo"); | 1631 o.add("foo"); |
1632 o.add("foo"); | 1632 o.add("foo"); |
1633 return o; | 1633 return o; |
1634 } | 1634 } |
1635 | 1635 |
1636 checkUnnamed787(core.List<core.String> o) { | 1636 checkUnnamed794(core.List<core.String> o) { |
1637 unittest.expect(o, unittest.hasLength(2)); | 1637 unittest.expect(o, unittest.hasLength(2)); |
1638 unittest.expect(o[0], unittest.equals('foo')); | 1638 unittest.expect(o[0], unittest.equals('foo')); |
1639 unittest.expect(o[1], unittest.equals('foo')); | 1639 unittest.expect(o[1], unittest.equals('foo')); |
1640 } | 1640 } |
1641 | 1641 |
1642 core.int buildCounterNotification = 0; | 1642 core.int buildCounterNotification = 0; |
1643 buildNotification() { | 1643 buildNotification() { |
1644 var o = new api.Notification(); | 1644 var o = new api.Notification(); |
1645 buildCounterNotification++; | 1645 buildCounterNotification++; |
1646 if (buildCounterNotification < 3) { | 1646 if (buildCounterNotification < 3) { |
1647 o.body = "foo"; | 1647 o.body = "foo"; |
1648 o.crmExperimentIds = buildUnnamed787(); | 1648 o.crmExperimentIds = buildUnnamed794(); |
1649 o.docId = "foo"; | 1649 o.docId = "foo"; |
1650 o.docType = "foo"; | 1650 o.docType = "foo"; |
1651 o.dontShowNotification = true; | 1651 o.dontShowNotification = true; |
1652 o.iconUrl = "foo"; | 1652 o.iconUrl = "foo"; |
1653 o.kind = "foo"; | 1653 o.kind = "foo"; |
1654 o.notificationGroup = "foo"; | 1654 o.notificationGroup = "foo"; |
1655 o.notificationType = "foo"; | 1655 o.notificationType = "foo"; |
1656 o.pcampaignId = "foo"; | 1656 o.pcampaignId = "foo"; |
1657 o.reason = "foo"; | 1657 o.reason = "foo"; |
1658 o.showNotificationSettingsAction = true; | 1658 o.showNotificationSettingsAction = true; |
1659 o.targetUrl = "foo"; | 1659 o.targetUrl = "foo"; |
1660 o.title = "foo"; | 1660 o.title = "foo"; |
1661 } | 1661 } |
1662 buildCounterNotification--; | 1662 buildCounterNotification--; |
1663 return o; | 1663 return o; |
1664 } | 1664 } |
1665 | 1665 |
1666 checkNotification(api.Notification o) { | 1666 checkNotification(api.Notification o) { |
1667 buildCounterNotification++; | 1667 buildCounterNotification++; |
1668 if (buildCounterNotification < 3) { | 1668 if (buildCounterNotification < 3) { |
1669 unittest.expect(o.body, unittest.equals('foo')); | 1669 unittest.expect(o.body, unittest.equals('foo')); |
1670 checkUnnamed787(o.crmExperimentIds); | 1670 checkUnnamed794(o.crmExperimentIds); |
1671 unittest.expect(o.docId, unittest.equals('foo')); | 1671 unittest.expect(o.docId, unittest.equals('foo')); |
1672 unittest.expect(o.docType, unittest.equals('foo')); | 1672 unittest.expect(o.docType, unittest.equals('foo')); |
1673 unittest.expect(o.dontShowNotification, unittest.isTrue); | 1673 unittest.expect(o.dontShowNotification, unittest.isTrue); |
1674 unittest.expect(o.iconUrl, unittest.equals('foo')); | 1674 unittest.expect(o.iconUrl, unittest.equals('foo')); |
1675 unittest.expect(o.kind, unittest.equals('foo')); | 1675 unittest.expect(o.kind, unittest.equals('foo')); |
1676 unittest.expect(o.notificationGroup, unittest.equals('foo')); | 1676 unittest.expect(o.notificationGroup, unittest.equals('foo')); |
1677 unittest.expect(o.notificationType, unittest.equals('foo')); | 1677 unittest.expect(o.notificationType, unittest.equals('foo')); |
1678 unittest.expect(o.pcampaignId, unittest.equals('foo')); | 1678 unittest.expect(o.pcampaignId, unittest.equals('foo')); |
1679 unittest.expect(o.reason, unittest.equals('foo')); | 1679 unittest.expect(o.reason, unittest.equals('foo')); |
1680 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue); | 1680 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue); |
(...skipping 25 matching lines...) Expand all Loading... |
1706 unittest.expect(o.author, unittest.equals('foo')); | 1706 unittest.expect(o.author, unittest.equals('foo')); |
1707 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 1707 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
1708 unittest.expect(o.coverUrl, unittest.equals('foo')); | 1708 unittest.expect(o.coverUrl, unittest.equals('foo')); |
1709 unittest.expect(o.description, unittest.equals('foo')); | 1709 unittest.expect(o.description, unittest.equals('foo')); |
1710 unittest.expect(o.title, unittest.equals('foo')); | 1710 unittest.expect(o.title, unittest.equals('foo')); |
1711 unittest.expect(o.volumeId, unittest.equals('foo')); | 1711 unittest.expect(o.volumeId, unittest.equals('foo')); |
1712 } | 1712 } |
1713 buildCounterOffersItemsItems--; | 1713 buildCounterOffersItemsItems--; |
1714 } | 1714 } |
1715 | 1715 |
1716 buildUnnamed788() { | 1716 buildUnnamed795() { |
1717 var o = new core.List<api.OffersItemsItems>(); | 1717 var o = new core.List<api.OffersItemsItems>(); |
1718 o.add(buildOffersItemsItems()); | 1718 o.add(buildOffersItemsItems()); |
1719 o.add(buildOffersItemsItems()); | 1719 o.add(buildOffersItemsItems()); |
1720 return o; | 1720 return o; |
1721 } | 1721 } |
1722 | 1722 |
1723 checkUnnamed788(core.List<api.OffersItemsItems> o) { | 1723 checkUnnamed795(core.List<api.OffersItemsItems> o) { |
1724 unittest.expect(o, unittest.hasLength(2)); | 1724 unittest.expect(o, unittest.hasLength(2)); |
1725 checkOffersItemsItems(o[0]); | 1725 checkOffersItemsItems(o[0]); |
1726 checkOffersItemsItems(o[1]); | 1726 checkOffersItemsItems(o[1]); |
1727 } | 1727 } |
1728 | 1728 |
1729 core.int buildCounterOffersItems = 0; | 1729 core.int buildCounterOffersItems = 0; |
1730 buildOffersItems() { | 1730 buildOffersItems() { |
1731 var o = new api.OffersItems(); | 1731 var o = new api.OffersItems(); |
1732 buildCounterOffersItems++; | 1732 buildCounterOffersItems++; |
1733 if (buildCounterOffersItems < 3) { | 1733 if (buildCounterOffersItems < 3) { |
1734 o.artUrl = "foo"; | 1734 o.artUrl = "foo"; |
1735 o.gservicesKey = "foo"; | 1735 o.gservicesKey = "foo"; |
1736 o.id = "foo"; | 1736 o.id = "foo"; |
1737 o.items = buildUnnamed788(); | 1737 o.items = buildUnnamed795(); |
1738 } | 1738 } |
1739 buildCounterOffersItems--; | 1739 buildCounterOffersItems--; |
1740 return o; | 1740 return o; |
1741 } | 1741 } |
1742 | 1742 |
1743 checkOffersItems(api.OffersItems o) { | 1743 checkOffersItems(api.OffersItems o) { |
1744 buildCounterOffersItems++; | 1744 buildCounterOffersItems++; |
1745 if (buildCounterOffersItems < 3) { | 1745 if (buildCounterOffersItems < 3) { |
1746 unittest.expect(o.artUrl, unittest.equals('foo')); | 1746 unittest.expect(o.artUrl, unittest.equals('foo')); |
1747 unittest.expect(o.gservicesKey, unittest.equals('foo')); | 1747 unittest.expect(o.gservicesKey, unittest.equals('foo')); |
1748 unittest.expect(o.id, unittest.equals('foo')); | 1748 unittest.expect(o.id, unittest.equals('foo')); |
1749 checkUnnamed788(o.items); | 1749 checkUnnamed795(o.items); |
1750 } | 1750 } |
1751 buildCounterOffersItems--; | 1751 buildCounterOffersItems--; |
1752 } | 1752 } |
1753 | 1753 |
1754 buildUnnamed789() { | 1754 buildUnnamed796() { |
1755 var o = new core.List<api.OffersItems>(); | 1755 var o = new core.List<api.OffersItems>(); |
1756 o.add(buildOffersItems()); | 1756 o.add(buildOffersItems()); |
1757 o.add(buildOffersItems()); | 1757 o.add(buildOffersItems()); |
1758 return o; | 1758 return o; |
1759 } | 1759 } |
1760 | 1760 |
1761 checkUnnamed789(core.List<api.OffersItems> o) { | 1761 checkUnnamed796(core.List<api.OffersItems> o) { |
1762 unittest.expect(o, unittest.hasLength(2)); | 1762 unittest.expect(o, unittest.hasLength(2)); |
1763 checkOffersItems(o[0]); | 1763 checkOffersItems(o[0]); |
1764 checkOffersItems(o[1]); | 1764 checkOffersItems(o[1]); |
1765 } | 1765 } |
1766 | 1766 |
1767 core.int buildCounterOffers = 0; | 1767 core.int buildCounterOffers = 0; |
1768 buildOffers() { | 1768 buildOffers() { |
1769 var o = new api.Offers(); | 1769 var o = new api.Offers(); |
1770 buildCounterOffers++; | 1770 buildCounterOffers++; |
1771 if (buildCounterOffers < 3) { | 1771 if (buildCounterOffers < 3) { |
1772 o.items = buildUnnamed789(); | 1772 o.items = buildUnnamed796(); |
1773 o.kind = "foo"; | 1773 o.kind = "foo"; |
1774 } | 1774 } |
1775 buildCounterOffers--; | 1775 buildCounterOffers--; |
1776 return o; | 1776 return o; |
1777 } | 1777 } |
1778 | 1778 |
1779 checkOffers(api.Offers o) { | 1779 checkOffers(api.Offers o) { |
1780 buildCounterOffers++; | 1780 buildCounterOffers++; |
1781 if (buildCounterOffers < 3) { | 1781 if (buildCounterOffers < 3) { |
1782 checkUnnamed789(o.items); | 1782 checkUnnamed796(o.items); |
1783 unittest.expect(o.kind, unittest.equals('foo')); | 1783 unittest.expect(o.kind, unittest.equals('foo')); |
1784 } | 1784 } |
1785 buildCounterOffers--; | 1785 buildCounterOffers--; |
1786 } | 1786 } |
1787 | 1787 |
1788 core.int buildCounterReadingPosition = 0; | 1788 core.int buildCounterReadingPosition = 0; |
1789 buildReadingPosition() { | 1789 buildReadingPosition() { |
1790 var o = new api.ReadingPosition(); | 1790 var o = new api.ReadingPosition(); |
1791 buildCounterReadingPosition++; | 1791 buildCounterReadingPosition++; |
1792 if (buildCounterReadingPosition < 3) { | 1792 if (buildCounterReadingPosition < 3) { |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1938 if (buildCounterSeriesSeries < 3) { | 1938 if (buildCounterSeriesSeries < 3) { |
1939 unittest.expect(o.bannerImageUrl, unittest.equals('foo')); | 1939 unittest.expect(o.bannerImageUrl, unittest.equals('foo')); |
1940 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1940 unittest.expect(o.imageUrl, unittest.equals('foo')); |
1941 unittest.expect(o.seriesId, unittest.equals('foo')); | 1941 unittest.expect(o.seriesId, unittest.equals('foo')); |
1942 unittest.expect(o.seriesType, unittest.equals('foo')); | 1942 unittest.expect(o.seriesType, unittest.equals('foo')); |
1943 unittest.expect(o.title, unittest.equals('foo')); | 1943 unittest.expect(o.title, unittest.equals('foo')); |
1944 } | 1944 } |
1945 buildCounterSeriesSeries--; | 1945 buildCounterSeriesSeries--; |
1946 } | 1946 } |
1947 | 1947 |
1948 buildUnnamed790() { | 1948 buildUnnamed797() { |
1949 var o = new core.List<api.SeriesSeries>(); | 1949 var o = new core.List<api.SeriesSeries>(); |
1950 o.add(buildSeriesSeries()); | 1950 o.add(buildSeriesSeries()); |
1951 o.add(buildSeriesSeries()); | 1951 o.add(buildSeriesSeries()); |
1952 return o; | 1952 return o; |
1953 } | 1953 } |
1954 | 1954 |
1955 checkUnnamed790(core.List<api.SeriesSeries> o) { | 1955 checkUnnamed797(core.List<api.SeriesSeries> o) { |
1956 unittest.expect(o, unittest.hasLength(2)); | 1956 unittest.expect(o, unittest.hasLength(2)); |
1957 checkSeriesSeries(o[0]); | 1957 checkSeriesSeries(o[0]); |
1958 checkSeriesSeries(o[1]); | 1958 checkSeriesSeries(o[1]); |
1959 } | 1959 } |
1960 | 1960 |
1961 core.int buildCounterSeries = 0; | 1961 core.int buildCounterSeries = 0; |
1962 buildSeries() { | 1962 buildSeries() { |
1963 var o = new api.Series(); | 1963 var o = new api.Series(); |
1964 buildCounterSeries++; | 1964 buildCounterSeries++; |
1965 if (buildCounterSeries < 3) { | 1965 if (buildCounterSeries < 3) { |
1966 o.kind = "foo"; | 1966 o.kind = "foo"; |
1967 o.series = buildUnnamed790(); | 1967 o.series = buildUnnamed797(); |
1968 } | 1968 } |
1969 buildCounterSeries--; | 1969 buildCounterSeries--; |
1970 return o; | 1970 return o; |
1971 } | 1971 } |
1972 | 1972 |
1973 checkSeries(api.Series o) { | 1973 checkSeries(api.Series o) { |
1974 buildCounterSeries++; | 1974 buildCounterSeries++; |
1975 if (buildCounterSeries < 3) { | 1975 if (buildCounterSeries < 3) { |
1976 unittest.expect(o.kind, unittest.equals('foo')); | 1976 unittest.expect(o.kind, unittest.equals('foo')); |
1977 checkUnnamed790(o.series); | 1977 checkUnnamed797(o.series); |
1978 } | 1978 } |
1979 buildCounterSeries--; | 1979 buildCounterSeries--; |
1980 } | 1980 } |
1981 | 1981 |
1982 buildUnnamed791() { | 1982 buildUnnamed798() { |
1983 var o = new core.List<api.Volume>(); | 1983 var o = new core.List<api.Volume>(); |
1984 o.add(buildVolume()); | 1984 o.add(buildVolume()); |
1985 o.add(buildVolume()); | 1985 o.add(buildVolume()); |
1986 return o; | 1986 return o; |
1987 } | 1987 } |
1988 | 1988 |
1989 checkUnnamed791(core.List<api.Volume> o) { | 1989 checkUnnamed798(core.List<api.Volume> o) { |
1990 unittest.expect(o, unittest.hasLength(2)); | 1990 unittest.expect(o, unittest.hasLength(2)); |
1991 checkVolume(o[0]); | 1991 checkVolume(o[0]); |
1992 checkVolume(o[1]); | 1992 checkVolume(o[1]); |
1993 } | 1993 } |
1994 | 1994 |
1995 core.int buildCounterSeriesmembership = 0; | 1995 core.int buildCounterSeriesmembership = 0; |
1996 buildSeriesmembership() { | 1996 buildSeriesmembership() { |
1997 var o = new api.Seriesmembership(); | 1997 var o = new api.Seriesmembership(); |
1998 buildCounterSeriesmembership++; | 1998 buildCounterSeriesmembership++; |
1999 if (buildCounterSeriesmembership < 3) { | 1999 if (buildCounterSeriesmembership < 3) { |
2000 o.kind = "foo"; | 2000 o.kind = "foo"; |
2001 o.member = buildUnnamed791(); | 2001 o.member = buildUnnamed798(); |
2002 o.nextPageToken = "foo"; | 2002 o.nextPageToken = "foo"; |
2003 } | 2003 } |
2004 buildCounterSeriesmembership--; | 2004 buildCounterSeriesmembership--; |
2005 return o; | 2005 return o; |
2006 } | 2006 } |
2007 | 2007 |
2008 checkSeriesmembership(api.Seriesmembership o) { | 2008 checkSeriesmembership(api.Seriesmembership o) { |
2009 buildCounterSeriesmembership++; | 2009 buildCounterSeriesmembership++; |
2010 if (buildCounterSeriesmembership < 3) { | 2010 if (buildCounterSeriesmembership < 3) { |
2011 unittest.expect(o.kind, unittest.equals('foo')); | 2011 unittest.expect(o.kind, unittest.equals('foo')); |
2012 checkUnnamed791(o.member); | 2012 checkUnnamed798(o.member); |
2013 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2013 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2014 } | 2014 } |
2015 buildCounterSeriesmembership--; | 2015 buildCounterSeriesmembership--; |
2016 } | 2016 } |
2017 | 2017 |
2018 core.int buildCounterUsersettingsNotesExport = 0; | 2018 core.int buildCounterUsersettingsNotesExport = 0; |
2019 buildUsersettingsNotesExport() { | 2019 buildUsersettingsNotesExport() { |
2020 var o = new api.UsersettingsNotesExport(); | 2020 var o = new api.UsersettingsNotesExport(); |
2021 buildCounterUsersettingsNotesExport++; | 2021 buildCounterUsersettingsNotesExport++; |
2022 if (buildCounterUsersettingsNotesExport < 3) { | 2022 if (buildCounterUsersettingsNotesExport < 3) { |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2223 | 2223 |
2224 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { | 2224 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { |
2225 buildCounterVolumeLayerInfoLayers++; | 2225 buildCounterVolumeLayerInfoLayers++; |
2226 if (buildCounterVolumeLayerInfoLayers < 3) { | 2226 if (buildCounterVolumeLayerInfoLayers < 3) { |
2227 unittest.expect(o.layerId, unittest.equals('foo')); | 2227 unittest.expect(o.layerId, unittest.equals('foo')); |
2228 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); | 2228 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); |
2229 } | 2229 } |
2230 buildCounterVolumeLayerInfoLayers--; | 2230 buildCounterVolumeLayerInfoLayers--; |
2231 } | 2231 } |
2232 | 2232 |
2233 buildUnnamed792() { | 2233 buildUnnamed799() { |
2234 var o = new core.List<api.VolumeLayerInfoLayers>(); | 2234 var o = new core.List<api.VolumeLayerInfoLayers>(); |
2235 o.add(buildVolumeLayerInfoLayers()); | 2235 o.add(buildVolumeLayerInfoLayers()); |
2236 o.add(buildVolumeLayerInfoLayers()); | 2236 o.add(buildVolumeLayerInfoLayers()); |
2237 return o; | 2237 return o; |
2238 } | 2238 } |
2239 | 2239 |
2240 checkUnnamed792(core.List<api.VolumeLayerInfoLayers> o) { | 2240 checkUnnamed799(core.List<api.VolumeLayerInfoLayers> o) { |
2241 unittest.expect(o, unittest.hasLength(2)); | 2241 unittest.expect(o, unittest.hasLength(2)); |
2242 checkVolumeLayerInfoLayers(o[0]); | 2242 checkVolumeLayerInfoLayers(o[0]); |
2243 checkVolumeLayerInfoLayers(o[1]); | 2243 checkVolumeLayerInfoLayers(o[1]); |
2244 } | 2244 } |
2245 | 2245 |
2246 core.int buildCounterVolumeLayerInfo = 0; | 2246 core.int buildCounterVolumeLayerInfo = 0; |
2247 buildVolumeLayerInfo() { | 2247 buildVolumeLayerInfo() { |
2248 var o = new api.VolumeLayerInfo(); | 2248 var o = new api.VolumeLayerInfo(); |
2249 buildCounterVolumeLayerInfo++; | 2249 buildCounterVolumeLayerInfo++; |
2250 if (buildCounterVolumeLayerInfo < 3) { | 2250 if (buildCounterVolumeLayerInfo < 3) { |
2251 o.layers = buildUnnamed792(); | 2251 o.layers = buildUnnamed799(); |
2252 } | 2252 } |
2253 buildCounterVolumeLayerInfo--; | 2253 buildCounterVolumeLayerInfo--; |
2254 return o; | 2254 return o; |
2255 } | 2255 } |
2256 | 2256 |
2257 checkVolumeLayerInfo(api.VolumeLayerInfo o) { | 2257 checkVolumeLayerInfo(api.VolumeLayerInfo o) { |
2258 buildCounterVolumeLayerInfo++; | 2258 buildCounterVolumeLayerInfo++; |
2259 if (buildCounterVolumeLayerInfo < 3) { | 2259 if (buildCounterVolumeLayerInfo < 3) { |
2260 checkUnnamed792(o.layers); | 2260 checkUnnamed799(o.layers); |
2261 } | 2261 } |
2262 buildCounterVolumeLayerInfo--; | 2262 buildCounterVolumeLayerInfo--; |
2263 } | 2263 } |
2264 | 2264 |
2265 core.int buildCounterVolumeRecommendedInfo = 0; | 2265 core.int buildCounterVolumeRecommendedInfo = 0; |
2266 buildVolumeRecommendedInfo() { | 2266 buildVolumeRecommendedInfo() { |
2267 var o = new api.VolumeRecommendedInfo(); | 2267 var o = new api.VolumeRecommendedInfo(); |
2268 buildCounterVolumeRecommendedInfo++; | 2268 buildCounterVolumeRecommendedInfo++; |
2269 if (buildCounterVolumeRecommendedInfo < 3) { | 2269 if (buildCounterVolumeRecommendedInfo < 3) { |
2270 o.explanation = "foo"; | 2270 o.explanation = "foo"; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2385 if (buildCounterVolumeSaleInfoOffers < 3) { | 2385 if (buildCounterVolumeSaleInfoOffers < 3) { |
2386 unittest.expect(o.finskyOfferType, unittest.equals(42)); | 2386 unittest.expect(o.finskyOfferType, unittest.equals(42)); |
2387 unittest.expect(o.giftable, unittest.isTrue); | 2387 unittest.expect(o.giftable, unittest.isTrue); |
2388 checkVolumeSaleInfoOffersListPrice(o.listPrice); | 2388 checkVolumeSaleInfoOffersListPrice(o.listPrice); |
2389 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); | 2389 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); |
2390 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); | 2390 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); |
2391 } | 2391 } |
2392 buildCounterVolumeSaleInfoOffers--; | 2392 buildCounterVolumeSaleInfoOffers--; |
2393 } | 2393 } |
2394 | 2394 |
2395 buildUnnamed793() { | 2395 buildUnnamed800() { |
2396 var o = new core.List<api.VolumeSaleInfoOffers>(); | 2396 var o = new core.List<api.VolumeSaleInfoOffers>(); |
2397 o.add(buildVolumeSaleInfoOffers()); | 2397 o.add(buildVolumeSaleInfoOffers()); |
2398 o.add(buildVolumeSaleInfoOffers()); | 2398 o.add(buildVolumeSaleInfoOffers()); |
2399 return o; | 2399 return o; |
2400 } | 2400 } |
2401 | 2401 |
2402 checkUnnamed793(core.List<api.VolumeSaleInfoOffers> o) { | 2402 checkUnnamed800(core.List<api.VolumeSaleInfoOffers> o) { |
2403 unittest.expect(o, unittest.hasLength(2)); | 2403 unittest.expect(o, unittest.hasLength(2)); |
2404 checkVolumeSaleInfoOffers(o[0]); | 2404 checkVolumeSaleInfoOffers(o[0]); |
2405 checkVolumeSaleInfoOffers(o[1]); | 2405 checkVolumeSaleInfoOffers(o[1]); |
2406 } | 2406 } |
2407 | 2407 |
2408 core.int buildCounterVolumeSaleInfoRetailPrice = 0; | 2408 core.int buildCounterVolumeSaleInfoRetailPrice = 0; |
2409 buildVolumeSaleInfoRetailPrice() { | 2409 buildVolumeSaleInfoRetailPrice() { |
2410 var o = new api.VolumeSaleInfoRetailPrice(); | 2410 var o = new api.VolumeSaleInfoRetailPrice(); |
2411 buildCounterVolumeSaleInfoRetailPrice++; | 2411 buildCounterVolumeSaleInfoRetailPrice++; |
2412 if (buildCounterVolumeSaleInfoRetailPrice < 3) { | 2412 if (buildCounterVolumeSaleInfoRetailPrice < 3) { |
(...skipping 15 matching lines...) Expand all Loading... |
2428 | 2428 |
2429 core.int buildCounterVolumeSaleInfo = 0; | 2429 core.int buildCounterVolumeSaleInfo = 0; |
2430 buildVolumeSaleInfo() { | 2430 buildVolumeSaleInfo() { |
2431 var o = new api.VolumeSaleInfo(); | 2431 var o = new api.VolumeSaleInfo(); |
2432 buildCounterVolumeSaleInfo++; | 2432 buildCounterVolumeSaleInfo++; |
2433 if (buildCounterVolumeSaleInfo < 3) { | 2433 if (buildCounterVolumeSaleInfo < 3) { |
2434 o.buyLink = "foo"; | 2434 o.buyLink = "foo"; |
2435 o.country = "foo"; | 2435 o.country = "foo"; |
2436 o.isEbook = true; | 2436 o.isEbook = true; |
2437 o.listPrice = buildVolumeSaleInfoListPrice(); | 2437 o.listPrice = buildVolumeSaleInfoListPrice(); |
2438 o.offers = buildUnnamed793(); | 2438 o.offers = buildUnnamed800(); |
2439 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); | 2439 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); |
2440 o.retailPrice = buildVolumeSaleInfoRetailPrice(); | 2440 o.retailPrice = buildVolumeSaleInfoRetailPrice(); |
2441 o.saleability = "foo"; | 2441 o.saleability = "foo"; |
2442 } | 2442 } |
2443 buildCounterVolumeSaleInfo--; | 2443 buildCounterVolumeSaleInfo--; |
2444 return o; | 2444 return o; |
2445 } | 2445 } |
2446 | 2446 |
2447 checkVolumeSaleInfo(api.VolumeSaleInfo o) { | 2447 checkVolumeSaleInfo(api.VolumeSaleInfo o) { |
2448 buildCounterVolumeSaleInfo++; | 2448 buildCounterVolumeSaleInfo++; |
2449 if (buildCounterVolumeSaleInfo < 3) { | 2449 if (buildCounterVolumeSaleInfo < 3) { |
2450 unittest.expect(o.buyLink, unittest.equals('foo')); | 2450 unittest.expect(o.buyLink, unittest.equals('foo')); |
2451 unittest.expect(o.country, unittest.equals('foo')); | 2451 unittest.expect(o.country, unittest.equals('foo')); |
2452 unittest.expect(o.isEbook, unittest.isTrue); | 2452 unittest.expect(o.isEbook, unittest.isTrue); |
2453 checkVolumeSaleInfoListPrice(o.listPrice); | 2453 checkVolumeSaleInfoListPrice(o.listPrice); |
2454 checkUnnamed793(o.offers); | 2454 checkUnnamed800(o.offers); |
2455 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); | 2455 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2
7T14:01:02"))); |
2456 checkVolumeSaleInfoRetailPrice(o.retailPrice); | 2456 checkVolumeSaleInfoRetailPrice(o.retailPrice); |
2457 unittest.expect(o.saleability, unittest.equals('foo')); | 2457 unittest.expect(o.saleability, unittest.equals('foo')); |
2458 } | 2458 } |
2459 buildCounterVolumeSaleInfo--; | 2459 buildCounterVolumeSaleInfo--; |
2460 } | 2460 } |
2461 | 2461 |
2462 core.int buildCounterVolumeSearchInfo = 0; | 2462 core.int buildCounterVolumeSearchInfo = 0; |
2463 buildVolumeSearchInfo() { | 2463 buildVolumeSearchInfo() { |
2464 var o = new api.VolumeSearchInfo(); | 2464 var o = new api.VolumeSearchInfo(); |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2614 checkReadingPosition(o.readingPosition); | 2614 checkReadingPosition(o.readingPosition); |
2615 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); | 2615 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); |
2616 unittest.expect(o.rentalState, unittest.equals('foo')); | 2616 unittest.expect(o.rentalState, unittest.equals('foo')); |
2617 checkReview(o.review); | 2617 checkReview(o.review); |
2618 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2618 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
2619 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); | 2619 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); |
2620 } | 2620 } |
2621 buildCounterVolumeUserInfo--; | 2621 buildCounterVolumeUserInfo--; |
2622 } | 2622 } |
2623 | 2623 |
2624 buildUnnamed794() { | 2624 buildUnnamed801() { |
2625 var o = new core.List<core.String>(); | 2625 var o = new core.List<core.String>(); |
2626 o.add("foo"); | 2626 o.add("foo"); |
2627 o.add("foo"); | 2627 o.add("foo"); |
2628 return o; | 2628 return o; |
2629 } | 2629 } |
2630 | 2630 |
2631 checkUnnamed794(core.List<core.String> o) { | 2631 checkUnnamed801(core.List<core.String> o) { |
2632 unittest.expect(o, unittest.hasLength(2)); | 2632 unittest.expect(o, unittest.hasLength(2)); |
2633 unittest.expect(o[0], unittest.equals('foo')); | 2633 unittest.expect(o[0], unittest.equals('foo')); |
2634 unittest.expect(o[1], unittest.equals('foo')); | 2634 unittest.expect(o[1], unittest.equals('foo')); |
2635 } | 2635 } |
2636 | 2636 |
2637 buildUnnamed795() { | 2637 buildUnnamed802() { |
2638 var o = new core.List<core.String>(); | 2638 var o = new core.List<core.String>(); |
2639 o.add("foo"); | 2639 o.add("foo"); |
2640 o.add("foo"); | 2640 o.add("foo"); |
2641 return o; | 2641 return o; |
2642 } | 2642 } |
2643 | 2643 |
2644 checkUnnamed795(core.List<core.String> o) { | 2644 checkUnnamed802(core.List<core.String> o) { |
2645 unittest.expect(o, unittest.hasLength(2)); | 2645 unittest.expect(o, unittest.hasLength(2)); |
2646 unittest.expect(o[0], unittest.equals('foo')); | 2646 unittest.expect(o[0], unittest.equals('foo')); |
2647 unittest.expect(o[1], unittest.equals('foo')); | 2647 unittest.expect(o[1], unittest.equals('foo')); |
2648 } | 2648 } |
2649 | 2649 |
2650 core.int buildCounterVolumeVolumeInfoDimensions = 0; | 2650 core.int buildCounterVolumeVolumeInfoDimensions = 0; |
2651 buildVolumeVolumeInfoDimensions() { | 2651 buildVolumeVolumeInfoDimensions() { |
2652 var o = new api.VolumeVolumeInfoDimensions(); | 2652 var o = new api.VolumeVolumeInfoDimensions(); |
2653 buildCounterVolumeVolumeInfoDimensions++; | 2653 buildCounterVolumeVolumeInfoDimensions++; |
2654 if (buildCounterVolumeVolumeInfoDimensions < 3) { | 2654 if (buildCounterVolumeVolumeInfoDimensions < 3) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2713 | 2713 |
2714 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { | 2714 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
o) { |
2715 buildCounterVolumeVolumeInfoIndustryIdentifiers++; | 2715 buildCounterVolumeVolumeInfoIndustryIdentifiers++; |
2716 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { | 2716 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { |
2717 unittest.expect(o.identifier, unittest.equals('foo')); | 2717 unittest.expect(o.identifier, unittest.equals('foo')); |
2718 unittest.expect(o.type, unittest.equals('foo')); | 2718 unittest.expect(o.type, unittest.equals('foo')); |
2719 } | 2719 } |
2720 buildCounterVolumeVolumeInfoIndustryIdentifiers--; | 2720 buildCounterVolumeVolumeInfoIndustryIdentifiers--; |
2721 } | 2721 } |
2722 | 2722 |
2723 buildUnnamed796() { | 2723 buildUnnamed803() { |
2724 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); | 2724 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); |
2725 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2725 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
2726 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); | 2726 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); |
2727 return o; | 2727 return o; |
2728 } | 2728 } |
2729 | 2729 |
2730 checkUnnamed796(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { | 2730 checkUnnamed803(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { |
2731 unittest.expect(o, unittest.hasLength(2)); | 2731 unittest.expect(o, unittest.hasLength(2)); |
2732 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); | 2732 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); |
2733 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); | 2733 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); |
2734 } | 2734 } |
2735 | 2735 |
2736 core.int buildCounterVolumeVolumeInfoPanelizationSummary = 0; | 2736 core.int buildCounterVolumeVolumeInfoPanelizationSummary = 0; |
2737 buildVolumeVolumeInfoPanelizationSummary() { | 2737 buildVolumeVolumeInfoPanelizationSummary() { |
2738 var o = new api.VolumeVolumeInfoPanelizationSummary(); | 2738 var o = new api.VolumeVolumeInfoPanelizationSummary(); |
2739 buildCounterVolumeVolumeInfoPanelizationSummary++; | 2739 buildCounterVolumeVolumeInfoPanelizationSummary++; |
2740 if (buildCounterVolumeVolumeInfoPanelizationSummary < 3) { | 2740 if (buildCounterVolumeVolumeInfoPanelizationSummary < 3) { |
(...skipping 16 matching lines...) Expand all Loading... |
2757 } | 2757 } |
2758 buildCounterVolumeVolumeInfoPanelizationSummary--; | 2758 buildCounterVolumeVolumeInfoPanelizationSummary--; |
2759 } | 2759 } |
2760 | 2760 |
2761 core.int buildCounterVolumeVolumeInfo = 0; | 2761 core.int buildCounterVolumeVolumeInfo = 0; |
2762 buildVolumeVolumeInfo() { | 2762 buildVolumeVolumeInfo() { |
2763 var o = new api.VolumeVolumeInfo(); | 2763 var o = new api.VolumeVolumeInfo(); |
2764 buildCounterVolumeVolumeInfo++; | 2764 buildCounterVolumeVolumeInfo++; |
2765 if (buildCounterVolumeVolumeInfo < 3) { | 2765 if (buildCounterVolumeVolumeInfo < 3) { |
2766 o.allowAnonLogging = true; | 2766 o.allowAnonLogging = true; |
2767 o.authors = buildUnnamed794(); | 2767 o.authors = buildUnnamed801(); |
2768 o.averageRating = 42.0; | 2768 o.averageRating = 42.0; |
2769 o.canonicalVolumeLink = "foo"; | 2769 o.canonicalVolumeLink = "foo"; |
2770 o.categories = buildUnnamed795(); | 2770 o.categories = buildUnnamed802(); |
2771 o.contentVersion = "foo"; | 2771 o.contentVersion = "foo"; |
2772 o.description = "foo"; | 2772 o.description = "foo"; |
2773 o.dimensions = buildVolumeVolumeInfoDimensions(); | 2773 o.dimensions = buildVolumeVolumeInfoDimensions(); |
2774 o.imageLinks = buildVolumeVolumeInfoImageLinks(); | 2774 o.imageLinks = buildVolumeVolumeInfoImageLinks(); |
2775 o.industryIdentifiers = buildUnnamed796(); | 2775 o.industryIdentifiers = buildUnnamed803(); |
2776 o.infoLink = "foo"; | 2776 o.infoLink = "foo"; |
2777 o.language = "foo"; | 2777 o.language = "foo"; |
2778 o.mainCategory = "foo"; | 2778 o.mainCategory = "foo"; |
2779 o.maturityRating = "foo"; | 2779 o.maturityRating = "foo"; |
2780 o.pageCount = 42; | 2780 o.pageCount = 42; |
2781 o.panelizationSummary = buildVolumeVolumeInfoPanelizationSummary(); | 2781 o.panelizationSummary = buildVolumeVolumeInfoPanelizationSummary(); |
2782 o.previewLink = "foo"; | 2782 o.previewLink = "foo"; |
2783 o.printType = "foo"; | 2783 o.printType = "foo"; |
2784 o.printedPageCount = 42; | 2784 o.printedPageCount = 42; |
2785 o.publishedDate = "foo"; | 2785 o.publishedDate = "foo"; |
2786 o.publisher = "foo"; | 2786 o.publisher = "foo"; |
2787 o.ratingsCount = 42; | 2787 o.ratingsCount = 42; |
2788 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2788 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
2789 o.samplePageCount = 42; | 2789 o.samplePageCount = 42; |
2790 o.seriesInfo = buildVolumeseriesinfo(); | 2790 o.seriesInfo = buildVolumeseriesinfo(); |
2791 o.subtitle = "foo"; | 2791 o.subtitle = "foo"; |
2792 o.title = "foo"; | 2792 o.title = "foo"; |
2793 } | 2793 } |
2794 buildCounterVolumeVolumeInfo--; | 2794 buildCounterVolumeVolumeInfo--; |
2795 return o; | 2795 return o; |
2796 } | 2796 } |
2797 | 2797 |
2798 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { | 2798 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { |
2799 buildCounterVolumeVolumeInfo++; | 2799 buildCounterVolumeVolumeInfo++; |
2800 if (buildCounterVolumeVolumeInfo < 3) { | 2800 if (buildCounterVolumeVolumeInfo < 3) { |
2801 unittest.expect(o.allowAnonLogging, unittest.isTrue); | 2801 unittest.expect(o.allowAnonLogging, unittest.isTrue); |
2802 checkUnnamed794(o.authors); | 2802 checkUnnamed801(o.authors); |
2803 unittest.expect(o.averageRating, unittest.equals(42.0)); | 2803 unittest.expect(o.averageRating, unittest.equals(42.0)); |
2804 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); | 2804 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); |
2805 checkUnnamed795(o.categories); | 2805 checkUnnamed802(o.categories); |
2806 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2806 unittest.expect(o.contentVersion, unittest.equals('foo')); |
2807 unittest.expect(o.description, unittest.equals('foo')); | 2807 unittest.expect(o.description, unittest.equals('foo')); |
2808 checkVolumeVolumeInfoDimensions(o.dimensions); | 2808 checkVolumeVolumeInfoDimensions(o.dimensions); |
2809 checkVolumeVolumeInfoImageLinks(o.imageLinks); | 2809 checkVolumeVolumeInfoImageLinks(o.imageLinks); |
2810 checkUnnamed796(o.industryIdentifiers); | 2810 checkUnnamed803(o.industryIdentifiers); |
2811 unittest.expect(o.infoLink, unittest.equals('foo')); | 2811 unittest.expect(o.infoLink, unittest.equals('foo')); |
2812 unittest.expect(o.language, unittest.equals('foo')); | 2812 unittest.expect(o.language, unittest.equals('foo')); |
2813 unittest.expect(o.mainCategory, unittest.equals('foo')); | 2813 unittest.expect(o.mainCategory, unittest.equals('foo')); |
2814 unittest.expect(o.maturityRating, unittest.equals('foo')); | 2814 unittest.expect(o.maturityRating, unittest.equals('foo')); |
2815 unittest.expect(o.pageCount, unittest.equals(42)); | 2815 unittest.expect(o.pageCount, unittest.equals(42)); |
2816 checkVolumeVolumeInfoPanelizationSummary(o.panelizationSummary); | 2816 checkVolumeVolumeInfoPanelizationSummary(o.panelizationSummary); |
2817 unittest.expect(o.previewLink, unittest.equals('foo')); | 2817 unittest.expect(o.previewLink, unittest.equals('foo')); |
2818 unittest.expect(o.printType, unittest.equals('foo')); | 2818 unittest.expect(o.printType, unittest.equals('foo')); |
2819 unittest.expect(o.printedPageCount, unittest.equals(42)); | 2819 unittest.expect(o.printedPageCount, unittest.equals(42)); |
2820 unittest.expect(o.publishedDate, unittest.equals('foo')); | 2820 unittest.expect(o.publishedDate, unittest.equals('foo')); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2861 checkVolumeRecommendedInfo(o.recommendedInfo); | 2861 checkVolumeRecommendedInfo(o.recommendedInfo); |
2862 checkVolumeSaleInfo(o.saleInfo); | 2862 checkVolumeSaleInfo(o.saleInfo); |
2863 checkVolumeSearchInfo(o.searchInfo); | 2863 checkVolumeSearchInfo(o.searchInfo); |
2864 unittest.expect(o.selfLink, unittest.equals('foo')); | 2864 unittest.expect(o.selfLink, unittest.equals('foo')); |
2865 checkVolumeUserInfo(o.userInfo); | 2865 checkVolumeUserInfo(o.userInfo); |
2866 checkVolumeVolumeInfo(o.volumeInfo); | 2866 checkVolumeVolumeInfo(o.volumeInfo); |
2867 } | 2867 } |
2868 buildCounterVolume--; | 2868 buildCounterVolume--; |
2869 } | 2869 } |
2870 | 2870 |
2871 buildUnnamed797() { | 2871 buildUnnamed804() { |
2872 var o = new core.List<api.Volume>(); | 2872 var o = new core.List<api.Volume>(); |
2873 o.add(buildVolume()); | 2873 o.add(buildVolume()); |
2874 o.add(buildVolume()); | 2874 o.add(buildVolume()); |
2875 return o; | 2875 return o; |
2876 } | 2876 } |
2877 | 2877 |
2878 checkUnnamed797(core.List<api.Volume> o) { | 2878 checkUnnamed804(core.List<api.Volume> o) { |
2879 unittest.expect(o, unittest.hasLength(2)); | 2879 unittest.expect(o, unittest.hasLength(2)); |
2880 checkVolume(o[0]); | 2880 checkVolume(o[0]); |
2881 checkVolume(o[1]); | 2881 checkVolume(o[1]); |
2882 } | 2882 } |
2883 | 2883 |
2884 core.int buildCounterVolume2 = 0; | 2884 core.int buildCounterVolume2 = 0; |
2885 buildVolume2() { | 2885 buildVolume2() { |
2886 var o = new api.Volume2(); | 2886 var o = new api.Volume2(); |
2887 buildCounterVolume2++; | 2887 buildCounterVolume2++; |
2888 if (buildCounterVolume2 < 3) { | 2888 if (buildCounterVolume2 < 3) { |
2889 o.items = buildUnnamed797(); | 2889 o.items = buildUnnamed804(); |
2890 o.kind = "foo"; | 2890 o.kind = "foo"; |
2891 o.nextPageToken = "foo"; | 2891 o.nextPageToken = "foo"; |
2892 } | 2892 } |
2893 buildCounterVolume2--; | 2893 buildCounterVolume2--; |
2894 return o; | 2894 return o; |
2895 } | 2895 } |
2896 | 2896 |
2897 checkVolume2(api.Volume2 o) { | 2897 checkVolume2(api.Volume2 o) { |
2898 buildCounterVolume2++; | 2898 buildCounterVolume2++; |
2899 if (buildCounterVolume2 < 3) { | 2899 if (buildCounterVolume2 < 3) { |
2900 checkUnnamed797(o.items); | 2900 checkUnnamed804(o.items); |
2901 unittest.expect(o.kind, unittest.equals('foo')); | 2901 unittest.expect(o.kind, unittest.equals('foo')); |
2902 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2902 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
2903 } | 2903 } |
2904 buildCounterVolume2--; | 2904 buildCounterVolume2--; |
2905 } | 2905 } |
2906 | 2906 |
2907 core.int buildCounterVolumeannotationContentRanges = 0; | 2907 core.int buildCounterVolumeannotationContentRanges = 0; |
2908 buildVolumeannotationContentRanges() { | 2908 buildVolumeannotationContentRanges() { |
2909 var o = new api.VolumeannotationContentRanges(); | 2909 var o = new api.VolumeannotationContentRanges(); |
2910 buildCounterVolumeannotationContentRanges++; | 2910 buildCounterVolumeannotationContentRanges++; |
(...skipping 11 matching lines...) Expand all Loading... |
2922 buildCounterVolumeannotationContentRanges++; | 2922 buildCounterVolumeannotationContentRanges++; |
2923 if (buildCounterVolumeannotationContentRanges < 3) { | 2923 if (buildCounterVolumeannotationContentRanges < 3) { |
2924 checkBooksAnnotationsRange(o.cfiRange); | 2924 checkBooksAnnotationsRange(o.cfiRange); |
2925 unittest.expect(o.contentVersion, unittest.equals('foo')); | 2925 unittest.expect(o.contentVersion, unittest.equals('foo')); |
2926 checkBooksAnnotationsRange(o.gbImageRange); | 2926 checkBooksAnnotationsRange(o.gbImageRange); |
2927 checkBooksAnnotationsRange(o.gbTextRange); | 2927 checkBooksAnnotationsRange(o.gbTextRange); |
2928 } | 2928 } |
2929 buildCounterVolumeannotationContentRanges--; | 2929 buildCounterVolumeannotationContentRanges--; |
2930 } | 2930 } |
2931 | 2931 |
2932 buildUnnamed798() { | 2932 buildUnnamed805() { |
2933 var o = new core.List<core.String>(); | 2933 var o = new core.List<core.String>(); |
2934 o.add("foo"); | 2934 o.add("foo"); |
2935 o.add("foo"); | 2935 o.add("foo"); |
2936 return o; | 2936 return o; |
2937 } | 2937 } |
2938 | 2938 |
2939 checkUnnamed798(core.List<core.String> o) { | 2939 checkUnnamed805(core.List<core.String> o) { |
2940 unittest.expect(o, unittest.hasLength(2)); | 2940 unittest.expect(o, unittest.hasLength(2)); |
2941 unittest.expect(o[0], unittest.equals('foo')); | 2941 unittest.expect(o[0], unittest.equals('foo')); |
2942 unittest.expect(o[1], unittest.equals('foo')); | 2942 unittest.expect(o[1], unittest.equals('foo')); |
2943 } | 2943 } |
2944 | 2944 |
2945 core.int buildCounterVolumeannotation = 0; | 2945 core.int buildCounterVolumeannotation = 0; |
2946 buildVolumeannotation() { | 2946 buildVolumeannotation() { |
2947 var o = new api.Volumeannotation(); | 2947 var o = new api.Volumeannotation(); |
2948 buildCounterVolumeannotation++; | 2948 buildCounterVolumeannotation++; |
2949 if (buildCounterVolumeannotation < 3) { | 2949 if (buildCounterVolumeannotation < 3) { |
2950 o.annotationDataId = "foo"; | 2950 o.annotationDataId = "foo"; |
2951 o.annotationDataLink = "foo"; | 2951 o.annotationDataLink = "foo"; |
2952 o.annotationType = "foo"; | 2952 o.annotationType = "foo"; |
2953 o.contentRanges = buildVolumeannotationContentRanges(); | 2953 o.contentRanges = buildVolumeannotationContentRanges(); |
2954 o.data = "foo"; | 2954 o.data = "foo"; |
2955 o.deleted = true; | 2955 o.deleted = true; |
2956 o.id = "foo"; | 2956 o.id = "foo"; |
2957 o.kind = "foo"; | 2957 o.kind = "foo"; |
2958 o.layerId = "foo"; | 2958 o.layerId = "foo"; |
2959 o.pageIds = buildUnnamed798(); | 2959 o.pageIds = buildUnnamed805(); |
2960 o.selectedText = "foo"; | 2960 o.selectedText = "foo"; |
2961 o.selfLink = "foo"; | 2961 o.selfLink = "foo"; |
2962 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); | 2962 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); |
2963 o.volumeId = "foo"; | 2963 o.volumeId = "foo"; |
2964 } | 2964 } |
2965 buildCounterVolumeannotation--; | 2965 buildCounterVolumeannotation--; |
2966 return o; | 2966 return o; |
2967 } | 2967 } |
2968 | 2968 |
2969 checkVolumeannotation(api.Volumeannotation o) { | 2969 checkVolumeannotation(api.Volumeannotation o) { |
2970 buildCounterVolumeannotation++; | 2970 buildCounterVolumeannotation++; |
2971 if (buildCounterVolumeannotation < 3) { | 2971 if (buildCounterVolumeannotation < 3) { |
2972 unittest.expect(o.annotationDataId, unittest.equals('foo')); | 2972 unittest.expect(o.annotationDataId, unittest.equals('foo')); |
2973 unittest.expect(o.annotationDataLink, unittest.equals('foo')); | 2973 unittest.expect(o.annotationDataLink, unittest.equals('foo')); |
2974 unittest.expect(o.annotationType, unittest.equals('foo')); | 2974 unittest.expect(o.annotationType, unittest.equals('foo')); |
2975 checkVolumeannotationContentRanges(o.contentRanges); | 2975 checkVolumeannotationContentRanges(o.contentRanges); |
2976 unittest.expect(o.data, unittest.equals('foo')); | 2976 unittest.expect(o.data, unittest.equals('foo')); |
2977 unittest.expect(o.deleted, unittest.isTrue); | 2977 unittest.expect(o.deleted, unittest.isTrue); |
2978 unittest.expect(o.id, unittest.equals('foo')); | 2978 unittest.expect(o.id, unittest.equals('foo')); |
2979 unittest.expect(o.kind, unittest.equals('foo')); | 2979 unittest.expect(o.kind, unittest.equals('foo')); |
2980 unittest.expect(o.layerId, unittest.equals('foo')); | 2980 unittest.expect(o.layerId, unittest.equals('foo')); |
2981 checkUnnamed798(o.pageIds); | 2981 checkUnnamed805(o.pageIds); |
2982 unittest.expect(o.selectedText, unittest.equals('foo')); | 2982 unittest.expect(o.selectedText, unittest.equals('foo')); |
2983 unittest.expect(o.selfLink, unittest.equals('foo')); | 2983 unittest.expect(o.selfLink, unittest.equals('foo')); |
2984 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); | 2984 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1
4:01:02"))); |
2985 unittest.expect(o.volumeId, unittest.equals('foo')); | 2985 unittest.expect(o.volumeId, unittest.equals('foo')); |
2986 } | 2986 } |
2987 buildCounterVolumeannotation--; | 2987 buildCounterVolumeannotation--; |
2988 } | 2988 } |
2989 | 2989 |
2990 buildUnnamed799() { | 2990 buildUnnamed806() { |
2991 var o = new core.List<api.Volumeannotation>(); | 2991 var o = new core.List<api.Volumeannotation>(); |
2992 o.add(buildVolumeannotation()); | 2992 o.add(buildVolumeannotation()); |
2993 o.add(buildVolumeannotation()); | 2993 o.add(buildVolumeannotation()); |
2994 return o; | 2994 return o; |
2995 } | 2995 } |
2996 | 2996 |
2997 checkUnnamed799(core.List<api.Volumeannotation> o) { | 2997 checkUnnamed806(core.List<api.Volumeannotation> o) { |
2998 unittest.expect(o, unittest.hasLength(2)); | 2998 unittest.expect(o, unittest.hasLength(2)); |
2999 checkVolumeannotation(o[0]); | 2999 checkVolumeannotation(o[0]); |
3000 checkVolumeannotation(o[1]); | 3000 checkVolumeannotation(o[1]); |
3001 } | 3001 } |
3002 | 3002 |
3003 core.int buildCounterVolumeannotations = 0; | 3003 core.int buildCounterVolumeannotations = 0; |
3004 buildVolumeannotations() { | 3004 buildVolumeannotations() { |
3005 var o = new api.Volumeannotations(); | 3005 var o = new api.Volumeannotations(); |
3006 buildCounterVolumeannotations++; | 3006 buildCounterVolumeannotations++; |
3007 if (buildCounterVolumeannotations < 3) { | 3007 if (buildCounterVolumeannotations < 3) { |
3008 o.items = buildUnnamed799(); | 3008 o.items = buildUnnamed806(); |
3009 o.kind = "foo"; | 3009 o.kind = "foo"; |
3010 o.nextPageToken = "foo"; | 3010 o.nextPageToken = "foo"; |
3011 o.totalItems = 42; | 3011 o.totalItems = 42; |
3012 o.version = "foo"; | 3012 o.version = "foo"; |
3013 } | 3013 } |
3014 buildCounterVolumeannotations--; | 3014 buildCounterVolumeannotations--; |
3015 return o; | 3015 return o; |
3016 } | 3016 } |
3017 | 3017 |
3018 checkVolumeannotations(api.Volumeannotations o) { | 3018 checkVolumeannotations(api.Volumeannotations o) { |
3019 buildCounterVolumeannotations++; | 3019 buildCounterVolumeannotations++; |
3020 if (buildCounterVolumeannotations < 3) { | 3020 if (buildCounterVolumeannotations < 3) { |
3021 checkUnnamed799(o.items); | 3021 checkUnnamed806(o.items); |
3022 unittest.expect(o.kind, unittest.equals('foo')); | 3022 unittest.expect(o.kind, unittest.equals('foo')); |
3023 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 3023 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
3024 unittest.expect(o.totalItems, unittest.equals(42)); | 3024 unittest.expect(o.totalItems, unittest.equals(42)); |
3025 unittest.expect(o.version, unittest.equals('foo')); | 3025 unittest.expect(o.version, unittest.equals('foo')); |
3026 } | 3026 } |
3027 buildCounterVolumeannotations--; | 3027 buildCounterVolumeannotations--; |
3028 } | 3028 } |
3029 | 3029 |
3030 buildUnnamed800() { | 3030 buildUnnamed807() { |
3031 var o = new core.List<api.Volume>(); | 3031 var o = new core.List<api.Volume>(); |
3032 o.add(buildVolume()); | 3032 o.add(buildVolume()); |
3033 o.add(buildVolume()); | 3033 o.add(buildVolume()); |
3034 return o; | 3034 return o; |
3035 } | 3035 } |
3036 | 3036 |
3037 checkUnnamed800(core.List<api.Volume> o) { | 3037 checkUnnamed807(core.List<api.Volume> o) { |
3038 unittest.expect(o, unittest.hasLength(2)); | 3038 unittest.expect(o, unittest.hasLength(2)); |
3039 checkVolume(o[0]); | 3039 checkVolume(o[0]); |
3040 checkVolume(o[1]); | 3040 checkVolume(o[1]); |
3041 } | 3041 } |
3042 | 3042 |
3043 core.int buildCounterVolumes = 0; | 3043 core.int buildCounterVolumes = 0; |
3044 buildVolumes() { | 3044 buildVolumes() { |
3045 var o = new api.Volumes(); | 3045 var o = new api.Volumes(); |
3046 buildCounterVolumes++; | 3046 buildCounterVolumes++; |
3047 if (buildCounterVolumes < 3) { | 3047 if (buildCounterVolumes < 3) { |
3048 o.items = buildUnnamed800(); | 3048 o.items = buildUnnamed807(); |
3049 o.kind = "foo"; | 3049 o.kind = "foo"; |
3050 o.totalItems = 42; | 3050 o.totalItems = 42; |
3051 } | 3051 } |
3052 buildCounterVolumes--; | 3052 buildCounterVolumes--; |
3053 return o; | 3053 return o; |
3054 } | 3054 } |
3055 | 3055 |
3056 checkVolumes(api.Volumes o) { | 3056 checkVolumes(api.Volumes o) { |
3057 buildCounterVolumes++; | 3057 buildCounterVolumes++; |
3058 if (buildCounterVolumes < 3) { | 3058 if (buildCounterVolumes < 3) { |
3059 checkUnnamed800(o.items); | 3059 checkUnnamed807(o.items); |
3060 unittest.expect(o.kind, unittest.equals('foo')); | 3060 unittest.expect(o.kind, unittest.equals('foo')); |
3061 unittest.expect(o.totalItems, unittest.equals(42)); | 3061 unittest.expect(o.totalItems, unittest.equals(42)); |
3062 } | 3062 } |
3063 buildCounterVolumes--; | 3063 buildCounterVolumes--; |
3064 } | 3064 } |
3065 | 3065 |
3066 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0; | 3066 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0; |
3067 buildVolumeseriesinfoVolumeSeriesIssue() { | 3067 buildVolumeseriesinfoVolumeSeriesIssue() { |
3068 var o = new api.VolumeseriesinfoVolumeSeriesIssue(); | 3068 var o = new api.VolumeseriesinfoVolumeSeriesIssue(); |
3069 buildCounterVolumeseriesinfoVolumeSeriesIssue++; | 3069 buildCounterVolumeseriesinfoVolumeSeriesIssue++; |
3070 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { | 3070 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { |
3071 o.issueDisplayNumber = "foo"; | 3071 o.issueDisplayNumber = "foo"; |
3072 o.issueOrderNumber = 42; | 3072 o.issueOrderNumber = 42; |
3073 } | 3073 } |
3074 buildCounterVolumeseriesinfoVolumeSeriesIssue--; | 3074 buildCounterVolumeseriesinfoVolumeSeriesIssue--; |
3075 return o; | 3075 return o; |
3076 } | 3076 } |
3077 | 3077 |
3078 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o)
{ | 3078 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o)
{ |
3079 buildCounterVolumeseriesinfoVolumeSeriesIssue++; | 3079 buildCounterVolumeseriesinfoVolumeSeriesIssue++; |
3080 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { | 3080 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { |
3081 unittest.expect(o.issueDisplayNumber, unittest.equals('foo')); | 3081 unittest.expect(o.issueDisplayNumber, unittest.equals('foo')); |
3082 unittest.expect(o.issueOrderNumber, unittest.equals(42)); | 3082 unittest.expect(o.issueOrderNumber, unittest.equals(42)); |
3083 } | 3083 } |
3084 buildCounterVolumeseriesinfoVolumeSeriesIssue--; | 3084 buildCounterVolumeseriesinfoVolumeSeriesIssue--; |
3085 } | 3085 } |
3086 | 3086 |
3087 buildUnnamed801() { | 3087 buildUnnamed808() { |
3088 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>(); | 3088 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>(); |
3089 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); | 3089 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); |
3090 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); | 3090 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); |
3091 return o; | 3091 return o; |
3092 } | 3092 } |
3093 | 3093 |
3094 checkUnnamed801(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) { | 3094 checkUnnamed808(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) { |
3095 unittest.expect(o, unittest.hasLength(2)); | 3095 unittest.expect(o, unittest.hasLength(2)); |
3096 checkVolumeseriesinfoVolumeSeriesIssue(o[0]); | 3096 checkVolumeseriesinfoVolumeSeriesIssue(o[0]); |
3097 checkVolumeseriesinfoVolumeSeriesIssue(o[1]); | 3097 checkVolumeseriesinfoVolumeSeriesIssue(o[1]); |
3098 } | 3098 } |
3099 | 3099 |
3100 core.int buildCounterVolumeseriesinfoVolumeSeries = 0; | 3100 core.int buildCounterVolumeseriesinfoVolumeSeries = 0; |
3101 buildVolumeseriesinfoVolumeSeries() { | 3101 buildVolumeseriesinfoVolumeSeries() { |
3102 var o = new api.VolumeseriesinfoVolumeSeries(); | 3102 var o = new api.VolumeseriesinfoVolumeSeries(); |
3103 buildCounterVolumeseriesinfoVolumeSeries++; | 3103 buildCounterVolumeseriesinfoVolumeSeries++; |
3104 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { | 3104 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { |
3105 o.issue = buildUnnamed801(); | 3105 o.issue = buildUnnamed808(); |
3106 o.orderNumber = 42; | 3106 o.orderNumber = 42; |
3107 o.seriesBookType = "foo"; | 3107 o.seriesBookType = "foo"; |
3108 o.seriesId = "foo"; | 3108 o.seriesId = "foo"; |
3109 } | 3109 } |
3110 buildCounterVolumeseriesinfoVolumeSeries--; | 3110 buildCounterVolumeseriesinfoVolumeSeries--; |
3111 return o; | 3111 return o; |
3112 } | 3112 } |
3113 | 3113 |
3114 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { | 3114 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { |
3115 buildCounterVolumeseriesinfoVolumeSeries++; | 3115 buildCounterVolumeseriesinfoVolumeSeries++; |
3116 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { | 3116 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { |
3117 checkUnnamed801(o.issue); | 3117 checkUnnamed808(o.issue); |
3118 unittest.expect(o.orderNumber, unittest.equals(42)); | 3118 unittest.expect(o.orderNumber, unittest.equals(42)); |
3119 unittest.expect(o.seriesBookType, unittest.equals('foo')); | 3119 unittest.expect(o.seriesBookType, unittest.equals('foo')); |
3120 unittest.expect(o.seriesId, unittest.equals('foo')); | 3120 unittest.expect(o.seriesId, unittest.equals('foo')); |
3121 } | 3121 } |
3122 buildCounterVolumeseriesinfoVolumeSeries--; | 3122 buildCounterVolumeseriesinfoVolumeSeries--; |
3123 } | 3123 } |
3124 | 3124 |
3125 buildUnnamed802() { | 3125 buildUnnamed809() { |
3126 var o = new core.List<api.VolumeseriesinfoVolumeSeries>(); | 3126 var o = new core.List<api.VolumeseriesinfoVolumeSeries>(); |
3127 o.add(buildVolumeseriesinfoVolumeSeries()); | 3127 o.add(buildVolumeseriesinfoVolumeSeries()); |
3128 o.add(buildVolumeseriesinfoVolumeSeries()); | 3128 o.add(buildVolumeseriesinfoVolumeSeries()); |
3129 return o; | 3129 return o; |
3130 } | 3130 } |
3131 | 3131 |
3132 checkUnnamed802(core.List<api.VolumeseriesinfoVolumeSeries> o) { | 3132 checkUnnamed809(core.List<api.VolumeseriesinfoVolumeSeries> o) { |
3133 unittest.expect(o, unittest.hasLength(2)); | 3133 unittest.expect(o, unittest.hasLength(2)); |
3134 checkVolumeseriesinfoVolumeSeries(o[0]); | 3134 checkVolumeseriesinfoVolumeSeries(o[0]); |
3135 checkVolumeseriesinfoVolumeSeries(o[1]); | 3135 checkVolumeseriesinfoVolumeSeries(o[1]); |
3136 } | 3136 } |
3137 | 3137 |
3138 core.int buildCounterVolumeseriesinfo = 0; | 3138 core.int buildCounterVolumeseriesinfo = 0; |
3139 buildVolumeseriesinfo() { | 3139 buildVolumeseriesinfo() { |
3140 var o = new api.Volumeseriesinfo(); | 3140 var o = new api.Volumeseriesinfo(); |
3141 buildCounterVolumeseriesinfo++; | 3141 buildCounterVolumeseriesinfo++; |
3142 if (buildCounterVolumeseriesinfo < 3) { | 3142 if (buildCounterVolumeseriesinfo < 3) { |
3143 o.bookDisplayNumber = "foo"; | 3143 o.bookDisplayNumber = "foo"; |
3144 o.kind = "foo"; | 3144 o.kind = "foo"; |
3145 o.shortSeriesBookTitle = "foo"; | 3145 o.shortSeriesBookTitle = "foo"; |
3146 o.volumeSeries = buildUnnamed802(); | 3146 o.volumeSeries = buildUnnamed809(); |
3147 } | 3147 } |
3148 buildCounterVolumeseriesinfo--; | 3148 buildCounterVolumeseriesinfo--; |
3149 return o; | 3149 return o; |
3150 } | 3150 } |
3151 | 3151 |
3152 checkVolumeseriesinfo(api.Volumeseriesinfo o) { | 3152 checkVolumeseriesinfo(api.Volumeseriesinfo o) { |
3153 buildCounterVolumeseriesinfo++; | 3153 buildCounterVolumeseriesinfo++; |
3154 if (buildCounterVolumeseriesinfo < 3) { | 3154 if (buildCounterVolumeseriesinfo < 3) { |
3155 unittest.expect(o.bookDisplayNumber, unittest.equals('foo')); | 3155 unittest.expect(o.bookDisplayNumber, unittest.equals('foo')); |
3156 unittest.expect(o.kind, unittest.equals('foo')); | 3156 unittest.expect(o.kind, unittest.equals('foo')); |
3157 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo')); | 3157 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo')); |
3158 checkUnnamed802(o.volumeSeries); | 3158 checkUnnamed809(o.volumeSeries); |
3159 } | 3159 } |
3160 buildCounterVolumeseriesinfo--; | 3160 buildCounterVolumeseriesinfo--; |
3161 } | 3161 } |
3162 | 3162 |
3163 buildUnnamed803() { | |
3164 var o = new core.List<core.String>(); | |
3165 o.add("foo"); | |
3166 o.add("foo"); | |
3167 return o; | |
3168 } | |
3169 | |
3170 checkUnnamed803(core.List<core.String> o) { | |
3171 unittest.expect(o, unittest.hasLength(2)); | |
3172 unittest.expect(o[0], unittest.equals('foo')); | |
3173 unittest.expect(o[1], unittest.equals('foo')); | |
3174 } | |
3175 | |
3176 buildUnnamed804() { | |
3177 var o = new core.List<core.String>(); | |
3178 o.add("foo"); | |
3179 o.add("foo"); | |
3180 return o; | |
3181 } | |
3182 | |
3183 checkUnnamed804(core.List<core.String> o) { | |
3184 unittest.expect(o, unittest.hasLength(2)); | |
3185 unittest.expect(o[0], unittest.equals('foo')); | |
3186 unittest.expect(o[1], unittest.equals('foo')); | |
3187 } | |
3188 | |
3189 buildUnnamed805() { | |
3190 var o = new core.List<core.String>(); | |
3191 o.add("foo"); | |
3192 o.add("foo"); | |
3193 return o; | |
3194 } | |
3195 | |
3196 checkUnnamed805(core.List<core.String> o) { | |
3197 unittest.expect(o, unittest.hasLength(2)); | |
3198 unittest.expect(o[0], unittest.equals('foo')); | |
3199 unittest.expect(o[1], unittest.equals('foo')); | |
3200 } | |
3201 | |
3202 buildUnnamed806() { | |
3203 var o = new core.List<core.String>(); | |
3204 o.add("foo"); | |
3205 o.add("foo"); | |
3206 return o; | |
3207 } | |
3208 | |
3209 checkUnnamed806(core.List<core.String> o) { | |
3210 unittest.expect(o, unittest.hasLength(2)); | |
3211 unittest.expect(o[0], unittest.equals('foo')); | |
3212 unittest.expect(o[1], unittest.equals('foo')); | |
3213 } | |
3214 | |
3215 buildUnnamed807() { | |
3216 var o = new core.List<core.String>(); | |
3217 o.add("foo"); | |
3218 o.add("foo"); | |
3219 return o; | |
3220 } | |
3221 | |
3222 checkUnnamed807(core.List<core.String> o) { | |
3223 unittest.expect(o, unittest.hasLength(2)); | |
3224 unittest.expect(o[0], unittest.equals('foo')); | |
3225 unittest.expect(o[1], unittest.equals('foo')); | |
3226 } | |
3227 | |
3228 buildUnnamed808() { | |
3229 var o = new core.List<core.String>(); | |
3230 o.add("foo"); | |
3231 o.add("foo"); | |
3232 return o; | |
3233 } | |
3234 | |
3235 checkUnnamed808(core.List<core.String> o) { | |
3236 unittest.expect(o, unittest.hasLength(2)); | |
3237 unittest.expect(o[0], unittest.equals('foo')); | |
3238 unittest.expect(o[1], unittest.equals('foo')); | |
3239 } | |
3240 | |
3241 buildUnnamed809() { | |
3242 var o = new core.List<core.String>(); | |
3243 o.add("foo"); | |
3244 o.add("foo"); | |
3245 return o; | |
3246 } | |
3247 | |
3248 checkUnnamed809(core.List<core.String> o) { | |
3249 unittest.expect(o, unittest.hasLength(2)); | |
3250 unittest.expect(o[0], unittest.equals('foo')); | |
3251 unittest.expect(o[1], unittest.equals('foo')); | |
3252 } | |
3253 | |
3254 buildUnnamed810() { | 3163 buildUnnamed810() { |
3255 var o = new core.List<core.String>(); | 3164 var o = new core.List<core.String>(); |
3256 o.add("foo"); | 3165 o.add("foo"); |
3257 o.add("foo"); | 3166 o.add("foo"); |
3258 return o; | 3167 return o; |
3259 } | 3168 } |
3260 | 3169 |
3261 checkUnnamed810(core.List<core.String> o) { | 3170 checkUnnamed810(core.List<core.String> o) { |
3262 unittest.expect(o, unittest.hasLength(2)); | 3171 unittest.expect(o, unittest.hasLength(2)); |
3263 unittest.expect(o[0], unittest.equals('foo')); | 3172 unittest.expect(o[0], unittest.equals('foo')); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3307 var o = new core.List<core.String>(); | 3216 var o = new core.List<core.String>(); |
3308 o.add("foo"); | 3217 o.add("foo"); |
3309 o.add("foo"); | 3218 o.add("foo"); |
3310 return o; | 3219 return o; |
3311 } | 3220 } |
3312 | 3221 |
3313 checkUnnamed814(core.List<core.String> o) { | 3222 checkUnnamed814(core.List<core.String> o) { |
3314 unittest.expect(o, unittest.hasLength(2)); | 3223 unittest.expect(o, unittest.hasLength(2)); |
3315 unittest.expect(o[0], unittest.equals('foo')); | 3224 unittest.expect(o[0], unittest.equals('foo')); |
3316 unittest.expect(o[1], unittest.equals('foo')); | 3225 unittest.expect(o[1], unittest.equals('foo')); |
| 3226 } |
| 3227 |
| 3228 buildUnnamed815() { |
| 3229 var o = new core.List<core.String>(); |
| 3230 o.add("foo"); |
| 3231 o.add("foo"); |
| 3232 return o; |
| 3233 } |
| 3234 |
| 3235 checkUnnamed815(core.List<core.String> o) { |
| 3236 unittest.expect(o, unittest.hasLength(2)); |
| 3237 unittest.expect(o[0], unittest.equals('foo')); |
| 3238 unittest.expect(o[1], unittest.equals('foo')); |
| 3239 } |
| 3240 |
| 3241 buildUnnamed816() { |
| 3242 var o = new core.List<core.String>(); |
| 3243 o.add("foo"); |
| 3244 o.add("foo"); |
| 3245 return o; |
| 3246 } |
| 3247 |
| 3248 checkUnnamed816(core.List<core.String> o) { |
| 3249 unittest.expect(o, unittest.hasLength(2)); |
| 3250 unittest.expect(o[0], unittest.equals('foo')); |
| 3251 unittest.expect(o[1], unittest.equals('foo')); |
| 3252 } |
| 3253 |
| 3254 buildUnnamed817() { |
| 3255 var o = new core.List<core.String>(); |
| 3256 o.add("foo"); |
| 3257 o.add("foo"); |
| 3258 return o; |
| 3259 } |
| 3260 |
| 3261 checkUnnamed817(core.List<core.String> o) { |
| 3262 unittest.expect(o, unittest.hasLength(2)); |
| 3263 unittest.expect(o[0], unittest.equals('foo')); |
| 3264 unittest.expect(o[1], unittest.equals('foo')); |
| 3265 } |
| 3266 |
| 3267 buildUnnamed818() { |
| 3268 var o = new core.List<core.String>(); |
| 3269 o.add("foo"); |
| 3270 o.add("foo"); |
| 3271 return o; |
| 3272 } |
| 3273 |
| 3274 checkUnnamed818(core.List<core.String> o) { |
| 3275 unittest.expect(o, unittest.hasLength(2)); |
| 3276 unittest.expect(o[0], unittest.equals('foo')); |
| 3277 unittest.expect(o[1], unittest.equals('foo')); |
| 3278 } |
| 3279 |
| 3280 buildUnnamed819() { |
| 3281 var o = new core.List<core.String>(); |
| 3282 o.add("foo"); |
| 3283 o.add("foo"); |
| 3284 return o; |
| 3285 } |
| 3286 |
| 3287 checkUnnamed819(core.List<core.String> o) { |
| 3288 unittest.expect(o, unittest.hasLength(2)); |
| 3289 unittest.expect(o[0], unittest.equals('foo')); |
| 3290 unittest.expect(o[1], unittest.equals('foo')); |
| 3291 } |
| 3292 |
| 3293 buildUnnamed820() { |
| 3294 var o = new core.List<core.String>(); |
| 3295 o.add("foo"); |
| 3296 o.add("foo"); |
| 3297 return o; |
| 3298 } |
| 3299 |
| 3300 checkUnnamed820(core.List<core.String> o) { |
| 3301 unittest.expect(o, unittest.hasLength(2)); |
| 3302 unittest.expect(o[0], unittest.equals('foo')); |
| 3303 unittest.expect(o[1], unittest.equals('foo')); |
| 3304 } |
| 3305 |
| 3306 buildUnnamed821() { |
| 3307 var o = new core.List<core.String>(); |
| 3308 o.add("foo"); |
| 3309 o.add("foo"); |
| 3310 return o; |
| 3311 } |
| 3312 |
| 3313 checkUnnamed821(core.List<core.String> o) { |
| 3314 unittest.expect(o, unittest.hasLength(2)); |
| 3315 unittest.expect(o[0], unittest.equals('foo')); |
| 3316 unittest.expect(o[1], unittest.equals('foo')); |
3317 } | 3317 } |
3318 | 3318 |
3319 | 3319 |
3320 main() { | 3320 main() { |
3321 unittest.group("obj-schema-AnnotationClientVersionRanges", () { | 3321 unittest.group("obj-schema-AnnotationClientVersionRanges", () { |
3322 unittest.test("to-json--from-json", () { | 3322 unittest.test("to-json--from-json", () { |
3323 var o = buildAnnotationClientVersionRanges(); | 3323 var o = buildAnnotationClientVersionRanges(); |
3324 var od = new api.AnnotationClientVersionRanges.fromJson(o.toJson()); | 3324 var od = new api.AnnotationClientVersionRanges.fromJson(o.toJson()); |
3325 checkAnnotationClientVersionRanges(od); | 3325 checkAnnotationClientVersionRanges(od); |
3326 }); | 3326 }); |
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4826 }))); | 4826 }))); |
4827 }); | 4827 }); |
4828 | 4828 |
4829 unittest.test("method--list", () { | 4829 unittest.test("method--list", () { |
4830 | 4830 |
4831 var mock = new HttpServerMock(); | 4831 var mock = new HttpServerMock(); |
4832 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; | 4832 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an
notationData; |
4833 var arg_volumeId = "foo"; | 4833 var arg_volumeId = "foo"; |
4834 var arg_layerId = "foo"; | 4834 var arg_layerId = "foo"; |
4835 var arg_contentVersion = "foo"; | 4835 var arg_contentVersion = "foo"; |
4836 var arg_annotationDataId = buildUnnamed803(); | 4836 var arg_annotationDataId = buildUnnamed810(); |
4837 var arg_h = 42; | 4837 var arg_h = 42; |
4838 var arg_locale = "foo"; | 4838 var arg_locale = "foo"; |
4839 var arg_maxResults = 42; | 4839 var arg_maxResults = 42; |
4840 var arg_pageToken = "foo"; | 4840 var arg_pageToken = "foo"; |
4841 var arg_scale = 42; | 4841 var arg_scale = 42; |
4842 var arg_source = "foo"; | 4842 var arg_source = "foo"; |
4843 var arg_updatedMax = "foo"; | 4843 var arg_updatedMax = "foo"; |
4844 var arg_updatedMin = "foo"; | 4844 var arg_updatedMin = "foo"; |
4845 var arg_w = 42; | 4845 var arg_w = 42; |
4846 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4846 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5111 }), true); | 5111 }), true); |
5112 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons
e) { | 5112 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons
e) { |
5113 checkUsersettings(response); | 5113 checkUsersettings(response); |
5114 }))); | 5114 }))); |
5115 }); | 5115 }); |
5116 | 5116 |
5117 unittest.test("method--releaseDownloadAccess", () { | 5117 unittest.test("method--releaseDownloadAccess", () { |
5118 | 5118 |
5119 var mock = new HttpServerMock(); | 5119 var mock = new HttpServerMock(); |
5120 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 5120 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
5121 var arg_volumeIds = buildUnnamed804(); | 5121 var arg_volumeIds = buildUnnamed811(); |
5122 var arg_cpksver = "foo"; | 5122 var arg_cpksver = "foo"; |
5123 var arg_locale = "foo"; | 5123 var arg_locale = "foo"; |
5124 var arg_source = "foo"; | 5124 var arg_source = "foo"; |
5125 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5125 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5126 var path = (req.url).path; | 5126 var path = (req.url).path; |
5127 var pathOffset = 0; | 5127 var pathOffset = 0; |
5128 var index; | 5128 var index; |
5129 var subPart; | 5129 var subPart; |
5130 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5130 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5131 pathOffset += 1; | 5131 pathOffset += 1; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5224 }))); | 5224 }))); |
5225 }); | 5225 }); |
5226 | 5226 |
5227 unittest.test("method--syncVolumeLicenses", () { | 5227 unittest.test("method--syncVolumeLicenses", () { |
5228 | 5228 |
5229 var mock = new HttpServerMock(); | 5229 var mock = new HttpServerMock(); |
5230 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; | 5230 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; |
5231 var arg_source = "foo"; | 5231 var arg_source = "foo"; |
5232 var arg_nonce = "foo"; | 5232 var arg_nonce = "foo"; |
5233 var arg_cpksver = "foo"; | 5233 var arg_cpksver = "foo"; |
5234 var arg_features = buildUnnamed805(); | 5234 var arg_features = buildUnnamed812(); |
5235 var arg_includeNonComicsSeries = true; | 5235 var arg_includeNonComicsSeries = true; |
5236 var arg_locale = "foo"; | 5236 var arg_locale = "foo"; |
5237 var arg_showPreorders = true; | 5237 var arg_showPreorders = true; |
5238 var arg_volumeIds = buildUnnamed806(); | 5238 var arg_volumeIds = buildUnnamed813(); |
5239 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5239 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5240 var path = (req.url).path; | 5240 var path = (req.url).path; |
5241 var pathOffset = 0; | 5241 var pathOffset = 0; |
5242 var index; | 5242 var index; |
5243 var subPart; | 5243 var subPart; |
5244 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5244 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5245 pathOffset += 1; | 5245 pathOffset += 1; |
5246 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5246 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
5247 pathOffset += 9; | 5247 pathOffset += 9; |
5248 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); | 5248 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq
uals("myconfig/syncVolumeLicenses")); |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5441 checkAnnotation(response); | 5441 checkAnnotation(response); |
5442 }))); | 5442 }))); |
5443 }); | 5443 }); |
5444 | 5444 |
5445 unittest.test("method--list", () { | 5445 unittest.test("method--list", () { |
5446 | 5446 |
5447 var mock = new HttpServerMock(); | 5447 var mock = new HttpServerMock(); |
5448 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 5448 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
5449 var arg_contentVersion = "foo"; | 5449 var arg_contentVersion = "foo"; |
5450 var arg_layerId = "foo"; | 5450 var arg_layerId = "foo"; |
5451 var arg_layerIds = buildUnnamed807(); | 5451 var arg_layerIds = buildUnnamed814(); |
5452 var arg_maxResults = 42; | 5452 var arg_maxResults = 42; |
5453 var arg_pageToken = "foo"; | 5453 var arg_pageToken = "foo"; |
5454 var arg_showDeleted = true; | 5454 var arg_showDeleted = true; |
5455 var arg_source = "foo"; | 5455 var arg_source = "foo"; |
5456 var arg_updatedMax = "foo"; | 5456 var arg_updatedMax = "foo"; |
5457 var arg_updatedMin = "foo"; | 5457 var arg_updatedMin = "foo"; |
5458 var arg_volumeId = "foo"; | 5458 var arg_volumeId = "foo"; |
5459 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5459 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5460 var path = (req.url).path; | 5460 var path = (req.url).path; |
5461 var pathOffset = 0; | 5461 var pathOffset = 0; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5504 }), true); | 5504 }), true); |
5505 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) { | 5505 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) { |
5506 checkAnnotations(response); | 5506 checkAnnotations(response); |
5507 }))); | 5507 }))); |
5508 }); | 5508 }); |
5509 | 5509 |
5510 unittest.test("method--summary", () { | 5510 unittest.test("method--summary", () { |
5511 | 5511 |
5512 var mock = new HttpServerMock(); | 5512 var mock = new HttpServerMock(); |
5513 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; | 5513 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary
.annotations; |
5514 var arg_layerIds = buildUnnamed808(); | 5514 var arg_layerIds = buildUnnamed815(); |
5515 var arg_volumeId = "foo"; | 5515 var arg_volumeId = "foo"; |
5516 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5516 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5517 var path = (req.url).path; | 5517 var path = (req.url).path; |
5518 var pathOffset = 0; | 5518 var pathOffset = 0; |
5519 var index; | 5519 var index; |
5520 var subPart; | 5520 var subPart; |
5521 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5521 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5522 pathOffset += 1; | 5522 pathOffset += 1; |
5523 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 5523 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
5524 pathOffset += 9; | 5524 pathOffset += 9; |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6231 }), true); | 6231 }), true); |
6232 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat
egory response) { | 6232 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat
egory response) { |
6233 checkCategory(response); | 6233 checkCategory(response); |
6234 }))); | 6234 }))); |
6235 }); | 6235 }); |
6236 | 6236 |
6237 unittest.test("method--listCategoryVolumes", () { | 6237 unittest.test("method--listCategoryVolumes", () { |
6238 | 6238 |
6239 var mock = new HttpServerMock(); | 6239 var mock = new HttpServerMock(); |
6240 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; | 6240 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; |
6241 var arg_categoryId = buildUnnamed809(); | 6241 var arg_categoryId = buildUnnamed816(); |
6242 var arg_locale = "foo"; | 6242 var arg_locale = "foo"; |
6243 var arg_maxAllowedMaturityRating = "foo"; | 6243 var arg_maxAllowedMaturityRating = "foo"; |
6244 var arg_pageSize = 42; | 6244 var arg_pageSize = 42; |
6245 var arg_pageToken = "foo"; | 6245 var arg_pageToken = "foo"; |
6246 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6246 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6247 var path = (req.url).path; | 6247 var path = (req.url).path; |
6248 var pathOffset = 0; | 6248 var pathOffset = 0; |
6249 var index; | 6249 var index; |
6250 var subPart; | 6250 var subPart; |
6251 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6251 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6522 }); | 6522 }); |
6523 | 6523 |
6524 }); | 6524 }); |
6525 | 6525 |
6526 | 6526 |
6527 unittest.group("resource-SeriesResourceApi", () { | 6527 unittest.group("resource-SeriesResourceApi", () { |
6528 unittest.test("method--get", () { | 6528 unittest.test("method--get", () { |
6529 | 6529 |
6530 var mock = new HttpServerMock(); | 6530 var mock = new HttpServerMock(); |
6531 api.SeriesResourceApi res = new api.BooksApi(mock).series; | 6531 api.SeriesResourceApi res = new api.BooksApi(mock).series; |
6532 var arg_seriesId = buildUnnamed810(); | 6532 var arg_seriesId = buildUnnamed817(); |
6533 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6533 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6534 var path = (req.url).path; | 6534 var path = (req.url).path; |
6535 var pathOffset = 0; | 6535 var pathOffset = 0; |
6536 var index; | 6536 var index; |
6537 var subPart; | 6537 var subPart; |
6538 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6538 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
6539 pathOffset += 1; | 6539 pathOffset += 1; |
6540 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 6540 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
6541 pathOffset += 9; | 6541 pathOffset += 9; |
6542 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("series/get")); | 6542 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq
uals("series/get")); |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6831 }); | 6831 }); |
6832 | 6832 |
6833 }); | 6833 }); |
6834 | 6834 |
6835 | 6835 |
6836 unittest.group("resource-VolumesMybooksResourceApi", () { | 6836 unittest.group("resource-VolumesMybooksResourceApi", () { |
6837 unittest.test("method--list", () { | 6837 unittest.test("method--list", () { |
6838 | 6838 |
6839 var mock = new HttpServerMock(); | 6839 var mock = new HttpServerMock(); |
6840 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; | 6840 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks
; |
6841 var arg_acquireMethod = buildUnnamed811(); | 6841 var arg_acquireMethod = buildUnnamed818(); |
6842 var arg_country = "foo"; | 6842 var arg_country = "foo"; |
6843 var arg_locale = "foo"; | 6843 var arg_locale = "foo"; |
6844 var arg_maxResults = 42; | 6844 var arg_maxResults = 42; |
6845 var arg_processingState = buildUnnamed812(); | 6845 var arg_processingState = buildUnnamed819(); |
6846 var arg_source = "foo"; | 6846 var arg_source = "foo"; |
6847 var arg_startIndex = 42; | 6847 var arg_startIndex = 42; |
6848 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6848 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
6849 var path = (req.url).path; | 6849 var path = (req.url).path; |
6850 var pathOffset = 0; | 6850 var pathOffset = 0; |
6851 var index; | 6851 var index; |
6852 var subPart; | 6852 var subPart; |
6853 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 6853 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
6854 pathOffset += 1; | 6854 pathOffset += 1; |
6855 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 6855 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7004 }); | 7004 }); |
7005 | 7005 |
7006 | 7006 |
7007 unittest.group("resource-VolumesUseruploadedResourceApi", () { | 7007 unittest.group("resource-VolumesUseruploadedResourceApi", () { |
7008 unittest.test("method--list", () { | 7008 unittest.test("method--list", () { |
7009 | 7009 |
7010 var mock = new HttpServerMock(); | 7010 var mock = new HttpServerMock(); |
7011 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; | 7011 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us
eruploaded; |
7012 var arg_locale = "foo"; | 7012 var arg_locale = "foo"; |
7013 var arg_maxResults = 42; | 7013 var arg_maxResults = 42; |
7014 var arg_processingState = buildUnnamed813(); | 7014 var arg_processingState = buildUnnamed820(); |
7015 var arg_source = "foo"; | 7015 var arg_source = "foo"; |
7016 var arg_startIndex = 42; | 7016 var arg_startIndex = 42; |
7017 var arg_volumeId = buildUnnamed814(); | 7017 var arg_volumeId = buildUnnamed821(); |
7018 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 7018 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
7019 var path = (req.url).path; | 7019 var path = (req.url).path; |
7020 var pathOffset = 0; | 7020 var pathOffset = 0; |
7021 var index; | 7021 var index; |
7022 var subPart; | 7022 var subPart; |
7023 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 7023 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
7024 pathOffset += 1; | 7024 pathOffset += 1; |
7025 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); | 7025 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ
als("books/v1/")); |
7026 pathOffset += 9; | 7026 pathOffset += 9; |
7027 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq
uals("volumes/useruploaded")); | 7027 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... |
7060 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) { | 7060 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) { |
7061 checkVolumes(response); | 7061 checkVolumes(response); |
7062 }))); | 7062 }))); |
7063 }); | 7063 }); |
7064 | 7064 |
7065 }); | 7065 }); |
7066 | 7066 |
7067 | 7067 |
7068 } | 7068 } |
7069 | 7069 |
OLD | NEW |