diff --git a/packages/flutter_tools/test/general.shard/isolated/fake_native_assets_build_runner.dart b/packages/flutter_tools/test/general.shard/isolated/fake_native_assets_build_runner.dart index 339f6a7faa8c3..ced45ab4b49a6 100644 --- a/packages/flutter_tools/test/general.shard/isolated/fake_native_assets_build_runner.dart +++ b/packages/flutter_tools/test/general.shard/isolated/fake_native_assets_build_runner.dart @@ -15,7 +15,8 @@ import 'package:package_config/package_config_types.dart'; /// Mocks all logic instead of using `package:native_assets_builder`, which /// relies on doing process calls to `pub` and the local file system. -class FakeFlutterNativeAssetsBuildRunner implements FlutterNativeAssetsBuildRunner { +class FakeFlutterNativeAssetsBuildRunner + implements FlutterNativeAssetsBuildRunner { FakeFlutterNativeAssetsBuildRunner({ this.hasPackageConfigResult = true, this.packagesWithNativeAssetsResult = const [], @@ -23,7 +24,6 @@ class FakeFlutterNativeAssetsBuildRunner implements FlutterNativeAssetsBuildRunn this.buildDryRunResult = const FakeFlutterNativeAssetsBuilderResult(), this.buildResult = const FakeFlutterNativeAssetsBuilderResult(), this.linkResult = const FakeFlutterNativeAssetsBuilderResult(), - this.linkDryRunResult = const FakeFlutterNativeAssetsBuilderResult(), CCompilerConfigImpl? cCompilerConfigResult, CCompilerConfigImpl? ndkCCompilerConfigImplResult, }) : cCompilerConfigResult = cCompilerConfigResult ?? CCompilerConfigImpl(), @@ -34,7 +34,6 @@ class FakeFlutterNativeAssetsBuildRunner implements FlutterNativeAssetsBuildRunn final native_assets_builder.BuildResult buildResult; final native_assets_builder.LinkResult linkResult; final native_assets_builder.BuildDryRunResult buildDryRunResult; - final native_assets_builder.LinkDryRunResult linkDryRunResult; final bool hasPackageConfigResult; final List packagesWithNativeAssetsResult; final CCompilerConfigImpl cCompilerConfigResult; @@ -43,7 +42,6 @@ class FakeFlutterNativeAssetsBuildRunner implements FlutterNativeAssetsBuildRunn int buildInvocations = 0; int buildDryRunInvocations = 0; int linkInvocations = 0; - int linkDryRunInvocations = 0; int hasPackageConfigInvocations = 0; int packagesWithNativeAssetsInvocations = 0; BuildModeImpl? lastBuildMode; @@ -122,8 +120,7 @@ final class FakeFlutterNativeAssetsBuilderResult implements native_assets_builder.BuildResult, native_assets_builder.BuildDryRunResult, - native_assets_builder.LinkResult, - native_assets_builder.LinkDryRunResult { + native_assets_builder.LinkResult { const FakeFlutterNativeAssetsBuilderResult({ this.assets = const [], this.assetsForLinking = const >{}, diff --git a/packages/flutter_tools/test/general.shard/isolated/hot_test.dart b/packages/flutter_tools/test/general.shard/isolated/hot_test.dart index 64aa9fbf787c5..5688546920beb 100644 --- a/packages/flutter_tools/test/general.shard/isolated/hot_test.dart +++ b/packages/flutter_tools/test/general.shard/isolated/hot_test.dart @@ -97,7 +97,6 @@ void main() { expect(buildRunner.buildInvocations, 0); expect(buildRunner.buildDryRunInvocations, 0); expect(buildRunner.linkInvocations, 0); - expect(buildRunner.linkDryRunInvocations, 0); expect(buildRunner.hasPackageConfigInvocations, 0); expect(buildRunner.packagesWithNativeAssetsInvocations, 0); }, overrides: { diff --git a/packages/flutter_tools/test/general.shard/isolated/resident_runner_test.dart b/packages/flutter_tools/test/general.shard/isolated/resident_runner_test.dart index abf01d853ac5c..aec25320856f9 100644 --- a/packages/flutter_tools/test/general.shard/isolated/resident_runner_test.dart +++ b/packages/flutter_tools/test/general.shard/isolated/resident_runner_test.dart @@ -82,7 +82,6 @@ void main() { expect(buildRunner.buildInvocations, 0); expect(buildRunner.buildDryRunInvocations, 0); expect(buildRunner.linkInvocations, 0); - expect(buildRunner.linkDryRunInvocations, 0); expect(buildRunner.hasPackageConfigInvocations, 0); expect(buildRunner.packagesWithNativeAssetsInvocations, 0);