| 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 1faeda4e7e2b21e6c3299f2a9bca187d2ace938b..03e9f602300fb2e79619febe5c2e6cff14544fa0 100644
|
| --- a/generated/googleapis/test/qpxexpress/v1_test.dart
|
| +++ b/generated/googleapis/test/qpxexpress/v1_test.dart
|
| @@ -7,7 +7,7 @@ import "dart:convert" as convert;
|
|
|
| import 'package:http/http.dart' as http;
|
| import 'package:http/testing.dart' as http_testing;
|
| -import 'package:unittest/unittest.dart' as unittest;
|
| +import 'package:test/test.dart' as unittest;
|
|
|
| import 'package:googleapis/qpxexpress/v1.dart' as api;
|
|
|
| @@ -46,7 +46,7 @@ class HttpServerMock extends http.BaseClient {
|
| }
|
|
|
| http.StreamedResponse stringResponse(
|
| - core.int status, core.Map headers, core.String body) {
|
| + core.int status, core.Map<core.String, core.String> headers, core.String body) {
|
| var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
| @@ -99,14 +99,14 @@ checkAirportData(api.AirportData o) {
|
| buildCounterAirportData--;
|
| }
|
|
|
| -buildUnnamed18() {
|
| +buildUnnamed20() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed18(core.List<core.String> o) {
|
| +checkUnnamed20(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 = buildUnnamed18();
|
| + o.description = buildUnnamed20();
|
| 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));
|
| - checkUnnamed18(o.description);
|
| + checkUnnamed20(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--;
|
| }
|
|
|
| -buildUnnamed19() {
|
| +buildUnnamed21() {
|
| var o = new core.List<api.AircraftData>();
|
| o.add(buildAircraftData());
|
| o.add(buildAircraftData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed19(core.List<api.AircraftData> o) {
|
| +checkUnnamed21(core.List<api.AircraftData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAircraftData(o[0]);
|
| checkAircraftData(o[1]);
|
| }
|
|
|
| -buildUnnamed20() {
|
| +buildUnnamed22() {
|
| var o = new core.List<api.AirportData>();
|
| o.add(buildAirportData());
|
| o.add(buildAirportData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed20(core.List<api.AirportData> o) {
|
| +checkUnnamed22(core.List<api.AirportData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAirportData(o[0]);
|
| checkAirportData(o[1]);
|
| }
|
|
|
| -buildUnnamed21() {
|
| +buildUnnamed23() {
|
| var o = new core.List<api.CarrierData>();
|
| o.add(buildCarrierData());
|
| o.add(buildCarrierData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed21(core.List<api.CarrierData> o) {
|
| +checkUnnamed23(core.List<api.CarrierData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCarrierData(o[0]);
|
| checkCarrierData(o[1]);
|
| }
|
|
|
| -buildUnnamed22() {
|
| +buildUnnamed24() {
|
| var o = new core.List<api.CityData>();
|
| o.add(buildCityData());
|
| o.add(buildCityData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed22(core.List<api.CityData> o) {
|
| +checkUnnamed24(core.List<api.CityData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCityData(o[0]);
|
| checkCityData(o[1]);
|
| }
|
|
|
| -buildUnnamed23() {
|
| +buildUnnamed25() {
|
| var o = new core.List<api.TaxData>();
|
| o.add(buildTaxData());
|
| o.add(buildTaxData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed23(core.List<api.TaxData> o) {
|
| +checkUnnamed25(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 = buildUnnamed19();
|
| - o.airport = buildUnnamed20();
|
| - o.carrier = buildUnnamed21();
|
| - o.city = buildUnnamed22();
|
| + o.aircraft = buildUnnamed21();
|
| + o.airport = buildUnnamed22();
|
| + o.carrier = buildUnnamed23();
|
| + o.city = buildUnnamed24();
|
| o.kind = "foo";
|
| - o.tax = buildUnnamed23();
|
| + o.tax = buildUnnamed25();
|
| }
|
| buildCounterData--;
|
| return o;
|
| @@ -271,12 +271,12 @@ buildData() {
|
| checkData(api.Data o) {
|
| buildCounterData++;
|
| if (buildCounterData < 3) {
|
| - checkUnnamed19(o.aircraft);
|
| - checkUnnamed20(o.airport);
|
| - checkUnnamed21(o.carrier);
|
| - checkUnnamed22(o.city);
|
| + checkUnnamed21(o.aircraft);
|
| + checkUnnamed22(o.airport);
|
| + checkUnnamed23(o.carrier);
|
| + checkUnnamed24(o.city);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed23(o.tax);
|
| + checkUnnamed25(o.tax);
|
| }
|
| buildCounterData--;
|
| }
|
| @@ -333,14 +333,14 @@ checkFlightInfo(api.FlightInfo o) {
|
| buildCounterFlightInfo--;
|
| }
|
|
|
| -buildUnnamed24() {
|
| +buildUnnamed26() {
|
| var o = new core.List<api.BagDescriptor>();
|
| o.add(buildBagDescriptor());
|
| o.add(buildBagDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed24(core.List<api.BagDescriptor> o) {
|
| +checkUnnamed26(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 = buildUnnamed24();
|
| + o.bagDescriptor = buildUnnamed26();
|
| o.kilos = 42;
|
| o.kilosPerPiece = 42;
|
| o.kind = "foo";
|
| @@ -365,7 +365,7 @@ buildFreeBaggageAllowance() {
|
| checkFreeBaggageAllowance(api.FreeBaggageAllowance o) {
|
| buildCounterFreeBaggageAllowance++;
|
| if (buildCounterFreeBaggageAllowance < 3) {
|
| - checkUnnamed24(o.bagDescriptor);
|
| + checkUnnamed26(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--;
|
| }
|
|
|
| -buildUnnamed25() {
|
| +buildUnnamed27() {
|
| var o = new core.List<api.FareInfo>();
|
| o.add(buildFareInfo());
|
| o.add(buildFareInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed25(core.List<api.FareInfo> o) {
|
| +checkUnnamed27(core.List<api.FareInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFareInfo(o[0]);
|
| checkFareInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed26() {
|
| +buildUnnamed28() {
|
| var o = new core.List<api.SegmentPricing>();
|
| o.add(buildSegmentPricing());
|
| o.add(buildSegmentPricing());
|
| return o;
|
| }
|
|
|
| -checkUnnamed26(core.List<api.SegmentPricing> o) {
|
| +checkUnnamed28(core.List<api.SegmentPricing> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSegmentPricing(o[0]);
|
| checkSegmentPricing(o[1]);
|
| }
|
|
|
| -buildUnnamed27() {
|
| +buildUnnamed29() {
|
| var o = new core.List<api.TaxInfo>();
|
| o.add(buildTaxInfo());
|
| o.add(buildTaxInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed27(core.List<api.TaxInfo> o) {
|
| +checkUnnamed29(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 = buildUnnamed25();
|
| + o.fare = buildUnnamed27();
|
| 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 = buildUnnamed26();
|
| - o.tax = buildUnnamed27();
|
| + o.segmentPricing = buildUnnamed28();
|
| + o.tax = buildUnnamed29();
|
| }
|
| buildCounterPricingInfo--;
|
| return o;
|
| @@ -521,7 +521,7 @@ checkPricingInfo(api.PricingInfo o) {
|
| buildCounterPricingInfo++;
|
| if (buildCounterPricingInfo < 3) {
|
| unittest.expect(o.baseFareTotal, unittest.equals('foo'));
|
| - checkUnnamed25(o.fare);
|
| + checkUnnamed27(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'));
|
| - checkUnnamed26(o.segmentPricing);
|
| - checkUnnamed27(o.tax);
|
| + checkUnnamed28(o.segmentPricing);
|
| + checkUnnamed29(o.tax);
|
| }
|
| buildCounterPricingInfo--;
|
| }
|
|
|
| -buildUnnamed28() {
|
| +buildUnnamed30() {
|
| var o = new core.List<api.LegInfo>();
|
| o.add(buildLegInfo());
|
| o.add(buildLegInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed28(core.List<api.LegInfo> o) {
|
| +checkUnnamed30(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 = buildUnnamed28();
|
| + o.leg = buildUnnamed30();
|
| 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'));
|
| - checkUnnamed28(o.leg);
|
| + checkUnnamed30(o.leg);
|
| unittest.expect(o.marriedSegmentGroup, unittest.equals('foo'));
|
| unittest.expect(o.subjectToGovernmentApproval, unittest.isTrue);
|
| }
|
| buildCounterSegmentInfo--;
|
| }
|
|
|
| -buildUnnamed29() {
|
| +buildUnnamed31() {
|
| var o = new core.List<api.FreeBaggageAllowance>();
|
| o.add(buildFreeBaggageAllowance());
|
| o.add(buildFreeBaggageAllowance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed29(core.List<api.FreeBaggageAllowance> o) {
|
| +checkUnnamed31(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 = buildUnnamed29();
|
| + o.freeBaggageOption = buildUnnamed31();
|
| 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'));
|
| - checkUnnamed29(o.freeBaggageOption);
|
| + checkUnnamed31(o.freeBaggageOption);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.segmentId, unittest.equals('foo'));
|
| }
|
| buildCounterSegmentPricing--;
|
| }
|
|
|
| -buildUnnamed30() {
|
| +buildUnnamed32() {
|
| var o = new core.List<api.SegmentInfo>();
|
| o.add(buildSegmentInfo());
|
| o.add(buildSegmentInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed30(core.List<api.SegmentInfo> o) {
|
| +checkUnnamed32(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 = buildUnnamed30();
|
| + o.segment = buildUnnamed32();
|
| }
|
| 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'));
|
| - checkUnnamed30(o.segment);
|
| + checkUnnamed32(o.segment);
|
| }
|
| buildCounterSliceInfo--;
|
| }
|
|
|
| -buildUnnamed31() {
|
| +buildUnnamed33() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed31(core.List<core.String> o) {
|
| +checkUnnamed33(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'));
|
| }
|
|
|
| -buildUnnamed32() {
|
| +buildUnnamed34() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed32(core.List<core.String> o) {
|
| +checkUnnamed34(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 = buildUnnamed31();
|
| + o.permittedCarrier = buildUnnamed33();
|
| o.permittedDepartureTime = buildTimeOfDayRange();
|
| o.preferredCabin = "foo";
|
| - o.prohibitedCarrier = buildUnnamed32();
|
| + o.prohibitedCarrier = buildUnnamed34();
|
| }
|
| 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'));
|
| - checkUnnamed31(o.permittedCarrier);
|
| + checkUnnamed33(o.permittedCarrier);
|
| checkTimeOfDayRange(o.permittedDepartureTime);
|
| unittest.expect(o.preferredCabin, unittest.equals('foo'));
|
| - checkUnnamed32(o.prohibitedCarrier);
|
| + checkUnnamed34(o.prohibitedCarrier);
|
| }
|
| buildCounterSliceInput--;
|
| }
|
| @@ -803,27 +803,27 @@ checkTimeOfDayRange(api.TimeOfDayRange o) {
|
| buildCounterTimeOfDayRange--;
|
| }
|
|
|
| -buildUnnamed33() {
|
| +buildUnnamed35() {
|
| var o = new core.List<api.PricingInfo>();
|
| o.add(buildPricingInfo());
|
| o.add(buildPricingInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed33(core.List<api.PricingInfo> o) {
|
| +checkUnnamed35(core.List<api.PricingInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPricingInfo(o[0]);
|
| checkPricingInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed34() {
|
| +buildUnnamed36() {
|
| var o = new core.List<api.SliceInfo>();
|
| o.add(buildSliceInfo());
|
| o.add(buildSliceInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed34(core.List<api.SliceInfo> o) {
|
| +checkUnnamed36(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 = buildUnnamed33();
|
| + o.pricing = buildUnnamed35();
|
| o.saleTotal = "foo";
|
| - o.slice = buildUnnamed34();
|
| + o.slice = buildUnnamed36();
|
| }
|
| 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'));
|
| - checkUnnamed33(o.pricing);
|
| + checkUnnamed35(o.pricing);
|
| unittest.expect(o.saleTotal, unittest.equals('foo'));
|
| - checkUnnamed34(o.slice);
|
| + checkUnnamed36(o.slice);
|
| }
|
| buildCounterTripOption--;
|
| }
|
|
|
| -buildUnnamed35() {
|
| +buildUnnamed37() {
|
| var o = new core.List<api.SliceInput>();
|
| o.add(buildSliceInput());
|
| o.add(buildSliceInput());
|
| return o;
|
| }
|
|
|
| -checkUnnamed35(core.List<api.SliceInput> o) {
|
| +checkUnnamed37(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 = buildUnnamed35();
|
| + o.slice = buildUnnamed37();
|
| o.solutions = 42;
|
| o.ticketingCountry = "foo";
|
| }
|
| @@ -893,21 +893,21 @@ checkTripOptionsRequest(api.TripOptionsRequest o) {
|
| checkPassengerCounts(o.passengers);
|
| unittest.expect(o.refundable, unittest.isTrue);
|
| unittest.expect(o.saleCountry, unittest.equals('foo'));
|
| - checkUnnamed35(o.slice);
|
| + checkUnnamed37(o.slice);
|
| unittest.expect(o.solutions, unittest.equals(42));
|
| unittest.expect(o.ticketingCountry, unittest.equals('foo'));
|
| }
|
| buildCounterTripOptionsRequest--;
|
| }
|
|
|
| -buildUnnamed36() {
|
| +buildUnnamed38() {
|
| var o = new core.List<api.TripOption>();
|
| o.add(buildTripOption());
|
| o.add(buildTripOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed36(core.List<api.TripOption> o) {
|
| +checkUnnamed38(core.List<api.TripOption> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTripOption(o[0]);
|
| checkTripOption(o[1]);
|
| @@ -921,7 +921,7 @@ buildTripOptionsResponse() {
|
| o.data = buildData();
|
| o.kind = "foo";
|
| o.requestId = "foo";
|
| - o.tripOption = buildUnnamed36();
|
| + o.tripOption = buildUnnamed38();
|
| }
|
| buildCounterTripOptionsResponse--;
|
| return o;
|
| @@ -933,7 +933,7 @@ checkTripOptionsResponse(api.TripOptionsResponse o) {
|
| checkData(o.data);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.requestId, unittest.equals('foo'));
|
| - checkUnnamed36(o.tripOption);
|
| + checkUnnamed38(o.tripOption);
|
| }
|
| buildCounterTripOptionsResponse--;
|
| }
|
| @@ -1202,7 +1202,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.TripsResourceApi res = new api.QpxExpressApi(mock).trips;
|
| var arg_request = buildTripsSearchRequest();
|
| - mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
|
| var obj = new api.TripsSearchRequest.fromJson(json);
|
| checkTripsSearchRequest(obj);
|
|
|
| @@ -1241,7 +1241,7 @@ main() {
|
| var resp = convert.JSON.encode(buildTripsSearchResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.search(arg_request).then(unittest.expectAsync(((api.TripsSearchResponse response) {
|
| + res.search(arg_request).then(unittest.expectAsync1(((api.TripsSearchResponse response) {
|
| checkTripsSearchResponse(response);
|
| })));
|
| });
|
|
|