| Index: generated/googleapis/test/books/v1_test.dart
|
| diff --git a/generated/googleapis/test/books/v1_test.dart b/generated/googleapis/test/books/v1_test.dart
|
| index 40e6c1bdcaed8a92a74285aa18ead92d333c6b85..2e600b123c878e2a22bb7767960181f7240930f9 100644
|
| --- a/generated/googleapis/test/books/v1_test.dart
|
| +++ b/generated/googleapis/test/books/v1_test.dart
|
| @@ -93,14 +93,14 @@ checkAnnotationLayerSummary(api.AnnotationLayerSummary o) {
|
| buildCounterAnnotationLayerSummary--;
|
| }
|
|
|
| -buildUnnamed516() {
|
| +buildUnnamed305() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed516(core.List<core.String> o) {
|
| +checkUnnamed305(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -123,7 +123,7 @@ buildAnnotation() {
|
| o.kind = "foo";
|
| o.layerId = "foo";
|
| o.layerSummary = buildAnnotationLayerSummary();
|
| - o.pageIds = buildUnnamed516();
|
| + o.pageIds = buildUnnamed305();
|
| o.selectedText = "foo";
|
| o.selfLink = "foo";
|
| o.updated = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -148,7 +148,7 @@ checkAnnotation(api.Annotation o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.layerId, unittest.equals('foo'));
|
| checkAnnotationLayerSummary(o.layerSummary);
|
| - checkUnnamed516(o.pageIds);
|
| + checkUnnamed305(o.pageIds);
|
| unittest.expect(o.selectedText, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| @@ -192,14 +192,14 @@ checkAnnotationdata(api.Annotationdata o) {
|
| buildCounterAnnotationdata--;
|
| }
|
|
|
| -buildUnnamed517() {
|
| +buildUnnamed306() {
|
| var o = new core.List<api.Annotation>();
|
| o.add(buildAnnotation());
|
| o.add(buildAnnotation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed517(core.List<api.Annotation> o) {
|
| +checkUnnamed306(core.List<api.Annotation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAnnotation(o[0]);
|
| checkAnnotation(o[1]);
|
| @@ -210,7 +210,7 @@ buildAnnotations() {
|
| var o = new api.Annotations();
|
| buildCounterAnnotations++;
|
| if (buildCounterAnnotations < 3) {
|
| - o.items = buildUnnamed517();
|
| + o.items = buildUnnamed306();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.totalItems = 42;
|
| @@ -222,7 +222,7 @@ buildAnnotations() {
|
| checkAnnotations(api.Annotations o) {
|
| buildCounterAnnotations++;
|
| if (buildCounterAnnotations < 3) {
|
| - checkUnnamed517(o.items);
|
| + checkUnnamed306(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| @@ -257,14 +257,14 @@ checkAnnotationsSummaryLayers(api.AnnotationsSummaryLayers o) {
|
| buildCounterAnnotationsSummaryLayers--;
|
| }
|
|
|
| -buildUnnamed518() {
|
| +buildUnnamed307() {
|
| var o = new core.List<api.AnnotationsSummaryLayers>();
|
| o.add(buildAnnotationsSummaryLayers());
|
| o.add(buildAnnotationsSummaryLayers());
|
| return o;
|
| }
|
|
|
| -checkUnnamed518(core.List<api.AnnotationsSummaryLayers> o) {
|
| +checkUnnamed307(core.List<api.AnnotationsSummaryLayers> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAnnotationsSummaryLayers(o[0]);
|
| checkAnnotationsSummaryLayers(o[1]);
|
| @@ -276,7 +276,7 @@ buildAnnotationsSummary() {
|
| buildCounterAnnotationsSummary++;
|
| if (buildCounterAnnotationsSummary < 3) {
|
| o.kind = "foo";
|
| - o.layers = buildUnnamed518();
|
| + o.layers = buildUnnamed307();
|
| }
|
| buildCounterAnnotationsSummary--;
|
| return o;
|
| @@ -286,19 +286,19 @@ checkAnnotationsSummary(api.AnnotationsSummary o) {
|
| buildCounterAnnotationsSummary++;
|
| if (buildCounterAnnotationsSummary < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed518(o.layers);
|
| + checkUnnamed307(o.layers);
|
| }
|
| buildCounterAnnotationsSummary--;
|
| }
|
|
|
| -buildUnnamed519() {
|
| +buildUnnamed308() {
|
| var o = new core.List<api.Annotationdata>();
|
| o.add(buildAnnotationdata());
|
| o.add(buildAnnotationdata());
|
| return o;
|
| }
|
|
|
| -checkUnnamed519(core.List<api.Annotationdata> o) {
|
| +checkUnnamed308(core.List<api.Annotationdata> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAnnotationdata(o[0]);
|
| checkAnnotationdata(o[1]);
|
| @@ -309,7 +309,7 @@ buildAnnotationsdata() {
|
| var o = new api.Annotationsdata();
|
| buildCounterAnnotationsdata++;
|
| if (buildCounterAnnotationsdata < 3) {
|
| - o.items = buildUnnamed519();
|
| + o.items = buildUnnamed308();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.totalItems = 42;
|
| @@ -321,7 +321,7 @@ buildAnnotationsdata() {
|
| checkAnnotationsdata(api.Annotationsdata o) {
|
| buildCounterAnnotationsdata++;
|
| if (buildCounterAnnotationsdata < 3) {
|
| - checkUnnamed519(o.items);
|
| + checkUnnamed308(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| @@ -435,14 +435,14 @@ checkBookshelf(api.Bookshelf o) {
|
| buildCounterBookshelf--;
|
| }
|
|
|
| -buildUnnamed520() {
|
| +buildUnnamed309() {
|
| var o = new core.List<api.Bookshelf>();
|
| o.add(buildBookshelf());
|
| o.add(buildBookshelf());
|
| return o;
|
| }
|
|
|
| -checkUnnamed520(core.List<api.Bookshelf> o) {
|
| +checkUnnamed309(core.List<api.Bookshelf> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBookshelf(o[0]);
|
| checkBookshelf(o[1]);
|
| @@ -453,7 +453,7 @@ buildBookshelves() {
|
| var o = new api.Bookshelves();
|
| buildCounterBookshelves++;
|
| if (buildCounterBookshelves < 3) {
|
| - o.items = buildUnnamed520();
|
| + o.items = buildUnnamed309();
|
| o.kind = "foo";
|
| }
|
| buildCounterBookshelves--;
|
| @@ -463,7 +463,7 @@ buildBookshelves() {
|
| checkBookshelves(api.Bookshelves o) {
|
| buildCounterBookshelves++;
|
| if (buildCounterBookshelves < 3) {
|
| - checkUnnamed520(o.items);
|
| + checkUnnamed309(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBookshelves--;
|
| @@ -590,14 +590,14 @@ checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o)
|
| buildCounterDictlayerdataDictWordsDerivatives--;
|
| }
|
|
|
| -buildUnnamed521() {
|
| +buildUnnamed310() {
|
| var o = new core.List<api.DictlayerdataDictWordsDerivatives>();
|
| o.add(buildDictlayerdataDictWordsDerivatives());
|
| o.add(buildDictlayerdataDictWordsDerivatives());
|
| return o;
|
| }
|
|
|
| -checkUnnamed521(core.List<api.DictlayerdataDictWordsDerivatives> o) {
|
| +checkUnnamed310(core.List<api.DictlayerdataDictWordsDerivatives> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDictlayerdataDictWordsDerivatives(o[0]);
|
| checkDictlayerdataDictWordsDerivatives(o[1]);
|
| @@ -645,14 +645,14 @@ checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) {
|
| buildCounterDictlayerdataDictWordsExamples--;
|
| }
|
|
|
| -buildUnnamed522() {
|
| +buildUnnamed311() {
|
| var o = new core.List<api.DictlayerdataDictWordsExamples>();
|
| o.add(buildDictlayerdataDictWordsExamples());
|
| o.add(buildDictlayerdataDictWordsExamples());
|
| return o;
|
| }
|
|
|
| -checkUnnamed522(core.List<api.DictlayerdataDictWordsExamples> o) {
|
| +checkUnnamed311(core.List<api.DictlayerdataDictWordsExamples> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDictlayerdataDictWordsExamples(o[0]);
|
| checkDictlayerdataDictWordsExamples(o[1]);
|
| @@ -679,14 +679,14 @@ checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo
|
| buildCounterDictlayerdataDictWordsSensesConjugations--;
|
| }
|
|
|
| -buildUnnamed523() {
|
| +buildUnnamed312() {
|
| var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>();
|
| o.add(buildDictlayerdataDictWordsSensesConjugations());
|
| o.add(buildDictlayerdataDictWordsSensesConjugations());
|
| return o;
|
| }
|
|
|
| -checkUnnamed523(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
|
| +checkUnnamed312(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDictlayerdataDictWordsSensesConjugations(o[0]);
|
| checkDictlayerdataDictWordsSensesConjugations(o[1]);
|
| @@ -734,14 +734,14 @@ checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS
|
| buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--;
|
| }
|
|
|
| -buildUnnamed524() {
|
| +buildUnnamed313() {
|
| var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>();
|
| o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
|
| o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
|
| return o;
|
| }
|
|
|
| -checkUnnamed524(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
|
| +checkUnnamed313(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]);
|
| checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]);
|
| @@ -753,7 +753,7 @@ buildDictlayerdataDictWordsSensesDefinitions() {
|
| buildCounterDictlayerdataDictWordsSensesDefinitions++;
|
| if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
|
| o.definition = "foo";
|
| - o.examples = buildUnnamed524();
|
| + o.examples = buildUnnamed313();
|
| }
|
| buildCounterDictlayerdataDictWordsSensesDefinitions--;
|
| return o;
|
| @@ -763,19 +763,19 @@ checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef
|
| buildCounterDictlayerdataDictWordsSensesDefinitions++;
|
| if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
|
| unittest.expect(o.definition, unittest.equals('foo'));
|
| - checkUnnamed524(o.examples);
|
| + checkUnnamed313(o.examples);
|
| }
|
| buildCounterDictlayerdataDictWordsSensesDefinitions--;
|
| }
|
|
|
| -buildUnnamed525() {
|
| +buildUnnamed314() {
|
| var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>();
|
| o.add(buildDictlayerdataDictWordsSensesDefinitions());
|
| o.add(buildDictlayerdataDictWordsSensesDefinitions());
|
| return o;
|
| }
|
|
|
| -checkUnnamed525(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
|
| +checkUnnamed314(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDictlayerdataDictWordsSensesDefinitions(o[0]);
|
| checkDictlayerdataDictWordsSensesDefinitions(o[1]);
|
| @@ -844,14 +844,14 @@ checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony
|
| buildCounterDictlayerdataDictWordsSensesSynonyms--;
|
| }
|
|
|
| -buildUnnamed526() {
|
| +buildUnnamed315() {
|
| var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>();
|
| o.add(buildDictlayerdataDictWordsSensesSynonyms());
|
| o.add(buildDictlayerdataDictWordsSensesSynonyms());
|
| return o;
|
| }
|
|
|
| -checkUnnamed526(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
|
| +checkUnnamed315(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDictlayerdataDictWordsSensesSynonyms(o[0]);
|
| checkDictlayerdataDictWordsSensesSynonyms(o[1]);
|
| @@ -862,14 +862,14 @@ buildDictlayerdataDictWordsSenses() {
|
| var o = new api.DictlayerdataDictWordsSenses();
|
| buildCounterDictlayerdataDictWordsSenses++;
|
| if (buildCounterDictlayerdataDictWordsSenses < 3) {
|
| - o.conjugations = buildUnnamed523();
|
| - o.definitions = buildUnnamed525();
|
| + o.conjugations = buildUnnamed312();
|
| + o.definitions = buildUnnamed314();
|
| o.partOfSpeech = "foo";
|
| o.pronunciation = "foo";
|
| o.pronunciationUrl = "foo";
|
| o.source = buildDictlayerdataDictWordsSensesSource();
|
| o.syllabification = "foo";
|
| - o.synonyms = buildUnnamed526();
|
| + o.synonyms = buildUnnamed315();
|
| }
|
| buildCounterDictlayerdataDictWordsSenses--;
|
| return o;
|
| @@ -878,26 +878,26 @@ buildDictlayerdataDictWordsSenses() {
|
| checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) {
|
| buildCounterDictlayerdataDictWordsSenses++;
|
| if (buildCounterDictlayerdataDictWordsSenses < 3) {
|
| - checkUnnamed523(o.conjugations);
|
| - checkUnnamed525(o.definitions);
|
| + checkUnnamed312(o.conjugations);
|
| + checkUnnamed314(o.definitions);
|
| unittest.expect(o.partOfSpeech, unittest.equals('foo'));
|
| unittest.expect(o.pronunciation, unittest.equals('foo'));
|
| unittest.expect(o.pronunciationUrl, unittest.equals('foo'));
|
| checkDictlayerdataDictWordsSensesSource(o.source);
|
| unittest.expect(o.syllabification, unittest.equals('foo'));
|
| - checkUnnamed526(o.synonyms);
|
| + checkUnnamed315(o.synonyms);
|
| }
|
| buildCounterDictlayerdataDictWordsSenses--;
|
| }
|
|
|
| -buildUnnamed527() {
|
| +buildUnnamed316() {
|
| var o = new core.List<api.DictlayerdataDictWordsSenses>();
|
| o.add(buildDictlayerdataDictWordsSenses());
|
| o.add(buildDictlayerdataDictWordsSenses());
|
| return o;
|
| }
|
|
|
| -checkUnnamed527(core.List<api.DictlayerdataDictWordsSenses> o) {
|
| +checkUnnamed316(core.List<api.DictlayerdataDictWordsSenses> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDictlayerdataDictWordsSenses(o[0]);
|
| checkDictlayerdataDictWordsSenses(o[1]);
|
| @@ -929,9 +929,9 @@ buildDictlayerdataDictWords() {
|
| var o = new api.DictlayerdataDictWords();
|
| buildCounterDictlayerdataDictWords++;
|
| if (buildCounterDictlayerdataDictWords < 3) {
|
| - o.derivatives = buildUnnamed521();
|
| - o.examples = buildUnnamed522();
|
| - o.senses = buildUnnamed527();
|
| + o.derivatives = buildUnnamed310();
|
| + o.examples = buildUnnamed311();
|
| + o.senses = buildUnnamed316();
|
| o.source = buildDictlayerdataDictWordsSource();
|
| }
|
| buildCounterDictlayerdataDictWords--;
|
| @@ -941,22 +941,22 @@ buildDictlayerdataDictWords() {
|
| checkDictlayerdataDictWords(api.DictlayerdataDictWords o) {
|
| buildCounterDictlayerdataDictWords++;
|
| if (buildCounterDictlayerdataDictWords < 3) {
|
| - checkUnnamed521(o.derivatives);
|
| - checkUnnamed522(o.examples);
|
| - checkUnnamed527(o.senses);
|
| + checkUnnamed310(o.derivatives);
|
| + checkUnnamed311(o.examples);
|
| + checkUnnamed316(o.senses);
|
| checkDictlayerdataDictWordsSource(o.source);
|
| }
|
| buildCounterDictlayerdataDictWords--;
|
| }
|
|
|
| -buildUnnamed528() {
|
| +buildUnnamed317() {
|
| var o = new core.List<api.DictlayerdataDictWords>();
|
| o.add(buildDictlayerdataDictWords());
|
| o.add(buildDictlayerdataDictWords());
|
| return o;
|
| }
|
|
|
| -checkUnnamed528(core.List<api.DictlayerdataDictWords> o) {
|
| +checkUnnamed317(core.List<api.DictlayerdataDictWords> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDictlayerdataDictWords(o[0]);
|
| checkDictlayerdataDictWords(o[1]);
|
| @@ -968,7 +968,7 @@ buildDictlayerdataDict() {
|
| buildCounterDictlayerdataDict++;
|
| if (buildCounterDictlayerdataDict < 3) {
|
| o.source = buildDictlayerdataDictSource();
|
| - o.words = buildUnnamed528();
|
| + o.words = buildUnnamed317();
|
| }
|
| buildCounterDictlayerdataDict--;
|
| return o;
|
| @@ -978,7 +978,7 @@ checkDictlayerdataDict(api.DictlayerdataDict o) {
|
| buildCounterDictlayerdataDict++;
|
| if (buildCounterDictlayerdataDict < 3) {
|
| checkDictlayerdataDictSource(o.source);
|
| - checkUnnamed528(o.words);
|
| + checkUnnamed317(o.words);
|
| }
|
| buildCounterDictlayerdataDict--;
|
| }
|
| @@ -1047,14 +1047,14 @@ checkDownloadAccessRestriction(api.DownloadAccessRestriction o) {
|
| buildCounterDownloadAccessRestriction--;
|
| }
|
|
|
| -buildUnnamed529() {
|
| +buildUnnamed318() {
|
| var o = new core.List<api.DownloadAccessRestriction>();
|
| o.add(buildDownloadAccessRestriction());
|
| o.add(buildDownloadAccessRestriction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed529(core.List<api.DownloadAccessRestriction> o) {
|
| +checkUnnamed318(core.List<api.DownloadAccessRestriction> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDownloadAccessRestriction(o[0]);
|
| checkDownloadAccessRestriction(o[1]);
|
| @@ -1065,7 +1065,7 @@ buildDownloadAccesses() {
|
| var o = new api.DownloadAccesses();
|
| buildCounterDownloadAccesses++;
|
| if (buildCounterDownloadAccesses < 3) {
|
| - o.downloadAccessList = buildUnnamed529();
|
| + o.downloadAccessList = buildUnnamed318();
|
| o.kind = "foo";
|
| }
|
| buildCounterDownloadAccesses--;
|
| @@ -1075,7 +1075,7 @@ buildDownloadAccesses() {
|
| checkDownloadAccesses(api.DownloadAccesses o) {
|
| buildCounterDownloadAccesses++;
|
| if (buildCounterDownloadAccesses < 3) {
|
| - checkUnnamed529(o.downloadAccessList);
|
| + checkUnnamed318(o.downloadAccessList);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterDownloadAccesses--;
|
| @@ -1129,30 +1129,30 @@ checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) {
|
| buildCounterGeolayerdataGeoBoundary--;
|
| }
|
|
|
| -buildUnnamed530() {
|
| +buildUnnamed319() {
|
| var o = new core.List<api.GeolayerdataGeoBoundary>();
|
| o.add(buildGeolayerdataGeoBoundary());
|
| o.add(buildGeolayerdataGeoBoundary());
|
| return o;
|
| }
|
|
|
| -checkUnnamed530(core.List<api.GeolayerdataGeoBoundary> o) {
|
| +checkUnnamed319(core.List<api.GeolayerdataGeoBoundary> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGeolayerdataGeoBoundary(o[0]);
|
| checkGeolayerdataGeoBoundary(o[1]);
|
| }
|
|
|
| -buildUnnamed531() {
|
| +buildUnnamed320() {
|
| var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>();
|
| - o.add(buildUnnamed530());
|
| - o.add(buildUnnamed530());
|
| + o.add(buildUnnamed319());
|
| + o.add(buildUnnamed319());
|
| return o;
|
| }
|
|
|
| -checkUnnamed531(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
|
| +checkUnnamed320(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed530(o[0]);
|
| - checkUnnamed530(o[1]);
|
| + checkUnnamed319(o[0]);
|
| + checkUnnamed319(o[1]);
|
| }
|
|
|
| core.int buildCounterGeolayerdataGeoViewportHi = 0;
|
| @@ -1223,7 +1223,7 @@ buildGeolayerdataGeo() {
|
| var o = new api.GeolayerdataGeo();
|
| buildCounterGeolayerdataGeo++;
|
| if (buildCounterGeolayerdataGeo < 3) {
|
| - o.boundary = buildUnnamed531();
|
| + o.boundary = buildUnnamed320();
|
| o.cachePolicy = "foo";
|
| o.countryCode = "foo";
|
| o.latitude = 42.0;
|
| @@ -1239,7 +1239,7 @@ buildGeolayerdataGeo() {
|
| checkGeolayerdataGeo(api.GeolayerdataGeo o) {
|
| buildCounterGeolayerdataGeo++;
|
| if (buildCounterGeolayerdataGeo < 3) {
|
| - checkUnnamed531(o.boundary);
|
| + checkUnnamed320(o.boundary);
|
| unittest.expect(o.cachePolicy, unittest.equals('foo'));
|
| unittest.expect(o.countryCode, unittest.equals('foo'));
|
| unittest.expect(o.latitude, unittest.equals(42.0));
|
| @@ -1274,14 +1274,14 @@ checkGeolayerdata(api.Geolayerdata o) {
|
| buildCounterGeolayerdata--;
|
| }
|
|
|
| -buildUnnamed532() {
|
| +buildUnnamed321() {
|
| var o = new core.List<api.Layersummary>();
|
| o.add(buildLayersummary());
|
| o.add(buildLayersummary());
|
| return o;
|
| }
|
|
|
| -checkUnnamed532(core.List<api.Layersummary> o) {
|
| +checkUnnamed321(core.List<api.Layersummary> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLayersummary(o[0]);
|
| checkLayersummary(o[1]);
|
| @@ -1292,7 +1292,7 @@ buildLayersummaries() {
|
| var o = new api.Layersummaries();
|
| buildCounterLayersummaries++;
|
| if (buildCounterLayersummaries < 3) {
|
| - o.items = buildUnnamed532();
|
| + o.items = buildUnnamed321();
|
| o.kind = "foo";
|
| o.totalItems = 42;
|
| }
|
| @@ -1303,21 +1303,21 @@ buildLayersummaries() {
|
| checkLayersummaries(api.Layersummaries o) {
|
| buildCounterLayersummaries++;
|
| if (buildCounterLayersummaries < 3) {
|
| - checkUnnamed532(o.items);
|
| + checkUnnamed321(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| }
|
| buildCounterLayersummaries--;
|
| }
|
|
|
| -buildUnnamed533() {
|
| +buildUnnamed322() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed533(core.List<core.String> o) {
|
| +checkUnnamed322(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1329,7 +1329,7 @@ buildLayersummary() {
|
| buildCounterLayersummary++;
|
| if (buildCounterLayersummary < 3) {
|
| o.annotationCount = 42;
|
| - o.annotationTypes = buildUnnamed533();
|
| + o.annotationTypes = buildUnnamed322();
|
| o.annotationsDataLink = "foo";
|
| o.annotationsLink = "foo";
|
| o.contentVersion = "foo";
|
| @@ -1350,7 +1350,7 @@ checkLayersummary(api.Layersummary o) {
|
| buildCounterLayersummary++;
|
| if (buildCounterLayersummary < 3) {
|
| unittest.expect(o.annotationCount, unittest.equals(42));
|
| - checkUnnamed533(o.annotationTypes);
|
| + checkUnnamed322(o.annotationTypes);
|
| unittest.expect(o.annotationsDataLink, unittest.equals('foo'));
|
| unittest.expect(o.annotationsLink, unittest.equals('foo'));
|
| unittest.expect(o.contentVersion, unittest.equals('foo'));
|
| @@ -1366,6 +1366,67 @@ checkLayersummary(api.Layersummary o) {
|
| buildCounterLayersummary--;
|
| }
|
|
|
| +core.int buildCounterMetadataItems = 0;
|
| +buildMetadataItems() {
|
| + var o = new api.MetadataItems();
|
| + buildCounterMetadataItems++;
|
| + if (buildCounterMetadataItems < 3) {
|
| + o.downloadUrl = "foo";
|
| + o.encryptedKey = "foo";
|
| + o.language = "foo";
|
| + o.size = "foo";
|
| + o.version = "foo";
|
| + }
|
| + buildCounterMetadataItems--;
|
| + return o;
|
| +}
|
| +
|
| +checkMetadataItems(api.MetadataItems o) {
|
| + buildCounterMetadataItems++;
|
| + if (buildCounterMetadataItems < 3) {
|
| + unittest.expect(o.downloadUrl, unittest.equals('foo'));
|
| + unittest.expect(o.encryptedKey, unittest.equals('foo'));
|
| + unittest.expect(o.language, unittest.equals('foo'));
|
| + unittest.expect(o.size, unittest.equals('foo'));
|
| + unittest.expect(o.version, unittest.equals('foo'));
|
| + }
|
| + buildCounterMetadataItems--;
|
| +}
|
| +
|
| +buildUnnamed323() {
|
| + var o = new core.List<api.MetadataItems>();
|
| + o.add(buildMetadataItems());
|
| + o.add(buildMetadataItems());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed323(core.List<api.MetadataItems> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkMetadataItems(o[0]);
|
| + checkMetadataItems(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterMetadata = 0;
|
| +buildMetadata() {
|
| + var o = new api.Metadata();
|
| + buildCounterMetadata++;
|
| + if (buildCounterMetadata < 3) {
|
| + o.items = buildUnnamed323();
|
| + o.kind = "foo";
|
| + }
|
| + buildCounterMetadata--;
|
| + return o;
|
| +}
|
| +
|
| +checkMetadata(api.Metadata o) {
|
| + buildCounterMetadata++;
|
| + if (buildCounterMetadata < 3) {
|
| + checkUnnamed323(o.items);
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + }
|
| + buildCounterMetadata--;
|
| +}
|
| +
|
| core.int buildCounterOffersItemsItems = 0;
|
| buildOffersItemsItems() {
|
| var o = new api.OffersItemsItems();
|
| @@ -1395,14 +1456,14 @@ checkOffersItemsItems(api.OffersItemsItems o) {
|
| buildCounterOffersItemsItems--;
|
| }
|
|
|
| -buildUnnamed534() {
|
| +buildUnnamed324() {
|
| var o = new core.List<api.OffersItemsItems>();
|
| o.add(buildOffersItemsItems());
|
| o.add(buildOffersItemsItems());
|
| return o;
|
| }
|
|
|
| -checkUnnamed534(core.List<api.OffersItemsItems> o) {
|
| +checkUnnamed324(core.List<api.OffersItemsItems> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffersItemsItems(o[0]);
|
| checkOffersItemsItems(o[1]);
|
| @@ -1415,7 +1476,7 @@ buildOffersItems() {
|
| if (buildCounterOffersItems < 3) {
|
| o.artUrl = "foo";
|
| o.id = "foo";
|
| - o.items = buildUnnamed534();
|
| + o.items = buildUnnamed324();
|
| }
|
| buildCounterOffersItems--;
|
| return o;
|
| @@ -1426,19 +1487,19 @@ checkOffersItems(api.OffersItems o) {
|
| if (buildCounterOffersItems < 3) {
|
| unittest.expect(o.artUrl, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed534(o.items);
|
| + checkUnnamed324(o.items);
|
| }
|
| buildCounterOffersItems--;
|
| }
|
|
|
| -buildUnnamed535() {
|
| +buildUnnamed325() {
|
| var o = new core.List<api.OffersItems>();
|
| o.add(buildOffersItems());
|
| o.add(buildOffersItems());
|
| return o;
|
| }
|
|
|
| -checkUnnamed535(core.List<api.OffersItems> o) {
|
| +checkUnnamed325(core.List<api.OffersItems> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOffersItems(o[0]);
|
| checkOffersItems(o[1]);
|
| @@ -1449,7 +1510,7 @@ buildOffers() {
|
| var o = new api.Offers();
|
| buildCounterOffers++;
|
| if (buildCounterOffers < 3) {
|
| - o.items = buildUnnamed535();
|
| + o.items = buildUnnamed325();
|
| o.kind = "foo";
|
| }
|
| buildCounterOffers--;
|
| @@ -1459,7 +1520,7 @@ buildOffers() {
|
| checkOffers(api.Offers o) {
|
| buildCounterOffers++;
|
| if (buildCounterOffers < 3) {
|
| - checkUnnamed535(o.items);
|
| + checkUnnamed325(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterOffers--;
|
| @@ -1710,14 +1771,14 @@ checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) {
|
| buildCounterVolumeLayerInfoLayers--;
|
| }
|
|
|
| -buildUnnamed536() {
|
| +buildUnnamed326() {
|
| var o = new core.List<api.VolumeLayerInfoLayers>();
|
| o.add(buildVolumeLayerInfoLayers());
|
| o.add(buildVolumeLayerInfoLayers());
|
| return o;
|
| }
|
|
|
| -checkUnnamed536(core.List<api.VolumeLayerInfoLayers> o) {
|
| +checkUnnamed326(core.List<api.VolumeLayerInfoLayers> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVolumeLayerInfoLayers(o[0]);
|
| checkVolumeLayerInfoLayers(o[1]);
|
| @@ -1728,7 +1789,7 @@ buildVolumeLayerInfo() {
|
| var o = new api.VolumeLayerInfo();
|
| buildCounterVolumeLayerInfo++;
|
| if (buildCounterVolumeLayerInfo < 3) {
|
| - o.layers = buildUnnamed536();
|
| + o.layers = buildUnnamed326();
|
| }
|
| buildCounterVolumeLayerInfo--;
|
| return o;
|
| @@ -1737,7 +1798,7 @@ buildVolumeLayerInfo() {
|
| checkVolumeLayerInfo(api.VolumeLayerInfo o) {
|
| buildCounterVolumeLayerInfo++;
|
| if (buildCounterVolumeLayerInfo < 3) {
|
| - checkUnnamed536(o.layers);
|
| + checkUnnamed326(o.layers);
|
| }
|
| buildCounterVolumeLayerInfo--;
|
| }
|
| @@ -1870,14 +1931,14 @@ checkVolumeSaleInfoOffers(api.VolumeSaleInfoOffers o) {
|
| buildCounterVolumeSaleInfoOffers--;
|
| }
|
|
|
| -buildUnnamed537() {
|
| +buildUnnamed327() {
|
| var o = new core.List<api.VolumeSaleInfoOffers>();
|
| o.add(buildVolumeSaleInfoOffers());
|
| o.add(buildVolumeSaleInfoOffers());
|
| return o;
|
| }
|
|
|
| -checkUnnamed537(core.List<api.VolumeSaleInfoOffers> o) {
|
| +checkUnnamed327(core.List<api.VolumeSaleInfoOffers> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVolumeSaleInfoOffers(o[0]);
|
| checkVolumeSaleInfoOffers(o[1]);
|
| @@ -1913,7 +1974,7 @@ buildVolumeSaleInfo() {
|
| o.country = "foo";
|
| o.isEbook = true;
|
| o.listPrice = buildVolumeSaleInfoListPrice();
|
| - o.offers = buildUnnamed537();
|
| + o.offers = buildUnnamed327();
|
| o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02");
|
| o.retailPrice = buildVolumeSaleInfoRetailPrice();
|
| o.saleability = "foo";
|
| @@ -1929,7 +1990,7 @@ checkVolumeSaleInfo(api.VolumeSaleInfo o) {
|
| unittest.expect(o.country, unittest.equals('foo'));
|
| unittest.expect(o.isEbook, unittest.isTrue);
|
| checkVolumeSaleInfoListPrice(o.listPrice);
|
| - checkUnnamed537(o.offers);
|
| + checkUnnamed327(o.offers);
|
| unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| checkVolumeSaleInfoRetailPrice(o.retailPrice);
|
| unittest.expect(o.saleability, unittest.equals('foo'));
|
| @@ -2060,27 +2121,27 @@ checkVolumeUserInfo(api.VolumeUserInfo o) {
|
| buildCounterVolumeUserInfo--;
|
| }
|
|
|
| -buildUnnamed538() {
|
| +buildUnnamed328() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed538(core.List<core.String> o) {
|
| +checkUnnamed328(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed539() {
|
| +buildUnnamed329() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed539(core.List<core.String> o) {
|
| +checkUnnamed329(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -2159,14 +2220,14 @@ checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers
|
| buildCounterVolumeVolumeInfoIndustryIdentifiers--;
|
| }
|
|
|
| -buildUnnamed540() {
|
| +buildUnnamed330() {
|
| var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
|
| o.add(buildVolumeVolumeInfoIndustryIdentifiers());
|
| o.add(buildVolumeVolumeInfoIndustryIdentifiers());
|
| return o;
|
| }
|
|
|
| -checkUnnamed540(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
|
| +checkUnnamed330(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVolumeVolumeInfoIndustryIdentifiers(o[0]);
|
| checkVolumeVolumeInfoIndustryIdentifiers(o[1]);
|
| @@ -2177,15 +2238,15 @@ buildVolumeVolumeInfo() {
|
| var o = new api.VolumeVolumeInfo();
|
| buildCounterVolumeVolumeInfo++;
|
| if (buildCounterVolumeVolumeInfo < 3) {
|
| - o.authors = buildUnnamed538();
|
| + o.authors = buildUnnamed328();
|
| o.averageRating = 42.0;
|
| o.canonicalVolumeLink = "foo";
|
| - o.categories = buildUnnamed539();
|
| + o.categories = buildUnnamed329();
|
| o.contentVersion = "foo";
|
| o.description = "foo";
|
| o.dimensions = buildVolumeVolumeInfoDimensions();
|
| o.imageLinks = buildVolumeVolumeInfoImageLinks();
|
| - o.industryIdentifiers = buildUnnamed540();
|
| + o.industryIdentifiers = buildUnnamed330();
|
| o.infoLink = "foo";
|
| o.language = "foo";
|
| o.mainCategory = "foo";
|
| @@ -2207,15 +2268,15 @@ buildVolumeVolumeInfo() {
|
| checkVolumeVolumeInfo(api.VolumeVolumeInfo o) {
|
| buildCounterVolumeVolumeInfo++;
|
| if (buildCounterVolumeVolumeInfo < 3) {
|
| - checkUnnamed538(o.authors);
|
| + checkUnnamed328(o.authors);
|
| unittest.expect(o.averageRating, unittest.equals(42.0));
|
| unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
|
| - checkUnnamed539(o.categories);
|
| + checkUnnamed329(o.categories);
|
| unittest.expect(o.contentVersion, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| checkVolumeVolumeInfoDimensions(o.dimensions);
|
| checkVolumeVolumeInfoImageLinks(o.imageLinks);
|
| - checkUnnamed540(o.industryIdentifiers);
|
| + checkUnnamed330(o.industryIdentifiers);
|
| unittest.expect(o.infoLink, unittest.equals('foo'));
|
| unittest.expect(o.language, unittest.equals('foo'));
|
| unittest.expect(o.mainCategory, unittest.equals('foo'));
|
| @@ -2297,14 +2358,14 @@ checkVolumeannotationContentRanges(api.VolumeannotationContentRanges o) {
|
| buildCounterVolumeannotationContentRanges--;
|
| }
|
|
|
| -buildUnnamed541() {
|
| +buildUnnamed331() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed541(core.List<core.String> o) {
|
| +checkUnnamed331(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -2324,7 +2385,7 @@ buildVolumeannotation() {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.layerId = "foo";
|
| - o.pageIds = buildUnnamed541();
|
| + o.pageIds = buildUnnamed331();
|
| o.selectedText = "foo";
|
| o.selfLink = "foo";
|
| o.updated = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -2346,7 +2407,7 @@ checkVolumeannotation(api.Volumeannotation o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.layerId, unittest.equals('foo'));
|
| - checkUnnamed541(o.pageIds);
|
| + checkUnnamed331(o.pageIds);
|
| unittest.expect(o.selectedText, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| @@ -2355,14 +2416,14 @@ checkVolumeannotation(api.Volumeannotation o) {
|
| buildCounterVolumeannotation--;
|
| }
|
|
|
| -buildUnnamed542() {
|
| +buildUnnamed332() {
|
| var o = new core.List<api.Volumeannotation>();
|
| o.add(buildVolumeannotation());
|
| o.add(buildVolumeannotation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed542(core.List<api.Volumeannotation> o) {
|
| +checkUnnamed332(core.List<api.Volumeannotation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVolumeannotation(o[0]);
|
| checkVolumeannotation(o[1]);
|
| @@ -2373,7 +2434,7 @@ buildVolumeannotations() {
|
| var o = new api.Volumeannotations();
|
| buildCounterVolumeannotations++;
|
| if (buildCounterVolumeannotations < 3) {
|
| - o.items = buildUnnamed542();
|
| + o.items = buildUnnamed332();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.totalItems = 42;
|
| @@ -2386,7 +2447,7 @@ buildVolumeannotations() {
|
| checkVolumeannotations(api.Volumeannotations o) {
|
| buildCounterVolumeannotations++;
|
| if (buildCounterVolumeannotations < 3) {
|
| - checkUnnamed542(o.items);
|
| + checkUnnamed332(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| @@ -2395,14 +2456,14 @@ checkVolumeannotations(api.Volumeannotations o) {
|
| buildCounterVolumeannotations--;
|
| }
|
|
|
| -buildUnnamed543() {
|
| +buildUnnamed333() {
|
| var o = new core.List<api.Volume>();
|
| o.add(buildVolume());
|
| o.add(buildVolume());
|
| return o;
|
| }
|
|
|
| -checkUnnamed543(core.List<api.Volume> o) {
|
| +checkUnnamed333(core.List<api.Volume> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVolume(o[0]);
|
| checkVolume(o[1]);
|
| @@ -2413,7 +2474,7 @@ buildVolumes() {
|
| var o = new api.Volumes();
|
| buildCounterVolumes++;
|
| if (buildCounterVolumes < 3) {
|
| - o.items = buildUnnamed543();
|
| + o.items = buildUnnamed333();
|
| o.kind = "foo";
|
| o.totalItems = 42;
|
| }
|
| @@ -2424,151 +2485,151 @@ buildVolumes() {
|
| checkVolumes(api.Volumes o) {
|
| buildCounterVolumes++;
|
| if (buildCounterVolumes < 3) {
|
| - checkUnnamed543(o.items);
|
| + checkUnnamed333(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| }
|
| buildCounterVolumes--;
|
| }
|
|
|
| -buildUnnamed544() {
|
| +buildUnnamed334() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed544(core.List<core.String> o) {
|
| +checkUnnamed334(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed545() {
|
| +buildUnnamed335() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed545(core.List<core.String> o) {
|
| +checkUnnamed335(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed546() {
|
| +buildUnnamed336() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed546(core.List<core.String> o) {
|
| +checkUnnamed336(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed547() {
|
| +buildUnnamed337() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed547(core.List<core.String> o) {
|
| +checkUnnamed337(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed548() {
|
| +buildUnnamed338() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed548(core.List<core.String> o) {
|
| +checkUnnamed338(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed549() {
|
| +buildUnnamed339() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed549(core.List<core.String> o) {
|
| +checkUnnamed339(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed550() {
|
| +buildUnnamed340() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed550(core.List<core.String> o) {
|
| +checkUnnamed340(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed551() {
|
| +buildUnnamed341() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed551(core.List<core.String> o) {
|
| +checkUnnamed341(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed552() {
|
| +buildUnnamed342() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed552(core.List<core.String> o) {
|
| +checkUnnamed342(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed553() {
|
| +buildUnnamed343() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed553(core.List<core.String> o) {
|
| +checkUnnamed343(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed554() {
|
| +buildUnnamed344() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed554(core.List<core.String> o) {
|
| +checkUnnamed344(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -2972,6 +3033,24 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-MetadataItems", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildMetadataItems();
|
| + var od = new api.MetadataItems.fromJson(o.toJson());
|
| + checkMetadataItems(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-Metadata", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildMetadata();
|
| + var od = new api.Metadata.fromJson(o.toJson());
|
| + checkMetadata(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-OffersItemsItems", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildOffersItemsItems();
|
| @@ -3629,6 +3708,57 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("resource-DictionaryResourceApi", () {
|
| + unittest.test("method--listOfflineMetadata", () {
|
| +
|
| + var mock = new common_test.HttpServerMock();
|
| + api.DictionaryResourceApi res = new api.BooksApi(mock).dictionary;
|
| + var arg_cpksver = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("books/v1/"));
|
| + pathOffset += 9;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 30), unittest.equals("dictionary/listOfflineMetadata"));
|
| + pathOffset += 30;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["cpksver"].first, unittest.equals(arg_cpksver));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildMetadata());
|
| + return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| + }), true);
|
| + res.listOfflineMetadata(arg_cpksver).then(unittest.expectAsync(((api.Metadata response) {
|
| + checkMetadata(response);
|
| + })));
|
| + });
|
| +
|
| + });
|
| +
|
| +
|
| unittest.group("resource-LayersResourceApi", () {
|
| unittest.test("method--get", () {
|
|
|
| @@ -3842,7 +3972,7 @@ main() {
|
| var arg_volumeId = "foo";
|
| var arg_layerId = "foo";
|
| var arg_contentVersion = "foo";
|
| - var arg_annotationDataId = buildUnnamed544();
|
| + var arg_annotationDataId = buildUnnamed334();
|
| var arg_h = 42;
|
| var arg_locale = "foo";
|
| var arg_maxResults = 42;
|
| @@ -4082,7 +4212,7 @@ main() {
|
|
|
| var mock = new common_test.HttpServerMock();
|
| api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
|
| - var arg_volumeIds = buildUnnamed545();
|
| + var arg_volumeIds = buildUnnamed335();
|
| var arg_cpksver = "foo";
|
| var arg_locale = "foo";
|
| var arg_source = "foo";
|
| @@ -4195,10 +4325,10 @@ main() {
|
| var arg_source = "foo";
|
| var arg_nonce = "foo";
|
| var arg_cpksver = "foo";
|
| - var arg_features = buildUnnamed546();
|
| + var arg_features = buildUnnamed336();
|
| var arg_locale = "foo";
|
| var arg_showPreorders = true;
|
| - var arg_volumeIds = buildUnnamed547();
|
| + var arg_volumeIds = buildUnnamed337();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -4356,6 +4486,7 @@ main() {
|
| var mock = new common_test.HttpServerMock();
|
| api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations;
|
| var arg_request = buildAnnotation();
|
| + var arg_country = "foo";
|
| var arg_showOnlySummaryInResponse = true;
|
| var arg_source = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -4389,6 +4520,7 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| + unittest.expect(queryMap["country"].first, unittest.equals(arg_country));
|
| unittest.expect(queryMap["showOnlySummaryInResponse"].first, unittest.equals("$arg_showOnlySummaryInResponse"));
|
| unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
|
|
|
| @@ -4399,7 +4531,7 @@ main() {
|
| var resp = convert.JSON.encode(buildAnnotation());
|
| return new async.Future.value(common_test.stringResponse(200, h, resp));
|
| }), true);
|
| - res.insert(arg_request, showOnlySummaryInResponse: arg_showOnlySummaryInResponse, source: arg_source).then(unittest.expectAsync(((api.Annotation response) {
|
| + res.insert(arg_request, country: arg_country, showOnlySummaryInResponse: arg_showOnlySummaryInResponse, source: arg_source).then(unittest.expectAsync(((api.Annotation response) {
|
| checkAnnotation(response);
|
| })));
|
| });
|
| @@ -4410,9 +4542,9 @@ main() {
|
| api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations;
|
| var arg_contentVersion = "foo";
|
| var arg_layerId = "foo";
|
| - var arg_layerIds = buildUnnamed548();
|
| + var arg_layerIds = buildUnnamed338();
|
| var arg_maxResults = 42;
|
| - var arg_pageIds = buildUnnamed549();
|
| + var arg_pageIds = buildUnnamed339();
|
| var arg_pageToken = "foo";
|
| var arg_showDeleted = true;
|
| var arg_source = "foo";
|
| @@ -4475,7 +4607,7 @@ main() {
|
|
|
| var mock = new common_test.HttpServerMock();
|
| api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary.annotations;
|
| - var arg_layerIds = buildUnnamed550();
|
| + var arg_layerIds = buildUnnamed340();
|
| var arg_volumeId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| @@ -5468,10 +5600,10 @@ main() {
|
|
|
| var mock = new common_test.HttpServerMock();
|
| api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks;
|
| - var arg_acquireMethod = buildUnnamed551();
|
| + var arg_acquireMethod = buildUnnamed341();
|
| var arg_locale = "foo";
|
| var arg_maxResults = 42;
|
| - var arg_processingState = buildUnnamed552();
|
| + var arg_processingState = buildUnnamed342();
|
| var arg_source = "foo";
|
| var arg_startIndex = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| @@ -5637,10 +5769,10 @@ main() {
|
| api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.useruploaded;
|
| var arg_locale = "foo";
|
| var arg_maxResults = 42;
|
| - var arg_processingState = buildUnnamed553();
|
| + var arg_processingState = buildUnnamed343();
|
| var arg_source = "foo";
|
| var arg_startIndex = 42;
|
| - var arg_volumeId = buildUnnamed554();
|
| + var arg_volumeId = buildUnnamed344();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|