mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-03 10:33:54 +01:00
This is not a wrapper around the old one, which was making problems. Delete unneeded generated files as well.
69 lines
2.4 KiB
Dart
69 lines
2.4 KiB
Dart
// Mocks generated by Mockito 5.4.6 from annotations
|
|
// in wger/test/routine/routine_logs_screen_test.dart.
|
|
// Do not manually edit this file.
|
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
|
import 'dart:async' as _i3;
|
|
|
|
import 'package:mockito/mockito.dart' as _i1;
|
|
import 'package:wger/models/workouts/log.dart' as _i4;
|
|
import 'package:wger/providers/workout_log_repository.dart' as _i2;
|
|
|
|
// ignore_for_file: type=lint
|
|
// ignore_for_file: avoid_redundant_argument_values
|
|
// ignore_for_file: avoid_setters_without_getters
|
|
// ignore_for_file: comment_references
|
|
// ignore_for_file: deprecated_member_use
|
|
// ignore_for_file: deprecated_member_use_from_same_package
|
|
// ignore_for_file: implementation_imports
|
|
// ignore_for_file: invalid_use_of_visible_for_testing_member
|
|
// ignore_for_file: must_be_immutable
|
|
// ignore_for_file: prefer_const_constructors
|
|
// ignore_for_file: unnecessary_parenthesis
|
|
// ignore_for_file: camel_case_types
|
|
// ignore_for_file: subtype_of_sealed_class
|
|
|
|
/// A class which mocks [WorkoutLogRepository].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockWorkoutLogRepository extends _i1.Mock implements _i2.WorkoutLogRepository {
|
|
MockWorkoutLogRepository() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i3.Stream<List<_i4.Log>> watchAllDrift() =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#watchAllDrift, []),
|
|
returnValue: _i3.Stream<List<_i4.Log>>.empty(),
|
|
)
|
|
as _i3.Stream<List<_i4.Log>>);
|
|
|
|
@override
|
|
_i3.Future<void> deleteLocalDrift(String? id) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#deleteLocalDrift, [id]),
|
|
returnValue: _i3.Future<void>.value(),
|
|
returnValueForMissingStub: _i3.Future<void>.value(),
|
|
)
|
|
as _i3.Future<void>);
|
|
|
|
@override
|
|
_i3.Future<void> updateLocalDrift(_i4.Log? log) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#updateLocalDrift, [log]),
|
|
returnValue: _i3.Future<void>.value(),
|
|
returnValueForMissingStub: _i3.Future<void>.value(),
|
|
)
|
|
as _i3.Future<void>);
|
|
|
|
@override
|
|
_i3.Future<void> addLocalDrift(_i4.Log? log) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#addLocalDrift, [log]),
|
|
returnValue: _i3.Future<void>.value(),
|
|
returnValueForMissingStub: _i3.Future<void>.value(),
|
|
)
|
|
as _i3.Future<void>);
|
|
}
|