[flutter_driver] Adds fuchsia compat for connect() (#22633)
Adds a Fuchsia compatibility function that allows for connecting to a specific Isolate by name when running Flutter Driver on a Fuchsia device. This will check over multiple Dart VM's in an attempt to find an Isolate by its name.
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:meta/meta.dart';
|
||||
import 'package:process/process.dart';
|
||||
|
||||
import 'common/logging.dart';
|
||||
@@ -127,7 +126,6 @@ class FuchsiaRemoteConnection {
|
||||
|
||||
/// Same as [FuchsiaRemoteConnection.connect] albeit with a provided
|
||||
/// [SshCommandRunner] instance.
|
||||
@visibleForTesting
|
||||
static Future<FuchsiaRemoteConnection> connectWithSshCommandRunner(
|
||||
SshCommandRunner commandRunner) async {
|
||||
final FuchsiaRemoteConnection connection = FuchsiaRemoteConnection._(
|
||||
|
||||
Reference in New Issue
Block a user