|
6 | 6 | import 'dart:async' as _i3; |
7 | 7 | import 'dart:ui' as _i4; |
8 | 8 |
|
9 | | -import 'package:flutter_template/util/logging/app_transactions.dart' as _i7; |
10 | | -import 'package:flutter_template/util/logging/sentry_performance_logger.dart' |
11 | | - as _i6; |
12 | 9 | import 'package:flutter_template/viewmodel/splash/splash_viewmodel.dart' as _i2; |
13 | 10 | import 'package:icapps_architecture/icapps_architecture.dart' as _i5; |
14 | 11 | import 'package:mockito/mockito.dart' as _i1; |
@@ -57,6 +54,15 @@ class MockSplashViewModel extends _i1.Mock implements _i2.SplashViewModel { |
57 | 54 | returnValueForMissingStub: _i3.Future<void>.value(), |
58 | 55 | ) as _i3.Future<void>); |
59 | 56 |
|
| 57 | + @override |
| 58 | + void finishAppLoadTransaction() => super.noSuchMethod( |
| 59 | + Invocation.method( |
| 60 | + #finishAppLoadTransaction, |
| 61 | + [], |
| 62 | + ), |
| 63 | + returnValueForMissingStub: null, |
| 64 | + ); |
| 65 | + |
60 | 66 | @override |
61 | 67 | void dispose() => super.noSuchMethod( |
62 | 68 | Invocation.method( |
@@ -112,55 +118,3 @@ class MockSplashViewModel extends _i1.Mock implements _i2.SplashViewModel { |
112 | 118 | returnValueForMissingStub: null, |
113 | 119 | ); |
114 | 120 | } |
115 | | - |
116 | | -/// A class which mocks [SentryPerformanceLogger]. |
117 | | -/// |
118 | | -/// See the documentation for Mockito's code generation for more information. |
119 | | -class MockSentryPerformanceLogger extends _i1.Mock |
120 | | - implements _i6.SentryPerformanceLogger { |
121 | | - MockSentryPerformanceLogger() { |
122 | | - _i1.throwOnMissingStub(this); |
123 | | - } |
124 | | - |
125 | | - @override |
126 | | - _i3.Future<void> startAppLoadTransaction() => (super.noSuchMethod( |
127 | | - Invocation.method( |
128 | | - #startAppLoadTransaction, |
129 | | - [], |
130 | | - ), |
131 | | - returnValue: _i3.Future<void>.value(), |
132 | | - returnValueForMissingStub: _i3.Future<void>.value(), |
133 | | - ) as _i3.Future<void>); |
134 | | - |
135 | | - @override |
136 | | - _i3.Future<void> finishAppLoadTransaction() => (super.noSuchMethod( |
137 | | - Invocation.method( |
138 | | - #finishAppLoadTransaction, |
139 | | - [], |
140 | | - ), |
141 | | - returnValue: _i3.Future<void>.value(), |
142 | | - returnValueForMissingStub: _i3.Future<void>.value(), |
143 | | - ) as _i3.Future<void>); |
144 | | - |
145 | | - @override |
146 | | - _i3.Future<void> startTransaction(_i7.AppTransactions? transaction) => |
147 | | - (super.noSuchMethod( |
148 | | - Invocation.method( |
149 | | - #startTransaction, |
150 | | - [transaction], |
151 | | - ), |
152 | | - returnValue: _i3.Future<void>.value(), |
153 | | - returnValueForMissingStub: _i3.Future<void>.value(), |
154 | | - ) as _i3.Future<void>); |
155 | | - |
156 | | - @override |
157 | | - _i3.Future<void> finishTransaction(_i7.AppTransactions? transaction) => |
158 | | - (super.noSuchMethod( |
159 | | - Invocation.method( |
160 | | - #finishTransaction, |
161 | | - [transaction], |
162 | | - ), |
163 | | - returnValue: _i3.Future<void>.value(), |
164 | | - returnValueForMissingStub: _i3.Future<void>.value(), |
165 | | - ) as _i3.Future<void>); |
166 | | -} |
0 commit comments