| Index: generated/googleapis/test/qpxexpress/v1_test.dart
|
| diff --git a/generated/googleapis/test/qpxexpress/v1_test.dart b/generated/googleapis/test/qpxexpress/v1_test.dart
|
| index 2d40ad952ea8d834178562d1ab5ebf69f0871426..1fca2b9e1562e5be0630cc87dbc84d85b1fd3a92 100644
|
| --- a/generated/googleapis/test/qpxexpress/v1_test.dart
|
| +++ b/generated/googleapis/test/qpxexpress/v1_test.dart
|
| @@ -99,14 +99,14 @@ checkAirportData(api.AirportData o) {
|
| buildCounterAirportData--;
|
| }
|
|
|
| -buildUnnamed2683() {
|
| +buildUnnamed0() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2683(core.List<core.String> o) {
|
| +checkUnnamed0(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'));
|
| @@ -119,7 +119,7 @@ buildBagDescriptor() {
|
| if (buildCounterBagDescriptor < 3) {
|
| o.commercialName = "foo";
|
| o.count = 42;
|
| - o.description = buildUnnamed2683();
|
| + o.description = buildUnnamed0();
|
| o.kind = "foo";
|
| o.subcode = "foo";
|
| }
|
| @@ -132,7 +132,7 @@ checkBagDescriptor(api.BagDescriptor o) {
|
| if (buildCounterBagDescriptor < 3) {
|
| unittest.expect(o.commercialName, unittest.equals('foo'));
|
| unittest.expect(o.count, unittest.equals(42));
|
| - checkUnnamed2683(o.description);
|
| + checkUnnamed0(o.description);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.subcode, unittest.equals('foo'));
|
| }
|
| @@ -187,66 +187,66 @@ checkCityData(api.CityData o) {
|
| buildCounterCityData--;
|
| }
|
|
|
| -buildUnnamed2684() {
|
| +buildUnnamed1() {
|
| var o = new core.List<api.AircraftData>();
|
| o.add(buildAircraftData());
|
| o.add(buildAircraftData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2684(core.List<api.AircraftData> o) {
|
| +checkUnnamed1(core.List<api.AircraftData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAircraftData(o[0]);
|
| checkAircraftData(o[1]);
|
| }
|
|
|
| -buildUnnamed2685() {
|
| +buildUnnamed2() {
|
| var o = new core.List<api.AirportData>();
|
| o.add(buildAirportData());
|
| o.add(buildAirportData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2685(core.List<api.AirportData> o) {
|
| +checkUnnamed2(core.List<api.AirportData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAirportData(o[0]);
|
| checkAirportData(o[1]);
|
| }
|
|
|
| -buildUnnamed2686() {
|
| +buildUnnamed3() {
|
| var o = new core.List<api.CarrierData>();
|
| o.add(buildCarrierData());
|
| o.add(buildCarrierData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2686(core.List<api.CarrierData> o) {
|
| +checkUnnamed3(core.List<api.CarrierData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCarrierData(o[0]);
|
| checkCarrierData(o[1]);
|
| }
|
|
|
| -buildUnnamed2687() {
|
| +buildUnnamed4() {
|
| var o = new core.List<api.CityData>();
|
| o.add(buildCityData());
|
| o.add(buildCityData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2687(core.List<api.CityData> o) {
|
| +checkUnnamed4(core.List<api.CityData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCityData(o[0]);
|
| checkCityData(o[1]);
|
| }
|
|
|
| -buildUnnamed2688() {
|
| +buildUnnamed5() {
|
| var o = new core.List<api.TaxData>();
|
| o.add(buildTaxData());
|
| o.add(buildTaxData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2688(core.List<api.TaxData> o) {
|
| +checkUnnamed5(core.List<api.TaxData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTaxData(o[0]);
|
| checkTaxData(o[1]);
|
| @@ -257,12 +257,12 @@ buildData() {
|
| var o = new api.Data();
|
| buildCounterData++;
|
| if (buildCounterData < 3) {
|
| - o.aircraft = buildUnnamed2684();
|
| - o.airport = buildUnnamed2685();
|
| - o.carrier = buildUnnamed2686();
|
| - o.city = buildUnnamed2687();
|
| + o.aircraft = buildUnnamed1();
|
| + o.airport = buildUnnamed2();
|
| + o.carrier = buildUnnamed3();
|
| + o.city = buildUnnamed4();
|
| o.kind = "foo";
|
| - o.tax = buildUnnamed2688();
|
| + o.tax = buildUnnamed5();
|
| }
|
| buildCounterData--;
|
| return o;
|
| @@ -271,12 +271,12 @@ buildData() {
|
| checkData(api.Data o) {
|
| buildCounterData++;
|
| if (buildCounterData < 3) {
|
| - checkUnnamed2684(o.aircraft);
|
| - checkUnnamed2685(o.airport);
|
| - checkUnnamed2686(o.carrier);
|
| - checkUnnamed2687(o.city);
|
| + checkUnnamed1(o.aircraft);
|
| + checkUnnamed2(o.airport);
|
| + checkUnnamed3(o.carrier);
|
| + checkUnnamed4(o.city);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2688(o.tax);
|
| + checkUnnamed5(o.tax);
|
| }
|
| buildCounterData--;
|
| }
|
| @@ -333,14 +333,14 @@ checkFlightInfo(api.FlightInfo o) {
|
| buildCounterFlightInfo--;
|
| }
|
|
|
| -buildUnnamed2689() {
|
| +buildUnnamed6() {
|
| var o = new core.List<api.BagDescriptor>();
|
| o.add(buildBagDescriptor());
|
| o.add(buildBagDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2689(core.List<api.BagDescriptor> o) {
|
| +checkUnnamed6(core.List<api.BagDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBagDescriptor(o[0]);
|
| checkBagDescriptor(o[1]);
|
| @@ -351,7 +351,7 @@ buildFreeBaggageAllowance() {
|
| var o = new api.FreeBaggageAllowance();
|
| buildCounterFreeBaggageAllowance++;
|
| if (buildCounterFreeBaggageAllowance < 3) {
|
| - o.bagDescriptor = buildUnnamed2689();
|
| + o.bagDescriptor = buildUnnamed6();
|
| o.kilos = 42;
|
| o.kilosPerPiece = 42;
|
| o.kind = "foo";
|
| @@ -365,7 +365,7 @@ buildFreeBaggageAllowance() {
|
| checkFreeBaggageAllowance(api.FreeBaggageAllowance o) {
|
| buildCounterFreeBaggageAllowance++;
|
| if (buildCounterFreeBaggageAllowance < 3) {
|
| - checkUnnamed2689(o.bagDescriptor);
|
| + checkUnnamed6(o.bagDescriptor);
|
| unittest.expect(o.kilos, unittest.equals(42));
|
| unittest.expect(o.kilosPerPiece, unittest.equals(42));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| @@ -455,40 +455,40 @@ checkPassengerCounts(api.PassengerCounts o) {
|
| buildCounterPassengerCounts--;
|
| }
|
|
|
| -buildUnnamed2690() {
|
| +buildUnnamed7() {
|
| var o = new core.List<api.FareInfo>();
|
| o.add(buildFareInfo());
|
| o.add(buildFareInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2690(core.List<api.FareInfo> o) {
|
| +checkUnnamed7(core.List<api.FareInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFareInfo(o[0]);
|
| checkFareInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed2691() {
|
| +buildUnnamed8() {
|
| var o = new core.List<api.SegmentPricing>();
|
| o.add(buildSegmentPricing());
|
| o.add(buildSegmentPricing());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2691(core.List<api.SegmentPricing> o) {
|
| +checkUnnamed8(core.List<api.SegmentPricing> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSegmentPricing(o[0]);
|
| checkSegmentPricing(o[1]);
|
| }
|
|
|
| -buildUnnamed2692() {
|
| +buildUnnamed9() {
|
| var o = new core.List<api.TaxInfo>();
|
| o.add(buildTaxInfo());
|
| o.add(buildTaxInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2692(core.List<api.TaxInfo> o) {
|
| +checkUnnamed9(core.List<api.TaxInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTaxInfo(o[0]);
|
| checkTaxInfo(o[1]);
|
| @@ -500,7 +500,7 @@ buildPricingInfo() {
|
| buildCounterPricingInfo++;
|
| if (buildCounterPricingInfo < 3) {
|
| o.baseFareTotal = "foo";
|
| - o.fare = buildUnnamed2690();
|
| + o.fare = buildUnnamed7();
|
| o.fareCalculation = "foo";
|
| o.kind = "foo";
|
| o.latestTicketingTime = "foo";
|
| @@ -510,8 +510,8 @@ buildPricingInfo() {
|
| o.saleFareTotal = "foo";
|
| o.saleTaxTotal = "foo";
|
| o.saleTotal = "foo";
|
| - o.segmentPricing = buildUnnamed2691();
|
| - o.tax = buildUnnamed2692();
|
| + o.segmentPricing = buildUnnamed8();
|
| + o.tax = buildUnnamed9();
|
| }
|
| buildCounterPricingInfo--;
|
| return o;
|
| @@ -521,7 +521,7 @@ checkPricingInfo(api.PricingInfo o) {
|
| buildCounterPricingInfo++;
|
| if (buildCounterPricingInfo < 3) {
|
| unittest.expect(o.baseFareTotal, unittest.equals('foo'));
|
| - checkUnnamed2690(o.fare);
|
| + checkUnnamed7(o.fare);
|
| unittest.expect(o.fareCalculation, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.latestTicketingTime, unittest.equals('foo'));
|
| @@ -531,20 +531,20 @@ checkPricingInfo(api.PricingInfo o) {
|
| unittest.expect(o.saleFareTotal, unittest.equals('foo'));
|
| unittest.expect(o.saleTaxTotal, unittest.equals('foo'));
|
| unittest.expect(o.saleTotal, unittest.equals('foo'));
|
| - checkUnnamed2691(o.segmentPricing);
|
| - checkUnnamed2692(o.tax);
|
| + checkUnnamed8(o.segmentPricing);
|
| + checkUnnamed9(o.tax);
|
| }
|
| buildCounterPricingInfo--;
|
| }
|
|
|
| -buildUnnamed2693() {
|
| +buildUnnamed10() {
|
| var o = new core.List<api.LegInfo>();
|
| o.add(buildLegInfo());
|
| o.add(buildLegInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2693(core.List<api.LegInfo> o) {
|
| +checkUnnamed10(core.List<api.LegInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLegInfo(o[0]);
|
| checkLegInfo(o[1]);
|
| @@ -563,7 +563,7 @@ buildSegmentInfo() {
|
| o.flight = buildFlightInfo();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.leg = buildUnnamed2693();
|
| + o.leg = buildUnnamed10();
|
| o.marriedSegmentGroup = "foo";
|
| o.subjectToGovernmentApproval = true;
|
| }
|
| @@ -582,21 +582,21 @@ checkSegmentInfo(api.SegmentInfo o) {
|
| checkFlightInfo(o.flight);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2693(o.leg);
|
| + checkUnnamed10(o.leg);
|
| unittest.expect(o.marriedSegmentGroup, unittest.equals('foo'));
|
| unittest.expect(o.subjectToGovernmentApproval, unittest.isTrue);
|
| }
|
| buildCounterSegmentInfo--;
|
| }
|
|
|
| -buildUnnamed2694() {
|
| +buildUnnamed11() {
|
| var o = new core.List<api.FreeBaggageAllowance>();
|
| o.add(buildFreeBaggageAllowance());
|
| o.add(buildFreeBaggageAllowance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2694(core.List<api.FreeBaggageAllowance> o) {
|
| +checkUnnamed11(core.List<api.FreeBaggageAllowance> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFreeBaggageAllowance(o[0]);
|
| checkFreeBaggageAllowance(o[1]);
|
| @@ -608,7 +608,7 @@ buildSegmentPricing() {
|
| buildCounterSegmentPricing++;
|
| if (buildCounterSegmentPricing < 3) {
|
| o.fareId = "foo";
|
| - o.freeBaggageOption = buildUnnamed2694();
|
| + o.freeBaggageOption = buildUnnamed11();
|
| o.kind = "foo";
|
| o.segmentId = "foo";
|
| }
|
| @@ -620,21 +620,21 @@ checkSegmentPricing(api.SegmentPricing o) {
|
| buildCounterSegmentPricing++;
|
| if (buildCounterSegmentPricing < 3) {
|
| unittest.expect(o.fareId, unittest.equals('foo'));
|
| - checkUnnamed2694(o.freeBaggageOption);
|
| + checkUnnamed11(o.freeBaggageOption);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.segmentId, unittest.equals('foo'));
|
| }
|
| buildCounterSegmentPricing--;
|
| }
|
|
|
| -buildUnnamed2695() {
|
| +buildUnnamed12() {
|
| var o = new core.List<api.SegmentInfo>();
|
| o.add(buildSegmentInfo());
|
| o.add(buildSegmentInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2695(core.List<api.SegmentInfo> o) {
|
| +checkUnnamed12(core.List<api.SegmentInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSegmentInfo(o[0]);
|
| checkSegmentInfo(o[1]);
|
| @@ -647,7 +647,7 @@ buildSliceInfo() {
|
| if (buildCounterSliceInfo < 3) {
|
| o.duration = 42;
|
| o.kind = "foo";
|
| - o.segment = buildUnnamed2695();
|
| + o.segment = buildUnnamed12();
|
| }
|
| buildCounterSliceInfo--;
|
| return o;
|
| @@ -658,32 +658,32 @@ checkSliceInfo(api.SliceInfo o) {
|
| if (buildCounterSliceInfo < 3) {
|
| unittest.expect(o.duration, unittest.equals(42));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2695(o.segment);
|
| + checkUnnamed12(o.segment);
|
| }
|
| buildCounterSliceInfo--;
|
| }
|
|
|
| -buildUnnamed2696() {
|
| +buildUnnamed13() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2696(core.List<core.String> o) {
|
| +checkUnnamed13(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'));
|
| }
|
|
|
| -buildUnnamed2697() {
|
| +buildUnnamed14() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2697(core.List<core.String> o) {
|
| +checkUnnamed14(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'));
|
| @@ -701,10 +701,10 @@ buildSliceInput() {
|
| o.maxConnectionDuration = 42;
|
| o.maxStops = 42;
|
| o.origin = "foo";
|
| - o.permittedCarrier = buildUnnamed2696();
|
| + o.permittedCarrier = buildUnnamed13();
|
| o.permittedDepartureTime = buildTimeOfDayRange();
|
| o.preferredCabin = "foo";
|
| - o.prohibitedCarrier = buildUnnamed2697();
|
| + o.prohibitedCarrier = buildUnnamed14();
|
| }
|
| buildCounterSliceInput--;
|
| return o;
|
| @@ -720,10 +720,10 @@ checkSliceInput(api.SliceInput o) {
|
| unittest.expect(o.maxConnectionDuration, unittest.equals(42));
|
| unittest.expect(o.maxStops, unittest.equals(42));
|
| unittest.expect(o.origin, unittest.equals('foo'));
|
| - checkUnnamed2696(o.permittedCarrier);
|
| + checkUnnamed13(o.permittedCarrier);
|
| checkTimeOfDayRange(o.permittedDepartureTime);
|
| unittest.expect(o.preferredCabin, unittest.equals('foo'));
|
| - checkUnnamed2697(o.prohibitedCarrier);
|
| + checkUnnamed14(o.prohibitedCarrier);
|
| }
|
| buildCounterSliceInput--;
|
| }
|
| @@ -803,27 +803,27 @@ checkTimeOfDayRange(api.TimeOfDayRange o) {
|
| buildCounterTimeOfDayRange--;
|
| }
|
|
|
| -buildUnnamed2698() {
|
| +buildUnnamed15() {
|
| var o = new core.List<api.PricingInfo>();
|
| o.add(buildPricingInfo());
|
| o.add(buildPricingInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2698(core.List<api.PricingInfo> o) {
|
| +checkUnnamed15(core.List<api.PricingInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPricingInfo(o[0]);
|
| checkPricingInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed2699() {
|
| +buildUnnamed16() {
|
| var o = new core.List<api.SliceInfo>();
|
| o.add(buildSliceInfo());
|
| o.add(buildSliceInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2699(core.List<api.SliceInfo> o) {
|
| +checkUnnamed16(core.List<api.SliceInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSliceInfo(o[0]);
|
| checkSliceInfo(o[1]);
|
| @@ -836,9 +836,9 @@ buildTripOption() {
|
| if (buildCounterTripOption < 3) {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.pricing = buildUnnamed2698();
|
| + o.pricing = buildUnnamed15();
|
| o.saleTotal = "foo";
|
| - o.slice = buildUnnamed2699();
|
| + o.slice = buildUnnamed16();
|
| }
|
| buildCounterTripOption--;
|
| return o;
|
| @@ -849,21 +849,21 @@ checkTripOption(api.TripOption o) {
|
| if (buildCounterTripOption < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2698(o.pricing);
|
| + checkUnnamed15(o.pricing);
|
| unittest.expect(o.saleTotal, unittest.equals('foo'));
|
| - checkUnnamed2699(o.slice);
|
| + checkUnnamed16(o.slice);
|
| }
|
| buildCounterTripOption--;
|
| }
|
|
|
| -buildUnnamed2700() {
|
| +buildUnnamed17() {
|
| var o = new core.List<api.SliceInput>();
|
| o.add(buildSliceInput());
|
| o.add(buildSliceInput());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2700(core.List<api.SliceInput> o) {
|
| +checkUnnamed17(core.List<api.SliceInput> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSliceInput(o[0]);
|
| checkSliceInput(o[1]);
|
| @@ -878,7 +878,7 @@ buildTripOptionsRequest() {
|
| o.passengers = buildPassengerCounts();
|
| o.refundable = true;
|
| o.saleCountry = "foo";
|
| - o.slice = buildUnnamed2700();
|
| + o.slice = buildUnnamed17();
|
| o.solutions = 42;
|
| }
|
| buildCounterTripOptionsRequest--;
|
| @@ -892,20 +892,20 @@ checkTripOptionsRequest(api.TripOptionsRequest o) {
|
| checkPassengerCounts(o.passengers);
|
| unittest.expect(o.refundable, unittest.isTrue);
|
| unittest.expect(o.saleCountry, unittest.equals('foo'));
|
| - checkUnnamed2700(o.slice);
|
| + checkUnnamed17(o.slice);
|
| unittest.expect(o.solutions, unittest.equals(42));
|
| }
|
| buildCounterTripOptionsRequest--;
|
| }
|
|
|
| -buildUnnamed2701() {
|
| +buildUnnamed18() {
|
| var o = new core.List<api.TripOption>();
|
| o.add(buildTripOption());
|
| o.add(buildTripOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2701(core.List<api.TripOption> o) {
|
| +checkUnnamed18(core.List<api.TripOption> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTripOption(o[0]);
|
| checkTripOption(o[1]);
|
| @@ -919,7 +919,7 @@ buildTripOptionsResponse() {
|
| o.data = buildData();
|
| o.kind = "foo";
|
| o.requestId = "foo";
|
| - o.tripOption = buildUnnamed2701();
|
| + o.tripOption = buildUnnamed18();
|
| }
|
| buildCounterTripOptionsResponse--;
|
| return o;
|
| @@ -931,7 +931,7 @@ checkTripOptionsResponse(api.TripOptionsResponse o) {
|
| checkData(o.data);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.requestId, unittest.equals('foo'));
|
| - checkUnnamed2701(o.tripOption);
|
| + checkUnnamed18(o.tripOption);
|
| }
|
| buildCounterTripOptionsResponse--;
|
| }
|
|
|