Skip to content

Commit

Permalink
test(windows): rebuild test mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
RatakondalaArun authored and MarkOSullivan94 committed Aug 27, 2022
1 parent 704a91b commit 50f31fb
Showing 1 changed file with 28 additions and 17 deletions.
45 changes: 28 additions & 17 deletions test/windows/windows_icon_generator_test.mocks.dart
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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].
///
Expand All @@ -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<String, dynamic> toJson() =>
Expand Down Expand Up @@ -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]),
Expand All @@ -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);
}

0 comments on commit 50f31fb

Please sign in to comment.