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

Side by Side Diff: runtime/observatory/tests/service/crash_dump_test.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 years, 9 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 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library crash_dump_test; 5 library crash_dump_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:io'; 9 import 'dart:io';
10 import 'package:observatory/service_io.dart'; 10 import 'package:observatory/service_io.dart';
(...skipping 15 matching lines...) Expand all
26 Completer completer = new Completer(); 26 Completer completer = new Completer();
27 StringBuffer sb = new StringBuffer(); 27 StringBuffer sb = new StringBuffer();
28 response.transform(UTF8.decoder).listen((chunk) { 28 response.transform(UTF8.decoder).listen((chunk) {
29 sb.write(chunk); 29 sb.write(chunk);
30 }, onDone: () => completer.complete(sb.toString())); 30 }, onDone: () => completer.complete(sb.toString()));
31 var responseString = await completer.future; 31 var responseString = await completer.future;
32 JSON.decode(responseString); 32 JSON.decode(responseString);
33 } 33 }
34 ]; 34 ];
35 35
36 main(args) async => runVMTests(args, tests, testeeBefore:warmup); 36 main(args) async => runVMTests(args, tests, testeeBefore: warmup);
OLDNEW
« no previous file with comments | « runtime/observatory/tests/service/contexts_test.dart ('k') | runtime/observatory/tests/service/debugger_inspect_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698