package:mockito v5.8.1
·
11 commits
to master
since this release
- Cast dummy values for extension types to the extension type so they satisfy
static type checking in generic return types likeFuture<ExtensionType>.
#4590 - Use canonical asset path in generated header comments so symlink paths are
excluded.
#4545 - Deterministically select library to import when multiple libraries export the
same type.
#4549 - Prefer importing public entrypoints over
/src/implementation libraries
when multiple libraries export the same type.
#4551 - Throw
InvalidMockitoAnnotationExceptionwith a clear message when
@GenerateMockscustomMocksor@GenerateNiceMocksmocksis not a list
literal, instead of crashing with a type cast exception.
#4428 - Remove redundant per-class
// ignore: must_be_immutablecomment to prevent
duplicate_ignorewarnings.
#4588 - Clarify in
README.mdthat generated.mocks.dartfilenames are based on the
source file name.
#4599 - Suppress
experimental_member_usewarnings in generated mock files.
#4602 - Document missing stub behavior for
voidandFuture<void>.