Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: generated/googleapis/test/qpxexpress/v1_test.dart

Issue 663113002: Api roll 4: 2014-10-20 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.qpxExpress.v1.test; 1 library googleapis.qpxExpress.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 buildCounterAirportData++; 57 buildCounterAirportData++;
58 if (buildCounterAirportData < 3) { 58 if (buildCounterAirportData < 3) {
59 unittest.expect(o.city, unittest.equals('foo')); 59 unittest.expect(o.city, unittest.equals('foo'));
60 unittest.expect(o.code, unittest.equals('foo')); 60 unittest.expect(o.code, unittest.equals('foo'));
61 unittest.expect(o.kind, unittest.equals('foo')); 61 unittest.expect(o.kind, unittest.equals('foo'));
62 unittest.expect(o.name, unittest.equals('foo')); 62 unittest.expect(o.name, unittest.equals('foo'));
63 } 63 }
64 buildCounterAirportData--; 64 buildCounterAirportData--;
65 } 65 }
66 66
67 buildUnnamed314() { 67 buildUnnamed1() {
68 var o = new core.List<core.String>(); 68 var o = new core.List<core.String>();
69 o.add("foo"); 69 o.add("foo");
70 o.add("foo"); 70 o.add("foo");
71 return o; 71 return o;
72 } 72 }
73 73
74 checkUnnamed314(core.List<core.String> o) { 74 checkUnnamed1(core.List<core.String> o) {
75 unittest.expect(o, unittest.hasLength(2)); 75 unittest.expect(o, unittest.hasLength(2));
76 unittest.expect(o[0], unittest.equals('foo')); 76 unittest.expect(o[0], unittest.equals('foo'));
77 unittest.expect(o[1], unittest.equals('foo')); 77 unittest.expect(o[1], unittest.equals('foo'));
78 } 78 }
79 79
80 core.int buildCounterBagDescriptor = 0; 80 core.int buildCounterBagDescriptor = 0;
81 buildBagDescriptor() { 81 buildBagDescriptor() {
82 var o = new api.BagDescriptor(); 82 var o = new api.BagDescriptor();
83 buildCounterBagDescriptor++; 83 buildCounterBagDescriptor++;
84 if (buildCounterBagDescriptor < 3) { 84 if (buildCounterBagDescriptor < 3) {
85 o.commercialName = "foo"; 85 o.commercialName = "foo";
86 o.count = 42; 86 o.count = 42;
87 o.description = buildUnnamed314(); 87 o.description = buildUnnamed1();
88 o.kind = "foo"; 88 o.kind = "foo";
89 o.subcode = "foo"; 89 o.subcode = "foo";
90 } 90 }
91 buildCounterBagDescriptor--; 91 buildCounterBagDescriptor--;
92 return o; 92 return o;
93 } 93 }
94 94
95 checkBagDescriptor(api.BagDescriptor o) { 95 checkBagDescriptor(api.BagDescriptor o) {
96 buildCounterBagDescriptor++; 96 buildCounterBagDescriptor++;
97 if (buildCounterBagDescriptor < 3) { 97 if (buildCounterBagDescriptor < 3) {
98 unittest.expect(o.commercialName, unittest.equals('foo')); 98 unittest.expect(o.commercialName, unittest.equals('foo'));
99 unittest.expect(o.count, unittest.equals(42)); 99 unittest.expect(o.count, unittest.equals(42));
100 checkUnnamed314(o.description); 100 checkUnnamed1(o.description);
101 unittest.expect(o.kind, unittest.equals('foo')); 101 unittest.expect(o.kind, unittest.equals('foo'));
102 unittest.expect(o.subcode, unittest.equals('foo')); 102 unittest.expect(o.subcode, unittest.equals('foo'));
103 } 103 }
104 buildCounterBagDescriptor--; 104 buildCounterBagDescriptor--;
105 } 105 }
106 106
107 core.int buildCounterCarrierData = 0; 107 core.int buildCounterCarrierData = 0;
108 buildCarrierData() { 108 buildCarrierData() {
109 var o = new api.CarrierData(); 109 var o = new api.CarrierData();
110 buildCounterCarrierData++; 110 buildCounterCarrierData++;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 buildCounterCityData++; 145 buildCounterCityData++;
146 if (buildCounterCityData < 3) { 146 if (buildCounterCityData < 3) {
147 unittest.expect(o.code, unittest.equals('foo')); 147 unittest.expect(o.code, unittest.equals('foo'));
148 unittest.expect(o.country, unittest.equals('foo')); 148 unittest.expect(o.country, unittest.equals('foo'));
149 unittest.expect(o.kind, unittest.equals('foo')); 149 unittest.expect(o.kind, unittest.equals('foo'));
150 unittest.expect(o.name, unittest.equals('foo')); 150 unittest.expect(o.name, unittest.equals('foo'));
151 } 151 }
152 buildCounterCityData--; 152 buildCounterCityData--;
153 } 153 }
154 154
155 buildUnnamed315() { 155 buildUnnamed2() {
156 var o = new core.List<api.AircraftData>(); 156 var o = new core.List<api.AircraftData>();
157 o.add(buildAircraftData()); 157 o.add(buildAircraftData());
158 o.add(buildAircraftData()); 158 o.add(buildAircraftData());
159 return o; 159 return o;
160 } 160 }
161 161
162 checkUnnamed315(core.List<api.AircraftData> o) { 162 checkUnnamed2(core.List<api.AircraftData> o) {
163 unittest.expect(o, unittest.hasLength(2)); 163 unittest.expect(o, unittest.hasLength(2));
164 checkAircraftData(o[0]); 164 checkAircraftData(o[0]);
165 checkAircraftData(o[1]); 165 checkAircraftData(o[1]);
166 } 166 }
167 167
168 buildUnnamed316() { 168 buildUnnamed3() {
169 var o = new core.List<api.AirportData>(); 169 var o = new core.List<api.AirportData>();
170 o.add(buildAirportData()); 170 o.add(buildAirportData());
171 o.add(buildAirportData()); 171 o.add(buildAirportData());
172 return o; 172 return o;
173 } 173 }
174 174
175 checkUnnamed316(core.List<api.AirportData> o) { 175 checkUnnamed3(core.List<api.AirportData> o) {
176 unittest.expect(o, unittest.hasLength(2)); 176 unittest.expect(o, unittest.hasLength(2));
177 checkAirportData(o[0]); 177 checkAirportData(o[0]);
178 checkAirportData(o[1]); 178 checkAirportData(o[1]);
179 } 179 }
180 180
181 buildUnnamed317() { 181 buildUnnamed4() {
182 var o = new core.List<api.CarrierData>(); 182 var o = new core.List<api.CarrierData>();
183 o.add(buildCarrierData()); 183 o.add(buildCarrierData());
184 o.add(buildCarrierData()); 184 o.add(buildCarrierData());
185 return o; 185 return o;
186 } 186 }
187 187
188 checkUnnamed317(core.List<api.CarrierData> o) { 188 checkUnnamed4(core.List<api.CarrierData> o) {
189 unittest.expect(o, unittest.hasLength(2)); 189 unittest.expect(o, unittest.hasLength(2));
190 checkCarrierData(o[0]); 190 checkCarrierData(o[0]);
191 checkCarrierData(o[1]); 191 checkCarrierData(o[1]);
192 } 192 }
193 193
194 buildUnnamed318() { 194 buildUnnamed5() {
195 var o = new core.List<api.CityData>(); 195 var o = new core.List<api.CityData>();
196 o.add(buildCityData()); 196 o.add(buildCityData());
197 o.add(buildCityData()); 197 o.add(buildCityData());
198 return o; 198 return o;
199 } 199 }
200 200
201 checkUnnamed318(core.List<api.CityData> o) { 201 checkUnnamed5(core.List<api.CityData> o) {
202 unittest.expect(o, unittest.hasLength(2)); 202 unittest.expect(o, unittest.hasLength(2));
203 checkCityData(o[0]); 203 checkCityData(o[0]);
204 checkCityData(o[1]); 204 checkCityData(o[1]);
205 } 205 }
206 206
207 buildUnnamed319() { 207 buildUnnamed6() {
208 var o = new core.List<api.TaxData>(); 208 var o = new core.List<api.TaxData>();
209 o.add(buildTaxData()); 209 o.add(buildTaxData());
210 o.add(buildTaxData()); 210 o.add(buildTaxData());
211 return o; 211 return o;
212 } 212 }
213 213
214 checkUnnamed319(core.List<api.TaxData> o) { 214 checkUnnamed6(core.List<api.TaxData> o) {
215 unittest.expect(o, unittest.hasLength(2)); 215 unittest.expect(o, unittest.hasLength(2));
216 checkTaxData(o[0]); 216 checkTaxData(o[0]);
217 checkTaxData(o[1]); 217 checkTaxData(o[1]);
218 } 218 }
219 219
220 core.int buildCounterData = 0; 220 core.int buildCounterData = 0;
221 buildData() { 221 buildData() {
222 var o = new api.Data(); 222 var o = new api.Data();
223 buildCounterData++; 223 buildCounterData++;
224 if (buildCounterData < 3) { 224 if (buildCounterData < 3) {
225 o.aircraft = buildUnnamed315(); 225 o.aircraft = buildUnnamed2();
226 o.airport = buildUnnamed316(); 226 o.airport = buildUnnamed3();
227 o.carrier = buildUnnamed317(); 227 o.carrier = buildUnnamed4();
228 o.city = buildUnnamed318(); 228 o.city = buildUnnamed5();
229 o.kind = "foo"; 229 o.kind = "foo";
230 o.tax = buildUnnamed319(); 230 o.tax = buildUnnamed6();
231 } 231 }
232 buildCounterData--; 232 buildCounterData--;
233 return o; 233 return o;
234 } 234 }
235 235
236 checkData(api.Data o) { 236 checkData(api.Data o) {
237 buildCounterData++; 237 buildCounterData++;
238 if (buildCounterData < 3) { 238 if (buildCounterData < 3) {
239 checkUnnamed315(o.aircraft); 239 checkUnnamed2(o.aircraft);
240 checkUnnamed316(o.airport); 240 checkUnnamed3(o.airport);
241 checkUnnamed317(o.carrier); 241 checkUnnamed4(o.carrier);
242 checkUnnamed318(o.city); 242 checkUnnamed5(o.city);
243 unittest.expect(o.kind, unittest.equals('foo')); 243 unittest.expect(o.kind, unittest.equals('foo'));
244 checkUnnamed319(o.tax); 244 checkUnnamed6(o.tax);
245 } 245 }
246 buildCounterData--; 246 buildCounterData--;
247 } 247 }
248 248
249 core.int buildCounterFareInfo = 0; 249 core.int buildCounterFareInfo = 0;
250 buildFareInfo() { 250 buildFareInfo() {
251 var o = new api.FareInfo(); 251 var o = new api.FareInfo();
252 buildCounterFareInfo++; 252 buildCounterFareInfo++;
253 if (buildCounterFareInfo < 3) { 253 if (buildCounterFareInfo < 3) {
254 o.basisCode = "foo"; 254 o.basisCode = "foo";
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 291
292 checkFlightInfo(api.FlightInfo o) { 292 checkFlightInfo(api.FlightInfo o) {
293 buildCounterFlightInfo++; 293 buildCounterFlightInfo++;
294 if (buildCounterFlightInfo < 3) { 294 if (buildCounterFlightInfo < 3) {
295 unittest.expect(o.carrier, unittest.equals('foo')); 295 unittest.expect(o.carrier, unittest.equals('foo'));
296 unittest.expect(o.number, unittest.equals('foo')); 296 unittest.expect(o.number, unittest.equals('foo'));
297 } 297 }
298 buildCounterFlightInfo--; 298 buildCounterFlightInfo--;
299 } 299 }
300 300
301 buildUnnamed320() { 301 buildUnnamed7() {
302 var o = new core.List<api.BagDescriptor>(); 302 var o = new core.List<api.BagDescriptor>();
303 o.add(buildBagDescriptor()); 303 o.add(buildBagDescriptor());
304 o.add(buildBagDescriptor()); 304 o.add(buildBagDescriptor());
305 return o; 305 return o;
306 } 306 }
307 307
308 checkUnnamed320(core.List<api.BagDescriptor> o) { 308 checkUnnamed7(core.List<api.BagDescriptor> o) {
309 unittest.expect(o, unittest.hasLength(2)); 309 unittest.expect(o, unittest.hasLength(2));
310 checkBagDescriptor(o[0]); 310 checkBagDescriptor(o[0]);
311 checkBagDescriptor(o[1]); 311 checkBagDescriptor(o[1]);
312 } 312 }
313 313
314 core.int buildCounterFreeBaggageAllowance = 0; 314 core.int buildCounterFreeBaggageAllowance = 0;
315 buildFreeBaggageAllowance() { 315 buildFreeBaggageAllowance() {
316 var o = new api.FreeBaggageAllowance(); 316 var o = new api.FreeBaggageAllowance();
317 buildCounterFreeBaggageAllowance++; 317 buildCounterFreeBaggageAllowance++;
318 if (buildCounterFreeBaggageAllowance < 3) { 318 if (buildCounterFreeBaggageAllowance < 3) {
319 o.bagDescriptor = buildUnnamed320(); 319 o.bagDescriptor = buildUnnamed7();
320 o.kilos = 42; 320 o.kilos = 42;
321 o.kilosPerPiece = 42; 321 o.kilosPerPiece = 42;
322 o.kind = "foo"; 322 o.kind = "foo";
323 o.pieces = 42; 323 o.pieces = 42;
324 o.pounds = 42; 324 o.pounds = 42;
325 } 325 }
326 buildCounterFreeBaggageAllowance--; 326 buildCounterFreeBaggageAllowance--;
327 return o; 327 return o;
328 } 328 }
329 329
330 checkFreeBaggageAllowance(api.FreeBaggageAllowance o) { 330 checkFreeBaggageAllowance(api.FreeBaggageAllowance o) {
331 buildCounterFreeBaggageAllowance++; 331 buildCounterFreeBaggageAllowance++;
332 if (buildCounterFreeBaggageAllowance < 3) { 332 if (buildCounterFreeBaggageAllowance < 3) {
333 checkUnnamed320(o.bagDescriptor); 333 checkUnnamed7(o.bagDescriptor);
334 unittest.expect(o.kilos, unittest.equals(42)); 334 unittest.expect(o.kilos, unittest.equals(42));
335 unittest.expect(o.kilosPerPiece, unittest.equals(42)); 335 unittest.expect(o.kilosPerPiece, unittest.equals(42));
336 unittest.expect(o.kind, unittest.equals('foo')); 336 unittest.expect(o.kind, unittest.equals('foo'));
337 unittest.expect(o.pieces, unittest.equals(42)); 337 unittest.expect(o.pieces, unittest.equals(42));
338 unittest.expect(o.pounds, unittest.equals(42)); 338 unittest.expect(o.pounds, unittest.equals(42));
339 } 339 }
340 buildCounterFreeBaggageAllowance--; 340 buildCounterFreeBaggageAllowance--;
341 } 341 }
342 342
343 core.int buildCounterLegInfo = 0; 343 core.int buildCounterLegInfo = 0;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 unittest.expect(o.adultCount, unittest.equals(42)); 413 unittest.expect(o.adultCount, unittest.equals(42));
414 unittest.expect(o.childCount, unittest.equals(42)); 414 unittest.expect(o.childCount, unittest.equals(42));
415 unittest.expect(o.infantInLapCount, unittest.equals(42)); 415 unittest.expect(o.infantInLapCount, unittest.equals(42));
416 unittest.expect(o.infantInSeatCount, unittest.equals(42)); 416 unittest.expect(o.infantInSeatCount, unittest.equals(42));
417 unittest.expect(o.kind, unittest.equals('foo')); 417 unittest.expect(o.kind, unittest.equals('foo'));
418 unittest.expect(o.seniorCount, unittest.equals(42)); 418 unittest.expect(o.seniorCount, unittest.equals(42));
419 } 419 }
420 buildCounterPassengerCounts--; 420 buildCounterPassengerCounts--;
421 } 421 }
422 422
423 buildUnnamed321() { 423 buildUnnamed8() {
424 var o = new core.List<api.FareInfo>(); 424 var o = new core.List<api.FareInfo>();
425 o.add(buildFareInfo()); 425 o.add(buildFareInfo());
426 o.add(buildFareInfo()); 426 o.add(buildFareInfo());
427 return o; 427 return o;
428 } 428 }
429 429
430 checkUnnamed321(core.List<api.FareInfo> o) { 430 checkUnnamed8(core.List<api.FareInfo> o) {
431 unittest.expect(o, unittest.hasLength(2)); 431 unittest.expect(o, unittest.hasLength(2));
432 checkFareInfo(o[0]); 432 checkFareInfo(o[0]);
433 checkFareInfo(o[1]); 433 checkFareInfo(o[1]);
434 } 434 }
435 435
436 buildUnnamed322() { 436 buildUnnamed9() {
437 var o = new core.List<api.SegmentPricing>(); 437 var o = new core.List<api.SegmentPricing>();
438 o.add(buildSegmentPricing()); 438 o.add(buildSegmentPricing());
439 o.add(buildSegmentPricing()); 439 o.add(buildSegmentPricing());
440 return o; 440 return o;
441 } 441 }
442 442
443 checkUnnamed322(core.List<api.SegmentPricing> o) { 443 checkUnnamed9(core.List<api.SegmentPricing> o) {
444 unittest.expect(o, unittest.hasLength(2)); 444 unittest.expect(o, unittest.hasLength(2));
445 checkSegmentPricing(o[0]); 445 checkSegmentPricing(o[0]);
446 checkSegmentPricing(o[1]); 446 checkSegmentPricing(o[1]);
447 } 447 }
448 448
449 buildUnnamed323() { 449 buildUnnamed10() {
450 var o = new core.List<api.TaxInfo>(); 450 var o = new core.List<api.TaxInfo>();
451 o.add(buildTaxInfo()); 451 o.add(buildTaxInfo());
452 o.add(buildTaxInfo()); 452 o.add(buildTaxInfo());
453 return o; 453 return o;
454 } 454 }
455 455
456 checkUnnamed323(core.List<api.TaxInfo> o) { 456 checkUnnamed10(core.List<api.TaxInfo> o) {
457 unittest.expect(o, unittest.hasLength(2)); 457 unittest.expect(o, unittest.hasLength(2));
458 checkTaxInfo(o[0]); 458 checkTaxInfo(o[0]);
459 checkTaxInfo(o[1]); 459 checkTaxInfo(o[1]);
460 } 460 }
461 461
462 core.int buildCounterPricingInfo = 0; 462 core.int buildCounterPricingInfo = 0;
463 buildPricingInfo() { 463 buildPricingInfo() {
464 var o = new api.PricingInfo(); 464 var o = new api.PricingInfo();
465 buildCounterPricingInfo++; 465 buildCounterPricingInfo++;
466 if (buildCounterPricingInfo < 3) { 466 if (buildCounterPricingInfo < 3) {
467 o.baseFareTotal = "foo"; 467 o.baseFareTotal = "foo";
468 o.fare = buildUnnamed321(); 468 o.fare = buildUnnamed8();
469 o.fareCalculation = "foo"; 469 o.fareCalculation = "foo";
470 o.kind = "foo"; 470 o.kind = "foo";
471 o.latestTicketingTime = "foo"; 471 o.latestTicketingTime = "foo";
472 o.passengers = buildPassengerCounts(); 472 o.passengers = buildPassengerCounts();
473 o.ptc = "foo"; 473 o.ptc = "foo";
474 o.refundable = true; 474 o.refundable = true;
475 o.saleFareTotal = "foo"; 475 o.saleFareTotal = "foo";
476 o.saleTaxTotal = "foo"; 476 o.saleTaxTotal = "foo";
477 o.saleTotal = "foo"; 477 o.saleTotal = "foo";
478 o.segmentPricing = buildUnnamed322(); 478 o.segmentPricing = buildUnnamed9();
479 o.tax = buildUnnamed323(); 479 o.tax = buildUnnamed10();
480 } 480 }
481 buildCounterPricingInfo--; 481 buildCounterPricingInfo--;
482 return o; 482 return o;
483 } 483 }
484 484
485 checkPricingInfo(api.PricingInfo o) { 485 checkPricingInfo(api.PricingInfo o) {
486 buildCounterPricingInfo++; 486 buildCounterPricingInfo++;
487 if (buildCounterPricingInfo < 3) { 487 if (buildCounterPricingInfo < 3) {
488 unittest.expect(o.baseFareTotal, unittest.equals('foo')); 488 unittest.expect(o.baseFareTotal, unittest.equals('foo'));
489 checkUnnamed321(o.fare); 489 checkUnnamed8(o.fare);
490 unittest.expect(o.fareCalculation, unittest.equals('foo')); 490 unittest.expect(o.fareCalculation, unittest.equals('foo'));
491 unittest.expect(o.kind, unittest.equals('foo')); 491 unittest.expect(o.kind, unittest.equals('foo'));
492 unittest.expect(o.latestTicketingTime, unittest.equals('foo')); 492 unittest.expect(o.latestTicketingTime, unittest.equals('foo'));
493 checkPassengerCounts(o.passengers); 493 checkPassengerCounts(o.passengers);
494 unittest.expect(o.ptc, unittest.equals('foo')); 494 unittest.expect(o.ptc, unittest.equals('foo'));
495 unittest.expect(o.refundable, unittest.isTrue); 495 unittest.expect(o.refundable, unittest.isTrue);
496 unittest.expect(o.saleFareTotal, unittest.equals('foo')); 496 unittest.expect(o.saleFareTotal, unittest.equals('foo'));
497 unittest.expect(o.saleTaxTotal, unittest.equals('foo')); 497 unittest.expect(o.saleTaxTotal, unittest.equals('foo'));
498 unittest.expect(o.saleTotal, unittest.equals('foo')); 498 unittest.expect(o.saleTotal, unittest.equals('foo'));
499 checkUnnamed322(o.segmentPricing); 499 checkUnnamed9(o.segmentPricing);
500 checkUnnamed323(o.tax); 500 checkUnnamed10(o.tax);
501 } 501 }
502 buildCounterPricingInfo--; 502 buildCounterPricingInfo--;
503 } 503 }
504 504
505 buildUnnamed324() { 505 buildUnnamed11() {
506 var o = new core.List<api.LegInfo>(); 506 var o = new core.List<api.LegInfo>();
507 o.add(buildLegInfo()); 507 o.add(buildLegInfo());
508 o.add(buildLegInfo()); 508 o.add(buildLegInfo());
509 return o; 509 return o;
510 } 510 }
511 511
512 checkUnnamed324(core.List<api.LegInfo> o) { 512 checkUnnamed11(core.List<api.LegInfo> o) {
513 unittest.expect(o, unittest.hasLength(2)); 513 unittest.expect(o, unittest.hasLength(2));
514 checkLegInfo(o[0]); 514 checkLegInfo(o[0]);
515 checkLegInfo(o[1]); 515 checkLegInfo(o[1]);
516 } 516 }
517 517
518 core.int buildCounterSegmentInfo = 0; 518 core.int buildCounterSegmentInfo = 0;
519 buildSegmentInfo() { 519 buildSegmentInfo() {
520 var o = new api.SegmentInfo(); 520 var o = new api.SegmentInfo();
521 buildCounterSegmentInfo++; 521 buildCounterSegmentInfo++;
522 if (buildCounterSegmentInfo < 3) { 522 if (buildCounterSegmentInfo < 3) {
523 o.bookingCode = "foo"; 523 o.bookingCode = "foo";
524 o.bookingCodeCount = 42; 524 o.bookingCodeCount = 42;
525 o.cabin = "foo"; 525 o.cabin = "foo";
526 o.connectionDuration = 42; 526 o.connectionDuration = 42;
527 o.duration = 42; 527 o.duration = 42;
528 o.flight = buildFlightInfo(); 528 o.flight = buildFlightInfo();
529 o.id = "foo"; 529 o.id = "foo";
530 o.kind = "foo"; 530 o.kind = "foo";
531 o.leg = buildUnnamed324(); 531 o.leg = buildUnnamed11();
532 o.marriedSegmentGroup = "foo"; 532 o.marriedSegmentGroup = "foo";
533 o.subjectToGovernmentApproval = true; 533 o.subjectToGovernmentApproval = true;
534 } 534 }
535 buildCounterSegmentInfo--; 535 buildCounterSegmentInfo--;
536 return o; 536 return o;
537 } 537 }
538 538
539 checkSegmentInfo(api.SegmentInfo o) { 539 checkSegmentInfo(api.SegmentInfo o) {
540 buildCounterSegmentInfo++; 540 buildCounterSegmentInfo++;
541 if (buildCounterSegmentInfo < 3) { 541 if (buildCounterSegmentInfo < 3) {
542 unittest.expect(o.bookingCode, unittest.equals('foo')); 542 unittest.expect(o.bookingCode, unittest.equals('foo'));
543 unittest.expect(o.bookingCodeCount, unittest.equals(42)); 543 unittest.expect(o.bookingCodeCount, unittest.equals(42));
544 unittest.expect(o.cabin, unittest.equals('foo')); 544 unittest.expect(o.cabin, unittest.equals('foo'));
545 unittest.expect(o.connectionDuration, unittest.equals(42)); 545 unittest.expect(o.connectionDuration, unittest.equals(42));
546 unittest.expect(o.duration, unittest.equals(42)); 546 unittest.expect(o.duration, unittest.equals(42));
547 checkFlightInfo(o.flight); 547 checkFlightInfo(o.flight);
548 unittest.expect(o.id, unittest.equals('foo')); 548 unittest.expect(o.id, unittest.equals('foo'));
549 unittest.expect(o.kind, unittest.equals('foo')); 549 unittest.expect(o.kind, unittest.equals('foo'));
550 checkUnnamed324(o.leg); 550 checkUnnamed11(o.leg);
551 unittest.expect(o.marriedSegmentGroup, unittest.equals('foo')); 551 unittest.expect(o.marriedSegmentGroup, unittest.equals('foo'));
552 unittest.expect(o.subjectToGovernmentApproval, unittest.isTrue); 552 unittest.expect(o.subjectToGovernmentApproval, unittest.isTrue);
553 } 553 }
554 buildCounterSegmentInfo--; 554 buildCounterSegmentInfo--;
555 } 555 }
556 556
557 buildUnnamed325() { 557 buildUnnamed12() {
558 var o = new core.List<api.FreeBaggageAllowance>(); 558 var o = new core.List<api.FreeBaggageAllowance>();
559 o.add(buildFreeBaggageAllowance()); 559 o.add(buildFreeBaggageAllowance());
560 o.add(buildFreeBaggageAllowance()); 560 o.add(buildFreeBaggageAllowance());
561 return o; 561 return o;
562 } 562 }
563 563
564 checkUnnamed325(core.List<api.FreeBaggageAllowance> o) { 564 checkUnnamed12(core.List<api.FreeBaggageAllowance> o) {
565 unittest.expect(o, unittest.hasLength(2)); 565 unittest.expect(o, unittest.hasLength(2));
566 checkFreeBaggageAllowance(o[0]); 566 checkFreeBaggageAllowance(o[0]);
567 checkFreeBaggageAllowance(o[1]); 567 checkFreeBaggageAllowance(o[1]);
568 } 568 }
569 569
570 core.int buildCounterSegmentPricing = 0; 570 core.int buildCounterSegmentPricing = 0;
571 buildSegmentPricing() { 571 buildSegmentPricing() {
572 var o = new api.SegmentPricing(); 572 var o = new api.SegmentPricing();
573 buildCounterSegmentPricing++; 573 buildCounterSegmentPricing++;
574 if (buildCounterSegmentPricing < 3) { 574 if (buildCounterSegmentPricing < 3) {
575 o.fareId = "foo"; 575 o.fareId = "foo";
576 o.freeBaggageOption = buildUnnamed325(); 576 o.freeBaggageOption = buildUnnamed12();
577 o.kind = "foo"; 577 o.kind = "foo";
578 o.segmentId = "foo"; 578 o.segmentId = "foo";
579 } 579 }
580 buildCounterSegmentPricing--; 580 buildCounterSegmentPricing--;
581 return o; 581 return o;
582 } 582 }
583 583
584 checkSegmentPricing(api.SegmentPricing o) { 584 checkSegmentPricing(api.SegmentPricing o) {
585 buildCounterSegmentPricing++; 585 buildCounterSegmentPricing++;
586 if (buildCounterSegmentPricing < 3) { 586 if (buildCounterSegmentPricing < 3) {
587 unittest.expect(o.fareId, unittest.equals('foo')); 587 unittest.expect(o.fareId, unittest.equals('foo'));
588 checkUnnamed325(o.freeBaggageOption); 588 checkUnnamed12(o.freeBaggageOption);
589 unittest.expect(o.kind, unittest.equals('foo')); 589 unittest.expect(o.kind, unittest.equals('foo'));
590 unittest.expect(o.segmentId, unittest.equals('foo')); 590 unittest.expect(o.segmentId, unittest.equals('foo'));
591 } 591 }
592 buildCounterSegmentPricing--; 592 buildCounterSegmentPricing--;
593 } 593 }
594 594
595 buildUnnamed326() { 595 buildUnnamed13() {
596 var o = new core.List<api.SegmentInfo>(); 596 var o = new core.List<api.SegmentInfo>();
597 o.add(buildSegmentInfo()); 597 o.add(buildSegmentInfo());
598 o.add(buildSegmentInfo()); 598 o.add(buildSegmentInfo());
599 return o; 599 return o;
600 } 600 }
601 601
602 checkUnnamed326(core.List<api.SegmentInfo> o) { 602 checkUnnamed13(core.List<api.SegmentInfo> o) {
603 unittest.expect(o, unittest.hasLength(2)); 603 unittest.expect(o, unittest.hasLength(2));
604 checkSegmentInfo(o[0]); 604 checkSegmentInfo(o[0]);
605 checkSegmentInfo(o[1]); 605 checkSegmentInfo(o[1]);
606 } 606 }
607 607
608 core.int buildCounterSliceInfo = 0; 608 core.int buildCounterSliceInfo = 0;
609 buildSliceInfo() { 609 buildSliceInfo() {
610 var o = new api.SliceInfo(); 610 var o = new api.SliceInfo();
611 buildCounterSliceInfo++; 611 buildCounterSliceInfo++;
612 if (buildCounterSliceInfo < 3) { 612 if (buildCounterSliceInfo < 3) {
613 o.duration = 42; 613 o.duration = 42;
614 o.kind = "foo"; 614 o.kind = "foo";
615 o.segment = buildUnnamed326(); 615 o.segment = buildUnnamed13();
616 } 616 }
617 buildCounterSliceInfo--; 617 buildCounterSliceInfo--;
618 return o; 618 return o;
619 } 619 }
620 620
621 checkSliceInfo(api.SliceInfo o) { 621 checkSliceInfo(api.SliceInfo o) {
622 buildCounterSliceInfo++; 622 buildCounterSliceInfo++;
623 if (buildCounterSliceInfo < 3) { 623 if (buildCounterSliceInfo < 3) {
624 unittest.expect(o.duration, unittest.equals(42)); 624 unittest.expect(o.duration, unittest.equals(42));
625 unittest.expect(o.kind, unittest.equals('foo')); 625 unittest.expect(o.kind, unittest.equals('foo'));
626 checkUnnamed326(o.segment); 626 checkUnnamed13(o.segment);
627 } 627 }
628 buildCounterSliceInfo--; 628 buildCounterSliceInfo--;
629 } 629 }
630 630
631 buildUnnamed327() { 631 buildUnnamed14() {
632 var o = new core.List<core.String>(); 632 var o = new core.List<core.String>();
633 o.add("foo"); 633 o.add("foo");
634 o.add("foo"); 634 o.add("foo");
635 return o; 635 return o;
636 } 636 }
637 637
638 checkUnnamed327(core.List<core.String> o) { 638 checkUnnamed14(core.List<core.String> o) {
639 unittest.expect(o, unittest.hasLength(2)); 639 unittest.expect(o, unittest.hasLength(2));
640 unittest.expect(o[0], unittest.equals('foo')); 640 unittest.expect(o[0], unittest.equals('foo'));
641 unittest.expect(o[1], unittest.equals('foo')); 641 unittest.expect(o[1], unittest.equals('foo'));
642 } 642 }
643 643
644 buildUnnamed328() { 644 buildUnnamed15() {
645 var o = new core.List<core.String>(); 645 var o = new core.List<core.String>();
646 o.add("foo"); 646 o.add("foo");
647 o.add("foo"); 647 o.add("foo");
648 return o; 648 return o;
649 } 649 }
650 650
651 checkUnnamed328(core.List<core.String> o) { 651 checkUnnamed15(core.List<core.String> o) {
652 unittest.expect(o, unittest.hasLength(2)); 652 unittest.expect(o, unittest.hasLength(2));
653 unittest.expect(o[0], unittest.equals('foo')); 653 unittest.expect(o[0], unittest.equals('foo'));
654 unittest.expect(o[1], unittest.equals('foo')); 654 unittest.expect(o[1], unittest.equals('foo'));
655 } 655 }
656 656
657 core.int buildCounterSliceInput = 0; 657 core.int buildCounterSliceInput = 0;
658 buildSliceInput() { 658 buildSliceInput() {
659 var o = new api.SliceInput(); 659 var o = new api.SliceInput();
660 buildCounterSliceInput++; 660 buildCounterSliceInput++;
661 if (buildCounterSliceInput < 3) { 661 if (buildCounterSliceInput < 3) {
662 o.alliance = "foo"; 662 o.alliance = "foo";
663 o.date = "foo"; 663 o.date = "foo";
664 o.destination = "foo"; 664 o.destination = "foo";
665 o.kind = "foo"; 665 o.kind = "foo";
666 o.maxConnectionDuration = 42; 666 o.maxConnectionDuration = 42;
667 o.maxStops = 42; 667 o.maxStops = 42;
668 o.origin = "foo"; 668 o.origin = "foo";
669 o.permittedCarrier = buildUnnamed327(); 669 o.permittedCarrier = buildUnnamed14();
670 o.permittedDepartureTime = buildTimeOfDayRange(); 670 o.permittedDepartureTime = buildTimeOfDayRange();
671 o.preferredCabin = "foo"; 671 o.preferredCabin = "foo";
672 o.prohibitedCarrier = buildUnnamed328(); 672 o.prohibitedCarrier = buildUnnamed15();
673 } 673 }
674 buildCounterSliceInput--; 674 buildCounterSliceInput--;
675 return o; 675 return o;
676 } 676 }
677 677
678 checkSliceInput(api.SliceInput o) { 678 checkSliceInput(api.SliceInput o) {
679 buildCounterSliceInput++; 679 buildCounterSliceInput++;
680 if (buildCounterSliceInput < 3) { 680 if (buildCounterSliceInput < 3) {
681 unittest.expect(o.alliance, unittest.equals('foo')); 681 unittest.expect(o.alliance, unittest.equals('foo'));
682 unittest.expect(o.date, unittest.equals('foo')); 682 unittest.expect(o.date, unittest.equals('foo'));
683 unittest.expect(o.destination, unittest.equals('foo')); 683 unittest.expect(o.destination, unittest.equals('foo'));
684 unittest.expect(o.kind, unittest.equals('foo')); 684 unittest.expect(o.kind, unittest.equals('foo'));
685 unittest.expect(o.maxConnectionDuration, unittest.equals(42)); 685 unittest.expect(o.maxConnectionDuration, unittest.equals(42));
686 unittest.expect(o.maxStops, unittest.equals(42)); 686 unittest.expect(o.maxStops, unittest.equals(42));
687 unittest.expect(o.origin, unittest.equals('foo')); 687 unittest.expect(o.origin, unittest.equals('foo'));
688 checkUnnamed327(o.permittedCarrier); 688 checkUnnamed14(o.permittedCarrier);
689 checkTimeOfDayRange(o.permittedDepartureTime); 689 checkTimeOfDayRange(o.permittedDepartureTime);
690 unittest.expect(o.preferredCabin, unittest.equals('foo')); 690 unittest.expect(o.preferredCabin, unittest.equals('foo'));
691 checkUnnamed328(o.prohibitedCarrier); 691 checkUnnamed15(o.prohibitedCarrier);
692 } 692 }
693 buildCounterSliceInput--; 693 buildCounterSliceInput--;
694 } 694 }
695 695
696 core.int buildCounterTaxData = 0; 696 core.int buildCounterTaxData = 0;
697 buildTaxData() { 697 buildTaxData() {
698 var o = new api.TaxData(); 698 var o = new api.TaxData();
699 buildCounterTaxData++; 699 buildCounterTaxData++;
700 if (buildCounterTaxData < 3) { 700 if (buildCounterTaxData < 3) {
701 o.id = "foo"; 701 o.id = "foo";
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 checkTimeOfDayRange(api.TimeOfDayRange o) { 761 checkTimeOfDayRange(api.TimeOfDayRange o) {
762 buildCounterTimeOfDayRange++; 762 buildCounterTimeOfDayRange++;
763 if (buildCounterTimeOfDayRange < 3) { 763 if (buildCounterTimeOfDayRange < 3) {
764 unittest.expect(o.earliestTime, unittest.equals('foo')); 764 unittest.expect(o.earliestTime, unittest.equals('foo'));
765 unittest.expect(o.kind, unittest.equals('foo')); 765 unittest.expect(o.kind, unittest.equals('foo'));
766 unittest.expect(o.latestTime, unittest.equals('foo')); 766 unittest.expect(o.latestTime, unittest.equals('foo'));
767 } 767 }
768 buildCounterTimeOfDayRange--; 768 buildCounterTimeOfDayRange--;
769 } 769 }
770 770
771 buildUnnamed329() { 771 buildUnnamed16() {
772 var o = new core.List<api.PricingInfo>(); 772 var o = new core.List<api.PricingInfo>();
773 o.add(buildPricingInfo()); 773 o.add(buildPricingInfo());
774 o.add(buildPricingInfo()); 774 o.add(buildPricingInfo());
775 return o; 775 return o;
776 } 776 }
777 777
778 checkUnnamed329(core.List<api.PricingInfo> o) { 778 checkUnnamed16(core.List<api.PricingInfo> o) {
779 unittest.expect(o, unittest.hasLength(2)); 779 unittest.expect(o, unittest.hasLength(2));
780 checkPricingInfo(o[0]); 780 checkPricingInfo(o[0]);
781 checkPricingInfo(o[1]); 781 checkPricingInfo(o[1]);
782 } 782 }
783 783
784 buildUnnamed330() { 784 buildUnnamed17() {
785 var o = new core.List<api.SliceInfo>(); 785 var o = new core.List<api.SliceInfo>();
786 o.add(buildSliceInfo()); 786 o.add(buildSliceInfo());
787 o.add(buildSliceInfo()); 787 o.add(buildSliceInfo());
788 return o; 788 return o;
789 } 789 }
790 790
791 checkUnnamed330(core.List<api.SliceInfo> o) { 791 checkUnnamed17(core.List<api.SliceInfo> o) {
792 unittest.expect(o, unittest.hasLength(2)); 792 unittest.expect(o, unittest.hasLength(2));
793 checkSliceInfo(o[0]); 793 checkSliceInfo(o[0]);
794 checkSliceInfo(o[1]); 794 checkSliceInfo(o[1]);
795 } 795 }
796 796
797 core.int buildCounterTripOption = 0; 797 core.int buildCounterTripOption = 0;
798 buildTripOption() { 798 buildTripOption() {
799 var o = new api.TripOption(); 799 var o = new api.TripOption();
800 buildCounterTripOption++; 800 buildCounterTripOption++;
801 if (buildCounterTripOption < 3) { 801 if (buildCounterTripOption < 3) {
802 o.id = "foo"; 802 o.id = "foo";
803 o.kind = "foo"; 803 o.kind = "foo";
804 o.pricing = buildUnnamed329(); 804 o.pricing = buildUnnamed16();
805 o.saleTotal = "foo"; 805 o.saleTotal = "foo";
806 o.slice = buildUnnamed330(); 806 o.slice = buildUnnamed17();
807 } 807 }
808 buildCounterTripOption--; 808 buildCounterTripOption--;
809 return o; 809 return o;
810 } 810 }
811 811
812 checkTripOption(api.TripOption o) { 812 checkTripOption(api.TripOption o) {
813 buildCounterTripOption++; 813 buildCounterTripOption++;
814 if (buildCounterTripOption < 3) { 814 if (buildCounterTripOption < 3) {
815 unittest.expect(o.id, unittest.equals('foo')); 815 unittest.expect(o.id, unittest.equals('foo'));
816 unittest.expect(o.kind, unittest.equals('foo')); 816 unittest.expect(o.kind, unittest.equals('foo'));
817 checkUnnamed329(o.pricing); 817 checkUnnamed16(o.pricing);
818 unittest.expect(o.saleTotal, unittest.equals('foo')); 818 unittest.expect(o.saleTotal, unittest.equals('foo'));
819 checkUnnamed330(o.slice); 819 checkUnnamed17(o.slice);
820 } 820 }
821 buildCounterTripOption--; 821 buildCounterTripOption--;
822 } 822 }
823 823
824 buildUnnamed331() { 824 buildUnnamed18() {
825 var o = new core.List<api.SliceInput>(); 825 var o = new core.List<api.SliceInput>();
826 o.add(buildSliceInput()); 826 o.add(buildSliceInput());
827 o.add(buildSliceInput()); 827 o.add(buildSliceInput());
828 return o; 828 return o;
829 } 829 }
830 830
831 checkUnnamed331(core.List<api.SliceInput> o) { 831 checkUnnamed18(core.List<api.SliceInput> o) {
832 unittest.expect(o, unittest.hasLength(2)); 832 unittest.expect(o, unittest.hasLength(2));
833 checkSliceInput(o[0]); 833 checkSliceInput(o[0]);
834 checkSliceInput(o[1]); 834 checkSliceInput(o[1]);
835 } 835 }
836 836
837 core.int buildCounterTripOptionsRequest = 0; 837 core.int buildCounterTripOptionsRequest = 0;
838 buildTripOptionsRequest() { 838 buildTripOptionsRequest() {
839 var o = new api.TripOptionsRequest(); 839 var o = new api.TripOptionsRequest();
840 buildCounterTripOptionsRequest++; 840 buildCounterTripOptionsRequest++;
841 if (buildCounterTripOptionsRequest < 3) { 841 if (buildCounterTripOptionsRequest < 3) {
842 o.maxPrice = "foo"; 842 o.maxPrice = "foo";
843 o.passengers = buildPassengerCounts(); 843 o.passengers = buildPassengerCounts();
844 o.refundable = true; 844 o.refundable = true;
845 o.saleCountry = "foo"; 845 o.saleCountry = "foo";
846 o.slice = buildUnnamed331(); 846 o.slice = buildUnnamed18();
847 o.solutions = 42; 847 o.solutions = 42;
848 } 848 }
849 buildCounterTripOptionsRequest--; 849 buildCounterTripOptionsRequest--;
850 return o; 850 return o;
851 } 851 }
852 852
853 checkTripOptionsRequest(api.TripOptionsRequest o) { 853 checkTripOptionsRequest(api.TripOptionsRequest o) {
854 buildCounterTripOptionsRequest++; 854 buildCounterTripOptionsRequest++;
855 if (buildCounterTripOptionsRequest < 3) { 855 if (buildCounterTripOptionsRequest < 3) {
856 unittest.expect(o.maxPrice, unittest.equals('foo')); 856 unittest.expect(o.maxPrice, unittest.equals('foo'));
857 checkPassengerCounts(o.passengers); 857 checkPassengerCounts(o.passengers);
858 unittest.expect(o.refundable, unittest.isTrue); 858 unittest.expect(o.refundable, unittest.isTrue);
859 unittest.expect(o.saleCountry, unittest.equals('foo')); 859 unittest.expect(o.saleCountry, unittest.equals('foo'));
860 checkUnnamed331(o.slice); 860 checkUnnamed18(o.slice);
861 unittest.expect(o.solutions, unittest.equals(42)); 861 unittest.expect(o.solutions, unittest.equals(42));
862 } 862 }
863 buildCounterTripOptionsRequest--; 863 buildCounterTripOptionsRequest--;
864 } 864 }
865 865
866 buildUnnamed332() { 866 buildUnnamed19() {
867 var o = new core.List<api.TripOption>(); 867 var o = new core.List<api.TripOption>();
868 o.add(buildTripOption()); 868 o.add(buildTripOption());
869 o.add(buildTripOption()); 869 o.add(buildTripOption());
870 return o; 870 return o;
871 } 871 }
872 872
873 checkUnnamed332(core.List<api.TripOption> o) { 873 checkUnnamed19(core.List<api.TripOption> o) {
874 unittest.expect(o, unittest.hasLength(2)); 874 unittest.expect(o, unittest.hasLength(2));
875 checkTripOption(o[0]); 875 checkTripOption(o[0]);
876 checkTripOption(o[1]); 876 checkTripOption(o[1]);
877 } 877 }
878 878
879 core.int buildCounterTripOptionsResponse = 0; 879 core.int buildCounterTripOptionsResponse = 0;
880 buildTripOptionsResponse() { 880 buildTripOptionsResponse() {
881 var o = new api.TripOptionsResponse(); 881 var o = new api.TripOptionsResponse();
882 buildCounterTripOptionsResponse++; 882 buildCounterTripOptionsResponse++;
883 if (buildCounterTripOptionsResponse < 3) { 883 if (buildCounterTripOptionsResponse < 3) {
884 o.data = buildData(); 884 o.data = buildData();
885 o.kind = "foo"; 885 o.kind = "foo";
886 o.requestId = "foo"; 886 o.requestId = "foo";
887 o.tripOption = buildUnnamed332(); 887 o.tripOption = buildUnnamed19();
888 } 888 }
889 buildCounterTripOptionsResponse--; 889 buildCounterTripOptionsResponse--;
890 return o; 890 return o;
891 } 891 }
892 892
893 checkTripOptionsResponse(api.TripOptionsResponse o) { 893 checkTripOptionsResponse(api.TripOptionsResponse o) {
894 buildCounterTripOptionsResponse++; 894 buildCounterTripOptionsResponse++;
895 if (buildCounterTripOptionsResponse < 3) { 895 if (buildCounterTripOptionsResponse < 3) {
896 checkData(o.data); 896 checkData(o.data);
897 unittest.expect(o.kind, unittest.equals('foo')); 897 unittest.expect(o.kind, unittest.equals('foo'));
898 unittest.expect(o.requestId, unittest.equals('foo')); 898 unittest.expect(o.requestId, unittest.equals('foo'));
899 checkUnnamed332(o.tripOption); 899 checkUnnamed19(o.tripOption);
900 } 900 }
901 buildCounterTripOptionsResponse--; 901 buildCounterTripOptionsResponse--;
902 } 902 }
903 903
904 core.int buildCounterTripsSearchRequest = 0; 904 core.int buildCounterTripsSearchRequest = 0;
905 buildTripsSearchRequest() { 905 buildTripsSearchRequest() {
906 var o = new api.TripsSearchRequest(); 906 var o = new api.TripsSearchRequest();
907 buildCounterTripsSearchRequest++; 907 buildCounterTripsSearchRequest++;
908 if (buildCounterTripsSearchRequest < 3) { 908 if (buildCounterTripsSearchRequest < 3) {
909 o.request = buildTripOptionsRequest(); 909 o.request = buildTripOptionsRequest();
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 res.search(arg_request).then(unittest.expectAsync(((api.TripsSearchRespons e response) { 1207 res.search(arg_request).then(unittest.expectAsync(((api.TripsSearchRespons e response) {
1208 checkTripsSearchResponse(response); 1208 checkTripsSearchResponse(response);
1209 }))); 1209 })));
1210 }); 1210 });
1211 1211
1212 }); 1212 });
1213 1213
1214 1214
1215 } 1215 }
1216 1216
OLDNEW
« no previous file with comments | « generated/googleapis/test/prediction/v1_6_test.dart ('k') | generated/googleapis/test/reseller/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698