Mercurial > pub > RazorEngine
comparison src/packages/Moq.4.1.1309.1617/Moq.4.1.1309.1617.nuspec @ 0:5bca2d201ad8
initial commit
author | cin |
---|---|
date | Sun, 24 Aug 2014 11:14:55 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5bca2d201ad8 |
---|---|
1 <?xml version="1.0"?> | |
2 <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | |
3 <metadata> | |
4 <id>Moq</id> | |
5 <version>4.1.1309.1617</version> | |
6 <title>Moq: an enjoyable mocking library</title> | |
7 <authors>Daniel Cazzulino</authors> | |
8 <owners>Daniel Cazzulino</owners> | |
9 <licenseUrl>http://www.opensource.org/licenses/bsd-license.php</licenseUrl> | |
10 <projectUrl>http://www.moqthis.com/</projectUrl> | |
11 <requireLicenseAcceptance>false</requireLicenseAcceptance> | |
12 <description>The most popular and friendly mocking framework for .NET</description> | |
13 <releaseNotes>Version 4.1 | |
14 * Added covariant IMock<out T> interface to Mock<T> | |
15 * Added It.IsNotNull<T> | |
16 * Fix: 'NullReferenceException when subscribing to an event' | |
17 * Added overloads to Verify to accept Times as a Method Group | |
18 * Feature request: It.IsIn(..), It.IsNotIn(...) | |
19 * Corrected Verify method behavior for generic methods calls | |
20 * Differentiate verification error from mock crash | |
21 * Fix: Adding (and removing) handlers for events declared on interfaces works | |
22 when CallBase = true. | |
23 * Update to latest Castle | |
24 * Fix: Mock.Of (Functional Syntax) doesn't work on properties with non-public setters | |
25 * Fix: Allow to use CallBase instead of Returns | |
26 * Fix: Solved Multi-threading issue - IndexOutOfRangeException | |
27 * Capability of mocking delegates (event handlers) | |
28 | |
29 Version 4.0 | |
30 * Linq to Mocks: Mock.Of<T>(x => x.Id == 23 && x.Title == "Rocks!") | |
31 * Fixed issues: | |
32 * 87 BadImageFormatException when using a mock with a Visual Studio generated Accessor object | |
33 * 166 Unable to use a delegate to mock a function that takes 5 or more parameters. | |
34 * 168 Call count failure message never says which is the actual invocation count | |
35 * 175 theMock.Object failing on VS2010 Beta 1 | |
36 * 177 Generic constraint on interface method causes BadImageFormatException when getting Object. | |
37 * 183 Display what invocations were recieved when the expected one hasn't been met | |
38 * 186 Methods that are not virtual gives non-sense-exception message | |
39 * 188 More Callback Overloads | |
40 * 199 Simplify SetupAllProperties implementation to simply iterate and call SetupProperty | |
41 * 200 Fluent mock does not honor parent mock CallBase setting. | |
42 * 202 Mock.Protected().Expect() deprecated with no work-around | |
43 * 204 Allow default return values to be specified (per-mock) | |
44 * 205 Error calling SetupAllProperties for Mock<IDataErrorInfo> | |
45 * 206 Linq-to-Mocks Never Returns on Implicit Boolean Property | |
46 * 207 NullReferenceException thrown when using Mocks.CreateQuery with implicit boolean expression | |
47 * 208 Can't setup a mock for method that accept lambda expression as argument. | |
48 * 211 SetupAllProperties should return the Mock<T> instead of void. | |
49 * 223 When a method is defined to make the setup an asserts mock fails | |
50 * 226 Can't raise events on mocked Interop interfaces | |
51 * 229 CallBase is not working for virtual events | |
52 * 238 Moq fails to mock events defined in F# | |
53 * 239 Use Func instead of Predicate | |
54 * 250 4.0 Beta 2 regression - cannot mock MethodInfo when targetting .NET 4 | |
55 * 251 When a generic interface also implements a non-generic version, Verify does not work in some cases | |
56 * 254 Unable to create mock of EnvDTE.DTE | |
57 * 261 Can not use protected setter in public property | |
58 * 267 Generic argument as dependency for method Setup overrides all previous method setups for a given method | |
59 * 273 Attempting to create a mock thrown a Type Load exception. The message refers to an inaccessible interface. | |
60 * 276 .Net 3.5 no more supported | |
61 | |
62 Version 3.0 | |
63 | |
64 * Silverlight support! Finally integrated Jason's Silverlight contribution! Issue #73 | |
65 * Brand-new simplified event raising syntax (#130): mock.Raise(foo => foo.MyEvent += null, new MyArgs(...)); | |
66 * Support for custom event signatures (not compatible with EventHandler): mock.Raise(foo => foo.MyEvent += null, arg1, arg2, arg3); | |
67 * Substantially improved property setter behavior: mock.VerifySet(foo => foo.Value = "foo"); //(also available for SetupSet | |
68 * Renamed Expect* with Setup* | |
69 * Vastly simplified custom argument matchers: public int IsOdd() < return Match<int>.Create(v => i % 2 == 0); > | |
70 * Added support for verifying how many times a member was invoked: mock.Verify(foo => foo.Do(), Times.Never()); | |
71 * Added simple sample app named StoreSample | |
72 * Moved Stub functionality to the core API (SetupProperty and SetupAllProperties) | |
73 * Fixed sample ASP.NET MVC app to work with latest version | |
74 * Allow custom matchers to be created with a substantially simpler API | |
75 * Fixed issue #145 which prevented discrimination of setups by generic method argument types | |
76 * Fixed issue #141 which prevented ref arguments matching value types (i.e. a Guid) | |
77 * Implemented improvement #131: Add support for It.IsAny and custom argument matchers for SetupSet/VerifySet | |
78 * Implemented improvement #124 to render better error messages | |
79 * Applied patch from David Kirkland for improvement #125 to improve matching of enumerable parameters | |
80 * Implemented improvement #122 to provide custom errors for Verify | |
81 * Implemented improvement #121 to provide null as default value for Nullable<T> | |
82 * Fixed issue #112 which fixes passing a null argument to a mock constructor | |
83 * Implemented improvement #111 to better support params arguments | |
84 * Fixed bug #105 about improperly overwriting setups for property getter and setter | |
85 * Applied patch from Ihar.Bury for issue #99 related to protected expectations | |
86 * Fixed issue #97 on not being able to use SetupSet/VerifySet if property did not have a getter | |
87 * Better integration with Pex (http://research.microsoft.com/en-us/projects/Pex/) | |
88 * Various other minor fixes (#134, #135, #137, #138, #140, etc.) | |
89 | |
90 | |
91 Version 2.6 | |
92 | |
93 * Implemented Issue #55: We now provide a mock.DefaultValue = [DefaultValue.Empty | DefaultValue.Mock] which will provide the current behavior (default) or mocks for mockeable return types for loose mock invocations without expectations. | |
94 * Added support for stubbing properties from moq-contrib: now you can do mock.Stub(m => m.Value) and add stub behavior to the property. mock.StubAll() is also provided. This integrates with the DefaultValue behavior too, so you can stub entire hierarchies :). | |
95 * Added support for mocking methods with out and ref parameters (Issue #50) | |
96 * Applied patch contributed by slava for Issue #72: add support to limit numbor of calls on mocked method (we now have mock.Expect(...).AtMost(5)) | |
97 * Implemented Issue #94: Easier setter verification: Now we support ExpectSet(m = m.Value, "foo") and VerifySet(m = m.Value, 5) (Thanks ASP.NET MVC Team!) | |
98 * Implemented issue #96: Automatically chain mocks when setting expectations. It's now possible to specify expectations for an entire hierarchy of objects just starting from the root mock. THIS IS REALLY COOL!!! | |
99 * Fixed Issue #89: Expects() does not always return last expectation | |
100 * Implemented Issue 91: Expect a method/property to never be called (added Never() method to an expectation. Can be used on methods, property getters and setters) | |
101 * Fixed Issue 86: IsAny<T> should check if the value is actually of type T | |
102 * Fixed Issue 88: Cannot mock protected internal virtual methods using Moq.Protected | |
103 * Fixed Issue 90: Removing event handlers from mocked objects | |
104 * Updated demo and added one more test for the dynamic addition of interfaces | |
105 | |
106 Version 2.5 | |
107 | |
108 * Added support for mocking protected members | |
109 * Added new way of extending argument matchers which is now very straightforward | |
110 * Added support for mocking events | |
111 * Added support for firing events from expectations | |
112 * Removed usage of MBROs which caused inconsistencies in mocking features | |
113 * Added ExpectGet and ExpectSet to better support properties, and provide better intellisense. | |
114 * Added verification with expressions, which better supports Arrange-Act-Assert testing model (can do Verify(m => m.Do(...))) | |
115 * Added Throws<TException> | |
116 * Added mock.CallBase property to specify whether the virtual members base implementation should be called | |
117 * Added support for implementing and setting expectations and verifying additional interfaces in the mock, via the new mock.As<TInterface>() method (thanks Fernando Simonazzi!) | |
118 * Improved argument type matching for Is/IsAny (thanks Jeremy.Skinner!) | |
119 | |
120 | |
121 Version 2.0 | |
122 | |
123 * Refactored fluent API on mocks. This may cause some existing tests to fail, but the fix is trivial (just reorder the calls to Callback, Returns and Verifiable) | |
124 * Added support for retrieving a Mock<T> from a T instance created by a mock. | |
125 * Added support for retrieving the invocation arguments from a Callback or Returns. | |
126 * Implemented AtMostOnce() constraint | |
127 * Added support for creating MBROs with protected constructors | |
128 * Loose mocks now return default empty arrays and IEnumerables instead of nulls | |
129 | |
130 | |
131 Version 1.5.1 | |
132 | |
133 * Refactored MockFactory to make it simpler and more explicit to use with regards to verification. Thanks Garry Shutler for the feedback! | |
134 | |
135 Version 1.5 | |
136 | |
137 * Added MockFactory to allow easy construction of multiple mocks with the same behavior and verification | |
138 | |
139 Version 1.4 | |
140 | |
141 * Added support for passing constructor arguments for mocked classes. | |
142 * Improved code documentation | |
143 | |
144 Version 1.3 | |
145 | |
146 * Added support for overriding expectations set previously on a Mock. Now adding a second expectation for the same method/property call will override the existing one. This facilitates setting up default expectations in a fixture setup and overriding when necessary in a specific test. | |
147 * Added support for mock verification. Both Verify and VerifyAll are provided for more flexibility (the former only verifies methods marked Verifiable) | |
148 | |
149 Version 1.2 | |
150 | |
151 * Added support for MockBehavior mock constructor argument to affect the way the mocks expect or throw on calls. | |
152 | |
153 Version 1.1 | |
154 | |
155 * Merged branch for dynamic types. Now Moq is based on Castle DynamicProxy2 to support a wider range of mock targets. | |
156 * Added ILMerge so that Castle libraries are merged into Moq assembly (no need for external references and avoid conflicts) | |
157 | |
158 Version 1.0 | |
159 | |
160 * Initial release, initial documentation process in place, etc.</releaseNotes> | |
161 <tags>tdd mocking mocks unittesting agile</tags> | |
162 </metadata> | |
163 </package> |