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

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

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'dart:async'; 5 import 'dart:async';
6 import 'test_helper.dart'; 6 import 'test_helper.dart';
7 import 'service_test_common.dart'; 7 import 'service_test_common.dart';
8 import 'package:observatory/service_io.dart'; 8 import 'package:observatory/service_io.dart';
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10 10
(...skipping 18 matching lines...) Expand all
29 expect(pauseEventsSeen > 20, true, 29 expect(pauseEventsSeen > 20, true,
30 reason: "Saw only $pauseEventsSeen pause events."); 30 reason: "Saw only $pauseEventsSeen pause events.");
31 await cancelStreamSubscription(VM.kDebugStream); 31 await cancelStreamSubscription(VM.kDebugStream);
32 completer.complete(); 32 completer.complete();
33 } 33 }
34 }); 34 });
35 isolate.resume(); 35 isolate.resume();
36 return completer.future; 36 return completer.future;
37 } 37 }
38 38
39 var tests = [ 39 var tests = [hasPausedAtStart,
40 hasPausedAtStart, 40 markDartColonLibrariesDebuggable,
41 markDartColonLibrariesDebuggable, 41 setBreakpointAtLine(LINE_A),
42 setBreakpointAtLine(LINE_A), 42 stepThroughProgram];
43 stepThroughProgram
44 ];
45 43
46 main(args) => runIsolateTestsSynchronous(args, tests, 44 main(args) => runIsolateTestsSynchronous(args, tests,
47 testeeConcurrent: code, pause_on_start: true, pause_on_exit: true); 45 testeeConcurrent: code, pause_on_start: true, pause_on_exit: true);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698