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

Support for multi-stubs + Update to xUnit 1.8 #1

Open
wants to merge 81 commits into
base: master
Choose a base branch
from

Conversation

alaendle
Copy link

No breaking changes. Just included the patch for multi-stubs from https://github.com/shiqinwen and added a generic method to generate multi-stubs. Then i've updated xUnit.

As far as I see two useful extensions. This is my first pull request - so please let me know if there is something wrong.

Br,

Andreas

shiqinwen and others added 30 commits January 12, 2010 15:12
…amicProxy2.dll was removed and some entities have to be public after merge (took list from http://nmock3.codeplex.com/discussions/245846 where the same problem was discussed).
…a inherited interface which has the same property as the base interface.
…fications' in ISpecification.cs (it should be 'Rhino.Mocks.Impl.Invocation.Specifications').
…PI is necessary to avoid breaking changes in the previous stub behavior for virtual methods).
…n't blindly copy list from http://nmock3.codeplex.com/discussions/245846 - just consider the namespace changes."

I now agree with Cygon - but maybe there is a better solution...
This reverts commit bf2c5a7.
…a inherited interface which has the same property as the base interface (also read-only properties are effected!).
…sses that call abstract members in the constructor.

To be able to implement a useful behavior in the future I only declared in the tests that it should be able create such mocks/stubs.
I know that normally you should avoid such a (bad) class design - but for some specific scenarios it makes perfectly sense to set/initialize a abstract property in the constructor.
Note that this is a minor breaking change - but because the creation of such stubs/mocks throws an exception previous to this change I hope no one is affected.
…bs for abstract classes that call abstract members in the constructor."-commit 7a4ed10.

Preserved marker interface IPartialMockMarker in order to minimize public API change.
Added Castle.Core.pdb to be merged into Rhino.Mocks.pdb.
Use commit label for file name of the release package (the ccnet label isn't available).
- Updated psake to v4.00 (only changed default platform to .Net 4)
- Updated build targets framework version of all projects.
- Made use of Castle.Core.dll for .Net 4.
… with delegates") - but it seems that this is already working.
Andreas Ländle and others added 30 commits July 20, 2012 20:04
…adataToken can differ even on identical types).
The value of a variable used as a ref parameter should be used as a constraint on an expectation even when if it is marked with an InteropServices.OutAttribute
Fixed ref parameters on COM interfaces. The value of a variable used as a ref parameter should be used as a constraint on an expectation even when if it is marked with an InteropServices.OutAttribute.
Changed reflection lookup to look for nonpublic properties too
…Type, Type[], params object[]) to follow MockRepsoitory.GenerateStrictMock(Type type, Type[] extraTypes, params object[] argumentsForConstructor).
Fixes property behavior for internal properties.
…xception to throw or an action to execute - even in AAA syntax.
…hould verify that the given arguments are valid for the methods signature.
…PI loses some testing, I still find it useful to prove that all functionality can be achieved with the AAA syntax.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants