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 Moq from 4.11.0 to 4.12.0 #60

Merged
merged 1 commit into from
Jun 21, 2019
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps Moq from 4.11.0 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).
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)
  • 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.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 20, 2019
@dependabot-preview dependabot-preview bot requested a review from JSkimming June 20, 2019 23:15
@codecov
Copy link

codecov bot commented Jun 21, 2019

Codecov Report

Merging #60 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #60   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          14     14           
  Lines         572    572           
  Branches       72     72           
=====================================
  Hits          572    572

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f35ff7...a8001f6. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Jun 21, 2019

Codecov Report

Merging #60 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #60   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          14     14           
  Lines         572    572           
  Branches       72     72           
=====================================
  Hits          572    572

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f35ff7...a8001f6. Read the comment docs.

@JSkimming JSkimming merged commit c36a496 into master Jun 21, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/Moq-4.12.0 branch June 21, 2019 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant