Chromium Code Reviews

Side by Side Diff: packages/dart_style/test/regression/0200/0224.stmt

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(Empty)
1 >>> (indent 4)
2 return doughnutFryer.start()
3 .then((_) => _frostingGlazer.start())
4 .then((_) =>
5 Future.wait([
6 _conveyorBelts.start(),
7 sprinkleSprinkler.start(),
8 sauceDripper.start()]))
9 .catchError(cannotGetConveyorBeltRunning)
10 .then((_) => tellEveryoneDonutsAreJustAboutDone())
11 .then((_) =>
12 Future.wait([
13 croissantFactory.start(),
14 _giantBakingOvens.start(),
15 butterbutterer.start()])
16 .catchError(_handleBakingFailures)
17 .timeout(scriptLoadingTimeout, onTimeout: _handleBakingFailures)
18 .catchError(cannotGetConveyorBeltRunning))
19 .catchError(cannotGetConveyorBeltRunning)
20 .then((_) {
21 _logger.info("Let's eat!");
22 });
23 <<<
24 return doughnutFryer
25 .start()
26 .then((_) => _frostingGlazer.start())
27 .then((_) => Future.wait([
28 _conveyorBelts.start(),
29 sprinkleSprinkler.start(),
30 sauceDripper.start()
31 ]))
32 .catchError(cannotGetConveyorBeltRunning)
33 .then((_) => tellEveryoneDonutsAreJustAboutDone())
34 .then((_) => Future.wait([
35 croissantFactory.start(),
36 _giantBakingOvens.start(),
37 butterbutterer.start()
38 ])
39 .catchError(_handleBakingFailures)
40 .timeout(scriptLoadingTimeout, onTimeout: _handleBakingFailures)
41 .catchError(cannotGetConveyorBeltRunning))
42 .catchError(cannotGetConveyorBeltRunning)
43 .then((_) {
44 _logger.info("Let's eat!");
45 });
46 >>> (indent 22)
47 someVeryLongFutureWithManyChars().then((foo) {
48 doAThing();
49 }).catchError((e) {
50 doAnotherThing;
51 }, test: someTestWithSoManyConditions(e) && itHasToWrap(e) );
52 <<<
53 someVeryLongFutureWithManyChars().then((foo) {
54 doAThing();
55 }).catchError((e) {
56 doAnotherThing;
57 },
58 test: someTestWithSoManyConditions(e) &&
59 itHasToWrap(e));
OLDNEW
« no previous file with comments | « packages/dart_style/test/regression/0200/0223.stmt ('k') | packages/dart_style/test/regression/0200/0228.unit » ('j') | no next file with comments »

Powered by Google App Engine