Skip to content

Commit 50f31fb

Browse files
RatakondalaArunMarkOSullivan94
authored andcommitted
test(windows): rebuild test mocks
1 parent 704a91b commit 50f31fb

File tree

1 file changed

+28
-17
lines changed

1 file changed

+28
-17
lines changed

test/windows/windows_icon_generator_test.mocks.dart

+28-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// Mocks generated by Mockito 5.2.0 from annotations
1+
// Mocks generated by Mockito 5.3.0 from annotations
22
// in flutter_launcher_icons/test/windows/windows_icon_generator_test.dart.
33
// Do not manually edit this file.
44

5+
// ignore_for_file: no_leading_underscores_for_library_prefixes
56
import 'package:cli_util/cli_logging.dart' as _i2;
67
import 'package:flutter_launcher_icons/flutter_launcher_icons_config.dart'
78
as _i3;
@@ -17,10 +18,17 @@ import 'package:mockito/mockito.dart' as _i1;
1718
// ignore_for_file: prefer_const_constructors
1819
// ignore_for_file: unnecessary_parenthesis
1920
// ignore_for_file: camel_case_types
21+
// ignore_for_file: subtype_of_sealed_class
2022

21-
class _FakeLogger_0 extends _i1.Fake implements _i2.Logger {}
23+
class _FakeLogger_0 extends _i1.SmartFake implements _i2.Logger {
24+
_FakeLogger_0(Object parent, Invocation parentInvocation)
25+
: super(parent, parentInvocation);
26+
}
2227

23-
class _FakeProgress_1 extends _i1.Fake implements _i2.Progress {}
28+
class _FakeProgress_1 extends _i1.SmartFake implements _i2.Progress {
29+
_FakeProgress_1(Object parent, Invocation parentInvocation)
30+
: super(parent, parentInvocation);
31+
}
2432

2533
/// A class which mocks [FlutterLauncherIconsConfig].
2634
///
@@ -40,24 +48,24 @@ class MockFlutterLauncherIconsConfig extends _i1.Mock
4048
.noSuchMethod(Invocation.getter(#removeAlphaIOS), returnValue: false)
4149
as bool);
4250
@override
43-
bool get isNeedingNewIOSIcon =>
44-
(super.noSuchMethod(Invocation.getter(#isNeedingNewIOSIcon),
45-
returnValue: false) as bool);
46-
@override
47-
bool get isNeedingNewAndroidIcon =>
48-
(super.noSuchMethod(Invocation.getter(#isNeedingNewAndroidIcon),
49-
returnValue: false) as bool);
50-
@override
5151
bool get hasAndroidAdaptiveConfig =>
5252
(super.noSuchMethod(Invocation.getter(#hasAndroidAdaptiveConfig),
5353
returnValue: false) as bool);
5454
@override
55+
bool get hasPlatformConfig =>
56+
(super.noSuchMethod(Invocation.getter(#hasPlatformConfig),
57+
returnValue: false) as bool);
58+
@override
5559
bool get isCustomAndroidFile =>
5660
(super.noSuchMethod(Invocation.getter(#isCustomAndroidFile),
5761
returnValue: false) as bool);
5862
@override
59-
bool get hasPlatformConfig =>
60-
(super.noSuchMethod(Invocation.getter(#hasPlatformConfig),
63+
bool get isNeedingNewAndroidIcon =>
64+
(super.noSuchMethod(Invocation.getter(#isNeedingNewAndroidIcon),
65+
returnValue: false) as bool);
66+
@override
67+
bool get isNeedingNewIOSIcon =>
68+
(super.noSuchMethod(Invocation.getter(#isNeedingNewIOSIcon),
6169
returnValue: false) as bool);
6270
@override
6371
Map<String, dynamic> toJson() =>
@@ -97,7 +105,8 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger {
97105
as bool);
98106
@override
99107
_i2.Logger get rawLogger => (super.noSuchMethod(Invocation.getter(#rawLogger),
100-
returnValue: _FakeLogger_0()) as _i2.Logger);
108+
returnValue: _FakeLogger_0(this, Invocation.getter(#rawLogger)))
109+
as _i2.Logger);
101110
@override
102111
void error(Object? message) =>
103112
super.noSuchMethod(Invocation.method(#error, [message]),
@@ -111,7 +120,9 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger {
111120
super.noSuchMethod(Invocation.method(#info, [message]),
112121
returnValueForMissingStub: null);
113122
@override
114-
_i2.Progress progress(String? message) =>
115-
(super.noSuchMethod(Invocation.method(#progress, [message]),
116-
returnValue: _FakeProgress_1()) as _i2.Progress);
123+
_i2.Progress progress(String? message) => (super.noSuchMethod(
124+
Invocation.method(#progress, [message]),
125+
returnValue:
126+
_FakeProgress_1(this, Invocation.method(#progress, [message])))
127+
as _i2.Progress);
117128
}

0 commit comments

Comments
 (0)