PelionIoT / mbed-cloud-sdk-dotnet

Pelion Device Management SDK for .NET
Apache License 2.0
10 stars 2 forks source link

Bump Moq from 4.11.0 to 4.12.0 #309

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps Moq from 4.11.0 to 4.12.0.

Changelog *Sourced from [Moq's changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md).* > ## 4.12.0 (2019-06-20) > > #### Changed > > * Improved performance for `Mock.Of` and `mock.SetupAllProperties()` as the latter now performs property setups just-in-time, instead of as an ahead-of-time batch operation. ([@​vanashimko](https://github.com/vanashimko), [#826](https://github-redirect.dependabot.com/moq/moq4/issues/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](https://github.com/stakx), [#849](https://github-redirect.dependabot.com/moq/moq4/issues/849)) > > #### Added > > * New method overload `sequenceSetup.ReturnsAsync(Func)` ([@​stakx](https://github.com/stakx), [#841](https://github-redirect.dependabot.com/moq/moq4/issues/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](https://github.com/stakx), [#842](https://github-redirect.dependabot.com/moq/moq4/issues/842)) > > #### Fixed > > * Adding `Callback` to a mock breaks async tests ([@​marcin](https://github.com/marcin)-chwedczuk-meow, [#702](https://github-redirect.dependabot.com/moq/moq4/issues/702)) > * `mock.SetupAllProperties()` now setups write-only properties for strict mocks, so that accessing such properties will not throw anymore. ([@​vanashimko](https://github.com/vanashimko), [#836](https://github-redirect.dependabot.com/moq/moq4/issues/836)) > * Regression: `mock.SetupAllProperties()` and `Mock.Of` fail due to inaccessible property accessors ([@​Mexe13](https://github.com/Mexe13), [#845](https://github-redirect.dependabot.com/moq/moq4/issues/845)) > * Regression: `VerifyNoOtherCalls` causes stack overflow when mock setup returns the mocked object ([@​bash](https://github.com/bash), [#846](https://github-redirect.dependabot.com/moq/moq4/issues/846)) > * `Capture.In()` no longer captures arguments when other setup arguments do not match ([@​ocoanet](https://github.com/ocoanet), [#844](https://github-redirect.dependabot.com/moq/moq4/issues/844)). > * `CaptureMatch` no longer invokes the capture callback when other setup arguments do not match ([@​ocoanet](https://github.com/ocoanet), [#844](https://github-redirect.dependabot.com/moq/moq4/issues/844)).
Commits - [`271a12a`](https://github.com/moq/moq4/commit/271a12abdaa6edbe042e20d9984b8de64a4dad54) Update version to 4.12.0 - [`35c9867`](https://github.com/moq/moq4/commit/35c986736e8fad28c11b7e06cdbc8d30005ae7de) Merge pull request [#844](https://github-redirect.dependabot.com/moq/moq4/issues/844) from ocoanet/master - [`8708740`](https://github.com/moq/moq4/commit/8708740f7fe32b182fc993e4f075921c4d4fbbd4) Update the changelog for PR [#844](https://github-redirect.dependabot.com/moq/moq4/issues/844) - [`bea1c2d`](https://github.com/moq/moq4/commit/bea1c2d5da503ace21bfaf1a14468f2625432f1d) Make Match.SetupEvaluatedSuccessfully abstract - [`f9f0aba`](https://github.com/moq/moq4/commit/f9f0abaed9d49a7f68b125c96e743086dd6bb38e) Rename SetupEvaluatedSuccessfullyCallback to Success - [`63eea63`](https://github.com/moq/moq4/commit/63eea63cc8b006c7ba1dbe8d860c62cbbaa02feb) Fix code style in CaptureMatch - [`845f113`](https://github.com/moq/moq4/commit/845f1136b19a530a04abe245071eb34bff89d252) Rename OnSuccess to SetupEvaluatedSuccessfully - [`84324d1`](https://github.com/moq/moq4/commit/84324d1b8be7c2f46619d062a37dde5160271ed2) Disable capture when conditional setup fails - [`b577827`](https://github.com/moq/moq4/commit/b577827d4fbcfcc6d66f8be310ffc72e64ee73df) Make CaptureMatch immutable - [`b25709b`](https://github.com/moq/moq4/commit/b25709b0277db58ae3079fd3b30e5b3de3d61989) Prevent capturing arguments on match failure - Additional commits viewable in [compare view](https://github.com/moq/moq4/compare/v4.11.0...v4.12.0)


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](https://app.dependabot.com): - 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.
codecov-io commented 5 years ago

Codecov Report

Merging #309 into master will increase coverage by 0.36%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
+ Coverage   51.21%   51.57%   +0.36%     
==========================================
  Files         212      212              
  Lines        9537     9537              
  Branches     1321     1321              
==========================================
+ Hits         4884     4919      +35     
+ Misses       4134     4095      -39     
- Partials      519      523       +4
Impacted Files Coverage Δ
src/Legacy/Connect/Api/ConnectApi.Notifications.cs 39.66% <0%> (+2.47%) :arrow_up:
...Connect/Model/Notifications/NotificationMessage.cs 57.89% <0%> (+5.26%) :arrow_up:
...CertificateIssuerConfig/CertificateIssuerConfig.cs 100% <0%> (+12.5%) :arrow_up:
...acy/Connect/Model/Notifications/DeviceEventData.cs 47.61% <0%> (+38.09%) :arrow_up:
...egacy/Connect/Model/Notifications/ResourcesData.cs 94.11% <0%> (+94.11%) :arrow_up:

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 b72ca0e...01a8c94. Read the comment docs.