Skip to content

package:mockito v5.8.1

Choose a tag to compare

@davidmorgan davidmorgan released this 06 Aug 08:44
· 11 commits to master since this release
c74eebe
  • Cast dummy values for extension types to the extension type so they satisfy
    static type checking in generic return types like Future<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 InvalidMockitoAnnotationException with a clear message when
    @GenerateMocks customMocks or @GenerateNiceMocks mocks is not a list
    literal, instead of crashing with a type cast exception.
    #4428
  • Remove redundant per-class // ignore: must_be_immutable comment to prevent
    duplicate_ignore warnings.
    #4588
  • Clarify in README.md that generated .mocks.dart filenames are based on the
    source file name.
    #4599
  • Suppress experimental_member_use warnings in generated mock files.
    #4602
  • Document missing stub behavior for void and Future<void>.