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

Side by Side Diff: runtime/observatory/tests/service/developer_server_control_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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // VMOptions=--error_on_bad_type --error_on_bad_override 4 // VMOptions=--error_on_bad_type --error_on_bad_override
5 5
6 import 'dart:async'; 6 import 'dart:async';
7 import 'dart:developer'; 7 import 'dart:developer';
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 import 'test_helper.dart'; 10 import 'test_helper.dart';
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 majorVersion = info.majorVersion; 62 majorVersion = info.majorVersion;
63 minorVersion = info.minorVersion; 63 minorVersion = info.minorVersion;
64 serverUri = info.serverUri; 64 serverUri = info.serverUri;
65 expect(info.majorVersion, equals(majorVersion)); 65 expect(info.majorVersion, equals(majorVersion));
66 expect(info.minorVersion, equals(minorVersion)); 66 expect(info.minorVersion, equals(minorVersion));
67 expect(info.serverUri, equals(serverUri)); 67 expect(info.serverUri, equals(serverUri));
68 } 68 }
69 } 69 }
70 70
71 var tests = [ 71 var tests = [
72 (Isolate isolate) async { 72 (Isolate isolate) async {
73 await isolate.reload(); 73 await isolate.reload();
74 // Just getting here means that the testee enabled the service protocol 74 // Just getting here means that the testee enabled the service protocol
75 // web server. 75 // web server.
76 expect(true, true); 76 expect(true, true);
77 } 77 }
78 ]; 78 ];
79 79
80 main(args) => runIsolateTests(args, tests, 80 main(args) => runIsolateTests(args,
81 testeeBefore: testeeBefore, 81 tests,
82 // the testee is responsible for starting the 82 testeeBefore: testeeBefore,
83 // web server. 83 // the testee is responsible for starting the
84 testeeControlsServer: true); 84 // web server.
85 testeeControlsServer: true);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698