Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mockito from 5.2.0 to 5.3.2 #41

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2022

Bumps mockito from 5.2.0 to 5.3.2.

Changelog

Sourced from mockito's changelog.

5.3.2

  • Support analyzer 5.0.0.

5.3.1

  • Fix analyzer and code_builder dependencies.
  • Reference @GenerateNiceMocks in documentation.
  • Allow generating a mock class which includes overriding members with private types in their signature. Such members cannot be stubbed with mockito, and will only be generated when specified in MockSpec unsupportedMembers.
  • Include required keyword in functions used as default return values.

5.3.0

  • Introduce a new MockSpec parameter, onMissingStub, which allows specifying three actions to take when a real call is made to a mock method with no matching stub. The two existing behaviors are the default behavior of throwing an exception, and the legacy behavior of returning null. A new behavior is also introduced: returning a legal default value. With this behavior, legal default values are returned for any given type.
  • Deprecate the MockSpec returnNullOnMissingStub parameter in favor of the new onMissingStub parameter.
  • Introduce a new @GenerateNiceMocks annotation, that uses the new "return a legal value" behavior for missing stubs.
  • Add SmartFake class to be used as a return values for unstubbed methods. It remembers where it was created and throws a descriptive error in case the fake is later used.
  • Include required keyword in function types to match overridden function types.
Commits
  • 02ad6c7 Bump analyzer to support 5.0.0
  • ef37e87 Bump SDK to 2.17 and code_builder to 4.3.0
  • 5d23067 Mockito codegen: use fallbackGenerator when present to create a default 'retu...
  • 04b74f1 Automated g4 rollback of changelist 471719348.
  • b33ce96 Automated g4 rollback of changelist 471650729.
  • dff3d82 Include required keyword in functions used as default return values.
  • dd17535 Expand private-in-signature support to getters and setters
  • 21f486f Allow generating a mock class which includes overriding members with private ...
  • ced77c9 Restrict the exception for CAST_FROM_NULL_ALWAYS_FAILS
  • 1363d90 Stop using deprecated declarations, prepare for analyzer breaking changes.
  • Additional commits viewable in compare view

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.2.0 to 5.3.2.
- [Release notes](https://github.com/dart-lang/mockito/releases)
- [Changelog](https://github.com/dart-lang/mockito/blob/master/CHANGELOG.md)
- [Commits](dart-lang/mockito@5.2.0...5.3.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Oct 10, 2022
@dependabot dependabot bot requested a review from blendthink October 10, 2022 19:02
@blendthink blendthink closed this Jan 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 18, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@blendthink blendthink deleted the dependabot/pub/mockito-5.3.2 branch January 18, 2024 10:19
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.

1 participant