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

Update dependency Moq to v4.14.0 #985

Merged
merged 1 commit into from
Apr 24, 2020
Merged

Update dependency Moq to v4.14.0 #985

merged 1 commit into from
Apr 24, 2020

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2020

This PR contains the following updates:

Package Type Update Change
Moq nuget minor 4.13.1 -> 4.14.0

Release Notes

moq/moq4

v4.14.0

Compare Source

Added
  • A mock's setups can now be inspected and individually verified via the new Mock.Setups collection and IInvocation.MatchingSetup property (@​stakx, #​984-#​987, #​989, #​995, #​999)

  • New .Protected().Setup and Protected().Verify method overloads to deal with generic methods (@​JmlSaul, #​967)

  • Two new public methods in Times: bool Validate(int count) and string ToString() (@​stakx, 975)

Changed
  • Attempts to mark conditionals setup as verifiable are now considered an error, since conditional setups are ignored during verification. Calls to .Verifiable() on conditional setups are no-ops and can be safely removed. (@​stakx, #​997)

  • When matching invocations against setups, captured variables nested inside expression trees are now evaluated. Their values likely matter more than their identities. (@​stakx, #​1000)

Fixed
  • Regression: Restored Capture.In use in mock.Verify(expression, ...) to extract arguments of previously recorded invocations. (@​vgriph, #​968; @​stakx, #​974)

  • Consistency: When mocking a class C whose constructor invokes one of its virtual members, Mock.Of<C>() now operates like new Mock<C>(): a record of such invocations is retained in the mock's Invocations collection (@​stakx, #​980)

  • After updating Moq from 4.10.1 to 4.11, mocking NHibernate session throws a System.NullReferenceException (@​ronenfe, #​955)


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from tomkerkhove as a code owner April 24, 2020 20:25
@renovate renovate bot added the dependencies All issues related to dependencies & Renovate label Apr 24, 2020
@promitor-bot
Copy link

Docker image for this PR was built and is available on Docker Hub.

You can pull it locally via the CLI:

docker pull tomkerkhove/promitor-agent-scraper-ci:pr985-linux

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-agent-scraper-pr985-linux \
                         --env PROMITOR_AUTH_APPID='<azure-ad-app-id>' \
                         --env-file C:/Promitor/az-mon-auth.creds \
                         --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml  \
                         --volume C:/Promitor/runtime-config.yaml:/config/runtime.yaml \
                         tomkerkhove/promitor-agent-scraper-ci:pr985-linux

You can find a CI version of our Helm chart on hub.helm.sh

@tomkerkhove tomkerkhove merged commit bd1a52e into master Apr 24, 2020
@renovate renovate bot deleted the renovate-moq-4.x branch April 24, 2020 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies All issues related to dependencies & Renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants