forked from firka/flutter
Cleanup random dead test code (#104568)
This commit is contained in:
committed by
GitHub
parent
da24f105bd
commit
2b14e993a7
@@ -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>();
|
||||
@@ -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;
|
||||
|
||||
@@ -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'];
|
||||
|
||||
@@ -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(() {
|
||||
|
||||
@@ -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', () {
|
||||
|
||||
Reference in New Issue
Block a user