github devlooped/moq v4.10.0
4.10.0

latest releases: v4.20.72, v4.20.71, v4.20.70...
21 months ago

Added

  • ExpressionCompiler: An extensibility point for setting up alternate LINQ expression tree compilation strategies (@stakx, #647)
  • setup.CallBase() for void methods (@stakx, #664)
  • VerifyNoOtherCalls for MockRepository (@BlythMeister, #682)

Changed

  • Make VerifyNoOtherCalls take into account previous calls to parameterless Verify() and VerifyAll() (@stakx, #659)
  • Breaking change: VerifyAll now succeeds after a call to SetupAllProperties even when not all property accessors were invoked (stakx, #684)

Fixed

  • More precise out parameter detection for mocking COM interfaces with [in,out] parameters (@koutinho, #645)
  • Prevent false 'Different number of parameters' error with Returns callback methods that have been compiled from Expressions (@stakx, #654)
  • Verify exception should report configured setups for delegate mocks (@stakx, #679)
  • Verify exception should include complete call expression for delegate mocks (@stakx, #680)
  • Bug report #556: "Recursive setup expression creates ghost setups that make VerifyAll fail" (@stakx, #684)
  • Bug report #191: "Upgrade from 4.2.1409.1722 to 4.2.1507.0118 changed VerifyAll behavior" (@stakx, #684)

Don't miss a new moq release

NewReleases is sending notifications on new releases.