← Back to team overview

nunit-core team mailing list archive

[Bug 685271] Re: Use of constraints to specify arguments to MockCall fails with DomainUsage Multiple

 

Restoring this bug that was previously marked invalid. It only occurs
under Mono.

** Changed in: nunitv2
       Status: Invalid => Triaged

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/685271

Title:
  Use of constraints to specify arguments to MockCall fails with
  DomainUsage Multiple

Status in NUnit V2 Test Framework:
  Triaged

Bug description:
  When running tests under NAnt using -domain:Multiple, the test
  NUnit.Mocks.Tests.MockTests.ConstraintArgumentSucceeds fails because
  the expression 'expectedArgs[i] is IResolveConstraint' is false in
  MockCall.cs line 41.

  It appears that a separate copy of the nunit.mocks assembly is being
  used in the domain.

  The build script has been changed to avoid use of -domain:Multiple.



References