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

Unified Diff: runtime/observatory/tests/service/vm_timeline_flags_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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/tests/service/vm_timeline_flags_test.dart
diff --git a/runtime/observatory/tests/service/vm_timeline_flags_test.dart b/runtime/observatory/tests/service/vm_timeline_flags_test.dart
index 775e40a9879a115c0c212395e57e2c4612b70233..9a1cee673ba26880969069d04b2873203e1f7316 100644
--- a/runtime/observatory/tests/service/vm_timeline_flags_test.dart
+++ b/runtime/observatory/tests/service/vm_timeline_flags_test.dart
@@ -73,16 +73,14 @@ var tests = [
// Confirm that Dart events are added.
expect(filterEvents(result['traceEvents'], isDart).length, greaterThan(0));
// Confirm that zero non-Dart events are added.
- expect(
- filterEvents(result['traceEvents'], isNotDartAndMetaData).length,
+ expect(filterEvents(result['traceEvents'], isNotDartAndMetaData).length,
equals(0));
},
hasStoppedAtBreakpoint,
(Isolate isolate) async {
// Disable the Dart category.
- await isolate.vm.invokeRpcNoUpgrade('_setVMTimelineFlags', {
- "recordedStreams": []
- });
+ await isolate.vm
+ .invokeRpcNoUpgrade('_setVMTimelineFlags', {"recordedStreams": []});
// Grab the timeline and remember the number of Dart events.
Map result = await isolate.vm.invokeRpcNoUpgrade('_getVMTimeline', {});
expect(result['type'], equals('_Timeline'));
@@ -105,12 +103,10 @@ var tests = [
expect(result['traceEvents'], new isInstanceOf<List>());
expect(filterEvents(result['traceEvents'], isDart).length, dartEventCount);
// Confirm that zero non-Dart events are added.
- expect(
- filterEvents(result['traceEvents'], isNotDartAndMetaData).length,
+ expect(filterEvents(result['traceEvents'], isNotDartAndMetaData).length,
equals(0));
},
];
-main(args) async => runIsolateTests(args,
- tests,
- testeeConcurrent: primeDartTimeline);
+main(args) async =>
+ runIsolateTests(args, tests, testeeConcurrent: primeDartTimeline);

Powered by Google App Engine
This is Rietveld 408576698