Cleanup random dead test code (#104568)

This commit is contained in:
Michael Goderbauer
2022-05-25 10:23:10 -07:00
committed by GitHub
parent da24f105bd
commit 2b14e993a7
8 changed files with 5 additions and 66 deletions

View File

@@ -1,10 +0,0 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:test/test.dart';
export 'package:test/test.dart' hide isInstanceOf;
/// A matcher that compares the type of the actual value to the type argument T.
TypeMatcher<T> isInstanceOf<T>() => isA<T>();

View File

@@ -4,10 +4,9 @@
import 'package:fuchsia_remote_debug_protocol/fuchsia_remote_debug_protocol.dart';
import 'package:test/fake.dart';
import 'package:test/test.dart';
import 'package:vm_service/vm_service.dart' as vms;
import 'common.dart';
void main() {
group('FuchsiaRemoteConnection.connect', () {
late List<FakePortForwarder> forwardedPorts;

View File

@@ -4,7 +4,7 @@
import 'package:fuchsia_remote_debug_protocol/src/common/network.dart';
import '../../common.dart';
import 'package:test/test.dart';
void main() {
final List<String> ipv4Addresses = <String>['127.0.0.1', '8.8.8.8'];

View File

@@ -6,10 +6,9 @@ import 'dart:async';
import 'package:fuchsia_remote_debug_protocol/src/dart/dart_vm.dart';
import 'package:test/fake.dart';
import 'package:test/test.dart';
import 'package:vm_service/vm_service.dart' as vms;
import '../../common.dart';
void main() {
group('DartVm.connect', () {
tearDown(() {

View File

@@ -9,7 +9,7 @@ import 'package:fuchsia_remote_debug_protocol/src/runners/ssh_command_runner.dar
import 'package:process/process.dart';
import 'package:test/fake.dart';
import '../../common.dart';
import 'package:test/test.dart';
void main() {
group('SshCommandRunner.constructors', () {