1
- // Mocks generated by Mockito 5.2 .0 from annotations
1
+ // Mocks generated by Mockito 5.3 .0 from annotations
2
2
// in flutter_launcher_icons/test/windows/windows_icon_generator_test.dart.
3
3
// Do not manually edit this file.
4
4
5
+ // ignore_for_file: no_leading_underscores_for_library_prefixes
5
6
import 'package:cli_util/cli_logging.dart' as _i2;
6
7
import 'package:flutter_launcher_icons/flutter_launcher_icons_config.dart'
7
8
as _i3;
@@ -17,10 +18,17 @@ import 'package:mockito/mockito.dart' as _i1;
17
18
// ignore_for_file: prefer_const_constructors
18
19
// ignore_for_file: unnecessary_parenthesis
19
20
// ignore_for_file: camel_case_types
21
+ // ignore_for_file: subtype_of_sealed_class
20
22
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
+ }
22
27
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
+ }
24
32
25
33
/// A class which mocks [FlutterLauncherIconsConfig] .
26
34
///
@@ -40,24 +48,24 @@ class MockFlutterLauncherIconsConfig extends _i1.Mock
40
48
.noSuchMethod (Invocation .getter (#removeAlphaIOS), returnValue: false )
41
49
as bool );
42
50
@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
51
51
bool get hasAndroidAdaptiveConfig =>
52
52
(super .noSuchMethod (Invocation .getter (#hasAndroidAdaptiveConfig),
53
53
returnValue: false ) as bool );
54
54
@override
55
+ bool get hasPlatformConfig =>
56
+ (super .noSuchMethod (Invocation .getter (#hasPlatformConfig),
57
+ returnValue: false ) as bool );
58
+ @override
55
59
bool get isCustomAndroidFile =>
56
60
(super .noSuchMethod (Invocation .getter (#isCustomAndroidFile),
57
61
returnValue: false ) as bool );
58
62
@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),
61
69
returnValue: false ) as bool );
62
70
@override
63
71
Map <String , dynamic > toJson () =>
@@ -97,7 +105,8 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger {
97
105
as bool );
98
106
@override
99
107
_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 );
101
110
@override
102
111
void error (Object ? message) =>
103
112
super .noSuchMethod (Invocation .method (#error, [message]),
@@ -111,7 +120,9 @@ class MockFLILogger extends _i1.Mock implements _i4.FLILogger {
111
120
super .noSuchMethod (Invocation .method (#info, [message]),
112
121
returnValueForMissingStub: null );
113
122
@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 );
117
128
}
0 commit comments