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

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

Issue 2073893002: Removed all analyzer issues from tests (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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';
7 import 'dart:convert'; 6 import 'dart:convert';
8 import 'package:observatory/service_io.dart'; 7 import 'package:observatory/service_io.dart';
9 import 'package:unittest/unittest.dart'; 8 import 'package:unittest/unittest.dart';
10 import 'test_helper.dart'; 9 import 'test_helper.dart';
11 10
12 var tests = [ 11 var tests = [
13 (VM vm) async { 12 (VM vm) async {
14 var result = await vm.invokeRpcNoUpgrade('_listDevFS', {}); 13 var result = await vm.invokeRpcNoUpgrade('_listDevFS', {});
15 expect(result['type'], equals('FSList')); 14 expect(result['type'], equals('FSList'));
16 expect(result['fsNames'].toString(), equals("[]")); 15 expect(result['fsNames'].toString(), equals("[]"));
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 145
147 // Delete DevFS. 146 // Delete DevFS.
148 result = await vm.invokeRpcNoUpgrade('_deleteDevFS', { 147 result = await vm.invokeRpcNoUpgrade('_deleteDevFS', {
149 'fsName': fsId, 148 'fsName': fsId,
150 }); 149 });
151 expect(result['type'], equals('Success')); 150 expect(result['type'], equals('Success'));
152 }, 151 },
153 ]; 152 ];
154 153
155 main(args) async => runVMTests(args, tests); 154 main(args) async => runVMTests(args, tests);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698