diff --git a/test/windows/windows_icon_generator_test.mocks.dart b/test/windows/windows_icon_generator_test.mocks.dart index 9e38faefd7..07756ea200 100644 --- a/test/windows/windows_icon_generator_test.mocks.dart +++ b/test/windows/windows_icon_generator_test.mocks.dart @@ -1,7 +1,8 @@ -// Mocks generated by Mockito 5.2.0 from annotations +// Mocks generated by Mockito 5.3.0 from annotations // in flutter_launcher_icons/test/windows/windows_icon_generator_test.dart. // Do not manually edit this file. +// ignore_for_file: no_leading_underscores_for_library_prefixes import 'package:cli_util/cli_logging.dart' as _i2; import 'package:flutter_launcher_icons/flutter_launcher_icons_config.dart' as _i3; @@ -17,10 +18,17 @@ import 'package:mockito/mockito.dart' as _i1; // ignore_for_file: prefer_const_constructors // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types +// ignore_for_file: subtype_of_sealed_class -class _FakeLogger_0 extends _i1.Fake implements _i2.Logger {} +class _FakeLogger_0 extends _i1.SmartFake implements _i2.Logger { + _FakeLogger_0(Object parent, Invocation parentInvocation) + : super(parent, parentInvocation); +} -class _FakeProgress_1 extends _i1.Fake implements _i2.Progress {} +class _FakeProgress_1 extends _i1.SmartFake implements _i2.Progress { + _FakeProgress_1(Object parent, Invocation parentInvocation) + : super(parent, parentInvocation); +} /// A class which mocks [FlutterLauncherIconsConfig]. /// @@ -40,24 +48,24 @@ class MockFlutterLauncherIconsConfig extends _i1.Mock .noSuchMethod(Invocation.getter(#removeAlphaIOS), returnValue: false) as bool); @override - bool get isNeedingNewIOSIcon => - (super.noSuchMethod(Invocation.getter(#isNeedingNewIOSIcon), - returnValue: false) as bool); - @override - bool get isNeedingNewAndroidIcon => - (super.noSuchMethod(Invocation.getter(#isNeedingNewAndroidIcon), - returnValue: false) as bool); - @override bool get hasAndroidAdaptiveConfig => (super.noSuchMethod(Invocation.getter(#hasAndroidAdaptiveConfig), returnValue: false) as bool); @override + bool get hasPlatformConfig => + (super.noSuchMethod(Invocation.getter(#hasPlatformConfig), + returnValue: false) as bool); + @override bool get isCustomAndroidFile => (super.noSuchMethod(Invocation.getter(#isCustomAndroidFile), returnValue: false) as bool); @override - bool get hasPlatformConfig => - (super.noSuchMethod(Invocation.getter(#hasPlatformConfig), + bool get isNeedingNewAndroidIcon => + (super.noSuchMethod(Invocation.getter(#isNeedingNewAndroidIcon), + returnValue: false) as bool); + @override + bool get isNeedingNewIOSIcon => + (super.noSuchMethod(Invocation.getter(#isNeedingNewIOSIcon), returnValue: false) as bool); @override Map toJson() => @@ -97,7 +105,8 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger { as bool); @override _i2.Logger get rawLogger => (super.noSuchMethod(Invocation.getter(#rawLogger), - returnValue: _FakeLogger_0()) as _i2.Logger); + returnValue: _FakeLogger_0(this, Invocation.getter(#rawLogger))) + as _i2.Logger); @override void error(Object? message) => super.noSuchMethod(Invocation.method(#error, [message]), @@ -111,7 +120,9 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger { super.noSuchMethod(Invocation.method(#info, [message]), returnValueForMissingStub: null); @override - _i2.Progress progress(String? message) => - (super.noSuchMethod(Invocation.method(#progress, [message]), - returnValue: _FakeProgress_1()) as _i2.Progress); + _i2.Progress progress(String? message) => (super.noSuchMethod( + Invocation.method(#progress, [message]), + returnValue: + _FakeProgress_1(this, Invocation.method(#progress, [message]))) + as _i2.Progress); }