Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Bump Moq from 4.10.1 to 4.12.0 #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps Moq from 4.10.1 to 4.12.0.

Changelog

Sourced from Moq's changelog.

4.12.0 (2019-06-20)

Changed

  • Improved performance for Mock.Of<T> and mock.SetupAllProperties() as the latter now performs property setups just-in-time, instead of as an ahead-of-time batch operation. (@​vanashimko, #826)
  • Setups with no .Returns(…) nor .CallBase() no longer return default(T) for loose mocks, but a value that is consistent with the mock's CallBase and DefaultValue[Provider] settings. (@​stakx, #849)

Added

  • New method overload sequenceSetup.ReturnsAsync(Func<T>) (@​stakx, #841)
  • LINQ to Mocks support for strict mocks, i.e. new method overloads for Mock.Of, Mocks.Of, mockRepository.Of, and mockRepository.OneOf that accept a MockBehavior parameter. (@​stakx, #842)

Fixed

  • Adding Callback to a mock breaks async tests (@​marcin-chwedczuk-meow, #702)
  • mock.SetupAllProperties() now setups write-only properties for strict mocks, so that accessing such properties will not throw anymore. (@​vanashimko, #836)
  • Regression: mock.SetupAllProperties() and Mock.Of<T> fail due to inaccessible property accessors (@​Mexe13, #845)
  • Regression: VerifyNoOtherCalls causes stack overflow when mock setup returns the mocked object (@​bash, #846)
  • Capture.In() no longer captures arguments when other setup arguments do not match (@​ocoanet, #844).
  • CaptureMatch no longer invokes the capture callback when other setup arguments do not match (@​ocoanet, #844).

4.11.0 (2019-05-28)

Same as 4.11.0-rc2. See changelog entries for the below two pre-release versions.

4.11.0-rc2 (2019-05-27)

This is a pre-release version.

Changed

  • Debug symbols (Moq.pdb) have moved into a separate NuGet symbol package (as per the current official guideline). If you want the Visual Studio debugger to step into Moq's source code, disable Just My Code, enable SourceLink, and configure NuGet's symbol server. (@​stakx, #789)

Fixed

  • Regression: Unhelpful exception message when setting up an indexer with SetupProperty (@​stakx, #823)

4.11.0-rc1 (2019-04-19)

This is a pre-release version.

It contains several minor breaking changes, and there have been extensive internal rewrites in order to fix some very long-standing bugs in relation to argument matchers in fluent setup expressions.

Changed

... (truncated)
Commits
  • 271a12a Update version to 4.12.0
  • 35c9867 Merge pull request #844 from ocoanet/master
  • 8708740 Update the changelog for PR #844
  • bea1c2d Make Match.SetupEvaluatedSuccessfully abstract
  • f9f0aba Rename SetupEvaluatedSuccessfullyCallback to Success
  • 63eea63 Fix code style in CaptureMatch
  • 845f113 Rename OnSuccess to SetupEvaluatedSuccessfully
  • 84324d1 Disable capture when conditional setup fails
  • b577827 Make CaptureMatch immutable
  • b25709b Prevent capturing arguments on match failure
  • 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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [Moq](https://github.com/moq/moq4) from 4.10.1 to 4.12.0.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](devlooped/moq@v4.10.1...v4.12.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants