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
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
f6bd7fd
staged
shiqinwen Jan 12, 2010
8c2fc1e
removed assemblyInfo.cs and //[CLSCompliant(false)] attribute to make…
shiqinwen Jan 12, 2010
1a9b5d1
Added support for multiStub
shiqinwen Jan 13, 2010
d80a2ae
Included test for multiStub
shiqinwen Jan 13, 2010
5e0d224
Merge branch 'master' of git://github.com/shiqinwen/rhino-mocks in or…
Aug 9, 2011
d1808b8
Added generic support for multi-stub.
Aug 9, 2011
53aa07c
Update to xUnit.Net v1.8 (recognize execption messages during tests a…
Aug 9, 2011
2663ed7
Upgraded Castle to 2.5.2
sneal Oct 6, 2011
dce6c39
Merge branch 'master' of git://github.com/sneal/rhino-mocks
Oct 17, 2011
d34918d
Updated ILMerge from v2.8.626.0 to v2.11.103.0.
Nov 14, 2011
4ed3c38
Upgraded Castle to 2.5.2 - adopted ILMerge related things. Castle.Dyn…
Nov 14, 2011
500547f
This problem seems to have been fixed - so include the corresponding …
Nov 14, 2011
7937e76
Restored previous behavior (of the initial 3.6 release) when stubing …
Nov 15, 2011
bf2c5a7
Upgraded Castle to 2.5.2 - adopted ILMerge related things. Don't blin…
Nov 15, 2011
521b7d6
Made interface IModeChanger internal in order to minimize public API …
Nov 15, 2011
b0f5fb5
Corrected spelling of the namespace 'Rhino.Mocks.Impl.InvocationSpeci…
Nov 15, 2011
321db26
Defined current behavior of stubbed virtual methods - before I'll imp…
Nov 16, 2011
5e9fdfe
Added support for partial stubs (similar to partial mocks - the new A…
Nov 16, 2011
51db113
Revert "Upgraded Castle to 2.5.2 - adopted ILMerge related things. Do…
Nov 16, 2011
5c7d079
Restored previous behavior (of the initial 3.6 release) when stubing …
Nov 17, 2011
7a4ed10
I thinks its better to be able to create mocks/stubs for abstract cla…
Nov 18, 2011
1094e0a
Reverted parts of "I thinks its better to be able to create mocks/st…
Nov 21, 2011
47bfbce
Be able to use the property behavior for protected internal properties.
Nov 21, 2011
c28dfe7
Removed obsolete fragment - psake_ext.ps1.orig.
Nov 23, 2011
f3f8e9c
Add pdb file to release package.
Nov 23, 2011
025dc58
Changed target framework to .Net 4.
Dec 9, 2011
8be5a7a
Included the two skipped unit tests - they seem to work under the CLR4.
Dec 9, 2011
ada5d27
add ability to run tests in parallel
handcraftsman Dec 22, 2011
1300043
Added test to reproduce https://github.com/ayende/rhino-mocks/issues/…
Jan 16, 2012
70773bb
add ability to run tests in parallel
handcraftsman Dec 22, 2011
37461bf
Update to xUnit.Net v1.9.
Jan 27, 2012
e40092b
Removed all conditional compilation directives (#if/#endif) in order …
Feb 1, 2012
a83d5d3
Fixed bug reported by Ted (http://groups.google.com/group/rhinomocks/…
Feb 1, 2012
7f85051
Upgraded Castle to 3.0.0 for .Net 4.0 Client Profile.
Mar 6, 2012
4cf3024
Removed obsolete API.
Mar 7, 2012
011cd9c
Applied patch for ordered AAA syntax from Kenneth Xu.
Mar 7, 2012
4087bed
Applied patch for ordered AAA syntax from Kenneth Xu (part two - enha…
Mar 7, 2012
68acd9c
After adding the new feature for ordered AAA syntax it's time to incr…
Mar 7, 2012
556d710
Better encapsulation of CallRecord collections - regarding ordered AA…
Mar 9, 2012
9c2e1d6
Prepared for next release (vNext = 3.6.2).
Mar 9, 2012
d966416
Draft for a Mono4Android version of Rhino.Mocks.
Apr 25, 2012
d8a4d41
Fixed corner case bug when working with nested recorders.
Apr 26, 2012
d9ac27e
Merge branch 'master' of github.com:alaendle/rhino-mocks
Apr 26, 2012
64d4371
Just a corrected a small typo in readme.md.
Apr 26, 2012
12b66e8
Fixing event raiser with nullable arguments
romanfq Jun 15, 2012
276adc2
Avoid unnecessary first chance NotImplementedExcption if abstract met…
Jul 2, 2012
d8b2c8e
Merge branch 'master' of github.com:alaendle/rhino-mocks.
Jul 2, 2012
2bf5a3a
Namespaces have changed from Castle.Core v2.5.2 to v3.0.0.
Jul 3, 2012
881cc8a
Merge branch 'master' of git://github.com/romanfq/rhino-mocks.
Jul 3, 2012
74e6b61
Forgot to adopt changelog.
Jul 3, 2012
27f7b24
Update to xUnit.Net v1.9.1.
Jul 20, 2012
3be4436
Prepared for next release (vNext = 3.6.3).
Jul 20, 2012
61f5ffd
Updated psake to trunk version (https://github.com/psake/psake - a20b…
Nov 11, 2012
df9e4c3
Fixed corner case bug in AllPropertiesMatchConstraint (MemberInfo.Met…
Nov 12, 2012
a814969
Upgraded Castle to 3.1.0 for .Net 4.0 Client Profile.
Nov 13, 2012
850b18d
Tried to better support generic methods (see also https://groups.goog…
Nov 13, 2012
e707bdf
Fixed ref parameters on COM interfaces
andriniaina Jan 28, 2013
4d71921
Merge remote-tracking branch 'remotes/andriniaina/master'
Jan 30, 2013
64b1080
Removed draft for a Mono4Android version of Rhino.Mocks.
Apr 11, 2013
4fe9824
Upgraded Castle to 3.2.0 for .Net 4.0 Client Profile.
Apr 11, 2013
a89c678
Merge branch 'master' of https://github.com/alaendle/rhino-mocks
Apr 11, 2013
01deceb
Add link to download page to readme.
Apr 11, 2013
5b89837
Adapted copyright information for the year 2013.
Apr 11, 2013
23f6923
Adapted copyright information for the year 2013 - forgot to mention t…
Apr 11, 2013
7b98337
Fixed PropertyBehavior() method for internal properties
jorgehmv Jul 1, 2013
e8883c1
Marking parts of the old classic/using/fluent syntax as deprectated -…
Jul 30, 2013
24abfef
fixed GetPropertyFromMethod
jorgehmv Aug 2, 2013
c96db6d
Do not allow multiple return/throw/do options in one expect/stub call.
Aug 6, 2013
5fcb70a
Harmonized handling of null parameter in MockRepository.GenerateMock(…
Aug 6, 2013
2cd71c7
Merge remote-tracking branch 'remotes/jorgehmv/master'.
Aug 8, 2013
734ffcc
After specifying Repeat.Never(), you cannot specify a return value, e…
Aug 9, 2013
5e56841
Fixed corner case bug in AnyArgsExpectation - even this expectation s…
Aug 13, 2013
f6d87bb
Update to xUnit.Net v1.9.2.
Sep 19, 2013
a39142b
Updated ILMerge from v2.11.103 to v2.13.307.
Oct 23, 2013
af89222
Adapted merge process to be compatible with .Net 4.0 (even if .Net 4.…
Oct 23, 2013
a97caf6
Upgraded Castle to 3.2.1 for .Net 4.0 Client Profile.
Nov 22, 2013
44c85e0
Updated to Castle.Core 3.2.2 (for .Net 4.0 Client Profile).
Jan 8, 2014
d8d0847
Adapted copyright information for the year 2014.
Jan 8, 2014
c4b2d14
Adapted copyright information for the year 2015.
Jul 8, 2015
611e313
Refactored tests to use AAA syntax - also I'm aware that so the old A…
Sep 16, 2015
86fbec5
Merge branch 'master' of https://github.com/alaendle/rhino-mocks
Sep 16, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksIntroduction</RootNamespace>
<AssemblyName>RhinoMocksIntroduction</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksGenerics</RootNamespace>
<AssemblyName>RhinoMocksGenerics</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksPartialMocks</RootNamespace>
<AssemblyName>RhinoMocksPartialMocks</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksStubs</RootNamespace>
<AssemblyName>RhinoMocksStubs</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksIntroduction</RootNamespace>
<AssemblyName>RhinoMocksOrderedUnordered</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMockDelegates</RootNamespace>
<AssemblyName>RhinoMockDelegates</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksEvents</RootNamespace>
<AssemblyName>RhinoMocksEvents</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksIEventRaiser</RootNamespace>
<AssemblyName>RhinoMocksIEventRaiser</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksProperties</RootNamespace>
<AssemblyName>RhinoMocksProperties</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksTheDoHandler</RootNamespace>
<AssemblyName>RhinoMocksTheDoHandler</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksConstraints</RootNamespace>
<AssemblyName>RhinoMocksConstraints</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksMethodOptions</RootNamespace>
<AssemblyName>RhinoMocksMethodOptions</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksSetupResult</RootNamespace>
<AssemblyName>RhinoMocksSetupResult</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksMockingClasses</RootNamespace>
<AssemblyName>RhinoMocksMockingClasses</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksInternalMembers</RootNamespace>
<AssemblyName>RhinoMocksInternalMembers</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksRecordPlaybackSyntax</RootNamespace>
<AssemblyName>RhinoMocksRecordPlaybackSyntax</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RhinoMocksWithSyntax</RootNamespace>
<AssemblyName>RhinoMocksWithSyntax</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Rhino.Mocks.GettingStarted</RootNamespace>
<AssemblyName>Rhino.Mocks.GettingStarted</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down
8 changes: 8 additions & 0 deletions Rhino.Mocks.Tests.Model/Internal.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using System;

namespace Rhino.Mocks.Tests.Model
{
internal class Internal
Expand All @@ -11,5 +13,11 @@ internal virtual string Foo()
{
return Bar();
}

internal virtual object Baz
{
get { throw new Exception("exception thrown from baz property getter"); }
set { throw new Exception("exception thrown from baz property setter"); }
}
}
}
2 changes: 1 addition & 1 deletion Rhino.Mocks.Tests.Model/Rhino.Mocks.Tests.Model.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Rhino.Mocks.Tests.Model</RootNamespace>
<AssemblyName>Rhino.Mocks.Tests.Model</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\ayende-open-source.snk</AssemblyOriginatorKeyFile>
Expand Down
Loading