Skip to content

Bump mockito from 5.3.2 to 5.4.1#47

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/mockito-5.4.1
Closed

Bump mockito from 5.3.2 to 5.4.1#47
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/mockito-5.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 23, 2023

Copy link
Copy Markdown

Bumps mockito from 5.3.2 to 5.4.1.

Changelog

Sourced from mockito's changelog.

5.4.1

  • Deprecate the mixingIn argument to MockSpec. Best practice is to avoid any concrete implementation in classes which extend Mock.
  • Fixed generation for clashing type variable names.
  • Require Dart >= 2.19.0.
  • Require analyzer 5.11.0.
  • Fail to generate mocks of sealed/base/final classes.
  • Add new thenReturnInOrder method to mock multiple calls to a single method in order.
  • Add provideDummy/provideDummyBuilder functions for users to supply dummy values to Mockito, to cover cases where codegen can't create one.
  • Allow generating mocks for classes with methods/getters returning non-nullable unknown types.

5.4.0

  • Fix nice mocks generation in mixed mode (generated code is pre null-safety, while mocked class is null-safe).
  • Support typedef-aliased classes in @GenerateMocks and @GenerateNiceMocks
  • Breaking Default generate_for to test/**. Projects that are generating mocks for libraries outside of the test/ directory should add an explicit generate_for argument to include files with mock generating annotations.
  • Require Dart >= 2.17.0.
  • Require analyzer 5.2.0.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mockito](https://github.com/dart-lang/mockito) from 5.3.2 to 5.4.1.
- [Release notes](https://github.com/dart-lang/mockito/releases)
- [Changelog](https://github.com/dart-lang/mockito/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/mockito/commits)

---
updated-dependencies:
- dependency-name: mockito
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels May 23, 2023
@dependabot @github

dependabot Bot commented on behalf of github Jun 12, 2023

Copy link
Copy Markdown
Author

Superseded by #48.

@dependabot dependabot Bot closed this Jun 12, 2023
@dependabot
dependabot Bot deleted the dependabot/pub/mockito-5.4.1 branch June 12, 2023 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants