Unverified Commit 37bc9008 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Revert "Don't elapse real time during IOSDevice.startApp tests (#58538)" (#58618)

This reverts commit 27186c78.
parent 27186c78
...@@ -300,7 +300,6 @@ class IOSDevice extends Device { ...@@ -300,7 +300,6 @@ class IOSDevice extends Device {
Map<String, dynamic> platformArgs, Map<String, dynamic> platformArgs,
bool prebuiltApplication = false, bool prebuiltApplication = false,
bool ipv6 = false, bool ipv6 = false,
@visibleForTesting Duration fallbackPollingDelay,
}) async { }) async {
String packageId; String packageId;
...@@ -417,7 +416,6 @@ class IOSDevice extends Device { ...@@ -417,7 +416,6 @@ class IOSDevice extends Device {
portForwarder: portForwarder, portForwarder: portForwarder,
protocolDiscovery: observatoryDiscovery, protocolDiscovery: observatoryDiscovery,
flutterUsage: globals.flutterUsage, flutterUsage: globals.flutterUsage,
pollingDelay: fallbackPollingDelay,
); );
final Uri localUri = await fallbackDiscovery.discover( final Uri localUri = await fallbackDiscovery.discover(
assumedDevicePort: assumedObservatoryPort, assumedDevicePort: assumedObservatoryPort,
......
...@@ -129,7 +129,6 @@ void main() { ...@@ -129,7 +129,6 @@ void main() {
prebuiltApplication: true, prebuiltApplication: true,
debuggingOptions: DebuggingOptions.enabled(BuildInfo.debug), debuggingOptions: DebuggingOptions.enabled(BuildInfo.debug),
platformArgs: <String, dynamic>{}, platformArgs: <String, dynamic>{},
fallbackPollingDelay: Duration.zero,
); );
verify(globals.flutterUsage.sendEvent('ios-handshake', 'mdns-success')).called(1); verify(globals.flutterUsage.sendEvent('ios-handshake', 'mdns-success')).called(1);
...@@ -174,7 +173,6 @@ void main() { ...@@ -174,7 +173,6 @@ void main() {
prebuiltApplication: true, prebuiltApplication: true,
debuggingOptions: DebuggingOptions.enabled(BuildInfo.debug), debuggingOptions: DebuggingOptions.enabled(BuildInfo.debug),
platformArgs: <String, dynamic>{}, platformArgs: <String, dynamic>{},
fallbackPollingDelay: Duration.zero,
); );
expect(launchResult.started, true); expect(launchResult.started, true);
...@@ -221,7 +219,6 @@ void main() { ...@@ -221,7 +219,6 @@ void main() {
prebuiltApplication: true, prebuiltApplication: true,
debuggingOptions: DebuggingOptions.enabled(BuildInfo.debug), debuggingOptions: DebuggingOptions.enabled(BuildInfo.debug),
platformArgs: <String, dynamic>{}, platformArgs: <String, dynamic>{},
fallbackPollingDelay: Duration.zero,
); );
expect(launchResult.started, false); expect(launchResult.started, false);
...@@ -260,7 +257,6 @@ void main() { ...@@ -260,7 +257,6 @@ void main() {
prebuiltApplication: true, prebuiltApplication: true,
debuggingOptions: DebuggingOptions.disabled(BuildInfo.release), debuggingOptions: DebuggingOptions.disabled(BuildInfo.release),
platformArgs: <String, dynamic>{}, platformArgs: <String, dynamic>{},
fallbackPollingDelay: Duration.zero,
); );
expect(launchResult.started, true); expect(launchResult.started, true);
...@@ -351,7 +347,6 @@ void main() { ...@@ -351,7 +347,6 @@ void main() {
verboseSystemLogs: true, verboseSystemLogs: true,
), ),
platformArgs: <String, dynamic>{}, platformArgs: <String, dynamic>{},
fallbackPollingDelay: Duration.zero,
); );
expect(launchResult.started, true); expect(launchResult.started, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment