Migrate ios_deploy to null safety (#88851)

This commit is contained in:
Jenn Magder
2021-09-09 17:32:05 -07:00
committed by GitHub
parent ecd046e941
commit 855af29084
2 changed files with 43 additions and 47 deletions

View File

@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.8
import 'dart:async';
import 'dart:convert';
@@ -22,9 +20,9 @@ import '../../src/fake_process_manager.dart';
import '../../src/fakes.dart';
void main () {
Artifacts artifacts;
String iosDeployPath;
FileSystem fileSystem;
late Artifacts artifacts;
late String iosDeployPath;
late FileSystem fileSystem;
setUp(() {
artifacts = Artifacts.test();
@@ -86,7 +84,7 @@ void main () {
group('IOSDeployDebugger', () {
group('launch', () {
BufferLogger logger;
late BufferLogger logger;
setUp(() {
logger = BufferLogger.test();
@@ -322,7 +320,7 @@ void main () {
}
IOSDeploy setUpIOSDeploy(ProcessManager processManager, {
Artifacts artifacts,
Artifacts? artifacts,
}) {
final FakePlatform macPlatform = FakePlatform(
operatingSystem: 'macos',