// Mocks generated by Mockito 5.4.4 from annotations // in cpd/test/integration_testing/listview_features_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i4; import 'package:cpd/database/db_interface.dart' as _i7; import 'package:cpd/database/habit.dart' as _i6; import 'package:cpd/database/todo_interface.dart' as _i3; import 'package:flutter/cupertino.dart' as _i5; import 'package:mockito/mockito.dart' as _i1; import 'package:mockito/src/dummies.dart' as _i8; import 'package:sqflite/sqflite.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: prefer_const_constructors // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class class _FakeDatabase_0 extends _i1.SmartFake implements _i2.Database { _FakeDatabase_0( Object parent, Invocation parentInvocation, ) : super( parent, parentInvocation, ); } /// A class which mocks [ToDoInterface]. /// /// See the documentation for Mockito's code generation for more information. class MockToDoInterface extends _i1.Mock implements _i3.ToDoInterface { MockToDoInterface() { _i1.throwOnMissingStub(this); } @override _i4.Future createTable(_i2.Database? database) => (super.noSuchMethod( Invocation.method( #createTable, [database], ), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future insert({ required String? title, required String? subtitle, required _i5.IconData? icon, }) => (super.noSuchMethod( Invocation.method( #insert, [], { #title: title, #subtitle: subtitle, #icon: icon, }, ), returnValue: _i4.Future.value(0), ) as _i4.Future); @override _i4.Future> fetchAll() => (super.noSuchMethod( Invocation.method( #fetchAll, [], ), returnValue: _i4.Future>.value(<_i6.Habit>[]), ) as _i4.Future>); @override _i4.Future<_i6.Habit?> fetchById(int? id) => (super.noSuchMethod( Invocation.method( #fetchById, [id], ), returnValue: _i4.Future<_i6.Habit?>.value(), ) as _i4.Future<_i6.Habit?>); @override _i4.Future update({ required int? id, required String? title, required String? subtitle, required _i5.IconData? icon, }) => (super.noSuchMethod( Invocation.method( #update, [], { #id: id, #title: title, #subtitle: subtitle, #icon: icon, }, ), returnValue: _i4.Future.value(0), ) as _i4.Future); @override _i4.Future delete(int? id) => (super.noSuchMethod( Invocation.method( #delete, [id], ), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future? updateCompletionStatus( int? id, bool? isCompleted, ) => (super.noSuchMethod(Invocation.method( #updateCompletionStatus, [ id, isCompleted, ], )) as _i4.Future?); } /// A class which mocks [HabitDbInterface]. /// /// See the documentation for Mockito's code generation for more information. class MockHabitDbInterface extends _i1.Mock implements _i7.HabitDbInterface { MockHabitDbInterface() { _i1.throwOnMissingStub(this); } @override _i4.Future<_i2.Database> get database => (super.noSuchMethod( Invocation.getter(#database), returnValue: _i4.Future<_i2.Database>.value(_FakeDatabase_0( this, Invocation.getter(#database), )), ) as _i4.Future<_i2.Database>); @override _i4.Future get fullPath => (super.noSuchMethod( Invocation.getter(#fullPath), returnValue: _i4.Future.value(_i8.dummyValue( this, Invocation.getter(#fullPath), )), ) as _i4.Future); }