Skip to content

Commit fc52453

Browse files
committed
Recreate generated files
1 parent a8e4fdb commit fc52453

10 files changed

+792
-366
lines changed

lib/models/workouts/log.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
import 'dart:ui';
20-
2119
import 'package:json_annotation/json_annotation.dart';
2220
import 'package:wger/helpers/json.dart';
2321
import 'package:wger/helpers/misc.dart';
@@ -133,7 +131,8 @@ class Log {
133131

134132
@override
135133
//ignore: avoid_equals_and_hash_code_on_mutable_classes
136-
int get hashCode => Object.hash(exerciseBaseId, weight, weightUnitId, reps, repetitionUnitId, rir);
134+
int get hashCode =>
135+
Object.hash(exerciseBaseId, weight, weightUnitId, reps, repetitionUnitId, rir);
137136

138137
//@override
139138
//int get hashCode => super.hashCode;

pubspec.lock

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ packages:
328328
url: "https://pub.dartlang.org"
329329
source: hosted
330330
version: "2.4.0"
331+
flutter_driver:
332+
dependency: transitive
333+
description: flutter
334+
source: sdk
335+
version: "0.0.0"
331336
flutter_html:
332337
dependency: "direct main"
333338
description:
@@ -397,7 +402,7 @@ packages:
397402
source: hosted
398403
version: "2.0.5"
399404
flutter_svg:
400-
dependency: transitive
405+
dependency: "direct main"
401406
description:
402407
name: flutter_svg
403408
url: "https://pub.dartlang.org"
@@ -434,6 +439,11 @@ packages:
434439
url: "https://pub.dartlang.org"
435440
source: hosted
436441
version: "2.1.2"
442+
fuchsia_remote_debug_protocol:
443+
dependency: transitive
444+
description: flutter
445+
source: sdk
446+
version: "0.0.0"
437447
glob:
438448
dependency: transitive
439449
description:
@@ -518,6 +528,11 @@ packages:
518528
url: "https://pub.dartlang.org"
519529
source: hosted
520530
version: "2.6.2"
531+
integration_test:
532+
dependency: "direct dev"
533+
description: flutter
534+
source: sdk
535+
version: "0.0.0"
521536
intl:
522537
dependency: "direct main"
523538
description:
@@ -623,6 +638,13 @@ packages:
623638
url: "https://pub.dartlang.org"
624639
source: hosted
625640
version: "5.3.2"
641+
multi_select_flutter:
642+
dependency: "direct main"
643+
description:
644+
name: multi_select_flutter
645+
url: "https://pub.dartlang.org"
646+
source: hosted
647+
version: "4.1.2"
626648
nested:
627649
dependency: transitive
628650
description:
@@ -908,6 +930,13 @@ packages:
908930
url: "https://pub.dartlang.org"
909931
source: hosted
910932
version: "1.1.1"
933+
sync_http:
934+
dependency: transitive
935+
description:
936+
name: sync_http
937+
url: "https://pub.dartlang.org"
938+
source: hosted
939+
version: "0.3.1"
911940
table_calendar:
912941
dependency: "direct main"
913942
description:
@@ -949,7 +978,7 @@ packages:
949978
name: typed_data
950979
url: "https://pub.dartlang.org"
951980
source: hosted
952-
version: "1.3.0"
981+
version: "1.3.1"
953982
url_launcher:
954983
dependency: "direct main"
955984
description:
@@ -1069,6 +1098,13 @@ packages:
10691098
url: "https://pub.dartlang.org"
10701099
source: hosted
10711100
version: "2.0.8"
1101+
vm_service:
1102+
dependency: transitive
1103+
description:
1104+
name: vm_service
1105+
url: "https://pub.dartlang.org"
1106+
source: hosted
1107+
version: "9.0.0"
10721108
wakelock:
10731109
dependency: transitive
10741110
description:
@@ -1118,6 +1154,13 @@ packages:
11181154
url: "https://pub.dartlang.org"
11191155
source: hosted
11201156
version: "2.2.0"
1157+
webdriver:
1158+
dependency: transitive
1159+
description:
1160+
name: webdriver
1161+
url: "https://pub.dartlang.org"
1162+
source: hosted
1163+
version: "3.0.0"
11211164
webview_flutter:
11221165
dependency: transitive
11231166
description:

test/gallery/gallery_screen_test.mocks.dart

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,16 @@ class MockGalleryProvider extends _i1.Mock implements _i4.GalleryProvider {
181181
returnValueForMissingStub: _i6.Future<void>.value(),
182182
) as _i6.Future<void>);
183183
@override
184+
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) =>
185+
(super.noSuchMethod(
186+
Invocation.method(
187+
#getDefaultHeaders,
188+
[],
189+
{#includeAuth: includeAuth},
190+
),
191+
returnValue: <String, String>{},
192+
) as Map<String, String>);
193+
@override
184194
Uri makeUrl(
185195
String? path, {
186196
int? id,
@@ -216,7 +226,8 @@ class MockGalleryProvider extends _i1.Mock implements _i4.GalleryProvider {
216226
#fetch,
217227
[uri],
218228
),
219-
returnValue: _i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
229+
returnValue:
230+
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
220231
) as _i6.Future<Map<String, dynamic>>);
221232
@override
222233
_i6.Future<Map<String, dynamic>> post(
@@ -231,7 +242,8 @@ class MockGalleryProvider extends _i1.Mock implements _i4.GalleryProvider {
231242
uri,
232243
],
233244
),
234-
returnValue: _i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
245+
returnValue:
246+
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
235247
) as _i6.Future<Map<String, dynamic>>);
236248
@override
237249
_i6.Future<Map<String, dynamic>> patch(
@@ -246,7 +258,8 @@ class MockGalleryProvider extends _i1.Mock implements _i4.GalleryProvider {
246258
uri,
247259
],
248260
),
249-
returnValue: _i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
261+
returnValue:
262+
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
250263
) as _i6.Future<Map<String, dynamic>>);
251264
@override
252265
_i6.Future<_i3.Response> deleteRequest(

test/measurements/measurement_categories_screen_test.mocks.dart

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ import 'package:wger/providers/measurement.dart' as _i4;
2323
// ignore_for_file: camel_case_types
2424
// ignore_for_file: subtype_of_sealed_class
2525

26-
class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvider {
26+
class _FakeWgerBaseProvider_0 extends _i1.SmartFake
27+
implements _i2.WgerBaseProvider {
2728
_FakeWgerBaseProvider_0(
2829
Object parent,
2930
Invocation parentInvocation,
@@ -33,7 +34,8 @@ class _FakeWgerBaseProvider_0 extends _i1.SmartFake implements _i2.WgerBaseProvi
3334
);
3435
}
3536

36-
class _FakeMeasurementCategory_1 extends _i1.SmartFake implements _i3.MeasurementCategory {
37+
class _FakeMeasurementCategory_1 extends _i1.SmartFake
38+
implements _i3.MeasurementCategory {
3739
_FakeMeasurementCategory_1(
3840
Object parent,
3941
Invocation parentInvocation,
@@ -46,7 +48,8 @@ class _FakeMeasurementCategory_1 extends _i1.SmartFake implements _i3.Measuremen
4648
/// A class which mocks [MeasurementProvider].
4749
///
4850
/// See the documentation for Mockito's code generation for more information.
49-
class MockMeasurementProvider extends _i1.Mock implements _i4.MeasurementProvider {
51+
class MockMeasurementProvider extends _i1.Mock
52+
implements _i4.MeasurementProvider {
5053
MockMeasurementProvider() {
5154
_i1.throwOnMissingStub(this);
5255
}
@@ -119,7 +122,8 @@ class MockMeasurementProvider extends _i1.Mock implements _i4.MeasurementProvide
119122
returnValueForMissingStub: _i5.Future<void>.value(),
120123
) as _i5.Future<void>);
121124
@override
122-
_i5.Future<void> addCategory(_i3.MeasurementCategory? category) => (super.noSuchMethod(
125+
_i5.Future<void> addCategory(_i3.MeasurementCategory? category) =>
126+
(super.noSuchMethod(
123127
Invocation.method(
124128
#addCategory,
125129
[category],

test/measurements/measurement_provider_test.mocks.dart

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,16 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
102102
returnValueForMissingStub: null,
103103
);
104104
@override
105+
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) =>
106+
(super.noSuchMethod(
107+
Invocation.method(
108+
#getDefaultHeaders,
109+
[],
110+
{#includeAuth: includeAuth},
111+
),
112+
returnValue: <String, String>{},
113+
) as Map<String, String>);
114+
@override
105115
Uri makeUrl(
106116
String? path, {
107117
int? id,
@@ -137,7 +147,8 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
137147
#fetch,
138148
[uri],
139149
),
140-
returnValue: _i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
150+
returnValue:
151+
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
141152
) as _i5.Future<Map<String, dynamic>>);
142153
@override
143154
_i5.Future<Map<String, dynamic>> post(
@@ -152,7 +163,8 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
152163
uri,
153164
],
154165
),
155-
returnValue: _i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
166+
returnValue:
167+
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
156168
) as _i5.Future<Map<String, dynamic>>);
157169
@override
158170
_i5.Future<Map<String, dynamic>> patch(
@@ -167,7 +179,8 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
167179
uri,
168180
],
169181
),
170-
returnValue: _i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
182+
returnValue:
183+
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
171184
) as _i5.Future<Map<String, dynamic>>);
172185
@override
173186
_i5.Future<_i3.Response> deleteRequest(

0 commit comments

Comments
 (0)