-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix show events on home screen (#78)
- Loading branch information
1 parent
ed88e47
commit c0e33d7
Showing
3 changed files
with
88 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 79 additions & 0 deletions
79
test/unit_test/shared/events/celebration_event_bloc_test.mocks.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
// Mocks generated by Mockito 5.4.4 from annotations | ||
// in projectunity/test/unit_test/shared/events/celebration_event_bloc_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:projectunity/data/model/employee/employee.dart' as _i4; | ||
import 'package:projectunity/data/repo/employee_repo.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 | ||
|
||
/// A class which mocks [EmployeeRepo]. | ||
/// | ||
/// See the documentation for Mockito's code generation for more information. | ||
class MockEmployeeRepo extends _i1.Mock implements _i2.EmployeeRepo { | ||
MockEmployeeRepo() { | ||
_i1.throwOnMissingStub(this); | ||
} | ||
|
||
@override | ||
_i3.Stream<List<_i4.Employee>> get employees => (super.noSuchMethod( | ||
Invocation.getter(#employees), | ||
returnValue: _i3.Stream<List<_i4.Employee>>.empty(), | ||
) as _i3.Stream<List<_i4.Employee>>); | ||
|
||
@override | ||
List<_i4.Employee> get allEmployees => (super.noSuchMethod( | ||
Invocation.getter(#allEmployees), | ||
returnValue: <_i4.Employee>[], | ||
) as List<_i4.Employee>); | ||
|
||
@override | ||
_i3.Stream<List<_i4.Employee>> get activeEmployees => (super.noSuchMethod( | ||
Invocation.getter(#activeEmployees), | ||
returnValue: _i3.Stream<List<_i4.Employee>>.empty(), | ||
) as _i3.Stream<List<_i4.Employee>>); | ||
|
||
@override | ||
_i3.Stream<_i4.Employee?> memberDetails(String? uid) => (super.noSuchMethod( | ||
Invocation.method( | ||
#memberDetails, | ||
[uid], | ||
), | ||
returnValue: _i3.Stream<_i4.Employee?>.empty(), | ||
) as _i3.Stream<_i4.Employee?>); | ||
|
||
@override | ||
_i3.Future<void> reset() => (super.noSuchMethod( | ||
Invocation.method( | ||
#reset, | ||
[], | ||
), | ||
returnValue: _i3.Future<void>.value(), | ||
returnValueForMissingStub: _i3.Future<void>.value(), | ||
) as _i3.Future<void>); | ||
|
||
@override | ||
_i3.Future<void> dispose() => (super.noSuchMethod( | ||
Invocation.method( | ||
#dispose, | ||
[], | ||
), | ||
returnValue: _i3.Future<void>.value(), | ||
returnValueForMissingStub: _i3.Future<void>.value(), | ||
) as _i3.Future<void>); | ||
} |