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

Unified Diff: runtime/observatory/tests/service/regress_28443_test.dart

Issue 2759973004: Fix observatory tests broken by running dartfmt. Temporarily reverted formatting for evaluate_activ… (Closed)
Patch Set: 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/regress_28443_test.dart
diff --git a/runtime/observatory/tests/service/regress_28443_test.dart b/runtime/observatory/tests/service/regress_28443_test.dart
index 652e4b0352594d9aff0c1de956ac708018061807..411c8370097edbf61de55e41f6d7f12291001d79 100644
--- a/runtime/observatory/tests/service/regress_28443_test.dart
+++ b/runtime/observatory/tests/service/regress_28443_test.dart
@@ -25,12 +25,13 @@ collect() async {
await new Future.microtask(() => throw new TimeoutException("here"));
} on dynamic {
vmService.close();
- rethrow; // LINE_A
+ rethrow; // LINE_A
}
});
}
-test_code() async { // LINE_B
+test_code() async {
+ // LINE_B
try {
await collect();
} on TimeoutException {
@@ -60,17 +61,19 @@ Future<Isolate> stepThroughProgram(Isolate isolate) async {
return completer.future;
}
-var tests = [hasPausedAtStart,
- markDartColonLibrariesDebuggable,
- setBreakpointAtLine(LINE_B),
- resumeIsolate,
- hasStoppedAtBreakpoint,
- setBreakpointAtLine(LINE_A),
- resumeIsolate,
- hasStoppedAtBreakpoint,
- stepOut,
- stoppedAtLine(LINE_B),
- resumeIsolate];
+var tests = [
+ hasPausedAtStart,
+ markDartColonLibrariesDebuggable,
+ setBreakpointAtLine(LINE_B),
+ resumeIsolate,
+ hasStoppedAtBreakpoint,
+ setBreakpointAtLine(LINE_A),
+ resumeIsolate,
+ hasStoppedAtBreakpoint,
+ stepOut,
+ stoppedAtLine(LINE_B),
+ resumeIsolate
+];
main(args) => runIsolateTestsSynchronous(args, tests,
testeeConcurrent: test_code, pause_on_start: true, pause_on_exit: false);

Powered by Google App Engine
This is Rietveld 408576698