diff --git a/build/tasks/configuration.rb b/build/tasks/configuration.rb index 1700685..4bb55b7 100755 --- a/build/tasks/configuration.rb +++ b/build/tasks/configuration.rb @@ -15,7 +15,7 @@ :specs => { :runner_options => ["-x","example"], - :tools_folder => delayed{File.join("packages","Machine.Specifications.0.5.9","tools")}, + :tools_folder => delayed{File.join("packages","Machine.Specifications.0.7.0","tools")}, :dir => delayed{configatron.artifacts_dir.join('specs')}, :report_dir => delayed{configatron.specs.dir.join('report')}, :assemblies => dynamic{Dir.glob("#{configatron.artifacts_dir}/*specs.dll")}, diff --git a/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nupkg b/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nupkg deleted file mode 100644 index 6051310..0000000 Binary files a/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nupkg and /dev/null differ diff --git a/packages/Castle.Core.3.2.0/lib/net35/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/net35/Castle.Core.dll deleted file mode 100644 index ccc7d5f..0000000 Binary files a/packages/Castle.Core.3.2.0/lib/net35/Castle.Core.dll and /dev/null differ diff --git a/packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.dll deleted file mode 100644 index 24f4b2f..0000000 Binary files a/packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.dll and /dev/null differ diff --git a/packages/Castle.Core.3.2.0/lib/net45/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/net45/Castle.Core.dll deleted file mode 100644 index 777ca82..0000000 Binary files a/packages/Castle.Core.3.2.0/lib/net45/Castle.Core.dll and /dev/null differ diff --git a/packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.dll deleted file mode 100644 index 5d89826..0000000 Binary files a/packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.dll and /dev/null differ diff --git a/packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.dll deleted file mode 100644 index e1e42a7..0000000 Binary files a/packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.dll and /dev/null differ diff --git a/packages/Castle.Core.3.2.0/ASL - Apache Software Foundation License.txt b/packages/Castle.Core.3.2.2/ASL - Apache Software Foundation License.txt similarity index 100% rename from packages/Castle.Core.3.2.0/ASL - Apache Software Foundation License.txt rename to packages/Castle.Core.3.2.2/ASL - Apache Software Foundation License.txt diff --git a/packages/Castle.Core.3.2.0/BreakingChanges.txt b/packages/Castle.Core.3.2.2/BreakingChanges.txt similarity index 100% rename from packages/Castle.Core.3.2.0/BreakingChanges.txt rename to packages/Castle.Core.3.2.2/BreakingChanges.txt diff --git a/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nupkg b/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nupkg new file mode 100644 index 0000000..6a1ae4c Binary files /dev/null and b/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nupkg differ diff --git a/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nuspec b/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nuspec similarity index 81% rename from packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nuspec rename to packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nuspec index d7c76db..8a7c498 100644 --- a/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nuspec +++ b/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nuspec @@ -2,8 +2,7 @@ Castle.Core - 3.2.0 - Castle.Core + 3.2.2 Castle Project Contributors Castle Project Contributors http://www.apache.org/licenses/LICENSE-2.0.html @@ -12,9 +11,7 @@ false Castle Project Core, including DynamicProxy, Logging Abstractions and DictionaryAdapter Castle Project Core, including DynamicProxy, Logging Abstractions and DictionaryAdapter - Copyright 2004-2013 Castle Project - http://www.castleproject.org/ - - castle, dynamicproxy, dynamic proxy, dynamicproxy2, dictionaryadapter, emailsender + castle dynamicproxy dynamic proxy dynamicproxy2 dictionaryadapter emailsender \ No newline at end of file diff --git a/packages/Castle.Core.3.2.0/Changes.txt b/packages/Castle.Core.3.2.2/Changes.txt similarity index 89% rename from packages/Castle.Core.3.2.0/Changes.txt rename to packages/Castle.Core.3.2.2/Changes.txt index 340073b..4adc114 100644 --- a/packages/Castle.Core.3.2.0/Changes.txt +++ b/packages/Castle.Core.3.2.2/Changes.txt @@ -1,3 +1,18 @@ +3.2.2 +================== +- fixed #35 - ParameterBuilder.SetConstant fails when using a default value of null - contributed by (@jonasro) + +3.2.1 +================== +- fixed #32 - Improve configuration of SmtpClient in sync sending - contributed by Artur Dorochowicz (@ArturDorochowicz) +- fixed #31 - [DynamicProxy] Preserve DefaultValues of proxied method's parameters (in .NET 4.5) +- fixed #30 - tailoring InternalsVisibleTo message based on assembly of inaccessible type - contributed by Blair Conrad (@blairconrad) +- fixed #27 - Allow dynamic proxy of generic interfaces which have generic methods, under Mono 2.10.8 and Mono 3.0.6 - contributed by Iain Ballard (@i-e-b) +- fixed #26 - Proxy of COM class issue, reference count incremented - contributed by Jean-Claude Viau (@jcviau) +- fixed DYNPROXY-188 - CreateInterfaceProxyWithoutTarget fails with interface containing member with 'ref UIntPtr' - contributed by Pier Janssen (@Pjanssen) +- fixed DYNPROXY-186 - .Net remoting (transparent proxy) cannot be proxied - contributed by Jean-Claude Viau (@jcviau) +- fixed DYNPROXY-185 - ProxyUtil.GetUnproxiedInstance returns proxy object for ClassProxyWithTarget instead of its target - contributed by Dmitry Xlestkov (@d-s-x) + 3.2.0 (2013-02-16) ================== - fixed DYNPROXY-179 - Exception when creating a generic proxy (from cache) diff --git a/packages/Castle.Core.3.2.0/License.txt b/packages/Castle.Core.3.2.2/License.txt similarity index 100% rename from packages/Castle.Core.3.2.0/License.txt rename to packages/Castle.Core.3.2.2/License.txt diff --git a/packages/Castle.Core.3.2.2/lib/net35/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/net35/Castle.Core.dll new file mode 100644 index 0000000..5bac3c5 Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/net35/Castle.Core.dll differ diff --git a/packages/Castle.Core.3.2.0/lib/net35/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/net35/Castle.Core.xml similarity index 100% rename from packages/Castle.Core.3.2.0/lib/net35/Castle.Core.xml rename to packages/Castle.Core.3.2.2/lib/net35/Castle.Core.xml diff --git a/packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.dll new file mode 100644 index 0000000..8e86a7c Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.dll differ diff --git a/packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.xml similarity index 100% rename from packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.xml rename to packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.xml diff --git a/packages/Castle.Core.3.2.2/lib/net45/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/net45/Castle.Core.dll new file mode 100644 index 0000000..52cd039 Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/net45/Castle.Core.dll differ diff --git a/packages/Castle.Core.3.2.0/lib/net45/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/net45/Castle.Core.xml similarity index 100% rename from packages/Castle.Core.3.2.0/lib/net45/Castle.Core.xml rename to packages/Castle.Core.3.2.2/lib/net45/Castle.Core.xml diff --git a/packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.dll new file mode 100644 index 0000000..7400c7a Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.dll differ diff --git a/packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.xml similarity index 100% rename from packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.xml rename to packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.xml diff --git a/packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.dll new file mode 100644 index 0000000..65a0efa Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.dll differ diff --git a/packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.xml similarity index 100% rename from packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.xml rename to packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.xml diff --git a/packages/Castle.Core.3.2.0/readme.txt b/packages/Castle.Core.3.2.2/readme.txt similarity index 100% rename from packages/Castle.Core.3.2.0/readme.txt rename to packages/Castle.Core.3.2.2/readme.txt diff --git a/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nupkg b/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nupkg deleted file mode 100644 index 786d888..0000000 Binary files a/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nupkg and /dev/null differ diff --git a/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nuspec b/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nuspec deleted file mode 100644 index fe1c75a..0000000 --- a/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nuspec +++ /dev/null @@ -1,19 +0,0 @@ - - - - FakeItEasy - 1.11.0 - Fake it Easy! - Patrik Hägne - Patrik Hägne - https://github.com/FakeItEasy/FakeItEasy/blob/master/License.txt - https://github.com/FakeItEasy/FakeItEasy/ - https://raw.github.com/FakeItEasy/FakeItEasy/master/Resources/fakeiteasy_128x128.png - false - It's faking amazing! The easy mocking framework for .NET that works great in C# and VB.NET alike. No need to know the difference between a stub, a mock or a spy, everything's a fake! The easy to use, refactoring friendly API makes faking a breeze. - Enhancment: Add generic type arguments to method signatures in exception messages - https://github.com/FakeItEasy/FakeItEasy/issues/100/ -Enhancement: Better error message when faking internals without the InternalsVisibleTo() attribute - https://github.com/FakeItEasy/FakeItEasy/issues/98/ - en-US - TDD unittesting mocks mocking fakes faking stubs stubbing spy spies doubles isolation substitutes substitution - - \ No newline at end of file diff --git a/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.dll b/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.dll deleted file mode 100644 index ac75daf..0000000 Binary files a/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.dll and /dev/null differ diff --git a/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.dll b/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.dll deleted file mode 100644 index fc7bb43..0000000 Binary files a/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.dll and /dev/null differ diff --git a/packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.dll b/packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.dll deleted file mode 100644 index e89c281..0000000 Binary files a/packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.dll and /dev/null differ diff --git a/packages/FakeItEasy.1.18.0/FakeItEasy.1.18.0.nupkg b/packages/FakeItEasy.1.18.0/FakeItEasy.1.18.0.nupkg new file mode 100644 index 0000000..6892c7c Binary files /dev/null and b/packages/FakeItEasy.1.18.0/FakeItEasy.1.18.0.nupkg differ diff --git a/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.dll b/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.dll new file mode 100644 index 0000000..64f3132 Binary files /dev/null and b/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.dll differ diff --git a/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.xml b/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.xml new file mode 100644 index 0000000..2109778 --- /dev/null +++ b/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.xml @@ -0,0 +1,3699 @@ + + + + FakeItEasy + + + + + Provides methods for generating fake objects. + + + + + Creates a fake object of the type T. + + The type of fake object to create. + A fake object. + + + + Creates a fake object of the type T. + + The type of fake object to create. + A lambda where options for the built fake object can be specified. + A fake object. + + + + Creates a collection of fakes of the specified type. + + The type of fakes to create. + The number of fakes in the collection. + A collection of fake objects of the specified type. + + + + Gets a dummy object of the specified type. The value of a dummy object + should be irrelevant. Dummy objects should not be configured. + + The type of dummy to return. + A dummy object of the specified type. + Dummies of the specified type can not be created. + + + + Gets a value indicating whether the two objects are equal. + + The first object to compare. + The second object to compare. + True if the two objects are equal. + + + + Gets a value indicating whether the two objects are the same reference. + + The object A. + The object B. + True if the objects are the same reference. + + + + Configures a call to a faked object. + + An expression where the configured member is called. + A configuration object. + + + + Gets a configuration object allowing for further configuration of + any call to the specified faked object. + + + The fake to configure. + + + A configuration object. + + + + + Configures a call to a faked object. + + The type of member on the faked object to configure. + An expression where the configured member is called. + A configuration object. + + + + Provides an API entry point for constraining arguments of fake object calls. + + The type of argument to validate. + + + + Gets an argument constraint object that will be used to constrain a method call argument. + + + + + Gets a constraint that considers any value of an argument as valid. + + This is a shortcut for the "Ignored"-property. + + + + Gets a constraint that considers any value of an argument as valid. + + + + + Provides configuration for any (not a specific) call on a faked object. + + + + + Gets a configuration object allowing for further configuration of + any call to the specified faked object. + + The faked object to configure. + A configuration object. + + + + Gets a value indicating whether the two objects are equal. + + The first object to compare. + The second object to compare. + True if the two objects are equal. + + + + Gets a value indicating whether the two objects are the same reference. + + The object A. + The object B. + True if the objects are the same reference. + + + + A collection of method arguments. + + + + + The arguments this collection contains. + + + + + Initializes a new instance of the class. + + The arguments. + The argument names. + + + + Initializes a new instance of the class. + + The arguments. + The method. + + + + Returns an enumerator that iterates through the collection or arguments. + + + A that can be used to iterate through the collection. + + + + + Gets the argument at the specified index. + + The type of the argument to get. + The index of the argument. + The argument at the specified index. + + + + Gets the argument with the specified name. + + The type of the argument to get. + The name of the argument. + The argument with the specified name. + + + + Gets an empty ArgumentList. + + + + + Gets the number of arguments in the list. + + + + + Gets the names of the arguments in the list. + + + + + Gets the argument at the specified index. + + The index of the argument to get. + The argument at the specified index. + + + + Provides validation extensions for . + + + + + Constrains an argument so that it must be null (Nothing in VB). + + The type of the argument. + The constraint manager to match the constraint. + A dummy argument value. + + + + Constrains the string argument to contain the specified text. + + The constraint manager to match the constraint. + The string the argument string should contain. + A dummy argument value. + + + + Constrains the sequence so that it must contain the specified value. + + The constraint manager to match the constraint. + The value the collection should contain. + The type of sequence. + A dummy argument value. + + + + Constrains the string so that it must start with the specified value. + + The constraint manager to match the constraint. + The value the string should start with. + A dummy argument value. + + + + Constrains the string so that it must end with the specified value. + + The constraint manager to match the constraint. + The value the string should end with. + A dummy argument value. + + + + Constrains the string so that it must be null or empty. + + The constraint manager to match the constraint. + A dummy argument value. + + + + Constrains argument value so that it must be greater than the specified value. + + The constraint manager to match the constraint. + The value the string should start with. + The type of argument to constrain. + A dummy argument value. + + + + The tested argument collection should contain the same elements as the + as the specified collection. + + The constraint manager to match the constraint. + The sequence to test against. + The type of argument to constrain. + A dummy argument value. + + + + Tests that the IEnumerable contains no items. + + The type of argument. + The constraint manager to match the constraint. + A dummy argument value. + + + + Tests that the passed in argument is equal to the specified value. + + The type of the argument. + The constraint manager to match the constraint. + The value to compare to. + A dummy argument value. + + + + Tests that the passed in argument is the same instance (reference) as the specified value. + + The type of the argument. + The constraint manager to match the constraint. + The reference to compare to. + A dummy argument value. + + + + Constrains the argument to be of the specified type. + + The type of argument in the method signature. + The constraint manager. + The type to constrain the argument with. + A dummy value. + + + + Constrains the argument with a predicate. + + + The constraint manager. + + + The predicate that should constrain the argument. + + + A human readable description of the constraint. + + + The type of argument in the method signature. + + + A dummy argument value. + + + + + Constrains the argument with a predicate. + + + The constraint manager. + + + The predicate that should constrain the argument. + + + A human readable description of the constraint format string. + + + Arguments for the format string. + + + The type of argument in the method signature. + + + A dummy argument value. + + + + + Constrains the argument with a predicate. + + + The constraint manager. + + + The predicate that should constrain the argument. + + + The type of argument in the method signature. + + + A dummy argument value. + + + + + Constrains the argument to be not null (Nothing in VB) and to match + the specified predicate. + + The type of the argument to constrain. + The constraint manager. + The predicate that constrains non null values. + An action that writes a description of the constraint + to the output. + A dummy argument value. + + + + Provides extension methods for . + + + + + Specifies that a call to the configured call should be applied no matter what arguments + are used in the call to the faked object. + + The type of the interface. + The configuration. + A configuration object. + + + + Provides string formatting for arguments of type T when written in call lists. + + The type of the arguments which will be formatted by this instance. + + + + Provides string formatting for arguments when written in + call lists. + + + + + Gets a string representing the specified argument value. + + The argument value to get as a string. + A string representation of the value. + + + + Gets the type of arguments this formatter works on. + + + + + Gets the priority of the formatter, when two formatters are + registered for the same type the one with the highest + priority is used. + + + + + Gets a string representing the specified argument value. + + The argument value to get as a string. + A string representation of the value. + + + + Gets a string representing the specified argument value. + + The argument value to get as a string. + A string representation of the value. + + + + Gets the type of arguments this formatter works on. + + + + + Gets the priority of the formatter, when two formatters are + registered for the same type the one with the highest + priority is used. + + + + + Provides extension methods for . + + + + + Asserts that the specified call must have happened once or more. + + The configuration to assert on. + + + + Asserts that the specified call has not happened. + + The configuration to assert on. + + + + Provides extension methods for . + + + + + Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed. + + The type of fake object. + The configuration that is extended. + The to invoke. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Provides extension methods for . + + + + + Filters to contain only the calls that matches the call specification. + + The type of fake the call is made on. + The calls to filter. + The call to match on. + A collection of the calls that matches the call specification. + + + + Provides the base for rules that can be built using the FakeConfiguration. + + + + + Represents a call rule that has a description of the calls the + rule is applicable to. + + + + + Allows for intercepting call to a fake object and + act upon them. + + + + + Gets whether this interceptor is applicable to the specified + call, if true is returned the Apply-method of the interceptor will + be called. + + The call to check for applicability. + True if the interceptor is applicable. + + + + Applies an action to the call, might set a return value or throw + an exception. + + The call to apply the interceptor to. + + + + Gets the number of times this call rule is valid, if it's set + to null its infinitely valid. + + + + + Writes a description of calls the rule is applicable to. + + The writer. + + + + Gets if this rule is applicable to the specified call. + + The call to validate. + True if the rule applies to the call. + + + + Writes a description of calls the rule is applicable to. + + The writer to write the description to. + + + + Gets or sets an action that is called by the Apply method to apply this + rule to a fake object call. + + + + + Gets a collection of actions that should be invoked when the configured + call is made. + + + + + Gets or sets values to apply to output and reference variables. + + + + + Gets or sets a value indicating whether the base method of the fake object call should be + called when the fake object call is made. + + + + + Gets or sets the number of times the configured rule should be used. + + + + + Gets a description of calls the rule is applicable to. + + + + + + Configuration for any call to a faked object. + + + + + Provides a way to configure predicates for when a call should be applied. + + The type of fake object that is going to be configured.. + + + + Applies a predicate to constrain which calls will be considered for interception. + + A predicate for a fake object call. + An action that writes a description of the predicate + to the output. + The configuration object. + + + + Provides configuration methods for methods that does not have a return value and + allows the use to specify validations for arguments. + + + + + Provides configuration methods for methods that does not have a return value. + + + + + Configuration that lets the developer specify that an exception should be + thrown by a fake object call. + + + + + Hides standard Object members to make fluent interfaces + easier to read. Found in the source of Autofac: + Based on blog post here: + + + + + + Hides the ToString-method. + + A string representation of the implementing object. + + + + Determines whether the specified is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + + + Gets the type. + + The exact runtime type of the current instance. + + + + Throws the specified exception when the currently configured + call gets called. + + A function that creates the exception to throw. + Configuration object. + + + + Configuration for callbacks of fake object calls. + + The type of interface to return. + + + + Executes the specified action when a matching call is being made. + + The action to invoke. + A configuration object. + + + + Configuration that lets you specify that a fake object call should call it's base method. + + + + + When the configured method or methods are called the call + will be delegated to the base method of the faked method. + + A configuration object. + The fake object is of an abstract type or an interface + and no base method exists. + + + + Lets the developer configure output values of out and ref parameters. + + + + + Specifies output values for out and ref parameters. Specify the values in the order + the ref and out parameters has in the configured call, any non out and ref parameters are ignored. + + The values. + A configuration object. + + + + Allows the developer to assert on a call that's configured. + + + + + Asserts that the configured call has happened the number of times + constrained by the repeatConstraint parameter. + + A constraint for how many times the call + must have happened. + The call has not been called a number of times + that passes the repeat constraint. + + + + Configures the specified call to do nothing when called. + + A configuration object. + + + + Provides configurations to validate arguments of a fake object call. + + The type of interface to return. + + + + Configures the call to be accepted when the specified predicate returns true. + + The argument predicate. + A configuration object. + + + + Matches calls that has the return type specified in the generic type parameter. + + The return type of the members to configure. + A configuration object. + + + + Manages registration of a set of components in a DictionaryContainer. + + + + + Registers the components of this module. + + The container to register components in. + + + + A factory that creates instances of the RecordingCallRuleType. + + + + + Creates the specified fake object. + + The type of the fake. + The fake object the rule belongs to. + The rule that's being recorded. + A RecordingCallRule instance. + + + + A factory responsible for creating start configuration for fake objects. + + + + + Creates a start configuration for the specified fake object that fakes the + specified type. + + The type of the fake object. + The fake object to configure. + A configuration object. + + + + An exception that can be thrown when something goes wrong with the configuration + of a fake object. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner exception. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + + The parameter is null. + + + The class name is null or is zero (0). + + + + + Handles the configuration of fake object given an expression specifying + a call on a faked object. + + + + + Lets you set up expectations and configure repeat for the configured call. + + + + + Provides configuration for method calls that has a return value. + + + + + Specifies the number of times for the configured event. + + The number of times to repeat. + + + + A combination of the IAfterCallSpecifiedConfiguration and IOutAndRefParametersConfiguration + interfaces. + + + + + Aggregate of IReturnValueArgumentValidationConfiguration<T> and IWhereConfiguration<IAnyCallConfigurationWithReturnTypeSpecified<T>>. + + The type of fake object that is configured. + + + + Configures a call that returns a value and allows the use to + specify validations for arguments. + + The type of the member. + + + + Configures a call that returns a value. + + The type of the member. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + A function that produces the return value. + A configuration object. + + + + Configurations for when a configured call is recorded. + + + + + Provides configuration from VisualBasic. + + + + + Provides methods for configuring a fake object. + + The type of fake object. + + + + Configures the behavior of the fake object when a call that matches the specified + call happens. + + The type of the return value of the member. + An expression that specifies the calls to configure. + A configuration object. + + + + Configures the behavior of the fake object when a call that matches the specified + call happens. + + An expression that specifies the calls to configure. + A configuration object. + + + + Configures the behavior of the fake object when a call is made to any method on the + object. + + A configuration object. + + + + A call rule that has been recorded. + + + + + A call rule that "sits and waits" for the next call, when + that call occurs the recorded rule is added for that call. + + The type of the fake. + + + + Provides access to a set of calls and a call matcher for these calls. + + + + + Provides access to a call matcher. + + + + + Gets a call predicate that can be used to check if a fake object call matches + the specified constraint. + + + + + Gets the set of calls. + + + + + Represents a delegate that creates a configuration object from + a fake object and the rule to build. + + The rule that's being built. + The fake object the rule is for. + A configuration object. + + + + Represents a predicate that matches a fake object call. + + + + + Gets a value indicating whether the call matches the predicate. + + The call to match. + True if the call matches the predicate. + + + + Provides configuration of faked objects. + + + + + Gets a configuration for the specified faked object. + + The type of the fake. + The faked object to configure. + A configuration object. + The specified object is not a faked object. + The fakedObject parameter was null. + + + + Represents an argument and a dummy value to use for that argument. + + + + + Initializes a new instance of the class. + + A value indicating if the dummy value was successfully resolved. + The type of argument. + The resolved value. + + + + Gets a value indicating whether a dummy argument value was successfully + resolved. + + + + + Gets the type of the argument. + + + + + Gets the resolved value. + + + + + Holds a formatter as well as the distance between a type to be formatted + and the type for which the formatted is registered. + + + + + Determines whether an assembly references FakeItEasy. + + The assembly to check. + Whether or not the assembly references FakeItEasy. + + + + Locate an implementation. + + + Will search the app domain for a concrete implementation, + and if it can't find one will use the . + + + + + Scans app domain assemblies looking for a concrete implementation of + that is not the . + Otherwise, the first matching type is instantiated and returned, or an + instance of DefaultBootstrapper is used if no other implementation is found. + + An instance of the first non-default IBootstrapper implementation found, + or a DefaultBootstrapper. + + + + Represents an event that happens when a call has been intercepted by a proxy. + + + + + Initializes a new instance of the class. + + The call. + + + + Gets the call that was intercepted. + + The call. + + + + Keeps track of metadata for interceptions. + + + + + Gets whether the rule has been called the number of times specified or not. + + True if the rule has not been called the number of times specified. + + + + Gets or sets the number of times the rule has been used. + + + + + Gets or sets the rule this metadata object is tracking. + + + + + Manages attaching of argument constraints. + + The type of argument to constrain. + + + + Constrains the argument with a predicate. + + The predicate that should constrain the argument. + An action that will be write a description of the constraint. + A dummy argument value. + + + + Inverts the logic of the matches method. + + + + + Validates an argument, checks that it's valid in a specific fake call. + + + + + Writes a description of the argument constraint to the specified writer. + + + The writer. + + + + + Gets whether the argument is valid. + + The argument to validate. + True if the argument is valid. + + + + Default implementation of . + + + + + Attaches a fake manager to the proxy so that intercepted + calls can be configured. + + + + + Attaches a to the specified proxy, listening to + the event raiser. + + The type of the fake object proxy. + The proxy to attach to. + The event raiser to listen to. + + + + Gets the fake manager associated with the proxy. + + The proxy to get the manager from. + A fake manager. + + + + Attaches a to the specified proxy, listening to + the event raiser. + + The type of the fake object proxy. + The proxy to attach to. + The event raiser to listen to. + + + + Gets the fake manager associated with the proxy. + + The proxy to get the manager from. + A fake manager. + + + + Represents an object that can be tagged with another object. When implemented + by a proxy returned from an FakeItEasy uses the tag + to store a reference to the that handles that proxy. + + + + + Gets or sets the tag. + + + + + The default implementation of the IFakeObjectCallFormatter interface. + + + + + Provides string formatting for fake object calls. + + + + + Gets a human readable description of the specified + fake object call. + + The call to get a description for. + A description of the call. + + + + Gets a human readable description of the specified + fake object call. + + The call to get a description for. + A description of the call. + + + + Handles configuring of fake objects to delegate all their calls to a wrapped instance. + + + + + Manages configuration of fake objects to wrap instances. + + + + + Configures the specified faked object to wrap the specified instance. + + The faked object to configure. + The instance to wrap. + The recorder to use, null if no recording should be made. + + + + Configures the specified faked object to wrap the specified instance. + + The faked object to configure. + The instance to wrap. + The recorder to use, null if no recording should be made. + + + + A fake object container where delegates can be registered that are used to + resolve fake objects. + + + + + A container that can create fake objects. + + + + + Handles global configuration of fake object. + + + + + Applies base configuration to a fake object. + + The type the fake object represents. + The fake object to configure. + + + + Creates a dummy object of the specified type using the specified arguments if it's + supported by the container, returns a value indicating if it's supported or not. + + The type of dummy object to create. + The dummy object that was created if the method returns true. + True if a dummy object can be created. + + + + Initializes a new instance of the class. + Creates a new instance of the DelegateFakeObjectContainer. + + + + + Creates a fake object of the specified type using the specified arguments if it's + supported by the container, returns a value indicating if it's supported or not. + + The type of dummy object to create. + The fake object that was created if the method returns true. + True if a fake object can be created. + + + + Configures the fake. + + The type of fake. + The fake object. + + + + Registers the specified fake delegate. + + The type of the return value of the method that encapsulates. + The fake delegate. + + + + A IFakeObjectContainer implementation that uses MEF to load IFakeDefinitions and + IFakeConfigurations. + + + + + Initializes a new instance of the class. + + The dummy definitions. + The fake configurators. + + + + Creates a fake object of the specified type using the specified arguments if it's + supported by the container, returns a value indicating if it's supported or not. + + The type of fake object to create. + The fake object that was created if the method returns true. + True if a fake object can be created. + + + + Applies base configuration to a fake object. + + The type the fake object represents. + The fake object to configure. + + + + An exception that is thrown when there was an error creating a fake object. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner exception. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + + The parameter is null. + + + The class name is null or is zero (0). + + + + Auto fake property rule. + + The central point in the API for proxied fake objects handles interception + of fake object calls by using a set of rules. User defined rules can be inserted + by using the AddRule-method. + + Event rule. + Object member rule. + Property behavior rule. + Property setter rule. + + + + Initializes a new instance of the class. + + + + + Adds a call rule to the fake object. + + The rule to add. + + + + Adds a call rule last in the list of user rules, meaning it has the lowest priority possible. + + The rule to add. + + + + Removes the specified rule for the fake object. + + The rule to remove. + + + + Adds an interception listener to the manager. + + The listener to add. + + + + Removes any specified user rules. + + + + + Gets the faked object. + + + + + Gets the faked type. + + + + + Gets the interceptions that are currently registered with the fake object. + + + + + Gets a collection of all the calls made to the fake object within the current scope. + + + + + A delegate responsible for creating FakeObject instances. + + An instance of . + + + + Represents a call to a fake object at interception time. + + + + + Represents a fake object call that can be edited. + + + + + Represents a call to a fake object. + + + + + Gets the method that's called. + + + + + Gets the arguments used in the call. + + + + + Gets the faked object the call is performed on. + + + + + Sets the return value of the call. + + The return value to set. + + + + Calls the base method of the faked type. + + + + + Sets the value of the argument at the specified index in the parameters list. + + The index of the argument to set the value of. + The value to set to the argument. + + + + Freezes the call so that it can no longer be modified. + + A completed fake object call. + + + + Sets that the call should not be recorded by the fake manager. + + + + + Attempts to preserve the stack trace of an existing exception when rethrown via throw or throw ex. + + Nicked from + http://weblogs.asp.net/fmarguerie/archive/2008/01/02/rethrowing-exceptions-and-preserving-the-full-call-stack-trace.aspx. + If reduced trust context (for example) precludes + invoking internal members on , the stack trace will not be preserved. + + The exception whose stack trace needs preserving. + + + + Represents a scope for fake objects, calls configured within a scope + are only valid within that scope. Only calls made within a scope + are accessible from within a scope so for example asserts will only + assert on those calls done within the scope. + + + + + Provides access to all calls made to fake objects within a scope. + Scopes calls so that only calls made within the scope are visible. + + + + + Creates a new scope and sets it as the current scope. + + The created scope. + + + + Creates a new scope and sets it as the current scope, using the specified + container as the container for the new scope. + + The container to use for the new scope. + The created scope. + + + + Closes the scope. + + + + + Adds an intercepted call to the current scope. + + The fake object. + The call that is intercepted. + + + + Adds a fake object call to the current scope. + + The fake object. + The rule to add. + + + + Represents a completed call to a fake object. + + + + + Gets the value set to be returned from the call. + + + + + Used by the event raising rule of fake objects to get the event arguments used in + a call to Raise.With. + + + + + Gets the sender of the event. + + + + + Gets the event arguments of the event. + + + + + Represents a listener for fake object calls, can be plugged into a + FakeManager instance to listen to all intercepted calls. + + The OnBeforeCallIntercepted method will be invoked before the OnBeforeCallIntercepted method of any + previously added listener. The OnAfterCallIntercepted method will be invoked after the OnAfterCallIntercepted + method of any previously added listener. + + + + Called when the interception begins but before any call rules + has been applied. + + The intercepted call. + + + + Called when the interception has been completed and rules has been + applied. + + The intercepted call. + The rule that was applied to the call. + + + + Provides a set of types that are available. + + + + + Gets a collection of available types. + + The available types. + + + + Handles comparisons of instances of . + + + + + Gets a value indicating whether the two instances of would invoke the same method + if invoked on an instance of the target type. + + The type of target for invocation. + The first . + The second . + True if the same method would be invoked. + + + + A null implementation for the IFakeObjectContainer interface. + + + + + Always returns false and sets the fakeObject to null. + + The type of dummy object to create. + Output variable for the fake object that will always be set to null. + Always return false. + + + + Applies base configuration to a fake object. + + The type the fake object represents. + The fake object to configure. + + + + Provides access to all types in: + + FakeItEasy, + assemblies loaded into the current that reference FakeItEasy and + assemblies whose paths are supplied to the constructor, that also reference FakeItEasy. + + + + + + Loads the available types into the . + + + The full paths to assemblies from which to load types, + as well as assemblies loaded into the current . + + + + + Gets a collection of available types. + + The available types. + + + + Provides instances from type catalogues. + + + + + Gets an instance per type in the catalogue that is a descendant + of the specified type. + + The type of instances to get. + A sequence of instances of the specified type. + + + + A call rule that applies to any call and just delegates the + call to the wrapped object. + + + + + Initializes a new instance of the class. + Creates a new instance. + + + The object to wrap. + + + + + Gets whether this interceptor is applicable to the specified + call, if true is returned the Apply-method of the interceptor will + be called. + + The call to check for applicability. + True if the interceptor is applicable. + + + + Applies an action to the call, might set a return value or throw + an exception. + + The call to apply the interceptor to. + + + + Gets the number of times this call rule is valid, if it's set + to null its infinitely valid. + + + + + + An interface to be implemented by classes that can generate proxies for FakeItEasy. + + + + + Generates a proxy of the specified type and returns a result object containing information + about the success of the generation and the proxy if it was generated. + + The type of proxy to generate. + Interfaces to be implemented by the proxy. + Arguments to pass to the constructor of the type in . + The custom attribute builders. + A result containing the generated proxy. + + + + Generates a proxy of the specified type and returns a result object containing information + about the success of the generation and the proxy if it was generated. + + The type of proxy to generate. + Interfaces to be implemented by the proxy. + Arguments to pass to the constructor of the type in . + A result containing the generated proxy. + + + + Gets a value indicating whether the specified member can be intercepted by the proxy generator. + + The member to test. + The instance the method will be called on. + The reason the method can not be intercepted. + True if the member can be intercepted. + + + + An object that raises an event every time a call to a proxy has been intercepted. + + + + + Raised when a call is intercepted. + + + + + An adapter that adapts an to a . + + + + + Initializes a new instance of the class. + + The invocation. + + + + Freezes the call so that it can no longer be modified. + + A completed fake object call. + + + + Calls the base method, should not be used with interface types. + + + + + Sets the specified value to the argument at the specified index. + + The index of the argument to set the value to. + The value to set to the argument. + + + + Sets the return value of the call. + + The return value. + + + + Returns a description of the call. + + + A that represents this instance. + + + + + Gets a human readable description of the call. + + + + + + Gets the value set to be returned from the call. + + + + + Gets the method that's called. + + + + + Gets the arguments used in the call. + + + + + Gets the faked object the call is performed on. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to No constructor matches the passed arguments for constructor.. + + + + + Looks up a localized string similar to Arguments for constructor specified for interface type.. + + + + + Looks up a localized string similar to The type of proxy "{0}" is sealed.. + + + + + Looks up a localized string similar to The type of proxy must be an interface or a class but it was {0}.. + + + + + Looks up a localized string similar to No usable default constructor was found on the type {0}.. + + + + + The default implementation of the IFakeAndDummyManager interface. + + + + + Handles the creation of fake and dummy objects. + + + + + Creates a dummy of the specified type. + + The type of dummy to create. + The created dummy. + The current IProxyGenerator is not able to generate a fake of the specified type and + the current IFakeObjectContainer does not contain the specified type. + + + + Creates a fake object of the specified type. + + The type of fake object to generate. + Options for building the fake object. + A fake object. + The current IProxyGenerator is not able to generate a fake of the specified type. + + + + Tries to create a dummy of the specified type. + + The type of dummy to create. + Outputs the result dummy when creation is successful. + A value indicating whether the creation was successful. + + + + Tries to create a fake object of the specified type. + + The type of fake to create. + Options for the creation of the fake. + The created fake object when creation is successful. + A value indicating whether the creation was successful. + + + + Default implementation of the IFakeCreator-interface. + + + + + A facade used by the public API for testability. + + + + + Creates a fake object of the specified type. + + The type of fake to create. + Options for the created fake object. + The created fake object. + Was unable to generate the fake in the current configuration. + + + + Creates a dummy object, this can be a fake object or an object resolved + from the current IFakeObjectContainer. + + The type of dummy to create. + The created dummy. + Was unable to generate the fake in the current configuration and + no dummy was registered in the container for the specified type.. + + + + Creates a collection of fakes of the specified type. + + The type of fakes to create. + The number of fakes in the collection. + A collection of fake objects of the specified type. + + + + Initializes a new instance of the class. + + The fake and dummy manager. + + + + Creates a fake object of the specified type. + + The type of fake to create. + Options for the created fake object. + The created fake object. + Was unable to generate the fake in the current configuration. + + + + Creates a collection of fakes of the specified type. + + The type of fakes to create. + The number of fakes in the collection. + + A collection of fake objects of the specified type. + + + + + Creates a dummy object, this can be a fake object or an object resolved + from the current IFakeObjectContainer. + + The type of dummy to create. + The created dummy. + Was unable to generate the fake in the current configuration and + no dummy was registered in the container for the specified type.. + + + + Provides options for fake wrappers. + + The type of the fake object generated. + + + + Provides options for generating fake object. + + The type of fake object generated. + + + + Specifies arguments for the constructor of the faked class. + + The arguments to pass to the constructor of the faked class. + Options object. + + + + Specifies arguments for the constructor of the faked class by giving an expression with the call to + the desired constructor using the arguments to be passed to the constructor. + + The constructor call to use when creating a class proxy. + Options object. + + + + Specifies that the fake should delegate calls to the specified instance. + + The object to delegate calls to. + Options object. + + + + Specifies that the fake should be created with these additional attributes. + + The attributes to build into the proxy. + Options object. + + + + Sets up the fake to implement the specified interface in addition to the + originally faked class. + + The type of interface to implement. + Options object. + The specified type is not an interface. + The specified type is null. + + + + Specifies an action that should be run over the fake object + once it's created. + + An action to perform. + Options object. + + + + Specifies a fake recorder to use. + + The recorder to use. + Options object. + + + + Initializes a new instance of the class. + + The container. + The fake object creator. + + + + Contains the result of a call to TryCreateProxy of IProxyGenerator. + + + + + Initializes a new instance of the class. + Creates a new instance representing a failed proxy + generation attempt. + + + The reason the proxy generation failed. + + + + + Initializes a new instance of the class. + Creates a new instance representing a failed proxy + generation attempt due to an exception being caught. + + + The reason the proxy generation failed. + + + The exception thrown from the creation attempt. + + + + + Initializes a new instance of the class. + Creates a new instance representing a successful proxy + generation. + + + The proxy that was generated. + + + An event raiser that raises + events when calls are intercepted to the proxy. + + + + + Gets a value indicating whether the proxy was successfully created. + + + + + Gets the generated proxy when it was successfully created. + + + + + Gets the event raiser that raises events when calls to the proxy are + intercepted. + + + + + Gets the reason for failure when the generation was not successful. + + + + + The default bootstrapper, used to initialize FakeItEasy unless another + implementation of is present in the assemblies + loaded in the app domain. + + + + + Bootstrapper for FakeItEasy. + + + When FakeItEasy is initialized, it scans the executing app domain for implementations + of this interface. If any are found, one will be instantiated and used to bootstrap + FakeItEasy. If no implementations are found, then a + will be used. + The recommended way to implement IBootstrapper is to extend DefaultBootstrapper + and override selected methods. + + + + + Provides a list of assembly file names to scan for extension points, such as + s, s, and + s. + + A list of absolute paths pointing to assemblies to scan for extension points. + + + + When overridden in a derived class, provides a custom list of assembly file + names to scan for extension points, such as + s, s, and + s. + + This implementation returns the absolute paths of all the DLLs in the + . + + A list of absolute paths of to assemblies to scan for extension points. + + + + Represents a text writer that writes to the output. + + + + + Writes the specified value to the output. + + The value to write. + The writer for method chaining. + + + + Formats the specified argument value as a string and writes + it to the output. + + The value to write. + The writer for method chaining. + + + + Indents the writer. + + A disposable that will unindent the writer when disposed. + + + + Represents a definition of how a fake object of the type T should + be created. + + The type of fake. + + + + Represents a definition of how dummies of the specified type should be created. + + + + + Creates the fake. + + The fake object. + + + + Gets the type of fake object the definition is for. + + + + + Creates the dummy. + + The dummy object. + + + + Creates the dummy. + + The dummy object. + + + + Gets the type the definition is for. + + For type. + + + + Provides extension methods for generic usage of . + + + + + Gets an enumerable of tuples where the first value of each tuple is a value + from the first collection and the second value of each tuple is the value at the same position + from the second collection. + + The type of values in the first collection. + The type of values in the second collection. + The first of the collections to combine. + The second of the collections to combine. + An enumerable of tuples. + + + + Joins the collection to a string. + + The type of items in the collection. + The items to join. + A function that converts from an item to a string value. + Separator to insert between each item. + A string representation of the collection. + + + + Gets a dictionary containing the first element from the sequence that has a key specified by the key selector. + + The type of items in the sequence. + The type of the key. + The sequence. + The key selector. + A dictionary. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to The Apply method of the ExpressionInterceptor may no be called before the Applicator property has been set.. + + + + + Looks up a localized string similar to The specified argument name does not exist in the ArgumentList.. + + + + + Looks up a localized string similar to Arguments for constructor was specified when generating proxy of interface type.. + + + + + Looks up a localized string similar to An argument validation was not configured correctly.. + + + + + Looks up a localized string similar to The method '{0}' was called too few times, expected #{1} times but was called #{2} times.. + + + + + Looks up a localized string similar to The method '{0}' was called too many times, expected #{1} times but was called #{2} times.. + + + + + Looks up a localized string similar to Can not create fake of the type '{0}', it's not registered in the current container and the current IProxyGenerator can not generate the fake. + + The following constructors failed: + {1}. + + + + + Looks up a localized string similar to Error when accessing FakeObject, the specified argument is of the type '{0}' which is not faked.. + + + + + Looks up a localized string similar to An ExpressionCallMatcher can only be created for expressions that represents a method call or a property getter.. + + + + + Looks up a localized string similar to + + The current proxy generator failed to create a proxy with the specified arguments for the constructor: + + Reason for failure: + - {0} + + . + + + + + Looks up a localized string similar to FakeItEasy failed to create fake object of type "{0}". + + 1. The type is not registered in the current IFakeObjectContainer. + 2. The current IProxyGenerator failed to generate a proxy for the following reason: + + {1}. + + + + + Looks up a localized string similar to Unable to create fake object.. + + + + + Looks up a localized string similar to Only abstract classes can be faked using the A.Fake-method that takes an enumerable of objects as arguments for constructor, use the overload that takes an expression instead.. + + + + + Looks up a localized string similar to The member accessor expression must be a lambda expression with a MethodCallExpression or MemberAccessExpression as its body.. + + + + + Looks up a localized string similar to The specified method can not be configured since it can not be intercepted by the current IProxyGenerator.. + + + + + Looks up a localized string similar to The method of the call did not match the method of the recorded call, the recorded sequence is no longer valid.. + + + + + Looks up a localized string similar to No constructor matching the specified arguments was found on the type {0}.. + + + + + Looks up a localized string similar to Can not generate fake object for the class since no usable default constructor was found, specify a constructor call.. + + + + + Looks up a localized string similar to All the recorded calls has been applied, the recorded sequence is no longer valid.. + + + + + Looks up a localized string similar to Only expression of the type ExpressionType.New (constructor calls) are accepted.. + + + + + Looks up a localized string similar to The Now-method on the event raise is not meant to be called directly, only use it to register to an event on a fake object that you want to be raised.. + + + + + Looks up a localized string similar to The number of values for out and ref parameters specified does not match the number of out and ref parameters in the call.. + + + + + Looks up a localized string similar to A scope for ordered assertions is already opened, close that scope before opening another one.. + + + + + Looks up a localized string similar to The specified call is not made on a fake object.. + + + + + Looks up a localized string similar to The current fake proxy generator can not create proxies of the type {0}.. + + + + + Looks up a localized string similar to FakeItEasy was unable to create dummy of type "{0}", register it in the current IFakeObjectContainer to enable this.. + + + + + Looks up a localized string similar to Expected to find call {0} the number of times specified by the predicate '{1}' but found it {2} times among the calls:. + + + + + Looks up a localized string similar to The number of argument names does not match the number of arguments.. + + + + + Provides the extension methods for . + + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + The exception to throw when a call that matches is invoked. + Configuration object. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Configuration object. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + The type of exception to throw. + Configuration object. + + + + An exception thrown when an expectation is not met (when asserting on fake object calls). + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner exception. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + + The parameter is null. + + + The class name is null or is zero (0). + + + + + Provides extension methods for . + + + + + Evaluates an expression by compiling it into a delegate and invoking the delegate. + + The expression to be evaluated. + The value returned from the delegate compiled from the expression. + + + + Represents a class that can parse a lambda expression + that represents a method or property call. + + + + + Parses the specified expression. + + The expression to parse. + The parsed expression. + + + + Handles the matching of fake object calls to expressions. + + + + + Initializes a new instance of the class. + + The call specification. + The constraint factory. + The method info manager to use. + A parser to use to parse call expressions. + + + + Matches the specified call against the expression. + + The call to match. + True if the call is matched by the expression. + + + + Gets a description of the call. + + Description of the call. + + + + Gets a human readable description of calls that will be matched by this + matcher. + + + + + An implementation of the interface that uses + expressions for evaluating if the rule is applicable to a specific call. + + + + + Initializes a new instance of the class. + + The expression matcher to use. + + + + Returns a that represents this instance. + + + A that represents this instance. + + + + + Handles the instantiation of ExpressionCallRule instance. + + An expression specifying the call. + A rule instance. + + + + Manages breaking call specification expression into their various parts. + + + + + Manages breaking call specification expression into their various parts. + + + + + Gets the fake object an expression is called on. + + The call expression. + The FakeManager instance that manages the faked object the call is made on. + The fakeObjectCall is null. + The specified expression is not an expression where a call is made to a faked object. + + + + Gets the fake object an expression is called on. + + The call expression. + A FakeObject. + The fakeObjectCall is null. + The specified expression is not an expression where a call is made to a faked object. + + + + Provides extension methods for configuring and asserting on faked objects + without going through the static methods of the Fake-class. + + + + + Configures the behavior of the fake object when a call that matches the specified + call happens. + + The type of fake object to configure. + The type of the return value of the member. + The faked object to configure. + An expression that specifies the calls to configure. + A configuration object. + + + + Configures the behavior of the fake object when a call that matches the specified + call happens. + + The faked object to configure. + The type of fake object to configure. + An expression that specifies the calls to configure. + A configuration object. + + + + Configures the behavior of the fake object when a call is made to any method on the + object. + + The type of the fake. + The faked object. + A configuration object. + + + + Provides an extension method for configuring fake objects. + + + + + Gets an object that provides a fluent interface syntax for configuring + the fake object. + + The type of the fake object. + The fake object to configure. + A configuration object. + The fakedObject was null. + The object passed in is not a faked object. + + + + Provides static methods for accessing fake objects. + + + + + Gets the fake object that manages the faked object. + + The faked object to get the manager object for. + The fake object manager. + + + + Creates a new scope and sets it as the current scope. When inside a scope the + getting the calls made to a fake will return only the calls within that scope and when + asserting that calls were made, the calls must have been made within that scope. + + The created scope. + + + + Creates a new scope and sets it as the current scope. When inside a scope the + getting the calls made to a fake will return only the calls within that scope and when + asserting that calls were made, the calls must have been made within that scope. + + The container to use within the specified scope. + The created scope. + + + + Gets a value indicating whether the two objects are equal. + + The first object to compare. + The second object to compare. + True if the two objects are equal. + + + + Gets a value indicating whether the two objects are the same reference. + + The object A. + The object B. + True if the objects are the same reference. + + + + Gets all the calls made to the specified fake object. + + The faked object. + A collection containing the calls to the object. + The object passed in is not a faked object. + + + + Clears the configuration of the faked object. + + The faked object to clear the configuration of. + + + + Sets a new fake to each property or field that is tagged with the FakeAttribute in the specified + fixture. + + The object to initialize. + + + + Represents a fake object that provides an API for configuring a faked object, exposed by the + FakedObject-property. + + The type of the faked object. + + + + Initializes a new instance of the class. + Creates a new fake object. + + + + + Initializes a new instance of the class. + Creates a new fake object using the specified options. + + + Options used to create the fake object. + + + + + Configures calls to the specified member. + + An expression specifying the call to configure. + A configuration object. + + + + Configures calls to the specified member. + + The type of value the member returns. + An expression specifying the call to configure. + A configuration object. + + + + Configures any call to the fake object. + + A configuration object. + + + + Gets the faked object. + + + + + Gets all calls made to the faked object. + + + + + Used to tag fields and properties that will be initialized through the + Fake.Initialize-method. + + + + + Provides the base implementation for the IFakeConfigurator-interface. + + The type of fakes the configurator can configure. + + + + Provides configurations for fake objects of a specific type. + + + + + Applies the configuration for the specified fake object. + + The fake object to configure. + + + + Gets the type the instance provides configuration for. + + + + + Configures the fake. + + The fake object. + + + + Applies the configuration for the specified fake object. + + The fake object to configure. + + + + Asserts the type of the that fake is of correct. + + The fake object. + + + + Gets the type the instance provides configuration for. + + + + + + Provides extension methods for . + + + + + Gets the argument at the specified index in the arguments collection + for the call. + + The type of the argument to get. + The call to get the argument from. + The index of the argument. + The value of the argument with the specified index. + + + + Gets the argument with the specified name in the arguments collection + for the call. + + The type of the argument to get. + The call to get the argument from. + The name of the argument. + The value of the argument with the specified name. + + + + Writes the calls in the collection to the specified output writer. + + The type of the calls. + The calls to write. + The writer to write the calls to. + + + + Writes all calls in the collection to the console. + + The type of the calls. + The calls to write. + + + + Gets the description of a call to a fake object. + + The call to describe. + A description of the call. + + + + Provides extension methods for . + + + + + Makes the fake strict, this means that any call to the fake + that has not been explicitly configured will throw an exception. + + The type of fake object. + The configuration. + A configuration object. + + + + Provides methods for guarding method arguments. + + + + + Throws an exception if the specified argument is null. + + The argument. + Name of the argument. + The specified argument was null. + + + + When applied to a parameter, this attribute provides an indication to code analysis that the argument has been null checked. + + + + + Provides access to the file system. + + + + + Opens the specified file in the specified mode. + + The full path and name of the file to open. + The mode to open the file in. + A stream for reading and writing the file. + + + + Gets a value indicating whether the specified file exists. + + The path and name of the file to check. + True if the file exists. + + + + Creates a file with the specified name. + + The name of the file to create. + + + + A simple implementation of an IoC container. + + + + + The dictionary that stores the registered services. + + + + + Initializes a new instance of the class. + + + + + Resolves an instance of the specified component type. + + Type of the component. + An instance of the component type. + + + + Registers the specified resolver. + + The type of component to register. + The resolver. + + + + Registers the specified resolver as a singleton. + + The type of component to register. + The resolver. + + + + Provides properties and methods to specify repeat. + + + + + Specifies the number of times as repeat. + + The number of times expected. + A Repeated instance. + + + + Specifies once as the repeat. + + + + + Specifies twice as the repeat. + + + + + Provides extension methods for . + + + + + Lets you specify options for the next call to a fake object. + + + + + Specifies options for the next call to the specified fake object. The next call will + be recorded as a call configuration. + + The type of the faked object. + The faked object to configure. + A call configuration object. + + + + Provides functionality for making ordered assertions on fakes. + + + + + Creates a scope that changes the behavior on asserts so that all asserts within + the scope must be to calls in the specified collection of calls. Calls must have happened + in the order that the asserts are specified or the asserts will fail. + + The calls to assert among. + A disposable used to close the scope. + + + + Provides extensions for . + + + + + Writes a new line to the writer. + + The writer to write to. + The writer. + + + + Writes the format string to the writer. + + The writer to write to. + The format string to write. + Replacements for the format string. + The writer. + + + + Writes the specified object to the writer (using the ToString-method of the object). + + The writer to write to. + The value to write to the writer. + The writer. + + + + Allows the developer to raise an event on a faked object. + + + + + Raises an event on a faked object by attaching the event handler produced by the method + to the event that is to be raised. + + The type of the event args. + The sender of the event. + The instance containing the event data. + A Raise(TEventArgs)-object that exposes the event handler to attach. + + + + Raises an event on a faked object by attaching the event handler produced by the method + to the event that is to be raised. + + The type of the event arguments. + The instance containing the event data. + + A Raise(TEventArgs)-object that exposes the event handler to attach. + + + + + Raises an event with empty event arguments on a faked object by attaching the event handler produced by the method + to the event that is to be raised. + + + A Raise(TEventArgs)-object that exposes the event handler to attach. + + + + + A class exposing an event handler to attach to an event of a faked object + in order to raise that event. + + The type of the event args. + + + + Register this event handler to an event on a faked object in order to raise that event. + + The sender of the event. + Event args for the event. + + + + Gets a generic event handler to attach to the event to raise. + + + + + Provides methods for creating recorders for self initializing fakes. + + + + + Gets a recorder that records to and loads calls from the specified file. + + The file to use for recording. + A recorder instance. + + + + Provides extensions for . + + + + + Specifies NumberOfTimes(1) to the repeat configuration. + + The configuration to set repeat 1 to. + + + + Specifies NumberOfTimes(2) to the repeat configuration. + + The configuration to set repeat 2 to. + + + + Provides syntax for specifying the number of times a call must have been repeated when asserting on + fake object calls. + + A.CallTo(() => foo.Bar()).Assert(Happened.Once.Exactly); + + + + Specifies that a call must have been repeated a number of times + that is validated by the specified repeatValidation argument. + + A predicate that specifies the number of times + a call must have been made. + A Repeated-instance. + + + + When implemented gets a value indicating if the repeat is matched + by the Happened-instance. + + The repeat of a call. + True if the repeat is a match. + + + + Asserts that a call has not happened at all. + + + + + The call must have happened exactly the number of times that is specified in the next step. + + + + + The call must have happened any number of times greater than or equal to the number of times that is specified + in the next step. + + + + + The call must have happened any number of times less than or equal to the number of times that is specified + in the next step. + + + + + Provides extension methods for . + + + + + Specifies the value to return when the configured call is made. + + The type of the return value. + The configuration to extend. + The value to return. + A configuration object. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The type of the return value. + The configuration to extend. + A function that produces the return value. + A configuration object. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The type of the return value. + Type of the first argument of the faked method call. + The configuration to extend. + A function that produces the return value. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Configures the call to return the next value from the specified sequence each time it's called. Null will + be returned when all the values in the sequence has been returned. + + + The type of return value. + + + The call configuration to extend. + + + The values to return in sequence. + + + + + Handles the registration of root dependencies in an IoC-container. + + + + + Registers the dependencies. + + The container to register the dependencies in. + + + + DTO for recorded calls. + + + + + Initializes a new instance of the class. + + The method. + The output arguments. + The return value. + + + + Gets the method that was called. + + The method. + + + + Gets the output arguments of the call. + + The output arguments. + + + + Gets the return value of the call. + + The return value. + + + + Represents storage for recorded calls for self initializing + fakes. + + + + + Loads the recorded calls for the specified recording. + + The recorded calls for the recording with the specified id. + + + + Saves the specified calls as the recording with the specified id, + overwriting any previous recording. + + The calls to save. + + + + Initializes a new instance of the class. + + Name of the file. + The file system. + + + + Loads the recorded calls for the specified recording. + + + The recorded calls for the recording with the specified id. + + + + + Saves the specified calls as the recording with the specified id, + overwriting any previous recording. + + The calls to save. + + + + A factory responsible for creating instances of FileStorage. + + The file name of the storage. + A FileStorage instance. + + + + An interface for recorders that provides stored responses for self initializing fakes. + + + + + Applies the call if the call has been recorded. + + The call to apply to from recording. + + + + Records the specified call. + + The call to record. + + + + Gets a value indicating whether the recorder is currently recording. + + + + + An exception that can be thrown when recording for self initialized + fakes fails or when playback fails. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + The message. + The inner exception. + + + + Initializes a new instance of the class. + + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + + The parameter is null. + + + The class name is null or is zero (0). + + + + + Manages the applying of recorded calls and recording of new calls when + using self initialized fakes. + + + + + Initializes a new instance of the class. + + The storage. + + + + Applies the call if the call has been recorded. + + The call to apply to from recording. + + + + Records the specified call. + + The call to record. + + + + Saves all recorded calls to the storage. + + + + + Gets a value indicating whether the recorder is currently recording. + + + + + + Represents a factory responsible for creating recording manager + instances. + + The storage the manager should use. + A RecordingManager instance. + + + + A call rule use for self initializing fakes, delegates call to + be applied by the recorder. + + + + + Initializes a new instance of the class. + + The wrapped rule. + The recorder. + + + + Gets whether this interceptor is applicable to the specified + call, if true is returned the Apply-method of the interceptor will + be called. + + The call to check for applicability. + True if the interceptor is applicable. + + + + Applies an action to the call, might set a return value or throw + an exception. + + The call to apply the interceptor to. + + + + Gets the number of times this call rule is valid, if it's set + to null its infinitely valid. + + + + + + An attribute that can be applied to code that should be fixed because there's a + code smell. + + + + + Gets or sets the description of the smell. + + + + + Provides extension methods for . + + + + + Provides extension methods for . + + + + + Replaces the format item in a specified System.String with the text equivalent + of the value of a corresponding System.Object instance in a specified array using + invariant culture as . + + A composite format string. + An array containing zero or more objects to format. + The formatted string. + + + + Provides extension methods for . + + + + + Used to tag fields and properties that will be initialized as a SUT through the Fake.Initialize-method. + + + + + Provides helper methods for checking the value producer signature against call signatures. + + + + + Provides extension methods for . + + + + + Applies a predicate to constrain which calls will be considered for interception. + + The return type of the where method. + The configuration object to extend. + A predicate for a fake object call. + The configuration object. + + + diff --git a/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.dll b/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.dll new file mode 100644 index 0000000..adb39c9 Binary files /dev/null and b/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.dll differ diff --git a/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.xml b/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.xml similarity index 88% rename from packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.xml rename to packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.xml index 3bc9348..fe82e49 100644 --- a/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.xml +++ b/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.xml @@ -433,6 +433,478 @@ Gets a constraint that considers any value of an argument as valid. + + + Determines whether an assembly references FakeItEasy. + + The assembly to check. + Whether or not the assembly references FakeItEasy. + + + + Locate an implementation. + + + Will search the app domain for a concrete implementation, + and if it can't find one will use the . + + + + + Scans app domain assemblies looking for a concrete implementation of + that is not the . + Otherwise, the first matching type is instantiated and returned, or an + instance of DefaultBootstrapper is used if no other implementation is found. + + An instance of the first non-default IBootstrapper implementation found, + or a DefaultBootstrapper. + + + + The default bootstrapper, used to initialize FakeItEasy unless another + implementation of is present in the assemblies + loaded in the app domain. + + + + + Bootstrapper for FakeItEasy. + + + When FakeItEasy is initialized, it scans the executing app domain for implementations + of this interface. If any are found, one will be instantiated and used to bootstrap + FakeItEasy. If no implementations are found, then a + will be used. + The recommended way to implement IBootstrapper is to extend DefaultBootstrapper + and override selected methods. + + + + + Provides a list of assembly file names to scan for extension points, such as + s, s, and + s. + + A list of absolute paths pointing to assemblies to scan for extension points. + + + + When overridden in a derived class, provides a custom list of assembly file + names to scan for extension points, such as + s, s, and + s. + + This implementation returns the absolute paths of all the DLLs in the + . + + A list of absolute paths of to assemblies to scan for extension points. + + + + Provides extension methods for . + + + + + Provides extension methods for . + + + + + Provides extension methods for . + + + + + Provides extension methods for . + + + + + Replaces the format item in a specified System.String with the text equivalent + of the value of a corresponding System.Object instance in a specified array using + invariant culture as . + + A composite format string. + An array containing zero or more objects to format. + The formatted string. + + + + Provides extension methods for . + + + + + Specifies the value to return when the configured call is made. + + The type of the return value. + The configuration to extend. + The value to return. + A configuration object. + + + + Specifies the value to return when the configured call is made. + + The type of the return value. + The configuration to extend. + The value to return. + A configuration object. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The type of the return value. + The configuration to extend. + A function that produces the return value. + A configuration object. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The type of the return value. + Type of the first argument of the faked method call. + The configuration to extend. + A function that produces the return value. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Configures the call to return the next value from the specified sequence each time it's called. Null will + be returned when all the values in the sequence has been returned. + + + The type of return value. + + + The call configuration to extend. + + + The values to return in sequence. + + + + + Provides extension methods for . + + + + + Specifies that a call to the configured call should be applied no matter what arguments + are used in the call to the faked object. + + The type of the interface. + The configuration. + A configuration object. + + + + Provides extension methods for . + + + + + Asserts that the specified call must have happened once or more. + + The configuration to assert on. + + + + Asserts that the specified call has not happened. + + The configuration to assert on. + + + + Provides the extension methods for . + + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + The exception to throw when a call that matches is invoked. + Configuration object. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Configuration object. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. + + + + Throws the specified exception when the currently configured + call gets called. + + The configuration to use. + The type of exception to throw. + Configuration object. + + + + Provides extension methods for . + + + + + Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed. + + The type of fake object. + The configuration that is extended. + The to invoke. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Provides extension methods for . + + + + + Applies a predicate to constrain which calls will be considered for interception. + + The return type of the where method. + The configuration object to extend. + A predicate for a fake object call. + The configuration object. + + + + Provides extension methods for . + + + + + Makes the fake strict, this means that any call to the fake + that has not been explicitly configured will throw an exception. + + The type of fake object. + The configuration. + A configuration object. + + + + Provides extension methods for . + + + + + Gets the argument at the specified index in the arguments collection + for the call. + + The type of the argument to get. + The call to get the argument from. + The index of the argument. + The value of the argument with the specified index. + + + + Gets the argument with the specified name in the arguments collection + for the call. + + The type of the argument to get. + The call to get the argument from. + The name of the argument. + The value of the argument with the specified name. + + + + Writes the calls in the collection to the specified output writer. + + The type of the calls. + The calls to write. + The writer to write the calls to. + + + + Writes all calls in the collection to the console. + + The type of the calls. + The calls to write. + + + + Gets the description of a call to a fake object. + + The call to describe. + A description of the call. + + + + Provides extensions for . + + + + + Specifies NumberOfTimes(1) to the repeat configuration. + + The configuration to set repeat 1 to. + + + + Specifies NumberOfTimes(2) to the repeat configuration. + + The configuration to set repeat 2 to. + A strongly-typed resource class, for looking up localized strings, etc. @@ -551,7 +1023,7 @@ - Looks up a localized string similar to Can not generate fake object for the class since no default constructor was found, specify a constructor call.. + Looks up a localized string similar to Can not generate fake object for the class since no usable default constructor was found, specify a constructor call.. @@ -722,9 +1194,14 @@ Gets all calls made to the faked object. - + - Access all types in all assemblies in the same directory as the FakeItEasy assembly. + Provides access to all types in: + + FakeItEasy, + assemblies loaded into the current that reference FakeItEasy and + assemblies whose paths are supplied to the constructor, that also reference FakeItEasy. + @@ -738,12 +1215,16 @@ The available types. - + - Initializes a new instance of the class. + Loads the available types into the . + + The full paths to assemblies from which to load types, + as well as assemblies loaded into the current . + - + Gets a collection of available types. @@ -988,6 +1469,12 @@ Gets the resolved value. + + + Holds a formatter as well as the distance between a type to be formatted + and the type for which the formatted is registered. + + Represents an event that happens when a call has been intercepted by a proxy. @@ -1429,6 +1916,17 @@ Sets that the call should not be recorded by the fake manager. + + + Attempts to preserve the stack trace of an existing exception when rethrown via throw or throw ex. + + Nicked from + http://weblogs.asp.net/fmarguerie/archive/2008/01/02/rethrowing-exceptions-and-preserving-the-full-call-stack-trace.aspx. + If reduced trust context (for example) precludes + invoking internal members on , the stack trace will not be preserved. + + The exception whose stack trace needs preserving. + Represents a scope for fake objects, calls configured within a scope @@ -1774,7 +2272,7 @@ - Looks up a localized string similar to No default constructor was found on the type {0}.. + Looks up a localized string similar to No usable default constructor was found on the type {0}.. @@ -1982,6 +2480,19 @@ The reason the proxy generation failed. + + + Initializes a new instance of the class. + Creates a new instance representing a failed proxy + generation attempt due to an exception being caught. + + + The reason the proxy generation failed. + + + The exception thrown from the creation attempt. + + Initializes a new instance of the class. @@ -2118,13 +2629,13 @@ The fakeObjectCall is null. The specified expression is not an expression where a call is made to a faked object. - + Provides extension methods for configuring and asserting on faked objects without going through the static methods of the Fake-class. - + Configures the behavior of the fake object when a call that matches the specified call happens. @@ -2135,7 +2646,7 @@ An expression that specifies the calls to configure. A configuration object. - + Configures the behavior of the fake object when a call that matches the specified call happens. @@ -2145,7 +2656,7 @@ An expression that specifies the calls to configure. A configuration object. - + Configures the behavior of the fake object when a call is made to any method on the object. @@ -2154,12 +2665,12 @@ The faked object. A configuration object. - + Provides an extension method for configuring fake objects. - + Gets an object that provides a fluent interface syntax for configuring the fake object. @@ -2248,6 +2759,20 @@ The calls to assert among. A disposable used to close the scope. + + + Provides extension methods for . + + + + + Filters to contain only the calls that matches the call specification. + + The type of fake the call is made on. + The calls to filter. + The call to match on. + A collection of the calls that matches the call specification. + Provides the base implementation for the IFakeConfigurator-interface. @@ -2335,12 +2860,12 @@ For type. - + Provides validation extensions for . - + Constrains an argument so that it must be null (Nothing in VB). @@ -2348,7 +2873,7 @@ The constraint manager to match the constraint. A dummy argument value. - + Constrains the string argument to contain the specified text. @@ -2356,7 +2881,7 @@ The string the argument string should contain. A dummy argument value. - + Constrains the sequence so that it must contain the specified value. @@ -2365,7 +2890,7 @@ The type of sequence. A dummy argument value. - + Constrains the string so that it must start with the specified value. @@ -2373,7 +2898,7 @@ The value the string should start with. A dummy argument value. - + Constrains the string so that it must end with the specified value. @@ -2381,14 +2906,14 @@ The value the string should end with. A dummy argument value. - + Constrains the string so that it must be null or empty. The constraint manager to match the constraint. A dummy argument value. - + Constrains argument value so that it must be greater than the specified value. @@ -2397,7 +2922,7 @@ The type of argument to constrain. A dummy argument value. - + The tested argument collection should contain the same elements as the as the specified collection. @@ -2407,7 +2932,7 @@ The type of argument to constrain. A dummy argument value. - + Tests that the IEnumerable contains no items. @@ -2415,7 +2940,7 @@ The constraint manager to match the constraint. A dummy argument value. - + Tests that the passed in argument is equal to the specified value. @@ -2424,7 +2949,16 @@ The value to compare to. A dummy argument value. - + + + Tests that the passed in argument is the same instance (reference) as the specified value. + + The type of the argument. + The constraint manager to match the constraint. + The reference to compare to. + A dummy argument value. + + Constrains the argument to be of the specified type. @@ -2433,7 +2967,7 @@ The type to constrain the argument with. A dummy value. - + Constrains the argument with a predicate. @@ -2453,7 +2987,7 @@ A dummy argument value. - + Constrains the argument with a predicate. @@ -2476,7 +3010,7 @@ A dummy argument value. - + Constrains the argument with a predicate. @@ -2493,7 +3027,7 @@ A dummy argument value. - + Constrains the argument to be not null (Nothing in VB) and to match the specified predicate. @@ -2505,499 +3039,171 @@ to the output. A dummy argument value. - + - Provides static methods for the IOutputWriter-interface. + Provides extensions for . - + Writes a new line to the writer. The writer to write to. The writer. - - - Writes the format string to the writer. - - The writer to write to. - The format string to write. - Replacements for the format string. - The writer. - - - - Writes the specified object to the writer (using the ToString-method of the object). - - The writer to write to. - The value to write to the writer. - The writer. - - - - Provides syntax for specifying the number of times a call must have been repeated when asserting on - fake object calls. - - A.CallTo(() => foo.Bar()).Assert(Happened.Once.Exactly); - - - - Specifies that a call must have been repeated a number of times - that is validated by the specified repeatValidation argument. - - A predicate that specifies the number of times - a call must have been made. - A Repeated-instance. - - - - When implemented gets a value indicating if the repeat is matched - by the Happened-instance. - - The repeat of a call. - True if the repeat is a match. - - - - Asserts that a call has not happened at all. - - - - - The call must have happened exactly the number of times that is specified in the next step. - - - - - The call must have happened any number of times greater than or equal to the number of times that is specified - in the next step. - - - - - The call must have happened any number of times less than or equal to the number of times that is specified - in the next step. - - - - - Provides methods for creating recorders for self initializing fakes. - - - - - Gets a recorder that records to and loads calls from the specified file. - - The file to use for recording. - A recorder instance. - - - - Provides access to the file system. - - - - - Opens the specified file in the specified mode. - - The full path and name of the file to open. - The mode to open the file in. - A stream for reading and writing the file. - - - - Gets a value indicating whether the specified file exists. - - The path and name of the file to check. - True if the file exists. - - - - Creates a file with the specified name. - - The name of the file to create. - - - - Gets the value produced by the specified expression when compiled and invoked. - - The expression to get the value from. - The value produced by the expression. - - - - An exception thrown when an expectation is not met (when asserting on fake object calls). - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Provides extension methods for fake objects. - - - - - Specifies NumberOfTimes(1) to the IRepeatConfiguration{TFake}. - - The configuration to set repeat 1 to. - - - - Specifies NumberOfTimes(2) to the IRepeatConfiguration{TFake}. - - The configuration to set repeat 2 to. - - - - Specifies that a call to the configured call should be applied no matter what arguments - are used in the call to the faked object. - - The type of the interface. - The configuration. - A configuration object. - - - - Filters to contain only the calls that matches the call specification. - - The type of fake the call is made on. - The calls to filter. - The call to match on. - A collection of the calls that matches the call specification. - - - - Asserts that the specified call must have happened once or more. - - The configuration to assert on. - - - - Asserts that the specified has not happened. - - The configuration to assert on. - - - - Configures the call to return the next value from the specified sequence each time it's called. Null will - be returned when all the values in the sequence has been returned. - - - The type of return value. - - - The call configuration to extend. - - - The values to return in sequence. - - - - - Specifies the value to return when the configured call is made. - - The type of the return value. - The configuration to extend. - The value to return. - A configuration object. - - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Writes the format string to the writer. - The type of the return value. - The configuration to extend. - A function that produces the return value. - A configuration object. + The writer to write to. + The format string to write. + Replacements for the format string. + The writer. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Writes the specified object to the writer (using the ToString-method of the object). - The type of the return value. - Type of the first argument of the faked method call. - The configuration to extend. - A function that produces the return value. - A configuration object. - The signatures of the faked method and the do not match. + The writer to write to. + The value to write to the writer. + The writer. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Provides syntax for specifying the number of times a call must have been repeated when asserting on + fake object calls. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + A.CallTo(() => foo.Bar()).Assert(Happened.Once.Exactly); - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Specifies that a call must have been repeated a number of times + that is validated by the specified repeatValidation argument. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + A predicate that specifies the number of times + a call must have been made. + A Repeated-instance. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + When implemented gets a value indicating if the repeat is matched + by the Happened-instance. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + The repeat of a call. + True if the repeat is a match. - + - Writes the calls in the collection to the specified text writer. + Asserts that a call has not happened at all. - The type of the calls. - The calls to write. - The writer to write the calls to. - + - Writes all calls in the collection to the console. + The call must have happened exactly the number of times that is specified in the next step. - The type of the calls. - The calls to write. - + - Gets the argument at the specified index in the arguments collection - for the call. + The call must have happened any number of times greater than or equal to the number of times that is specified + in the next step. - The type of the argument to get. - The call to get the argument from. - The index of the argument. - The value of the argument with the specified index. - + - Gets the argument with the specified name in the arguments collection - for the call. + The call must have happened any number of times less than or equal to the number of times that is specified + in the next step. - The type of the argument to get. - The call to get the argument from. - The name of the argument. - The value of the argument with the specified name. - + - Makes the fake strict, this means that any call to the fake - that has not been explicitly configured will throw an exception. + Provides methods for creating recorders for self initializing fakes. - The type of fake object. - The configuration. - A configuration object. - + - Applies a predicate to constrain which calls will be considered for interception. + Gets a recorder that records to and loads calls from the specified file. - - The return type of the where method. - - - The configuration object to extend. - - - A predicate for a fake object call. - - to the output. - - The configuration object. - + The file to use for recording. + A recorder instance. - + - Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed. + Provides access to the file system. - The type of fake object. - The configuration that is extended. - The to invoke. - The fake object. - + - Executes the specified action when a matching call is being made. + Opens the specified file in the specified mode. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. + The full path and name of the file to open. + The mode to open the file in. + A stream for reading and writing the file. - + - Executes the specified action when a matching call is being made. + Gets a value indicating whether the specified file exists. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. + The path and name of the file to check. + True if the file exists. - + - Executes the specified action when a matching call is being made. + Creates a file with the specified name. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. + The name of the file to create. - + - Executes the specified action when a matching call is being made. + Provides extension methods for . - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. - + - Throws the specified exception when the currently configured - call gets called. + Evaluates an expression by compiling it into a delegate and invoking the delegate. - The configuration to use. - The exception to throw when a call that matches is invoked. - Configuration object. + The expression to be evaluated. + The value returned from the delegate compiled from the expression. - + - Throws the specified exception when the currently configured - call gets called. + An exception thrown when an expectation is not met (when asserting on fake object calls). - The configuration to use. - A function that returns the exception to throw when invoked. - Configuration object. - + - Throws the specified exception when the currently configured - call gets called. + Initializes a new instance of the class. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. - + - Throws the specified exception when the currently configured - call gets called. + Initializes a new instance of the class. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The message. - + - Throws the specified exception when the currently configured - call gets called. + Initializes a new instance of the class. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The message. + The inner exception. - + - Throws the specified exception when the currently configured - call gets called. + Initializes a new instance of the class. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The that holds the serialized object data about the exception being thrown. + The that contains contextual information about the source or destination. + + The parameter is null. + + + The class name is null or is zero (0). + - + - Throws the specified exception when the currently configured - call gets called. + Provides helper methods for checking the value producer signature against call signatures. - The configuration to use. - The type of exception to throw. - Configuration object. @@ -3082,6 +3288,11 @@ Name of the argument. The specified argument was null. + + + When applied to a parameter, this attribute provides an indication to code analysis that the argument has been null checked. + + Provides static methods for accessing fake objects. @@ -3411,22 +3622,12 @@ - - - Provides extension methods for the common uses. - - - + - Replaces the format item in a specified System.String with the text equivalent - of the value of a corresponding System.Object instance in a specified array using - invariant culture as . + Provides extension methods for generic usage of . - A composite format string. - An array containing zero or more objects to format. - The formatted string. - + Gets an enumerable of tuples where the first value of each tuple is a value from the first collection and the second value of each tuple is the value at the same position @@ -3438,7 +3639,7 @@ The second of the collections to combine. An enumerable of tuples. - + Joins the collection to a string. @@ -3448,7 +3649,7 @@ Separator to insert between each item. A string representation of the collection. - + Gets a dictionary containing the first element from the sequence that has a key specified by the key selector. diff --git a/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.dll b/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.dll new file mode 100644 index 0000000..83ea1bd Binary files /dev/null and b/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.dll differ diff --git a/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.xml b/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.xml similarity index 91% rename from packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.xml rename to packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.xml index 0eff340..3becdbe 100644 --- a/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.xml +++ b/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.xml @@ -205,12 +205,12 @@ The index of the argument to get. The argument at the specified index. - + Provides validation extensions for . - + Constrains an argument so that it must be null (Nothing in VB). @@ -218,7 +218,7 @@ The constraint manager to match the constraint. A dummy argument value. - + Constrains the string argument to contain the specified text. @@ -226,7 +226,7 @@ The string the argument string should contain. A dummy argument value. - + Constrains the sequence so that it must contain the specified value. @@ -235,7 +235,7 @@ The type of sequence. A dummy argument value. - + Constrains the string so that it must start with the specified value. @@ -243,7 +243,7 @@ The value the string should start with. A dummy argument value. - + Constrains the string so that it must end with the specified value. @@ -251,14 +251,14 @@ The value the string should end with. A dummy argument value. - + Constrains the string so that it must be null or empty. The constraint manager to match the constraint. A dummy argument value. - + Constrains argument value so that it must be greater than the specified value. @@ -267,7 +267,7 @@ The type of argument to constrain. A dummy argument value. - + The tested argument collection should contain the same elements as the as the specified collection. @@ -277,7 +277,7 @@ The type of argument to constrain. A dummy argument value. - + Tests that the IEnumerable contains no items. @@ -285,7 +285,7 @@ The constraint manager to match the constraint. A dummy argument value. - + Tests that the passed in argument is equal to the specified value. @@ -294,7 +294,16 @@ The value to compare to. A dummy argument value. - + + + Tests that the passed in argument is the same instance (reference) as the specified value. + + The type of the argument. + The constraint manager to match the constraint. + The reference to compare to. + A dummy argument value. + + Constrains the argument to be of the specified type. @@ -303,7 +312,7 @@ The type to constrain the argument with. A dummy value. - + Constrains the argument with a predicate. @@ -323,7 +332,7 @@ A dummy argument value. - + Constrains the argument with a predicate. @@ -346,7 +355,7 @@ A dummy argument value. - + Constrains the argument with a predicate. @@ -363,7 +372,7 @@ A dummy argument value. - + Constrains the argument to be not null (Nothing in VB) and to match the specified predicate. @@ -375,79 +384,121 @@ to the output. A dummy argument value. - + - Provides string formatting for arguments of type T when written in call lists. + Provides extension methods for . - The type of the arguments which will be formatted by this instance. - + - Provides string formatting for arguments when written in - call lists. + Specifies that a call to the configured call should be applied no matter what arguments + are used in the call to the faked object. + The type of the interface. + The configuration. + A configuration object. - + - Gets a string representing the specified argument value. + Provides extension methods for . - The argument value to get as a string. - A string representation of the value. - + - Gets the type of arguments this formatter works on. + Asserts that the specified call must have happened once or more. + The configuration to assert on. - + - Gets the priority of the formatter, when two formatters are - registered for the same type the one with the highest - priority is used. + Asserts that the specified call has not happened. + The configuration to assert on. - + - Gets a string representing the specified argument value. + Provides extension methods for . - The argument value to get as a string. - A string representation of the value. - + - Gets a string representing the specified argument value. + Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed. - The argument value to get as a string. - A string representation of the value. + The type of fake object. + The configuration that is extended. + The to invoke. + The fake object. - + - Gets the type of arguments this formatter works on. + Executes the specified action when a matching call is being made. + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. - + - Gets the priority of the formatter, when two formatters are - registered for the same type the one with the highest - priority is used. + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. - + - Provides extension methods for the common uses. + Provides extension methods for . - + - Replaces the format item in a specified System.String with the text equivalent - of the value of a corresponding System.Object instance in a specified array using - invariant culture as . + Filters to contain only the calls that matches the call specification. - A composite format string. - An array containing zero or more objects to format. - The formatted string. + The type of fake the call is made on. + The calls to filter. + The call to match on. + A collection of the calls that matches the call specification. - + + + Provides extension methods for generic usage of . + + + Gets an enumerable of tuples where the first value of each tuple is a value from the first collection and the second value of each tuple is the value at the same position @@ -459,7 +510,7 @@ The second of the collections to combine. An enumerable of tuples. - + Joins the collection to a string. @@ -469,7 +520,7 @@ Separator to insert between each item. A string representation of the collection. - + Gets a dictionary containing the first element from the sequence that has a key specified by the key selector. @@ -479,1390 +530,1793 @@ The key selector. A dictionary. - + - Provides the base for rules that can be built using the FakeConfiguration. + Provides the extension methods for . - + - Represents a call rule that has a description of the calls the - rule is applicable to. + Throws the specified exception when the currently configured + call gets called. + The configuration to use. + The exception to throw when a call that matches is invoked. + Configuration object. - + - Allows for intercepting call to a fake object and - act upon them. + Throws the specified exception when the currently configured + call gets called. + The configuration to use. + A function that returns the exception to throw when invoked. + Configuration object. - + - Gets whether this interceptor is applicable to the specified - call, if true is returned the Apply-method of the interceptor will - be called. + Throws the specified exception when the currently configured + call gets called. - The call to check for applicability. - True if the interceptor is applicable. + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. - + - Applies an action to the call, might set a return value or throw - an exception. + Throws the specified exception when the currently configured + call gets called. - The call to apply the interceptor to. + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. - + - Gets the number of times this call rule is valid, if it's set - to null its infinitely valid. + Throws the specified exception when the currently configured + call gets called. + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. - + - Writes a description of calls the rule is applicable to. + Throws the specified exception when the currently configured + call gets called. - The writer. + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. - + - Gets if this rule is applicable to the specified call. + Throws the specified exception when the currently configured + call gets called. - The call to validate. - True if the rule applies to the call. + The configuration to use. + The type of exception to throw. + Configuration object. - + - Writes a description of calls the rule is applicable to. + Provides extension methods for . - The writer to write the description to. - + - Gets or sets an action that is called by the Apply method to apply this - rule to a fake object call. + Evaluates an expression by compiling it into a delegate and invoking the delegate. + The expression to be evaluated. + The value returned from the delegate compiled from the expression. - + - Gets a collection of actions that should be invoked when the configured - call is made. + Provides extension methods for configuring and asserting on faked objects + without going through the static methods of the Fake-class. - + - Gets or sets values to apply to output and reference variables. + Configures the behavior of the fake object when a call that matches the specified + call happens. + The type of fake object to configure. + The type of the return value of the member. + The faked object to configure. + An expression that specifies the calls to configure. + A configuration object. - + - Gets or sets a value indicating whether the base method of the fake object call should be - called when the fake object call is made. + Configures the behavior of the fake object when a call that matches the specified + call happens. + The faked object to configure. + The type of fake object to configure. + An expression that specifies the calls to configure. + A configuration object. - + - Gets or sets the number of times the configured rule should be used. + Configures the behavior of the fake object when a call is made to any method on the + object. + The type of the fake. + The faked object. + A configuration object. - + - Gets a description of calls the rule is applicable to. + Provides an extension method for configuring fake objects. - - + - Configuration for any call to a faked object. + Gets an object that provides a fluent interface syntax for configuring + the fake object. + The type of the fake object. + The fake object to configure. + A configuration object. + The fakedObject was null. + The object passed in is not a faked object. - + - Provides a way to configure predicates for when a call should be applied. + Provides extension methods for . - The type of fake object that is going to be configured.. - + - Applies a predicate to constrain which calls will be considered for interception. + Gets the argument at the specified index in the arguments collection + for the call. - A predicate for a fake object call. - An action that writes a description of the predicate - to the output. - The configuration object. + The type of the argument to get. + The call to get the argument from. + The index of the argument. + The value of the argument with the specified index. - + - Provides configuration methods for methods that does not have a return value and - allows the use to specify validations for arguments. + Gets the argument with the specified name in the arguments collection + for the call. + The type of the argument to get. + The call to get the argument from. + The name of the argument. + The value of the argument with the specified name. - + - Provides configuration methods for methods that does not have a return value. + Writes the calls in the collection to the specified output writer. - - + The type of the calls. + The calls to write. + The writer to write the calls to. + + - Configuration that lets the developer specify that an exception should be - thrown by a fake object call. + Writes all calls in the collection to the console. + The type of the calls. + The calls to write. - + - Hides standard Object members to make fluent interfaces - easier to read. Found in the source of Autofac: - Based on blog post here: - + Gets the description of a call to a fake object. + The call to describe. + A description of the call. - + - Hides the ToString-method. + Provides extension methods for . - A string representation of the implementing object. - + - Determines whether the specified is equal to this instance. + Makes the fake strict, this means that any call to the fake + that has not been explicitly configured will throw an exception. - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - + The type of fake object. + The configuration. + A configuration object. - + - Returns a hash code for this instance. + Provides extension methods for . - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - + - Gets the type. + Provides extensions for . - The exact runtime type of the current instance. - + - Throws the specified exception when the currently configured - call gets called. + Writes a new line to the writer. - A function that creates the exception to throw. - Configuration object. + The writer to write to. + The writer. - + - Configuration for callbacks of fake object calls. + Writes the format string to the writer. - The type of interface to return. + The writer to write to. + The format string to write. + Replacements for the format string. + The writer. - + - Executes the specified action when a matching call is being made. + Writes the specified object to the writer (using the ToString-method of the object). - The action to invoke. - A configuration object. + The writer to write to. + The value to write to the writer. + The writer. - + - Configuration that lets you specify that a fake object call should call it's base method. + Provides extensions for . - + - When the configured method or methods are called the call - will be delegated to the base method of the faked method. + Specifies NumberOfTimes(1) to the repeat configuration. - A configuration object. - The fake object is of an abstract type or an interface - and no base method exists. + The configuration to set repeat 1 to. - + - Lets the developer configure output values of out and ref parameters. + Specifies NumberOfTimes(2) to the repeat configuration. + The configuration to set repeat 2 to. - + - Specifies output values for out and ref parameters. Specify the values in the order - the ref and out parameters has in the configured call, any non out and ref parameters are ignored. + Provides extension methods for . - The values. - A configuration object. - + - Allows the developer to assert on a call that's configured. + Specifies the value to return when the configured call is made. + The type of the return value. + The configuration to extend. + The value to return. + A configuration object. - + - Asserts that the configured call has happened the number of times - constrained by the repeatConstraint parameter. + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. - A constraint for how many times the call - must have happened. - The call has not been called a number of times - that passes the repeat constraint. + The type of the return value. + The configuration to extend. + A function that produces the return value. + A configuration object. - + - Configures the specified call to do nothing when called. + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + The type of the return value. + Type of the first argument of the faked method call. + The configuration to extend. + A function that produces the return value. A configuration object. + The signatures of the faked method and the do not match. - + - Provides configurations to validate arguments of a fake object call. + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. - The type of interface to return. + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. - + - Configures the call to be accepted when the specified predicate returns true. + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. - The argument predicate. + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. A configuration object. + The signatures of the faked method and the do not match. - + - Matches calls that has the return type specified in the generic type parameter. + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. - The return type of the members to configure. + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. A configuration object. + The signatures of the faked method and the do not match. - + - Manages registration of a set of components in a DictionaryContainer. + Configures the call to return the next value from the specified sequence each time it's called. Null will + be returned when all the values in the sequence has been returned. + + The type of return value. + + + The call configuration to extend. + + + The values to return in sequence. + - + - Registers the components of this module. + Provides extension methods for . - The container to register components in. - + - A factory that creates instances of the RecordingCallRuleType. + Provides extension methods for . - + - Creates the specified fake object. + Replaces the format item in a specified System.String with the text equivalent + of the value of a corresponding System.Object instance in a specified array using + invariant culture as . - The type of the fake. - The fake object the rule belongs to. - The rule that's being recorded. - A RecordingCallRule instance. + A composite format string. + An array containing zero or more objects to format. + The formatted string. - + - A factory responsible for creating start configuration for fake objects. + Provides extension methods for . - + - Creates a start configuration for the specified fake object that fakes the - specified type. + Provides extension methods for . - The type of the fake object. - The fake object to configure. - A configuration object. - + - An exception that can be thrown when something goes wrong with the configuration - of a fake object. + Applies a predicate to constrain which calls will be considered for interception. + The return type of the where method. + The configuration object to extend. + A predicate for a fake object call. + The configuration object. - + - Initializes a new instance of the class. + Provides string formatting for arguments of type T when written in call lists. + The type of the arguments which will be formatted by this instance. - + - Initializes a new instance of the class. + Provides string formatting for arguments when written in + call lists. - The message. - + - Initializes a new instance of the class. + Gets a string representing the specified argument value. - The message. - The inner exception. + The argument value to get as a string. + A string representation of the value. - + - Initializes a new instance of the class. + Gets the type of arguments this formatter works on. - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - + - Handles the configuration of fake object given an expression specifying - a call on a faked object. + Gets the priority of the formatter, when two formatters are + registered for the same type the one with the highest + priority is used. - + - Lets you set up expectations and configure repeat for the configured call. + Gets a string representing the specified argument value. + The argument value to get as a string. + A string representation of the value. - + - Provides configuration for method calls that has a return value. + Gets a string representing the specified argument value. + The argument value to get as a string. + A string representation of the value. - + - Specifies the number of times for the configured event. + Gets the type of arguments this formatter works on. - The number of times to repeat. - + - A combination of the IAfterCallSpecifiedConfiguration and IOutAndRefParametersConfiguration - interfaces. + Gets the priority of the formatter, when two formatters are + registered for the same type the one with the highest + priority is used. - + - Aggregate of IReturnValueArgumentValidationConfiguration<T> and IWhereConfiguration<IAnyCallConfigurationWithReturnTypeSpecified<T>>. + Provides the base for rules that can be built using the FakeConfiguration. - The type of fake object that is configured. - + - Configures a call that returns a value and allows the use to - specify validations for arguments. + Represents a call rule that has a description of the calls the + rule is applicable to. - The type of the member. - + - Configures a call that returns a value. + Allows for intercepting call to a fake object and + act upon them. - The type of the member. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Gets whether this interceptor is applicable to the specified + call, if true is returned the Apply-method of the interceptor will + be called. - A function that produces the return value. - A configuration object. + The call to check for applicability. + True if the interceptor is applicable. - + - Configurations for when a configured call is recorded. + Applies an action to the call, might set a return value or throw + an exception. + The call to apply the interceptor to. - + - Provides configuration from VisualBasic. + Gets the number of times this call rule is valid, if it's set + to null its infinitely valid. - + - Provides methods for configuring a fake object. + Writes a description of calls the rule is applicable to. - The type of fake object. + The writer. - + - Configures the behavior of the fake object when a call that matches the specified - call happens. + Gets if this rule is applicable to the specified call. - The type of the return value of the member. - An expression that specifies the calls to configure. - A configuration object. + The call to validate. + True if the rule applies to the call. - + - Configures the behavior of the fake object when a call that matches the specified - call happens. + Writes a description of calls the rule is applicable to. - An expression that specifies the calls to configure. - A configuration object. + The writer to write the description to. - + - Configures the behavior of the fake object when a call is made to any method on the - object. + Gets or sets an action that is called by the Apply method to apply this + rule to a fake object call. - A configuration object. - + - A call rule that has been recorded. + Gets a collection of actions that should be invoked when the configured + call is made. - + - A call rule that "sits and waits" for the next call, when - that call occurs the recorded rule is added for that call. + Gets or sets values to apply to output and reference variables. - The type of the fake. - + - Provides access to a set of calls and a call matcher for these calls. + Gets or sets a value indicating whether the base method of the fake object call should be + called when the fake object call is made. - + - Provides access to a call matcher. + Gets or sets the number of times the configured rule should be used. - + - Gets a call predicate that can be used to check if a fake object call matches - the specified constraint. + Gets a description of calls the rule is applicable to. + - + - Gets the set of calls. + Configuration for any call to a faked object. - + - Represents a delegate that creates a configuration object from - a fake object and the rule to build. + Provides a way to configure predicates for when a call should be applied. - The rule that's being built. - The fake object the rule is for. - A configuration object. + The type of fake object that is going to be configured.. - + - Represents a predicate that matches a fake object call. + Applies a predicate to constrain which calls will be considered for interception. + A predicate for a fake object call. + An action that writes a description of the predicate + to the output. + The configuration object. - + - Gets a value indicating whether the call matches the predicate. + Provides configuration methods for methods that does not have a return value and + allows the use to specify validations for arguments. - The call to match. - True if the call matches the predicate. - + - Provides configuration of faked objects. + Provides configuration methods for methods that does not have a return value. - + - Gets a configuration for the specified faked object. + Configuration that lets the developer specify that an exception should be + thrown by a fake object call. - The type of the fake. - The faked object to configure. - A configuration object. - The specified object is not a faked object. - The fakedObject parameter was null. - + - Access all types in all assemblies in the same directory as the FakeItEasy assembly. + Hides standard Object members to make fluent interfaces + easier to read. Found in the source of Autofac: + Based on blog post here: + - + - Provides a set of types that are available. + Hides the ToString-method. + A string representation of the implementing object. - + - Gets a collection of available types. + Determines whether the specified is equal to this instance. - The available types. + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + - + - Initializes a new instance of the class. + Returns a hash code for this instance. + + A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + - + - Gets a collection of available types. + Gets the type. - The available types. + The exact runtime type of the current instance. - + - Represents an argument and a dummy value to use for that argument. + Throws the specified exception when the currently configured + call gets called. + A function that creates the exception to throw. + Configuration object. - + - Initializes a new instance of the class. + Configuration for callbacks of fake object calls. - A value indicating if the dummy value was successfully resolved. - The type of argument. - The resolved value. + The type of interface to return. - + - Gets a value indicating whether a dummy argument value was successfully - resolved. + Executes the specified action when a matching call is being made. + The action to invoke. + A configuration object. - + - Gets the type of the argument. + Configuration that lets you specify that a fake object call should call it's base method. - + - Gets the resolved value. + When the configured method or methods are called the call + will be delegated to the base method of the faked method. + A configuration object. + The fake object is of an abstract type or an interface + and no base method exists. - + - Represents an event that happens when a call has been intercepted by a proxy. + Lets the developer configure output values of out and ref parameters. - + - Initializes a new instance of the class. + Specifies output values for out and ref parameters. Specify the values in the order + the ref and out parameters has in the configured call, any non out and ref parameters are ignored. - The call. + The values. + A configuration object. - + - Gets the call that was intercepted. + Allows the developer to assert on a call that's configured. - The call. - + - Keeps track of metadata for interceptions. + Asserts that the configured call has happened the number of times + constrained by the repeatConstraint parameter. + A constraint for how many times the call + must have happened. + The call has not been called a number of times + that passes the repeat constraint. - + - Gets whether the rule has been called the number of times specified or not. + Configures the specified call to do nothing when called. - True if the rule has not been called the number of times specified. + A configuration object. - + - Gets or sets the number of times the rule has been used. + Provides configurations to validate arguments of a fake object call. + The type of interface to return. - + - Gets or sets the rule this metadata object is tracking. + Configures the call to be accepted when the specified predicate returns true. + The argument predicate. + A configuration object. - + - Manages attaching of argument constraints. + Matches calls that has the return type specified in the generic type parameter. - The type of argument to constrain. + The return type of the members to configure. + A configuration object. - + - Constrains the argument with a predicate. + Manages registration of a set of components in a DictionaryContainer. - The predicate that should constrain the argument. - An action that will be write a description of the constraint. - A dummy argument value. - + - Inverts the logic of the matches method. + Registers the components of this module. + The container to register components in. - + - Validates an argument, checks that it's valid in a specific fake call. + A factory that creates instances of the RecordingCallRuleType. - + - Writes a description of the argument constraint to the specified writer. + Creates the specified fake object. - - The writer. - + The type of the fake. + The fake object the rule belongs to. + The rule that's being recorded. + A RecordingCallRule instance. - + - Gets whether the argument is valid. + A factory responsible for creating start configuration for fake objects. - The argument to validate. - True if the argument is valid. - + - Default implementation of . + Creates a start configuration for the specified fake object that fakes the + specified type. + The type of the fake object. + The fake object to configure. + A configuration object. - + - Attaches a fake manager to the proxy so that intercepted - calls can be configured. + An exception that can be thrown when something goes wrong with the configuration + of a fake object. - + - Attaches a to the specified proxy, listening to - the event raiser. + Initializes a new instance of the class. - The type of the fake object proxy. - The proxy to attach to. - The event raiser to listen to. - + - Gets the fake manager associated with the proxy. + Initializes a new instance of the class. - The proxy to get the manager from. - A fake manager. + The message. - + - Attaches a to the specified proxy, listening to - the event raiser. + Initializes a new instance of the class. - The type of the fake object proxy. - The proxy to attach to. - The event raiser to listen to. + The message. + The inner exception. - + - Gets the fake manager associated with the proxy. + Handles the configuration of fake object given an expression specifying + a call on a faked object. - The proxy to get the manager from. - A fake manager. - + - Represents an object that can be tagged with another object. When implemented - by a proxy returned from an FakeItEasy uses the tag - to store a reference to the that handles that proxy. + Lets you set up expectations and configure repeat for the configured call. - + - Gets or sets the tag. + Provides configuration for method calls that has a return value. - + - The default implementation of the IFakeObjectCallFormatter interface. + Specifies the number of times for the configured event. + The number of times to repeat. - + - Provides string formatting for fake object calls. + A combination of the IAfterCallSpecifiedConfiguration and IOutAndRefParametersConfiguration + interfaces. - + - Gets a human readable description of the specified - fake object call. + Aggregate of IReturnValueArgumentValidationConfiguration<T> and IWhereConfiguration<IAnyCallConfigurationWithReturnTypeSpecified<T>>. - The call to get a description for. - A description of the call. + The type of fake object that is configured. - + - Gets a human readable description of the specified - fake object call. + Configures a call that returns a value and allows the use to + specify validations for arguments. - The call to get a description for. - A description of the call. + The type of the member. - + - Handles configuring of fake objects to delegate all their calls to a wrapped instance. + Configures a call that returns a value. + The type of the member. - + - Manages configuration of fake objects to wrap instances. + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + A function that produces the return value. + A configuration object. - + - Configures the specified faked object to wrap the specified instance. + Configurations for when a configured call is recorded. - The faked object to configure. - The instance to wrap. - The recorder to use, null if no recording should be made. - + - Configures the specified faked object to wrap the specified instance. + Provides configuration from VisualBasic. - The faked object to configure. - The instance to wrap. - The recorder to use, null if no recording should be made. - + - A fake object container where delegates can be registered that are used to - resolve fake objects. + Provides methods for configuring a fake object. + The type of fake object. - + - A container that can create fake objects. + Configures the behavior of the fake object when a call that matches the specified + call happens. + The type of the return value of the member. + An expression that specifies the calls to configure. + A configuration object. - + - Handles global configuration of fake object. + Configures the behavior of the fake object when a call that matches the specified + call happens. + An expression that specifies the calls to configure. + A configuration object. - + - Applies base configuration to a fake object. + Configures the behavior of the fake object when a call is made to any method on the + object. - The type the fake object represents. - The fake object to configure. + A configuration object. - + - Creates a dummy object of the specified type using the specified arguments if it's - supported by the container, returns a value indicating if it's supported or not. + A call rule that has been recorded. - The type of dummy object to create. - The dummy object that was created if the method returns true. - True if a dummy object can be created. - + - Initializes a new instance of the class. - Creates a new instance of the DelegateFakeObjectContainer. + A call rule that "sits and waits" for the next call, when + that call occurs the recorded rule is added for that call. + The type of the fake. - + - Creates a fake object of the specified type using the specified arguments if it's - supported by the container, returns a value indicating if it's supported or not. + Provides access to a set of calls and a call matcher for these calls. - The type of dummy object to create. - The fake object that was created if the method returns true. - True if a fake object can be created. - + - Configures the fake. + Provides access to a call matcher. - The type of fake. - The fake object. - + - Registers the specified fake delegate. + Gets a call predicate that can be used to check if a fake object call matches + the specified constraint. - The type of the return value of the method that encapsulates. - The fake delegate. - + - A IFakeObjectContainer implementation that uses MEF to load IFakeDefinitions and - IFakeConfigurations. + Gets the set of calls. - + - Initializes a new instance of the class. + Represents a delegate that creates a configuration object from + a fake object and the rule to build. - The dummy definitions. - The fake configurators. + The rule that's being built. + The fake object the rule is for. + A configuration object. - + - Creates a fake object of the specified type using the specified arguments if it's - supported by the container, returns a value indicating if it's supported or not. + Represents a predicate that matches a fake object call. - The type of fake object to create. - The fake object that was created if the method returns true. - True if a fake object can be created. - + - Applies base configuration to a fake object. + Gets a value indicating whether the call matches the predicate. - The type the fake object represents. - The fake object to configure. + The call to match. + True if the call matches the predicate. - + - An exception that is thrown when there was an error creating a fake object. + Provides configuration of faked objects. - + - Initializes a new instance of the class. + Gets a configuration for the specified faked object. + The type of the fake. + The faked object to configure. + A configuration object. + The specified object is not a faked object. + The fakedObject parameter was null. - + - Initializes a new instance of the class. + Represents an argument and a dummy value to use for that argument. - The message. - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The message. - The inner exception. + A value indicating if the dummy value was successfully resolved. + The type of argument. + The resolved value. - + - Initializes a new instance of the class. + Gets a value indicating whether a dummy argument value was successfully + resolved. - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - Auto fake property rule. + - The central point in the API for proxied fake objects handles interception - of fake object calls by using a set of rules. User defined rules can be inserted - by using the AddRule-method. + Gets the type of the argument. - Event rule. - Object member rule. - Property behavior rule. - Property setter rule. - + - Initializes a new instance of the class. + Gets the resolved value. - + - Adds a call rule to the fake object. + Holds a formatter as well as the distance between a type to be formatted + and the type for which the formatted is registered. - The rule to add. - + - Adds a call rule last in the list of user rules, meaning it has the lowest priority possible. + Represents an event that happens when a call has been intercepted by a proxy. - The rule to add. - + - Removes the specified rule for the fake object. + Initializes a new instance of the class. - The rule to remove. + The call. - + - Adds an interception listener to the manager. + Gets the call that was intercepted. - The listener to add. + The call. - + - Removes any specified user rules. + Keeps track of metadata for interceptions. - + - Gets the faked object. + Gets whether the rule has been called the number of times specified or not. + True if the rule has not been called the number of times specified. - + - Gets the faked type. + Gets or sets the number of times the rule has been used. - + - Gets the interceptions that are currently registered with the fake object. + Gets or sets the rule this metadata object is tracking. - + - Gets a collection of all the calls made to the fake object within the current scope. + Manages attaching of argument constraints. + The type of argument to constrain. - + - A delegate responsible for creating FakeObject instances. + Constrains the argument with a predicate. - An instance of . + The predicate that should constrain the argument. + An action that will be write a description of the constraint. + A dummy argument value. - + - Represents a call to a fake object at interception time. + Inverts the logic of the matches method. - + - Represents a fake object call that can be edited. + Validates an argument, checks that it's valid in a specific fake call. - + - Represents a call to a fake object. + Writes a description of the argument constraint to the specified writer. + + The writer. + - + - Gets the method that's called. + Gets whether the argument is valid. + The argument to validate. + True if the argument is valid. - + - Gets the arguments used in the call. + Default implementation of . - + - Gets the faked object the call is performed on. + Attaches a fake manager to the proxy so that intercepted + calls can be configured. - + - Sets the return value of the call. + Attaches a to the specified proxy, listening to + the event raiser. - The return value to set. + The type of the fake object proxy. + The proxy to attach to. + The event raiser to listen to. - + - Calls the base method of the faked type. + Gets the fake manager associated with the proxy. + The proxy to get the manager from. + A fake manager. - + - Sets the value of the argument at the specified index in the parameters list. + Attaches a to the specified proxy, listening to + the event raiser. - The index of the argument to set the value of. - The value to set to the argument. + The type of the fake object proxy. + The proxy to attach to. + The event raiser to listen to. - + - Freezes the call so that it can no longer be modified. + Gets the fake manager associated with the proxy. - A completed fake object call. + The proxy to get the manager from. + A fake manager. - + - Sets that the call should not be recorded by the fake manager. + Represents an object that can be tagged with another object. When implemented + by a proxy returned from an FakeItEasy uses the tag + to store a reference to the that handles that proxy. - + - Represents a scope for fake objects, calls configured within a scope - are only valid within that scope. Only calls made within a scope - are accessible from within a scope so for example asserts will only - assert on those calls done within the scope. + Gets or sets the tag. - + - Provides access to all calls made to fake objects within a scope. - Scopes calls so that only calls made within the scope are visible. + The default implementation of the IFakeObjectCallFormatter interface. - + - Creates a new scope and sets it as the current scope. + Provides string formatting for fake object calls. - The created scope. - + - Creates a new scope and sets it as the current scope, using the specified - container as the container for the new scope. + Gets a human readable description of the specified + fake object call. - The container to use for the new scope. - The created scope. + The call to get a description for. + A description of the call. - + - Closes the scope. + Gets a human readable description of the specified + fake object call. + The call to get a description for. + A description of the call. - + - Adds an intercepted call to the current scope. + Handles configuring of fake objects to delegate all their calls to a wrapped instance. - The fake object. - The call that is intercepted. - + - Adds a fake object call to the current scope. + Manages configuration of fake objects to wrap instances. - The fake object. - The rule to add. - + - Represents a completed call to a fake object. + Configures the specified faked object to wrap the specified instance. + The faked object to configure. + The instance to wrap. + The recorder to use, null if no recording should be made. - + - Gets the value set to be returned from the call. + Configures the specified faked object to wrap the specified instance. + The faked object to configure. + The instance to wrap. + The recorder to use, null if no recording should be made. - + - Used by the event raising rule of fake objects to get the event arguments used in - a call to Raise.With. + A fake object container where delegates can be registered that are used to + resolve fake objects. - + - Gets the sender of the event. + A container that can create fake objects. - + - Gets the event arguments of the event. + Handles global configuration of fake object. - + - Represents a listener for fake object calls, can be plugged into a - FakeManager instance to listen to all intercepted calls. + Applies base configuration to a fake object. - The OnBeforeCallIntercepted method will be invoked before the OnBeforeCallIntercepted method of any - previously added listener. The OnAfterCallIntercepted method will be invoked after the OnAfterCallIntercepted - method of any previously added listener. + The type the fake object represents. + The fake object to configure. - + - Called when the interception begins but before any call rules - has been applied. + Creates a dummy object of the specified type using the specified arguments if it's + supported by the container, returns a value indicating if it's supported or not. - The intercepted call. + The type of dummy object to create. + The dummy object that was created if the method returns true. + True if a dummy object can be created. - + - Called when the interception has been completed and rules has been - applied. + Initializes a new instance of the class. + Creates a new instance of the DelegateFakeObjectContainer. - The intercepted call. - The rule that was applied to the call. - + - Handles comparisons of instances of . + Creates a fake object of the specified type using the specified arguments if it's + supported by the container, returns a value indicating if it's supported or not. + The type of dummy object to create. + The fake object that was created if the method returns true. + True if a fake object can be created. - + - Gets a value indicating whether the two instances of would invoke the same method - if invoked on an instance of the target type. + Configures the fake. - The type of target for invocation. - The first . - The second . - True if the same method would be invoked. + The type of fake. + The fake object. - + - A null implementation for the IFakeObjectContainer interface. + Registers the specified fake delegate. + The type of the return value of the method that encapsulates. + The fake delegate. - - - Always returns false and sets the fakeObject to null. - - The type of dummy object to create. - Output variable for the fake object that will always be set to null. - Always return false. - - + - Applies base configuration to a fake object. + A IFakeObjectContainer implementation that uses MEF to load IFakeDefinitions and + IFakeConfigurations. - The type the fake object represents. - The fake object to configure. - + - Provides instances from type catalogues. + Initializes a new instance of the class. + The dummy definitions. + The fake configurators. - + - Gets an instance per type in the catalogue that is a descendant - of the specified type. + Creates a fake object of the specified type using the specified arguments if it's + supported by the container, returns a value indicating if it's supported or not. - The type of instances to get. - A sequence of instances of the specified type. + The type of fake object to create. + The fake object that was created if the method returns true. + True if a fake object can be created. - + - A call rule that applies to any call and just delegates the - call to the wrapped object. + Applies base configuration to a fake object. + The type the fake object represents. + The fake object to configure. - + - Initializes a new instance of the class. - Creates a new instance. + An exception that is thrown when there was an error creating a fake object. - - The object to wrap. - - + - Gets whether this interceptor is applicable to the specified - call, if true is returned the Apply-method of the interceptor will - be called. + Initializes a new instance of the class. - The call to check for applicability. - True if the interceptor is applicable. - + - Applies an action to the call, might set a return value or throw - an exception. + Initializes a new instance of the class. - The call to apply the interceptor to. + The message. - + - Gets the number of times this call rule is valid, if it's set - to null its infinitely valid. + Initializes a new instance of the class. - + The message. + The inner exception. - + + Auto fake property rule. - An interface to be implemented by classes that can generate proxies for FakeItEasy. + The central point in the API for proxied fake objects handles interception + of fake object calls by using a set of rules. User defined rules can be inserted + by using the AddRule-method. + Event rule. + Object member rule. + Property behavior rule. + Property setter rule. - + - Generates a proxy of the specified type and returns a result object containing information - about the success of the generation and the proxy if it was generated. + Initializes a new instance of the class. - The type of proxy to generate. - Interfaces to be implemented by the proxy. - Arguments to pass to the constructor of the type in . - The custom attribute builders. - A result containing the generated proxy. - + - Generates a proxy of the specified type and returns a result object containing information - about the success of the generation and the proxy if it was generated. + Adds a call rule to the fake object. - The type of proxy to generate. - Interfaces to be implemented by the proxy. - Arguments to pass to the constructor of the type in . - A result containing the generated proxy. + The rule to add. - + - Gets a value indicating whether the specified member can be intercepted by the proxy generator. + Adds a call rule last in the list of user rules, meaning it has the lowest priority possible. - The member to test. - The instance the method will be called on. - The reason the method can not be intercepted. - True if the member can be intercepted. + The rule to add. - + - An object that raises an event every time a call to a proxy has been intercepted. + Removes the specified rule for the fake object. + The rule to remove. - + - Raised when a call is intercepted. + Adds an interception listener to the manager. + The listener to add. - + - An adapter that adapts an to a . + Removes any specified user rules. - + - Initializes a new instance of the class. + Gets the faked object. - The invocation. - + - Freezes the call so that it can no longer be modified. + Gets the faked type. - A completed fake object call. - + - Calls the base method, should not be used with interface types. + Gets the interceptions that are currently registered with the fake object. - + - Sets the specified value to the argument at the specified index. + Gets a collection of all the calls made to the fake object within the current scope. - The index of the argument to set the value to. - The value to set to the argument. - + - Sets the return value of the call. + A delegate responsible for creating FakeObject instances. - The return value. + An instance of . - + - Returns a description of the call. + Represents a call to a fake object at interception time. - - A that represents this instance. - - + - Gets a human readable description of the call. + Represents a fake object call that can be edited. - - + - Gets the value set to be returned from the call. + Represents a call to a fake object. - + Gets the method that's called. - + Gets the arguments used in the call. - + Gets the faked object the call is performed on. - + - A strongly-typed resource class, for looking up localized strings, etc. + Sets the return value of the call. + The return value to set. - + - Returns the cached ResourceManager instance used by this class. + Calls the base method of the faked type. - + - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. + Sets the value of the argument at the specified index in the parameters list. + The index of the argument to set the value of. + The value to set to the argument. - + - Looks up a localized string similar to No constructor matches the passed arguments for constructor.. + Freezes the call so that it can no longer be modified. + A completed fake object call. - + - Looks up a localized string similar to Arguments for constructor specified for interface type.. + Sets that the call should not be recorded by the fake manager. - + - Looks up a localized string similar to The type of proxy "{0}" is sealed.. + Attempts to preserve the stack trace of an existing exception when rethrown via throw or throw ex. + Nicked from + http://weblogs.asp.net/fmarguerie/archive/2008/01/02/rethrowing-exceptions-and-preserving-the-full-call-stack-trace.aspx. + If reduced trust context (for example) precludes + invoking internal members on , the stack trace will not be preserved. + + The exception whose stack trace needs preserving. - + - Looks up a localized string similar to The type of proxy must be an interface or a class but it was {0}.. + Represents a scope for fake objects, calls configured within a scope + are only valid within that scope. Only calls made within a scope + are accessible from within a scope so for example asserts will only + assert on those calls done within the scope. - + - Looks up a localized string similar to No default constructor was found on the type {0}.. + Provides access to all calls made to fake objects within a scope. + Scopes calls so that only calls made within the scope are visible. - + - The default implementation of the IFakeAndDummyManager interface. + Creates a new scope and sets it as the current scope. + The created scope. - + - Handles the creation of fake and dummy objects. + Creates a new scope and sets it as the current scope, using the specified + container as the container for the new scope. + The container to use for the new scope. + The created scope. - + - Creates a dummy of the specified type. + Closes the scope. - The type of dummy to create. - The created dummy. - The current IProxyGenerator is not able to generate a fake of the specified type and - the current IFakeObjectContainer does not contain the specified type. - + - Creates a fake object of the specified type. + Adds an intercepted call to the current scope. - The type of fake object to generate. - Options for building the fake object. - A fake object. - The current IProxyGenerator is not able to generate a fake of the specified type. + The fake object. + The call that is intercepted. - + - Tries to create a dummy of the specified type. + Adds a fake object call to the current scope. - The type of dummy to create. - Outputs the result dummy when creation is successful. - A value indicating whether the creation was successful. + The fake object. + The rule to add. - + - Tries to create a fake object of the specified type. + Represents a completed call to a fake object. - The type of fake to create. - Options for the creation of the fake. - The created fake object when creation is successful. - A value indicating whether the creation was successful. - + - Default implementation of the IFakeCreator-interface. + Gets the value set to be returned from the call. - + - A facade used by the public API for testability. + Used by the event raising rule of fake objects to get the event arguments used in + a call to Raise.With. + + + + + Gets the sender of the event. + + + + + Gets the event arguments of the event. + + + + + Represents a listener for fake object calls, can be plugged into a + FakeManager instance to listen to all intercepted calls. + + The OnBeforeCallIntercepted method will be invoked before the OnBeforeCallIntercepted method of any + previously added listener. The OnAfterCallIntercepted method will be invoked after the OnAfterCallIntercepted + method of any previously added listener. + + + + Called when the interception begins but before any call rules + has been applied. + + The intercepted call. + + + + Called when the interception has been completed and rules has been + applied. + + The intercepted call. + The rule that was applied to the call. + + + + Handles comparisons of instances of . + + + + + Gets a value indicating whether the two instances of would invoke the same method + if invoked on an instance of the target type. + + The type of target for invocation. + The first . + The second . + True if the same method would be invoked. + + + + A null implementation for the IFakeObjectContainer interface. + + + + + Always returns false and sets the fakeObject to null. + + The type of dummy object to create. + Output variable for the fake object that will always be set to null. + Always return false. + + + + Applies base configuration to a fake object. + + The type the fake object represents. + The fake object to configure. + + + + A call rule that applies to any call and just delegates the + call to the wrapped object. + + + + + Initializes a new instance of the class. + Creates a new instance. + + + The object to wrap. + + + + + Gets whether this interceptor is applicable to the specified + call, if true is returned the Apply-method of the interceptor will + be called. + + The call to check for applicability. + True if the interceptor is applicable. + + + + Applies an action to the call, might set a return value or throw + an exception. + + The call to apply the interceptor to. + + + + Gets the number of times this call rule is valid, if it's set + to null its infinitely valid. + + + + + + An interface to be implemented by classes that can generate proxies for FakeItEasy. + + + + + Generates a proxy of the specified type and returns a result object containing information + about the success of the generation and the proxy if it was generated. + + The type of proxy to generate. + Interfaces to be implemented by the proxy. + Arguments to pass to the constructor of the type in . + The custom attribute builders. + A result containing the generated proxy. + + + + Generates a proxy of the specified type and returns a result object containing information + about the success of the generation and the proxy if it was generated. + + The type of proxy to generate. + Interfaces to be implemented by the proxy. + Arguments to pass to the constructor of the type in . + A result containing the generated proxy. + + + + Gets a value indicating whether the specified member can be intercepted by the proxy generator. + + The member to test. + The instance the method will be called on. + The reason the method can not be intercepted. + True if the member can be intercepted. + + + + An object that raises an event every time a call to a proxy has been intercepted. + + + + + Raised when a call is intercepted. + + + + + An adapter that adapts an to a . + + + + + Initializes a new instance of the class. + + The invocation. + + + + Freezes the call so that it can no longer be modified. + + A completed fake object call. + + + + Calls the base method, should not be used with interface types. + + + + + Sets the specified value to the argument at the specified index. + + The index of the argument to set the value to. + The value to set to the argument. + + + + Sets the return value of the call. + + The return value. + + + + Returns a description of the call. + + + A that represents this instance. + + + + + Gets a human readable description of the call. + + + + + + Gets the value set to be returned from the call. + + + + + Gets the method that's called. + + + + + Gets the arguments used in the call. + + + + + Gets the faked object the call is performed on. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to No constructor matches the passed arguments for constructor.. + + + + + Looks up a localized string similar to Arguments for constructor specified for interface type.. + + + + + Looks up a localized string similar to The type of proxy "{0}" is sealed.. + + + + + Looks up a localized string similar to The type of proxy must be an interface or a class but it was {0}.. + + + + + Looks up a localized string similar to No usable default constructor was found on the type {0}.. + + + + + The default implementation of the IFakeAndDummyManager interface. + + + + + Handles the creation of fake and dummy objects. + + + + + Creates a dummy of the specified type. + + The type of dummy to create. + The created dummy. + The current IProxyGenerator is not able to generate a fake of the specified type and + the current IFakeObjectContainer does not contain the specified type. + + + + Creates a fake object of the specified type. + + The type of fake object to generate. + Options for building the fake object. + A fake object. + The current IProxyGenerator is not able to generate a fake of the specified type. + + + + Tries to create a dummy of the specified type. + + The type of dummy to create. + Outputs the result dummy when creation is successful. + A value indicating whether the creation was successful. + + + + Tries to create a fake object of the specified type. + + The type of fake to create. + Options for the creation of the fake. + The created fake object when creation is successful. + A value indicating whether the creation was successful. + + + + Default implementation of the IFakeCreator-interface. + + + + + A facade used by the public API for testability. @@ -2009,11 +2463,24 @@ Initializes a new instance of the class. Creates a new instance representing a failed proxy - generation attempt. + generation attempt. + + + The reason the proxy generation failed. + + + + + Initializes a new instance of the class. + Creates a new instance representing a failed proxy + generation attempt due to an exception being caught. The reason the proxy generation failed. + + The exception thrown from the creation attempt. + @@ -2235,756 +2702,353 @@ - Looks up a localized string similar to Can not generate fake object for the class since no default constructor was found, specify a constructor call.. + Looks up a localized string similar to Can not generate fake object for the class since no usable default constructor was found, specify a constructor call.. - Looks up a localized string similar to All the recorded calls has been applied, the recorded sequence is no longer valid.. - - - - - Looks up a localized string similar to Only expression of the type ExpressionType.New (constructor calls) are accepted.. - - - - - Looks up a localized string similar to The Now-method on the event raise is not meant to be called directly, only use it to register to an event on a fake object that you want to be raised.. - - - - - Looks up a localized string similar to The number of values for out and ref parameters specified does not match the number of out and ref parameters in the call.. - - - - - Looks up a localized string similar to A scope for ordered assertions is already opened, close that scope before opening another one.. - - - - - Looks up a localized string similar to The specified call is not made on a fake object.. - - - - - Looks up a localized string similar to The current fake proxy generator can not create proxies of the type {0}.. - - - - - Looks up a localized string similar to FakeItEasy was unable to create dummy of type "{0}", register it in the current IFakeObjectContainer to enable this.. - - - - - Looks up a localized string similar to Expected to find call {0} the number of times specified by the predicate '{1}' but found it {2} times among the calls:. - - - - - Looks up a localized string similar to The number of argument names does not match the number of arguments.. - - - - - An exception thrown when an expectation is not met (when asserting on fake object calls). - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - - - - Represents a class that can parse a lambda expression - that represents a method or property call. - - - - - Parses the specified expression. - - The expression to parse. - The parsed expression. - - - - Handles the matching of fake object calls to expressions. - - - - - Initializes a new instance of the class. - - The call specification. - The constraint factory. - The method info manager to use. - A parser to use to parse call expressions. - - - - Matches the specified call against the expression. - - The call to match. - True if the call is matched by the expression. - - - - Gets a description of the call. - - Description of the call. - - - - Gets a human readable description of calls that will be matched by this - matcher. - - - - - An implementation of the interface that uses - expressions for evaluating if the rule is applicable to a specific call. - - - - - Initializes a new instance of the class. - - The expression matcher to use. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Handles the instantiation of ExpressionCallRule instance. - - An expression specifying the call. - A rule instance. - - - - Manages breaking call specification expression into their various parts. - - - - - Manages breaking call specification expression into their various parts. - - - - - Gets the fake object an expression is called on. - - The call expression. - The FakeManager instance that manages the faked object the call is made on. - The fakeObjectCall is null. - The specified expression is not an expression where a call is made to a faked object. - - - - Gets the fake object an expression is called on. - - The call expression. - A FakeObject. - The fakeObjectCall is null. - The specified expression is not an expression where a call is made to a faked object. - - - - Provides extension methods for configuring and asserting on faked objects - without going through the static methods of the Fake-class. - - - - - Configures the behavior of the fake object when a call that matches the specified - call happens. - - The type of fake object to configure. - The type of the return value of the member. - The faked object to configure. - An expression that specifies the calls to configure. - A configuration object. - - - - Configures the behavior of the fake object when a call that matches the specified - call happens. - - The faked object to configure. - The type of fake object to configure. - An expression that specifies the calls to configure. - A configuration object. - - - - Configures the behavior of the fake object when a call is made to any method on the - object. - - The type of the fake. - The faked object. - A configuration object. - - - - Provides an extension method for configuring fake objects. - - - - - Gets an object that provides a fluent interface syntax for configuring - the fake object. - - The type of the fake object. - The fake object to configure. - A configuration object. - The fakedObject was null. - The object passed in is not a faked object. - - - - Provides static methods for accessing fake objects. - - - - - Gets the fake object that manages the faked object. - - The faked object to get the manager object for. - The fake object manager. - - - - Creates a new scope and sets it as the current scope. When inside a scope the - getting the calls made to a fake will return only the calls within that scope and when - asserting that calls were made, the calls must have been made within that scope. - - The created scope. - - - - Creates a new scope and sets it as the current scope. When inside a scope the - getting the calls made to a fake will return only the calls within that scope and when - asserting that calls were made, the calls must have been made within that scope. - - The container to use within the specified scope. - The created scope. - - - - Gets a value indicating whether the two objects are equal. + Looks up a localized string similar to All the recorded calls has been applied, the recorded sequence is no longer valid.. - The first object to compare. - The second object to compare. - True if the two objects are equal. - + - Gets a value indicating whether the two objects are the same reference. + Looks up a localized string similar to Only expression of the type ExpressionType.New (constructor calls) are accepted.. - The object A. - The object B. - True if the objects are the same reference. - + - Gets all the calls made to the specified fake object. + Looks up a localized string similar to The Now-method on the event raise is not meant to be called directly, only use it to register to an event on a fake object that you want to be raised.. - The faked object. - A collection containing the calls to the object. - The object passed in is not a faked object. - + - Clears the configuration of the faked object. + Looks up a localized string similar to The number of values for out and ref parameters specified does not match the number of out and ref parameters in the call.. - The faked object to clear the configuration of. - + - Sets a new fake to each property or field that is tagged with the FakeAttribute in the specified - fixture. + Looks up a localized string similar to A scope for ordered assertions is already opened, close that scope before opening another one.. - The object to initialize. - + - Represents a fake object that provides an API for configuring a faked object, exposed by the - FakedObject-property. + Looks up a localized string similar to The specified call is not made on a fake object.. - The type of the faked object. - + - Initializes a new instance of the class. - Creates a new fake object. + Looks up a localized string similar to The current fake proxy generator can not create proxies of the type {0}.. - + - Initializes a new instance of the class. - Creates a new fake object using the specified options. + Looks up a localized string similar to FakeItEasy was unable to create dummy of type "{0}", register it in the current IFakeObjectContainer to enable this.. - - Options used to create the fake object. - - + - Configures calls to the specified member. + Looks up a localized string similar to Expected to find call {0} the number of times specified by the predicate '{1}' but found it {2} times among the calls:. - An expression specifying the call to configure. - A configuration object. - + - Configures calls to the specified member. + Looks up a localized string similar to The number of argument names does not match the number of arguments.. - The type of value the member returns. - An expression specifying the call to configure. - A configuration object. - + - Configures any call to the fake object. + An exception thrown when an expectation is not met (when asserting on fake object calls). - A configuration object. - + - Gets the faked object. + Initializes a new instance of the class. - + - Gets all calls made to the faked object. + Initializes a new instance of the class. + The message. - + - Used to tag fields and properties that will be initialized through the - Fake.Initialize-method. + Initializes a new instance of the class. + The message. + The inner exception. - + - Provides the base implementation for the IFakeConfigurator-interface. + Represents a class that can parse a lambda expression + that represents a method or property call. - The type of fakes the configurator can configure. - + - Provides configurations for fake objects of a specific type. + Parses the specified expression. + The expression to parse. + The parsed expression. - + - Applies the configuration for the specified fake object. + Handles the matching of fake object calls to expressions. - The fake object to configure. - + - Gets the type the instance provides configuration for. + Initializes a new instance of the class. + The call specification. + The constraint factory. + The method info manager to use. + A parser to use to parse call expressions. - + - Configures the fake. + Matches the specified call against the expression. - The fake object. + The call to match. + True if the call is matched by the expression. - + - Applies the configuration for the specified fake object. + Gets a description of the call. - The fake object to configure. + Description of the call. - + - Asserts the type of the that fake is of correct. + Gets a human readable description of calls that will be matched by this + matcher. - The fake object. - + - Gets the type the instance provides configuration for. + An implementation of the interface that uses + expressions for evaluating if the rule is applicable to a specific call. - - + - Provides extension methods for fake objects. + Initializes a new instance of the class. + The expression matcher to use. - + - Specifies NumberOfTimes(1) to the IRepeatConfiguration{TFake}. + Returns a that represents this instance. - The configuration to set repeat 1 to. + + A that represents this instance. + - + - Specifies NumberOfTimes(2) to the IRepeatConfiguration{TFake}. + Handles the instantiation of ExpressionCallRule instance. - The configuration to set repeat 2 to. + An expression specifying the call. + A rule instance. - + - Specifies that a call to the configured call should be applied no matter what arguments - are used in the call to the faked object. + Manages breaking call specification expression into their various parts. - The type of the interface. - The configuration. - A configuration object. - + - Filters to contain only the calls that matches the call specification. + Manages breaking call specification expression into their various parts. - The type of fake the call is made on. - The calls to filter. - The call to match on. - A collection of the calls that matches the call specification. - + - Asserts that the specified call must have happened once or more. + Gets the fake object an expression is called on. - The configuration to assert on. + The call expression. + The FakeManager instance that manages the faked object the call is made on. + The fakeObjectCall is null. + The specified expression is not an expression where a call is made to a faked object. - + - Asserts that the specified has not happened. + Gets the fake object an expression is called on. - The configuration to assert on. + The call expression. + A FakeObject. + The fakeObjectCall is null. + The specified expression is not an expression where a call is made to a faked object. - + - Configures the call to return the next value from the specified sequence each time it's called. Null will - be returned when all the values in the sequence has been returned. + Provides static methods for accessing fake objects. - - The type of return value. - - - The call configuration to extend. - - - The values to return in sequence. - - + - Specifies the value to return when the configured call is made. + Gets the fake object that manages the faked object. - The type of the return value. - The configuration to extend. - The value to return. - A configuration object. + The faked object to get the manager object for. + The fake object manager. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Creates a new scope and sets it as the current scope. When inside a scope the + getting the calls made to a fake will return only the calls within that scope and when + asserting that calls were made, the calls must have been made within that scope. - The type of the return value. - The configuration to extend. - A function that produces the return value. - A configuration object. + The created scope. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Creates a new scope and sets it as the current scope. When inside a scope the + getting the calls made to a fake will return only the calls within that scope and when + asserting that calls were made, the calls must have been made within that scope. - The type of the return value. - Type of the first argument of the faked method call. - The configuration to extend. - A function that produces the return value. - A configuration object. - The signatures of the faked method and the do not match. + The container to use within the specified scope. + The created scope. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Gets a value indicating whether the two objects are equal. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + The first object to compare. + The second object to compare. + True if the two objects are equal. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Gets a value indicating whether the two objects are the same reference. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + The object A. + The object B. + True if the objects are the same reference. + + + + Gets all the calls made to the specified fake object. + + The faked object. + A collection containing the calls to the object. + The object passed in is not a faked object. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Clears the configuration of the faked object. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + The faked object to clear the configuration of. - + - Writes the calls in the collection to the specified text writer. + Sets a new fake to each property or field that is tagged with the FakeAttribute in the specified + fixture. - The type of the calls. - The calls to write. - The writer to write the calls to. + The object to initialize. - + - Writes all calls in the collection to the console. + Represents a fake object that provides an API for configuring a faked object, exposed by the + FakedObject-property. - The type of the calls. - The calls to write. + The type of the faked object. - + - Gets the argument at the specified index in the arguments collection - for the call. + Initializes a new instance of the class. + Creates a new fake object. - The type of the argument to get. - The call to get the argument from. - The index of the argument. - The value of the argument with the specified index. - + - Gets the argument with the specified name in the arguments collection - for the call. + Initializes a new instance of the class. + Creates a new fake object using the specified options. - The type of the argument to get. - The call to get the argument from. - The name of the argument. - The value of the argument with the specified name. + + Options used to create the fake object. + - + - Makes the fake strict, this means that any call to the fake - that has not been explicitly configured will throw an exception. + Configures calls to the specified member. - The type of fake object. - The configuration. + An expression specifying the call to configure. A configuration object. - + - Applies a predicate to constrain which calls will be considered for interception. + Configures calls to the specified member. - - The return type of the where method. - - - The configuration object to extend. - - - A predicate for a fake object call. - - to the output. - - The configuration object. - + The type of value the member returns. + An expression specifying the call to configure. + A configuration object. - + - Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed. + Configures any call to the fake object. - The type of fake object. - The configuration that is extended. - The to invoke. - The fake object. + A configuration object. - + - Executes the specified action when a matching call is being made. + Gets the faked object. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. - + - Executes the specified action when a matching call is being made. + Gets all calls made to the faked object. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. - + - Executes the specified action when a matching call is being made. + Used to tag fields and properties that will be initialized through the + Fake.Initialize-method. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. - + - Executes the specified action when a matching call is being made. + Provides the base implementation for the IFakeConfigurator-interface. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. + The type of fakes the configurator can configure. - + - Throws the specified exception when the currently configured - call gets called. + Provides configurations for fake objects of a specific type. - The configuration to use. - The exception to throw when a call that matches is invoked. - Configuration object. - + - Throws the specified exception when the currently configured - call gets called. + Applies the configuration for the specified fake object. - The configuration to use. - A function that returns the exception to throw when invoked. - Configuration object. + The fake object to configure. - + - Throws the specified exception when the currently configured - call gets called. + Gets the type the instance provides configuration for. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. - + - Throws the specified exception when the currently configured - call gets called. + Configures the fake. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The fake object. - + - Throws the specified exception when the currently configured - call gets called. + Applies the configuration for the specified fake object. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The fake object to configure. - + - Throws the specified exception when the currently configured - call gets called. + Asserts the type of the that fake is of correct. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The fake object. - + - Throws the specified exception when the currently configured - call gets called. + Gets the type the instance provides configuration for. - The configuration to use. - The type of exception to throw. - Configuration object. + @@ -2999,12 +3063,10 @@ Name of the argument. The specified argument was null. - + - Gets the value produced by the specified expression when compiled and invoked. + When applied to a parameter, this attribute provides an indication to code analysis that the argument has been null checked. - The expression to get the value from. - The value produced by the expression. @@ -3118,35 +3180,6 @@ The calls to assert among. A disposable used to close the scope. - - - Provides static methods for the IOutputWriter-interface. - - - - - Writes a new line to the writer. - - The writer to write to. - The writer. - - - - Writes the format string to the writer. - - The writer to write to. - The format string to write. - Replacements for the format string. - The writer. - - - - Writes the specified object to the writer (using the ToString-method of the object). - - The writer to write to. - The value to write to the writer. - The writer. - Allows the developer to raise an event on a faked object. @@ -3206,13 +3239,6 @@ Provides methods for creating recorders for self initializing fakes. - - - Gets a recorder that records to and loads calls from the specified file. - - The file to use for recording. - A recorder instance. - Provides syntax for specifying the number of times a call must have been repeated when asserting on @@ -3320,35 +3346,6 @@ The calls to save. - - - Initializes a new instance of the class. - - Name of the file. - The file system. - - - - Loads the recorded calls for the specified recording. - - - The recorded calls for the recording with the specified id. - - - - - Saves the specified calls as the recording with the specified id, - overwriting any previous recording. - - The calls to save. - - - - A factory responsible for creating instances of FileStorage. - - The file name of the storage. - A FileStorage instance. - An interface for recorders that provides stored responses for self initializing fakes. @@ -3395,19 +3392,6 @@ The message. The inner exception. - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - The parameter is null. - - - The class name is null or is zero (0). - - Manages the applying of recorded calls and recording of new calls when @@ -3503,5 +3487,22 @@ Used to tag fields and properties that will be initialized as a SUT through the Fake.Initialize-method. + + + Provides helper methods for checking the value producer signature against call signatures. + + + + + Fixes so that existing Serializable-attributes are omitted in the compilation + of the silverlight project. + + + + + Fixes so that existing NonSerialized-attributes are omitted in the compilation + of the silverlight project. + + diff --git a/packages/FakeItEasy.1.18.0/lib/win8/FakeItEasy.dll b/packages/FakeItEasy.1.18.0/lib/win8/FakeItEasy.dll new file mode 100644 index 0000000..83ea1bd Binary files /dev/null and b/packages/FakeItEasy.1.18.0/lib/win8/FakeItEasy.dll differ diff --git a/packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.xml b/packages/FakeItEasy.1.18.0/lib/win8/FakeItEasy.xml similarity index 91% rename from packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.xml rename to packages/FakeItEasy.1.18.0/lib/win8/FakeItEasy.xml index 446b603..3becdbe 100644 --- a/packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.xml +++ b/packages/FakeItEasy.1.18.0/lib/win8/FakeItEasy.xml @@ -205,12 +205,12 @@ The index of the argument to get. The argument at the specified index. - + Provides validation extensions for . - + Constrains an argument so that it must be null (Nothing in VB). @@ -218,7 +218,7 @@ The constraint manager to match the constraint. A dummy argument value. - + Constrains the string argument to contain the specified text. @@ -226,7 +226,7 @@ The string the argument string should contain. A dummy argument value. - + Constrains the sequence so that it must contain the specified value. @@ -235,7 +235,7 @@ The type of sequence. A dummy argument value. - + Constrains the string so that it must start with the specified value. @@ -243,7 +243,7 @@ The value the string should start with. A dummy argument value. - + Constrains the string so that it must end with the specified value. @@ -251,14 +251,14 @@ The value the string should end with. A dummy argument value. - + Constrains the string so that it must be null or empty. The constraint manager to match the constraint. A dummy argument value. - + Constrains argument value so that it must be greater than the specified value. @@ -267,7 +267,7 @@ The type of argument to constrain. A dummy argument value. - + The tested argument collection should contain the same elements as the as the specified collection. @@ -277,7 +277,7 @@ The type of argument to constrain. A dummy argument value. - + Tests that the IEnumerable contains no items. @@ -285,7 +285,7 @@ The constraint manager to match the constraint. A dummy argument value. - + Tests that the passed in argument is equal to the specified value. @@ -294,7 +294,16 @@ The value to compare to. A dummy argument value. - + + + Tests that the passed in argument is the same instance (reference) as the specified value. + + The type of the argument. + The constraint manager to match the constraint. + The reference to compare to. + A dummy argument value. + + Constrains the argument to be of the specified type. @@ -303,7 +312,7 @@ The type to constrain the argument with. A dummy value. - + Constrains the argument with a predicate. @@ -323,7 +332,7 @@ A dummy argument value. - + Constrains the argument with a predicate. @@ -346,7 +355,7 @@ A dummy argument value. - + Constrains the argument with a predicate. @@ -363,7 +372,7 @@ A dummy argument value. - + Constrains the argument to be not null (Nothing in VB) and to match the specified predicate. @@ -375,79 +384,121 @@ to the output. A dummy argument value. - + - Provides string formatting for arguments of type T when written in call lists. + Provides extension methods for . - The type of the arguments which will be formatted by this instance. - + - Provides string formatting for arguments when written in - call lists. + Specifies that a call to the configured call should be applied no matter what arguments + are used in the call to the faked object. + The type of the interface. + The configuration. + A configuration object. - + - Gets a string representing the specified argument value. + Provides extension methods for . - The argument value to get as a string. - A string representation of the value. - + - Gets the type of arguments this formatter works on. + Asserts that the specified call must have happened once or more. + The configuration to assert on. - + - Gets the priority of the formatter, when two formatters are - registered for the same type the one with the highest - priority is used. + Asserts that the specified call has not happened. + The configuration to assert on. - + - Gets a string representing the specified argument value. + Provides extension methods for . - The argument value to get as a string. - A string representation of the value. - + - Gets a string representing the specified argument value. + Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed. - The argument value to get as a string. - A string representation of the value. + The type of fake object. + The configuration that is extended. + The to invoke. + The fake object. - + - Gets the type of arguments this formatter works on. + Executes the specified action when a matching call is being made. + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. - + - Gets the priority of the formatter, when two formatters are - registered for the same type the one with the highest - priority is used. + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. + + + + Executes the specified action when a matching call is being made. + The configuration that is extended. + The to invoke. + The type of fake object. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + The signatures of the faked method and the do not match. + The fake object. - + - Provides extension methods for the common uses. + Provides extension methods for . - + - Replaces the format item in a specified System.String with the text equivalent - of the value of a corresponding System.Object instance in a specified array using - invariant culture as . + Filters to contain only the calls that matches the call specification. - A composite format string. - An array containing zero or more objects to format. - The formatted string. + The type of fake the call is made on. + The calls to filter. + The call to match on. + A collection of the calls that matches the call specification. - + + + Provides extension methods for generic usage of . + + + Gets an enumerable of tuples where the first value of each tuple is a value from the first collection and the second value of each tuple is the value at the same position @@ -459,7 +510,7 @@ The second of the collections to combine. An enumerable of tuples. - + Joins the collection to a string. @@ -469,7 +520,7 @@ Separator to insert between each item. A string representation of the collection. - + Gets a dictionary containing the first element from the sequence that has a key specified by the key selector. @@ -479,129 +530,581 @@ The key selector. A dictionary. - + - Provides the base for rules that can be built using the FakeConfiguration. + Provides the extension methods for . - + - Represents a call rule that has a description of the calls the - rule is applicable to. + Throws the specified exception when the currently configured + call gets called. + The configuration to use. + The exception to throw when a call that matches is invoked. + Configuration object. - + - Allows for intercepting call to a fake object and - act upon them. + Throws the specified exception when the currently configured + call gets called. + The configuration to use. + A function that returns the exception to throw when invoked. + Configuration object. - + - Gets whether this interceptor is applicable to the specified - call, if true is returned the Apply-method of the interceptor will - be called. + Throws the specified exception when the currently configured + call gets called. - The call to check for applicability. - True if the interceptor is applicable. + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. - + - Applies an action to the call, might set a return value or throw - an exception. + Throws the specified exception when the currently configured + call gets called. - The call to apply the interceptor to. + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. - + - Gets the number of times this call rule is valid, if it's set - to null its infinitely valid. + Throws the specified exception when the currently configured + call gets called. + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. - + - Writes a description of calls the rule is applicable to. + Throws the specified exception when the currently configured + call gets called. - The writer. + The configuration to use. + A function that returns the exception to throw when invoked. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + Configuration object. + The signatures of the faked method and the do not match. - + - Gets if this rule is applicable to the specified call. + Throws the specified exception when the currently configured + call gets called. - The call to validate. - True if the rule applies to the call. + The configuration to use. + The type of exception to throw. + Configuration object. - + - Writes a description of calls the rule is applicable to. + Provides extension methods for . - The writer to write the description to. - + - Gets or sets an action that is called by the Apply method to apply this - rule to a fake object call. + Evaluates an expression by compiling it into a delegate and invoking the delegate. + The expression to be evaluated. + The value returned from the delegate compiled from the expression. - + - Gets a collection of actions that should be invoked when the configured - call is made. + Provides extension methods for configuring and asserting on faked objects + without going through the static methods of the Fake-class. - + - Gets or sets values to apply to output and reference variables. + Configures the behavior of the fake object when a call that matches the specified + call happens. + The type of fake object to configure. + The type of the return value of the member. + The faked object to configure. + An expression that specifies the calls to configure. + A configuration object. - + - Gets or sets a value indicating whether the base method of the fake object call should be - called when the fake object call is made. + Configures the behavior of the fake object when a call that matches the specified + call happens. + The faked object to configure. + The type of fake object to configure. + An expression that specifies the calls to configure. + A configuration object. - + - Gets or sets the number of times the configured rule should be used. + Configures the behavior of the fake object when a call is made to any method on the + object. + The type of the fake. + The faked object. + A configuration object. - + - Gets a description of calls the rule is applicable to. + Provides an extension method for configuring fake objects. - - + - Configuration for any call to a faked object. + Gets an object that provides a fluent interface syntax for configuring + the fake object. + The type of the fake object. + The fake object to configure. + A configuration object. + The fakedObject was null. + The object passed in is not a faked object. - + - Provides a way to configure predicates for when a call should be applied. + Provides extension methods for . - The type of fake object that is going to be configured.. - + - Applies a predicate to constrain which calls will be considered for interception. + Gets the argument at the specified index in the arguments collection + for the call. - A predicate for a fake object call. - An action that writes a description of the predicate - to the output. - The configuration object. + The type of the argument to get. + The call to get the argument from. + The index of the argument. + The value of the argument with the specified index. - + - Provides configuration methods for methods that does not have a return value and - allows the use to specify validations for arguments. + Gets the argument with the specified name in the arguments collection + for the call. + The type of the argument to get. + The call to get the argument from. + The name of the argument. + The value of the argument with the specified name. - + - Provides configuration methods for methods that does not have a return value. + Writes the calls in the collection to the specified output writer. - + The type of the calls. + The calls to write. + The writer to write the calls to. + + + + Writes all calls in the collection to the console. + + The type of the calls. + The calls to write. + + + + Gets the description of a call to a fake object. + + The call to describe. + A description of the call. + + + + Provides extension methods for . + + + + + Makes the fake strict, this means that any call to the fake + that has not been explicitly configured will throw an exception. + + The type of fake object. + The configuration. + A configuration object. + + + + Provides extension methods for . + + + + + Provides extensions for . + + + + + Writes a new line to the writer. + + The writer to write to. + The writer. + + + + Writes the format string to the writer. + + The writer to write to. + The format string to write. + Replacements for the format string. + The writer. + + + + Writes the specified object to the writer (using the ToString-method of the object). + + The writer to write to. + The value to write to the writer. + The writer. + + + + Provides extensions for . + + + + + Specifies NumberOfTimes(1) to the repeat configuration. + + The configuration to set repeat 1 to. + + + + Specifies NumberOfTimes(2) to the repeat configuration. + + The configuration to set repeat 2 to. + + + + Provides extension methods for . + + + + + Specifies the value to return when the configured call is made. + + The type of the return value. + The configuration to extend. + The value to return. + A configuration object. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The type of the return value. + The configuration to extend. + A function that produces the return value. + A configuration object. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The type of the return value. + Type of the first argument of the faked method call. + The configuration to extend. + A function that produces the return value. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Specifies a function used to produce a return value when the configured call is made. + The function will be called each time this call is made and can return different values + each time. + + The configuration to extend. + A function that produces the return value. + The type of the return value. + Type of the first argument of the faked method call. + Type of the second argument of the faked method call. + Type of the third argument of the faked method call. + Type of the fourth argument of the faked method call. + A configuration object. + The signatures of the faked method and the do not match. + + + + Configures the call to return the next value from the specified sequence each time it's called. Null will + be returned when all the values in the sequence has been returned. + + + The type of return value. + + + The call configuration to extend. + + + The values to return in sequence. + + + + + Provides extension methods for . + + + + + Provides extension methods for . + + + + + Replaces the format item in a specified System.String with the text equivalent + of the value of a corresponding System.Object instance in a specified array using + invariant culture as . + + A composite format string. + An array containing zero or more objects to format. + The formatted string. + + + + Provides extension methods for . + + + + + Provides extension methods for . + + + + + Applies a predicate to constrain which calls will be considered for interception. + + The return type of the where method. + The configuration object to extend. + A predicate for a fake object call. + The configuration object. + + + + Provides string formatting for arguments of type T when written in call lists. + + The type of the arguments which will be formatted by this instance. + + + + Provides string formatting for arguments when written in + call lists. + + + + + Gets a string representing the specified argument value. + + The argument value to get as a string. + A string representation of the value. + + + + Gets the type of arguments this formatter works on. + + + + + Gets the priority of the formatter, when two formatters are + registered for the same type the one with the highest + priority is used. + + + + + Gets a string representing the specified argument value. + + The argument value to get as a string. + A string representation of the value. + + + + Gets a string representing the specified argument value. + + The argument value to get as a string. + A string representation of the value. + + + + Gets the type of arguments this formatter works on. + + + + + Gets the priority of the formatter, when two formatters are + registered for the same type the one with the highest + priority is used. + + + + + Provides the base for rules that can be built using the FakeConfiguration. + + + + + Represents a call rule that has a description of the calls the + rule is applicable to. + + + + + Allows for intercepting call to a fake object and + act upon them. + + + + + Gets whether this interceptor is applicable to the specified + call, if true is returned the Apply-method of the interceptor will + be called. + + The call to check for applicability. + True if the interceptor is applicable. + + + + Applies an action to the call, might set a return value or throw + an exception. + + The call to apply the interceptor to. + + + + Gets the number of times this call rule is valid, if it's set + to null its infinitely valid. + + + + + Writes a description of calls the rule is applicable to. + + The writer. + + + + Gets if this rule is applicable to the specified call. + + The call to validate. + True if the rule applies to the call. + + + + Writes a description of calls the rule is applicable to. + + The writer to write the description to. + + + + Gets or sets an action that is called by the Apply method to apply this + rule to a fake object call. + + + + + Gets a collection of actions that should be invoked when the configured + call is made. + + + + + Gets or sets values to apply to output and reference variables. + + + + + Gets or sets a value indicating whether the base method of the fake object call should be + called when the fake object call is made. + + + + + Gets or sets the number of times the configured rule should be used. + + + + + Gets a description of calls the rule is applicable to. + + + + + + Configuration for any call to a faked object. + + + + + Provides a way to configure predicates for when a call should be applied. + + The type of fake object that is going to be configured.. + + + + Applies a predicate to constrain which calls will be considered for interception. + + A predicate for a fake object call. + An action that writes a description of the predicate + to the output. + The configuration object. + + + + Provides configuration methods for methods that does not have a return value and + allows the use to specify validations for arguments. + + + + + Provides configuration methods for methods that does not have a return value. + + Configuration that lets the developer specify that an exception should be @@ -988,7 +1491,13 @@ - Gets the resolved value. + Gets the resolved value. + + + + + Holds a formatter as well as the distance between a type to be formatted + and the type for which the formatted is registered. @@ -1419,6 +1928,17 @@ Sets that the call should not be recorded by the fake manager. + + + Attempts to preserve the stack trace of an existing exception when rethrown via throw or throw ex. + + Nicked from + http://weblogs.asp.net/fmarguerie/archive/2008/01/02/rethrowing-exceptions-and-preserving-the-full-call-stack-trace.aspx. + If reduced trust context (for example) precludes + invoking internal members on , the stack trace will not be preserved. + + The exception whose stack trace needs preserving. + Represents a scope for fake objects, calls configured within a scope @@ -1741,7 +2261,7 @@ - Looks up a localized string similar to No default constructor was found on the type {0}.. + Looks up a localized string similar to No usable default constructor was found on the type {0}.. @@ -1949,6 +2469,19 @@ The reason the proxy generation failed. + + + Initializes a new instance of the class. + Creates a new instance representing a failed proxy + generation attempt due to an exception being caught. + + + The reason the proxy generation failed. + + + The exception thrown from the creation attempt. + + Initializes a new instance of the class. @@ -2147,765 +2680,375 @@ Looks up a localized string similar to Only abstract classes can be faked using the A.Fake-method that takes an enumerable of objects as arguments for constructor, use the overload that takes an expression instead.. - - - Looks up a localized string similar to The member accessor expression must be a lambda expression with a MethodCallExpression or MemberAccessExpression as its body.. - - - - - Looks up a localized string similar to The specified method can not be configured since it can not be intercepted by the current IProxyGenerator.. - - - - - Looks up a localized string similar to The method of the call did not match the method of the recorded call, the recorded sequence is no longer valid.. - - - - - Looks up a localized string similar to No constructor matching the specified arguments was found on the type {0}.. - - - - - Looks up a localized string similar to Can not generate fake object for the class since no default constructor was found, specify a constructor call.. - - - - - Looks up a localized string similar to All the recorded calls has been applied, the recorded sequence is no longer valid.. - - - - - Looks up a localized string similar to Only expression of the type ExpressionType.New (constructor calls) are accepted.. - - - - - Looks up a localized string similar to The Now-method on the event raise is not meant to be called directly, only use it to register to an event on a fake object that you want to be raised.. - - - - - Looks up a localized string similar to The number of values for out and ref parameters specified does not match the number of out and ref parameters in the call.. - - - - - Looks up a localized string similar to A scope for ordered assertions is already opened, close that scope before opening another one.. - - - - - Looks up a localized string similar to The specified call is not made on a fake object.. - - - - - Looks up a localized string similar to The current fake proxy generator can not create proxies of the type {0}.. - - - - - Looks up a localized string similar to FakeItEasy was unable to create dummy of type "{0}", register it in the current IFakeObjectContainer to enable this.. - - - - - Looks up a localized string similar to Expected to find call {0} the number of times specified by the predicate '{1}' but found it {2} times among the calls:. - - - - - Looks up a localized string similar to The number of argument names does not match the number of arguments.. - - - - - An exception thrown when an expectation is not met (when asserting on fake object calls). - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Represents a class that can parse a lambda expression - that represents a method or property call. - - - - - Parses the specified expression. - - The expression to parse. - The parsed expression. - - - - Handles the matching of fake object calls to expressions. - - - - - Initializes a new instance of the class. - - The call specification. - The constraint factory. - The method info manager to use. - A parser to use to parse call expressions. - - - - Matches the specified call against the expression. - - The call to match. - True if the call is matched by the expression. - - - - Gets a description of the call. - - Description of the call. - - - - Gets a human readable description of calls that will be matched by this - matcher. - - - - - An implementation of the interface that uses - expressions for evaluating if the rule is applicable to a specific call. - - - - - Initializes a new instance of the class. - - The expression matcher to use. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Handles the instantiation of ExpressionCallRule instance. - - An expression specifying the call. - A rule instance. - - - - Manages breaking call specification expression into their various parts. - - - - - Manages breaking call specification expression into their various parts. - - - - - Gets the fake object an expression is called on. - - The call expression. - The FakeManager instance that manages the faked object the call is made on. - The fakeObjectCall is null. - The specified expression is not an expression where a call is made to a faked object. - - - - Gets the fake object an expression is called on. - - The call expression. - A FakeObject. - The fakeObjectCall is null. - The specified expression is not an expression where a call is made to a faked object. - - - - Provides extension methods for configuring and asserting on faked objects - without going through the static methods of the Fake-class. - - - - - Configures the behavior of the fake object when a call that matches the specified - call happens. - - The type of fake object to configure. - The type of the return value of the member. - The faked object to configure. - An expression that specifies the calls to configure. - A configuration object. - - - - Configures the behavior of the fake object when a call that matches the specified - call happens. - - The faked object to configure. - The type of fake object to configure. - An expression that specifies the calls to configure. - A configuration object. - - - - Configures the behavior of the fake object when a call is made to any method on the - object. - - The type of the fake. - The faked object. - A configuration object. - - - - Provides an extension method for configuring fake objects. - - - - - Gets an object that provides a fluent interface syntax for configuring - the fake object. - - The type of the fake object. - The fake object to configure. - A configuration object. - The fakedObject was null. - The object passed in is not a faked object. + + + Looks up a localized string similar to The member accessor expression must be a lambda expression with a MethodCallExpression or MemberAccessExpression as its body.. + - + - Provides static methods for accessing fake objects. + Looks up a localized string similar to The specified method can not be configured since it can not be intercepted by the current IProxyGenerator.. - + - Gets the fake object that manages the faked object. + Looks up a localized string similar to The method of the call did not match the method of the recorded call, the recorded sequence is no longer valid.. - The faked object to get the manager object for. - The fake object manager. - + - Creates a new scope and sets it as the current scope. When inside a scope the - getting the calls made to a fake will return only the calls within that scope and when - asserting that calls were made, the calls must have been made within that scope. + Looks up a localized string similar to No constructor matching the specified arguments was found on the type {0}.. - The created scope. - + - Creates a new scope and sets it as the current scope. When inside a scope the - getting the calls made to a fake will return only the calls within that scope and when - asserting that calls were made, the calls must have been made within that scope. + Looks up a localized string similar to Can not generate fake object for the class since no usable default constructor was found, specify a constructor call.. - The container to use within the specified scope. - The created scope. - + - Gets a value indicating whether the two objects are equal. + Looks up a localized string similar to All the recorded calls has been applied, the recorded sequence is no longer valid.. - The first object to compare. - The second object to compare. - True if the two objects are equal. - + - Gets a value indicating whether the two objects are the same reference. + Looks up a localized string similar to Only expression of the type ExpressionType.New (constructor calls) are accepted.. - The object A. - The object B. - True if the objects are the same reference. - + - Gets all the calls made to the specified fake object. + Looks up a localized string similar to The Now-method on the event raise is not meant to be called directly, only use it to register to an event on a fake object that you want to be raised.. - The faked object. - A collection containing the calls to the object. - The object passed in is not a faked object. - + - Clears the configuration of the faked object. + Looks up a localized string similar to The number of values for out and ref parameters specified does not match the number of out and ref parameters in the call.. - The faked object to clear the configuration of. - + - Sets a new fake to each property or field that is tagged with the FakeAttribute in the specified - fixture. + Looks up a localized string similar to A scope for ordered assertions is already opened, close that scope before opening another one.. - The object to initialize. - + - Represents a fake object that provides an API for configuring a faked object, exposed by the - FakedObject-property. + Looks up a localized string similar to The specified call is not made on a fake object.. - The type of the faked object. - + - Initializes a new instance of the class. - Creates a new fake object. + Looks up a localized string similar to The current fake proxy generator can not create proxies of the type {0}.. - + - Initializes a new instance of the class. - Creates a new fake object using the specified options. + Looks up a localized string similar to FakeItEasy was unable to create dummy of type "{0}", register it in the current IFakeObjectContainer to enable this.. - - Options used to create the fake object. - - + - Configures calls to the specified member. + Looks up a localized string similar to Expected to find call {0} the number of times specified by the predicate '{1}' but found it {2} times among the calls:. - An expression specifying the call to configure. - A configuration object. - + - Configures calls to the specified member. + Looks up a localized string similar to The number of argument names does not match the number of arguments.. - The type of value the member returns. - An expression specifying the call to configure. - A configuration object. - + - Configures any call to the fake object. + An exception thrown when an expectation is not met (when asserting on fake object calls). - A configuration object. - + - Gets the faked object. + Initializes a new instance of the class. - + - Gets all calls made to the faked object. + Initializes a new instance of the class. + The message. - + - Used to tag fields and properties that will be initialized through the - Fake.Initialize-method. + Initializes a new instance of the class. + The message. + The inner exception. - + - Provides the base implementation for the IFakeConfigurator-interface. + Represents a class that can parse a lambda expression + that represents a method or property call. - The type of fakes the configurator can configure. - + - Provides configurations for fake objects of a specific type. + Parses the specified expression. + The expression to parse. + The parsed expression. - + - Applies the configuration for the specified fake object. + Handles the matching of fake object calls to expressions. - The fake object to configure. - + - Gets the type the instance provides configuration for. + Initializes a new instance of the class. + The call specification. + The constraint factory. + The method info manager to use. + A parser to use to parse call expressions. - + - Configures the fake. + Matches the specified call against the expression. - The fake object. + The call to match. + True if the call is matched by the expression. - + - Applies the configuration for the specified fake object. + Gets a description of the call. - The fake object to configure. + Description of the call. - + - Asserts the type of the that fake is of correct. + Gets a human readable description of calls that will be matched by this + matcher. - The fake object. - + - Gets the type the instance provides configuration for. + An implementation of the interface that uses + expressions for evaluating if the rule is applicable to a specific call. - - + - Provides extension methods for fake objects. + Initializes a new instance of the class. + The expression matcher to use. - + - Specifies NumberOfTimes(1) to the IRepeatConfiguration{TFake}. + Returns a that represents this instance. - The configuration to set repeat 1 to. + + A that represents this instance. + - + - Specifies NumberOfTimes(2) to the IRepeatConfiguration{TFake}. + Handles the instantiation of ExpressionCallRule instance. - The configuration to set repeat 2 to. + An expression specifying the call. + A rule instance. - + - Specifies that a call to the configured call should be applied no matter what arguments - are used in the call to the faked object. + Manages breaking call specification expression into their various parts. - The type of the interface. - The configuration. - A configuration object. - + - Filters to contain only the calls that matches the call specification. + Manages breaking call specification expression into their various parts. - The type of fake the call is made on. - The calls to filter. - The call to match on. - A collection of the calls that matches the call specification. - + - Asserts that the specified call must have happened once or more. + Gets the fake object an expression is called on. - The configuration to assert on. + The call expression. + The FakeManager instance that manages the faked object the call is made on. + The fakeObjectCall is null. + The specified expression is not an expression where a call is made to a faked object. - + - Asserts that the specified has not happened. + Gets the fake object an expression is called on. - The configuration to assert on. + The call expression. + A FakeObject. + The fakeObjectCall is null. + The specified expression is not an expression where a call is made to a faked object. - + - Configures the call to return the next value from the specified sequence each time it's called. Null will - be returned when all the values in the sequence has been returned. + Provides static methods for accessing fake objects. - - The type of return value. - - - The call configuration to extend. - - - The values to return in sequence. - - + - Specifies the value to return when the configured call is made. + Gets the fake object that manages the faked object. - The type of the return value. - The configuration to extend. - The value to return. - A configuration object. + The faked object to get the manager object for. + The fake object manager. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Creates a new scope and sets it as the current scope. When inside a scope the + getting the calls made to a fake will return only the calls within that scope and when + asserting that calls were made, the calls must have been made within that scope. - The type of the return value. - The configuration to extend. - A function that produces the return value. - A configuration object. + The created scope. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Creates a new scope and sets it as the current scope. When inside a scope the + getting the calls made to a fake will return only the calls within that scope and when + asserting that calls were made, the calls must have been made within that scope. - The type of the return value. - Type of the first argument of the faked method call. - The configuration to extend. - A function that produces the return value. - A configuration object. - The signatures of the faked method and the do not match. + The container to use within the specified scope. + The created scope. + + + + Gets a value indicating whether the two objects are equal. + + The first object to compare. + The second object to compare. + True if the two objects are equal. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Gets a value indicating whether the two objects are the same reference. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + The object A. + The object B. + True if the objects are the same reference. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Gets all the calls made to the specified fake object. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + The faked object. + A collection containing the calls to the object. + The object passed in is not a faked object. - + - Specifies a function used to produce a return value when the configured call is made. - The function will be called each time this call is made and can return different values - each time. + Clears the configuration of the faked object. - The configuration to extend. - A function that produces the return value. - The type of the return value. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - A configuration object. - The signatures of the faked method and the do not match. + The faked object to clear the configuration of. - + - Writes the calls in the collection to the specified text writer. + Sets a new fake to each property or field that is tagged with the FakeAttribute in the specified + fixture. - The type of the calls. - The calls to write. - The writer to write the calls to. + The object to initialize. - + - Writes all calls in the collection to the console. + Represents a fake object that provides an API for configuring a faked object, exposed by the + FakedObject-property. - The type of the calls. - The calls to write. + The type of the faked object. - + - Gets the argument at the specified index in the arguments collection - for the call. + Initializes a new instance of the class. + Creates a new fake object. - The type of the argument to get. - The call to get the argument from. - The index of the argument. - The value of the argument with the specified index. - + - Gets the argument with the specified name in the arguments collection - for the call. + Initializes a new instance of the class. + Creates a new fake object using the specified options. - The type of the argument to get. - The call to get the argument from. - The name of the argument. - The value of the argument with the specified name. + + Options used to create the fake object. + - + - Makes the fake strict, this means that any call to the fake - that has not been explicitly configured will throw an exception. + Configures calls to the specified member. - The type of fake object. - The configuration. + An expression specifying the call to configure. A configuration object. - + - Applies a predicate to constrain which calls will be considered for interception. + Configures calls to the specified member. - - The return type of the where method. - - - The configuration object to extend. - - - A predicate for a fake object call. - - to the output. - - The configuration object. - + The type of value the member returns. + An expression specifying the call to configure. + A configuration object. - + - Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed. + Configures any call to the fake object. - The type of fake object. - The configuration that is extended. - The to invoke. - The fake object. + A configuration object. - + - Executes the specified action when a matching call is being made. + Gets the faked object. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. - + - Executes the specified action when a matching call is being made. + Gets all calls made to the faked object. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. - + - Executes the specified action when a matching call is being made. + Used to tag fields and properties that will be initialized through the + Fake.Initialize-method. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. - + - Executes the specified action when a matching call is being made. + Provides the base implementation for the IFakeConfigurator-interface. - The configuration that is extended. - The to invoke. - The type of fake object. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - The signatures of the faked method and the do not match. - The fake object. + The type of fakes the configurator can configure. - + - Throws the specified exception when the currently configured - call gets called. + Provides configurations for fake objects of a specific type. - The configuration to use. - The exception to throw when a call that matches is invoked. - Configuration object. - + - Throws the specified exception when the currently configured - call gets called. + Applies the configuration for the specified fake object. - The configuration to use. - A function that returns the exception to throw when invoked. - Configuration object. + The fake object to configure. - + - Throws the specified exception when the currently configured - call gets called. + Gets the type the instance provides configuration for. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. - + - Throws the specified exception when the currently configured - call gets called. + Configures the fake. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The fake object. - + - Throws the specified exception when the currently configured - call gets called. + Applies the configuration for the specified fake object. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The fake object to configure. - + - Throws the specified exception when the currently configured - call gets called. + Asserts the type of the that fake is of correct. - The configuration to use. - A function that returns the exception to throw when invoked. - Type of the first argument of the faked method call. - Type of the second argument of the faked method call. - Type of the third argument of the faked method call. - Type of the fourth argument of the faked method call. - Configuration object. - The signatures of the faked method and the do not match. + The fake object. - + - Throws the specified exception when the currently configured - call gets called. + Gets the type the instance provides configuration for. - The configuration to use. - The type of exception to throw. - Configuration object. + @@ -2920,12 +3063,10 @@ Name of the argument. The specified argument was null. - + - Gets the value produced by the specified expression when compiled and invoked. + When applied to a parameter, this attribute provides an indication to code analysis that the argument has been null checked. - The expression to get the value from. - The value produced by the expression. @@ -3039,35 +3180,6 @@ The calls to assert among. A disposable used to close the scope. - - - Provides static methods for the IOutputWriter-interface. - - - - - Writes a new line to the writer. - - The writer to write to. - The writer. - - - - Writes the format string to the writer. - - The writer to write to. - The format string to write. - Replacements for the format string. - The writer. - - - - Writes the specified object to the writer (using the ToString-method of the object). - - The writer to write to. - The value to write to the writer. - The writer. - Allows the developer to raise an event on a faked object. @@ -3375,6 +3487,11 @@ Used to tag fields and properties that will be initialized as a SUT through the Fake.Initialize-method. + + + Provides helper methods for checking the value producer signature against call signatures. + + Fixes so that existing Serializable-attributes are omitted in the compilation diff --git a/packages/Machine.Fakes.0.3.5/Machine.Fakes.0.3.5.nupkg b/packages/Machine.Fakes.0.3.5/Machine.Fakes.0.3.5.nupkg new file mode 100644 index 0000000..d0cfb80 Binary files /dev/null and b/packages/Machine.Fakes.0.3.5/Machine.Fakes.0.3.5.nupkg differ diff --git a/packages/Machine.Fakes.1.4.0/Machine.Fakes.1.4.0.nuspec b/packages/Machine.Fakes.0.3.5/Machine.Fakes.0.3.5.nuspec similarity index 53% rename from packages/Machine.Fakes.1.4.0/Machine.Fakes.1.4.0.nuspec rename to packages/Machine.Fakes.0.3.5/Machine.Fakes.0.3.5.nuspec index 8acb75f..ca6c47c 100644 --- a/packages/Machine.Fakes.1.4.0/Machine.Fakes.1.4.0.nuspec +++ b/packages/Machine.Fakes.0.3.5/Machine.Fakes.0.3.5.nuspec @@ -1,21 +1,18 @@ - + Machine.Fakes - 1.4.0 + 0.3.5 The machine project The machine project - https://github.com/machine/machine.fakes/raw/master/License.txt - https://github.com/machine/machine.fakes - https://github.com/machine/machine.fakes/raw/master/machine.fakes-128x128.png + http://github.com/machine/machine.fakes/raw/dev/License.txt + http://github.com/machine/machine.fakes + http://github.com/machine/machine.fakes/raw/dev/machine.fakes.png false Machine.Fakes attempts to simplify the usage of such frameworks on top of Machine.Specifications by helping to reduce a lot of the typical fake framwork related clutter code in specifications. If you choose so, Machine.Fakes even helps you to stay mostly independent of a concrete fake framework by providing a little wrapper API and a provider model for fake frameworks. - A framework for faking dependencies on top of Machine.Specifications. - See https://github.com/machine/machine.fakes/blob/master/changelog.markdown - en-US tdd bdd testing unittest fakes mocks mspec mfakes - + \ No newline at end of file diff --git a/packages/Machine.Fakes.0.3.5/lib/Machine.Fakes.dll b/packages/Machine.Fakes.0.3.5/lib/Machine.Fakes.dll new file mode 100644 index 0000000..9946ff8 Binary files /dev/null and b/packages/Machine.Fakes.0.3.5/lib/Machine.Fakes.dll differ diff --git a/packages/Machine.Fakes.1.4.0/Machine.Fakes.1.4.0.nupkg b/packages/Machine.Fakes.1.4.0/Machine.Fakes.1.4.0.nupkg deleted file mode 100644 index 9a1c6ee..0000000 Binary files a/packages/Machine.Fakes.1.4.0/Machine.Fakes.1.4.0.nupkg and /dev/null differ diff --git a/packages/Machine.Fakes.1.4.0/lib/net40/Machine.Fakes.dll b/packages/Machine.Fakes.1.4.0/lib/net40/Machine.Fakes.dll deleted file mode 100644 index 23f12ad..0000000 Binary files a/packages/Machine.Fakes.1.4.0/lib/net40/Machine.Fakes.dll and /dev/null differ diff --git a/packages/Machine.Fakes.2.1.0/Machine.Fakes.2.1.0.nupkg b/packages/Machine.Fakes.2.1.0/Machine.Fakes.2.1.0.nupkg new file mode 100644 index 0000000..ed2858f Binary files /dev/null and b/packages/Machine.Fakes.2.1.0/Machine.Fakes.2.1.0.nupkg differ diff --git a/packages/Machine.Fakes.2.1.0/lib/net40/Machine.Fakes.dll b/packages/Machine.Fakes.2.1.0/lib/net40/Machine.Fakes.dll new file mode 100644 index 0000000..6162ba1 Binary files /dev/null and b/packages/Machine.Fakes.2.1.0/lib/net40/Machine.Fakes.dll differ diff --git a/packages/Machine.Fakes.1.4.0/lib/net40/Machine.Fakes.xml b/packages/Machine.Fakes.2.1.0/lib/net40/Machine.Fakes.xml similarity index 93% rename from packages/Machine.Fakes.1.4.0/lib/net40/Machine.Fakes.xml rename to packages/Machine.Fakes.2.1.0/lib/net40/Machine.Fakes.xml index d09f5f3..a7bc0c6 100644 --- a/packages/Machine.Fakes.1.4.0/lib/net40/Machine.Fakes.xml +++ b/packages/Machine.Fakes.2.1.0/lib/net40/Machine.Fakes.xml @@ -25,6 +25,71 @@ Specifies the subject of a context / specification. + + + Interface for setting up callbacks for methods returning void (commands). + + + + + Configures that the function supplied by + will be called when the method under configuration is called. + + + Specifies the function which is called when the method under configuration is called. + + + Use this overload when you're not interested in the parameters. + + + + + Configures that the function supplied by + will be called when the method under configuration is called. + + + Specifies the function which is called when the method under configuration is called. + + + Use this for callbacks on methods with a single parameter. + + + + + Configures that the function supplied by + will be called when the method under configuration is called. + + + Specifies the function which is called when the method under configuration is called. + + + Use this for callbacks on methods with two parameters. + + + + + Configures that the function supplied by + will be called when the method under configuration is called. + + + Specifies the function which is called when the method under configuration is called. + + + Use this for callbacks on methods with three parameters. + + + + + Configures that the function supplied by + will be called when the method under configuration is called. + + + Specifies the function which is called when the method under configuration is called. + + + Use this for callbacks on methods with four parameters. + + Exception that occurs when a type cannot be instantiated by the automatic faking/dependency resolution @@ -37,6 +102,14 @@ Type that cannot be created Reason + + + Constructor + + Type that cannot be created + Reason + Inner Exception + This class implements the several way that can be used to work with the @@ -1008,27 +1081,27 @@ Creates a new instance of the class. - + - Base class for the simpler cases than . - This class only contains the shortcuts for creating fakes via "An" and "Some". + Base class for specifications. + The subject of the specification Specifies the concrete fake engine that will be used for creating fake instances. This must be a class with a parameterless constructor that implements . - + The specification controller - + - Creates a new instance of the class. + Creates a new instance of the class. - + Creates a fake of the type specified by . @@ -1040,7 +1113,7 @@ An newly created fake implementing . - + Creates a list containing 3 fake instances of the type specified via . @@ -1048,7 +1121,7 @@ Specifies the item type of the list. This should be an interface or an abstract class. An . - + Creates a list of fakes. @@ -1062,7 +1135,7 @@ An . - + Configures the specification to execute a behavior config before the action on the subject is executed (). @@ -1075,7 +1148,7 @@ or delegates. - + Configures the specification to execute the behavior config specified by before the action on the sut is executed (). @@ -1089,6 +1162,87 @@ or delegates. + + + Creates a fake of the type specified by . + This method reuses existing instances. If an instance of + was already requested it's returned here. (You can say this is kind of a singleton behavior) + Besides that, you can obtain a reference to automatically injected fakes with this + method. + + The type to create a fake for. (Should be an interface or an abstract class) + + An instance implementing . + + + + + Uses the instance supplied by during the + build process of the subject. The specified instance will be injected into the constructor. + + Specifies the interface type. + Specifies the instance to be used for the specification. + + + + Registered the type specified via as the default type + for the interface specified via . With this the type gets automatically + build when the subject is resolved. + + + Specifies the interface type. + + + Specifies the implementation type. + + + + + Applies the configuration embedded in the registar to the underlying container. + + + Specifies the registrar. + + + Thrown when the supplied registrar is null. + + + + + Applies the configuration embedded in the registar to the underlying container. + Shortcut for so that you don't have to create the + registrar manually. + + The registrar type. + The registrar. + + + + Shortcut for . This one will create + a registrar for you and allow configuration via the delegate passed + in via . + + + Specifies the configuration for the registrar. + + + Thrown when the supplied registrar is null. + + + + + Throws when the constructor has not been called + + + + + Base class for the simpler cases than . + + + Specifies the concrete fake engine that will be used for creating fake instances. + This must be a class with a parameterless constructor that implements . + + A set of extension methods for setting up behavior on fakes in a fashion independent @@ -1109,7 +1263,7 @@ The fake to configure behavior on. - Configures the behavior. This must be a void method. + Configures the behavior. A for further configuration. @@ -1226,66 +1380,6 @@ for methods returning void (commands) - - - Configures that the function supplied by - will be called when the method under configuration is called. - - - Specifies the function which is called when the method under configuration is called. - - - Use this overload when you're not interested in the parameters. - - - - - Configures that the function supplied by - will be called when the method under configuration is called. - - - Specifies the function which is called when the method under configuration is called. - - - Use this for callbacks on methods with a single parameter. - - - - - Configures that the function supplied by - will be called when the method under configuration is called. - - - Specifies the function which is called when the method under configuration is called. - - - Use this for callbacks on methods with two parameters. - - - - - Configures that the function supplied by - will be called when the method under configuration is called. - - - Specifies the function which is called when the method under configuration is called. - - - Use this for callbacks on methods with three parameters. - - - - - Configures that the function supplied by - will be called when the method under configuration is called. - - - Specifies the function which is called when the method under configuration is called. - - - Use this for callbacks on methods with four parameters. - - Configures that the invocation of the related behavior @@ -1296,6 +1390,16 @@ behavior is invoked. + + + Configures that the out and ref parameters of the method are set to the specified . + + Values to be set. Specify the values in the order the ref and out parameters appear in the method signature, + any non out and ref parameters are ignored. + Interface for configuring further behavior + An is thrown when the method is invoked and if + more or less values are given than there are out and ref parameters in the method signature. + Interface for detail configuration used by . @@ -1413,7 +1517,7 @@ to Machine.Specifications. - The subject for the specification. This is the type that is created by the + The subject of the specification. This is the type that is created by the specification for you. @@ -1421,144 +1525,11 @@ This must be a class with a parameterless constructor that implements . - - - The specification controller - - Creates a new instance of the class. - - - Creates a fake of the type specified by . - This method reuses existing instances. If an instance of - was already requested it's returned here. (You can say this is kind of a singleton behavior) - Besides that, you can obtain a reference to automatically injected fakes with this - method. - - The type to create a fake for. (Should be an interface or an abstract class) - - An instance implementing . - - - - - Creates a fake of the type specified by . - - The type to create a fake for. (Should be an interface or an abstract class) - - Optional constructor parameters for abstract base classes as fakes. - - - An newly created fake implementing . - - - - - Creates a list containing 3 fake instances of the type specified - via . - - Specifies the item type of the list. This should be an interface or an abstract class. - An . - - - - Creates a list of fakes. - - - Specifies the item type of the list. This should be an interface or an abstract class. - - - Specifies the amount of fakes that have to be created and inserted into the list. - - - An . - - - - - Uses the instance supplied by during the - build process of the subject. The specified instance will be injected into the constructor. - - Specifies the interface type. - Specifies the instance to be used for the specification. - - - - Registered the type specified via as the default type - for the interface specified via . With this the type gets automatically - build when the subject is resolved. - - - Specifies the interface type. - - - Specifies the implementation type. - - - - - Applies the configuration embedded in the registar to the underlying container. - - - Specifies the registrar. - - - Thrown when the supplied registrar is null. - - - - - Applies the configuration embedded in the registar to the underlying container. - Shortcut for so that you don't have to create the - registrar manually. - - The registrar type. - The registrar. - - - - Shortcut for . This one will create - a registrar for you and allow configuration via the delegate passed - in via . - - - Specifies the configuration for the registrar. - - - Thrown when the supplied registrar is null. - - - - - Configures the specification to execute a behavior config before the action on the subject - is executed (). - - Specifies the type of the config to be executed. - The behavior config instance. - - The class specified by - needs to have private fields assigned with either - or delegates. - - - - - Configures the specification to execute the behavior config specified - by before the action on the sut is executed (). - - - Specifies the behavior config to be executed. - - - The object specified by - needs to have private fields assigned with either - or delegates. - - Gives access to the subject under specification. On first access diff --git a/packages/Machine.Fakes.FakeItEasy.1.4.0/Machine.Fakes.FakeItEasy.1.4.0.nupkg b/packages/Machine.Fakes.FakeItEasy.1.4.0/Machine.Fakes.FakeItEasy.1.4.0.nupkg deleted file mode 100644 index 3a82a10..0000000 Binary files a/packages/Machine.Fakes.FakeItEasy.1.4.0/Machine.Fakes.FakeItEasy.1.4.0.nupkg and /dev/null differ diff --git a/packages/Machine.Fakes.FakeItEasy.1.4.0/Machine.Fakes.FakeItEasy.1.4.0.nuspec b/packages/Machine.Fakes.FakeItEasy.1.4.0/Machine.Fakes.FakeItEasy.1.4.0.nuspec deleted file mode 100644 index 69ea15b..0000000 --- a/packages/Machine.Fakes.FakeItEasy.1.4.0/Machine.Fakes.FakeItEasy.1.4.0.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - Machine.Fakes.FakeItEasy - 1.4.0 - The machine project - The machine project - https://github.com/machine/machine.fakes/raw/master/License.txt - https://github.com/machine/machine.fakes - https://github.com/machine/machine.fakes/raw/master/machine.fakes-128x128.png - false - Machine.Fakes attempts to simplify the usage of such frameworks on top of Machine.Specifications by helping to reduce a lot of the typical fake framwork related clutter code in specifications. If you choose so, Machine.Fakes even helps you to stay mostly independent of a concrete fake framework by providing a little wrapper API and a provider model for fake frameworks. This is the adapter for FakeItEasy 1.10.0 - A framework for faking objects with FakeItEasy on top of Machine.Specifications. - See https://github.com/machine/machine.fakes/blob/master/changelog.markdown - en-US - tdd bdd testing unittest fakes mocks mspec mfakes - - - - - - \ No newline at end of file diff --git a/packages/Machine.Fakes.FakeItEasy.1.4.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.dll b/packages/Machine.Fakes.FakeItEasy.1.4.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.dll deleted file mode 100644 index b42c836..0000000 Binary files a/packages/Machine.Fakes.FakeItEasy.1.4.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.dll and /dev/null differ diff --git a/packages/Machine.Fakes.FakeItEasy.2.1.0/Machine.Fakes.FakeItEasy.2.1.0.nupkg b/packages/Machine.Fakes.FakeItEasy.2.1.0/Machine.Fakes.FakeItEasy.2.1.0.nupkg new file mode 100644 index 0000000..e378fef Binary files /dev/null and b/packages/Machine.Fakes.FakeItEasy.2.1.0/Machine.Fakes.FakeItEasy.2.1.0.nupkg differ diff --git a/packages/Machine.Fakes.FakeItEasy.2.1.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.dll b/packages/Machine.Fakes.FakeItEasy.2.1.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.dll new file mode 100644 index 0000000..f238272 Binary files /dev/null and b/packages/Machine.Fakes.FakeItEasy.2.1.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.dll differ diff --git a/packages/Machine.Fakes.FakeItEasy.1.4.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.xml b/packages/Machine.Fakes.FakeItEasy.2.1.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.xml similarity index 100% rename from packages/Machine.Fakes.FakeItEasy.1.4.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.xml rename to packages/Machine.Fakes.FakeItEasy.2.1.0/lib/net40/Machine.Fakes.Adapters.FakeItEasy.xml diff --git a/packages/Machine.Fakes.Moq.1.4.0/Machine.Fakes.Moq.1.4.0.nupkg b/packages/Machine.Fakes.Moq.1.4.0/Machine.Fakes.Moq.1.4.0.nupkg deleted file mode 100644 index f693c08..0000000 Binary files a/packages/Machine.Fakes.Moq.1.4.0/Machine.Fakes.Moq.1.4.0.nupkg and /dev/null differ diff --git a/packages/Machine.Fakes.Moq.1.4.0/Machine.Fakes.Moq.1.4.0.nuspec b/packages/Machine.Fakes.Moq.1.4.0/Machine.Fakes.Moq.1.4.0.nuspec deleted file mode 100644 index 75c9e3a..0000000 --- a/packages/Machine.Fakes.Moq.1.4.0/Machine.Fakes.Moq.1.4.0.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - Machine.Fakes.Moq - 1.4.0 - The machine project - The machine project - https://github.com/machine/machine.fakes/raw/master/License.txt - https://github.com/machine/machine.fakes - https://github.com/machine/machine.fakes/raw/master/machine.fakes-128x128.png - false - Machine.Fakes attempts to simplify the usage of such frameworks on top of Machine.Specifications by helping to reduce a lot of the typical fake framwork related clutter code in specifications. If you choose so, Machine.Fakes even helps you to stay mostly independent of a concrete fake framework by providing a little wrapper API and a provider model for fake frameworks. This is the adapter for Moq 4.0.10827 - A framework for faking objects with Moq on top of Machine.Specifications. - See https://github.com/machine/machine.fakes/blob/master/changelog.markdown - en-US - tdd bdd testing unittest fakes mocks mspec mfakes - - - - - - \ No newline at end of file diff --git a/packages/Machine.Fakes.Moq.1.4.0/lib/net40/Machine.Fakes.Adapters.Moq.dll b/packages/Machine.Fakes.Moq.1.4.0/lib/net40/Machine.Fakes.Adapters.Moq.dll deleted file mode 100644 index 3053749..0000000 Binary files a/packages/Machine.Fakes.Moq.1.4.0/lib/net40/Machine.Fakes.Adapters.Moq.dll and /dev/null differ diff --git a/packages/Machine.Fakes.Moq.2.1.0/Machine.Fakes.Moq.2.1.0.nupkg b/packages/Machine.Fakes.Moq.2.1.0/Machine.Fakes.Moq.2.1.0.nupkg new file mode 100644 index 0000000..9f4a28b Binary files /dev/null and b/packages/Machine.Fakes.Moq.2.1.0/Machine.Fakes.Moq.2.1.0.nupkg differ diff --git a/packages/Machine.Fakes.Moq.2.1.0/lib/net40/Machine.Fakes.Adapters.Moq.dll b/packages/Machine.Fakes.Moq.2.1.0/lib/net40/Machine.Fakes.Adapters.Moq.dll new file mode 100644 index 0000000..4cb69d4 Binary files /dev/null and b/packages/Machine.Fakes.Moq.2.1.0/lib/net40/Machine.Fakes.Adapters.Moq.dll differ diff --git a/packages/Machine.Fakes.Moq.1.4.0/lib/net40/Machine.Fakes.Adapters.Moq.xml b/packages/Machine.Fakes.Moq.2.1.0/lib/net40/Machine.Fakes.Adapters.Moq.xml similarity index 100% rename from packages/Machine.Fakes.Moq.1.4.0/lib/net40/Machine.Fakes.Adapters.Moq.xml rename to packages/Machine.Fakes.Moq.2.1.0/lib/net40/Machine.Fakes.Adapters.Moq.xml diff --git a/packages/Machine.Fakes.NSubstitute.1.4.0/Machine.Fakes.NSubstitute.1.4.0.nupkg b/packages/Machine.Fakes.NSubstitute.1.4.0/Machine.Fakes.NSubstitute.1.4.0.nupkg deleted file mode 100644 index f33fb9a..0000000 Binary files a/packages/Machine.Fakes.NSubstitute.1.4.0/Machine.Fakes.NSubstitute.1.4.0.nupkg and /dev/null differ diff --git a/packages/Machine.Fakes.NSubstitute.1.4.0/Machine.Fakes.NSubstitute.1.4.0.nuspec b/packages/Machine.Fakes.NSubstitute.1.4.0/Machine.Fakes.NSubstitute.1.4.0.nuspec deleted file mode 100644 index 1b83c61..0000000 --- a/packages/Machine.Fakes.NSubstitute.1.4.0/Machine.Fakes.NSubstitute.1.4.0.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - Machine.Fakes.NSubstitute - 1.4.0 - The machine project - The machine project - https://github.com/machine/machine.fakes/raw/master/License.txt - https://github.com/machine/machine.fakes - https://github.com/machine/machine.fakes/raw/master/machine.fakes-128x128.png - false - Machine.Fakes attempts to simplify the usage of such frameworks on top of Machine.Specifications by helping to reduce a lot of the typical fake framwork related clutter code in specifications. If you choose so, Machine.Fakes even helps you to stay mostly independent of a concrete fake framework by providing a little wrapper API and a provider model for fake frameworks. This is the adapter for NSubstitute 1.5.0.0 - A framework for faking objects with NSubstitute on top of Machine.Specifications. - See https://github.com/machine/machine.fakes/blob/master/changelog.markdown - en-US - tdd bdd testing unittest fakes mocks mspec mfakes - - - - - - \ No newline at end of file diff --git a/packages/Machine.Fakes.NSubstitute.1.4.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.dll b/packages/Machine.Fakes.NSubstitute.1.4.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.dll deleted file mode 100644 index 462d536..0000000 Binary files a/packages/Machine.Fakes.NSubstitute.1.4.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.dll and /dev/null differ diff --git a/packages/Machine.Fakes.NSubstitute.2.1.0/Machine.Fakes.NSubstitute.2.1.0.nupkg b/packages/Machine.Fakes.NSubstitute.2.1.0/Machine.Fakes.NSubstitute.2.1.0.nupkg new file mode 100644 index 0000000..749d8cc Binary files /dev/null and b/packages/Machine.Fakes.NSubstitute.2.1.0/Machine.Fakes.NSubstitute.2.1.0.nupkg differ diff --git a/packages/Machine.Fakes.NSubstitute.2.1.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.dll b/packages/Machine.Fakes.NSubstitute.2.1.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.dll new file mode 100644 index 0000000..d9e7c37 Binary files /dev/null and b/packages/Machine.Fakes.NSubstitute.2.1.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.dll differ diff --git a/packages/Machine.Fakes.NSubstitute.1.4.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.xml b/packages/Machine.Fakes.NSubstitute.2.1.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.xml similarity index 100% rename from packages/Machine.Fakes.NSubstitute.1.4.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.xml rename to packages/Machine.Fakes.NSubstitute.2.1.0/lib/net40/Machine.Fakes.Adapters.NSubstitute.xml diff --git a/packages/Machine.Fakes.RhinoMocks.1.4.0/Machine.Fakes.RhinoMocks.1.4.0.nupkg b/packages/Machine.Fakes.RhinoMocks.1.4.0/Machine.Fakes.RhinoMocks.1.4.0.nupkg deleted file mode 100644 index 315a519..0000000 Binary files a/packages/Machine.Fakes.RhinoMocks.1.4.0/Machine.Fakes.RhinoMocks.1.4.0.nupkg and /dev/null differ diff --git a/packages/Machine.Fakes.RhinoMocks.1.4.0/Machine.Fakes.RhinoMocks.1.4.0.nuspec b/packages/Machine.Fakes.RhinoMocks.1.4.0/Machine.Fakes.RhinoMocks.1.4.0.nuspec deleted file mode 100644 index 71c839e..0000000 --- a/packages/Machine.Fakes.RhinoMocks.1.4.0/Machine.Fakes.RhinoMocks.1.4.0.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - Machine.Fakes.RhinoMocks - 1.4.0 - The machine project - The machine project - https://github.com/machine/machine.fakes/raw/master/License.txt - https://github.com/machine/machine.fakes - https://github.com/machine/machine.fakes/raw/master/machine.fakes-128x128.png - false - Machine.Fakes attempts to simplify the usage of such frameworks on top of Machine.Specifications by helping to reduce a lot of the typical fake framwork related clutter code in specifications. If you choose so, Machine.Fakes even helps you to stay mostly independent of a concrete fake framework by providing a little wrapper API and a provider model for fake frameworks. This is the adapter for RhinoMocks 3.6.1 - A framework for faking objects with RhinoMocks on top of Machine.Specifications. - See https://github.com/machine/machine.fakes/blob/master/changelog.markdown - en-US - tdd bdd testing unittest fakes mocks mspec mfakes - - - - - - \ No newline at end of file diff --git a/packages/Machine.Fakes.RhinoMocks.1.4.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.dll b/packages/Machine.Fakes.RhinoMocks.1.4.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.dll deleted file mode 100644 index f77e254..0000000 Binary files a/packages/Machine.Fakes.RhinoMocks.1.4.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.dll and /dev/null differ diff --git a/packages/Machine.Fakes.RhinoMocks.2.1.0/Machine.Fakes.RhinoMocks.2.1.0.nupkg b/packages/Machine.Fakes.RhinoMocks.2.1.0/Machine.Fakes.RhinoMocks.2.1.0.nupkg new file mode 100644 index 0000000..2b55ad1 Binary files /dev/null and b/packages/Machine.Fakes.RhinoMocks.2.1.0/Machine.Fakes.RhinoMocks.2.1.0.nupkg differ diff --git a/packages/Machine.Fakes.RhinoMocks.2.1.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.dll b/packages/Machine.Fakes.RhinoMocks.2.1.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.dll new file mode 100644 index 0000000..beb4491 Binary files /dev/null and b/packages/Machine.Fakes.RhinoMocks.2.1.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.dll differ diff --git a/packages/Machine.Fakes.RhinoMocks.1.4.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.xml b/packages/Machine.Fakes.RhinoMocks.2.1.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.xml similarity index 100% rename from packages/Machine.Fakes.RhinoMocks.1.4.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.xml rename to packages/Machine.Fakes.RhinoMocks.2.1.0/lib/net40/Machine.Fakes.Adapters.RhinoMocks.xml diff --git a/packages/Machine.Specifications.0.5.12/Machine.Specifications.0.5.12.nupkg b/packages/Machine.Specifications.0.5.12/Machine.Specifications.0.5.12.nupkg deleted file mode 100644 index 9e85e5a..0000000 Binary files a/packages/Machine.Specifications.0.5.12/Machine.Specifications.0.5.12.nupkg and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/Machine.Specifications.0.5.12.nuspec b/packages/Machine.Specifications.0.5.12/Machine.Specifications.0.5.12.nuspec deleted file mode 100644 index dbd0f72..0000000 --- a/packages/Machine.Specifications.0.5.12/Machine.Specifications.0.5.12.nuspec +++ /dev/null @@ -1,22 +0,0 @@ - - - - Machine.Specifications - 0.5.12 - Machine.Specifications - Aaron Jensen, Alexander Groß, et al. - Aaron Jensen, Alexander Groß, et al. - http://github.com/machine/machine.specifications/blob/master/License.txt - http://github.com/machine/machine.specifications - http://github.com/machine/machine.specifications/raw/master/Misc/Machine.Specifications-128x128.png - false - Machine.Specifications is a Context/Specification framework geared towards removing language noise and simplifying tests. - Machine.Specifications Context/Specification framework - en-US - test unit testing context specification bdd tdd mspec - - - - - - \ No newline at end of file diff --git a/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.dll b/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.dll deleted file mode 100644 index 1926031..0000000 Binary files a/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.dll.tdnet b/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.dll.tdnet deleted file mode 100644 index 59cdf2f..0000000 --- a/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.dll.tdnet +++ /dev/null @@ -1,5 +0,0 @@ - - Machine.Specifications 0.5.12-e1d117a - Machine.Specifications.TDNetRunner.dll - Machine.Specifications.TDNetRunner.SpecificationRunner - diff --git a/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.Clr4.dll b/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.Clr4.dll deleted file mode 100644 index ca4c0b9..0000000 Binary files a/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.Clr4.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.dll b/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.dll deleted file mode 100644 index 1926031..0000000 Binary files a/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.dll.tdnet b/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.dll.tdnet deleted file mode 100644 index 59cdf2f..0000000 --- a/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.dll.tdnet +++ /dev/null @@ -1,5 +0,0 @@ - - Machine.Specifications 0.5.12-e1d117a - Machine.Specifications.TDNetRunner.dll - Machine.Specifications.TDNetRunner.SpecificationRunner - diff --git a/packages/Machine.Specifications.0.5.12/tools/CommandLine.dll b/packages/Machine.Specifications.0.5.12/tools/CommandLine.dll deleted file mode 100644 index 08e0bde..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/CommandLine.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/CommandLine.xml b/packages/Machine.Specifications.0.5.12/tools/CommandLine.xml deleted file mode 100644 index 75e0578..0000000 --- a/packages/Machine.Specifications.0.5.12/tools/CommandLine.xml +++ /dev/null @@ -1,504 +0,0 @@ - - - - CommandLine - - - - - This exception is thrown when a generic parsing error occurs. - - - - - Models a list of command line arguments that are not options. - Must be applied to a field compatible with an interface - of instances. - - - - - Initializes a new instance of the class. - - A type that implements . - Thrown if is null. - - - - Gets or sets the maximum element allow for the list managed by type. - If lesser than 0, no upper bound is fixed. - If equal to 0, no elements are allowed. - - - - - Indicates the instance method that must be invoked when it becomes necessary show your help screen. - The method signature is an instance method with no parameters and - return value. - - - - - Provides base properties for creating an attribute, used to define rules for command line parsing. - - - - - Short name of this command line option. You can use only one character. - - - - - Long name of this command line option. This name is usually a single english word. - - - - - True if this command line option is required. - - - - - A short description of this command line option. Usually a sentence summary. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - Allows you to define short and long option names. - - The short name of the option or null if not used. - The long name of the option or null if not used. - - - - Returns always false for this kind of option. - This behaviour can't be changed by design; if you try set - an will be thrown. - - - - - Models an option specification. - - - - - Initializes a new instance of the class. - - The short name of the option or null if not used. - The long name of the option or null if not used. - - - - Gets or sets the option's mutually exclusive set. - - - - - Models an option that can accept multiple values. - Must be applied to a field compatible with an interface - of instances. - - - - - Initializes a new instance of the class. - - The short name of the option or null if not used. - The long name of the option or null if not used. - - - - Initializes a new instance of the class. - - The short name of the option or null if not used. - The long name of the option or null if not used. - Values separator character. - - - - Gets or sets the values separator character. - - - - - Models the copyright informations part of an help text. - You can assign it where you assign any instance. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - specifying author and year. - - The company or person holding the copyright. - The year of coverage of copyright. - Thrown when parameter is null or empty string. - - - - Initializes a new instance of the class - specifying author and years. - - The company or person holding the copyright. - The years of coverage of copyright. - Thrown when parameter is null or empty string. - Thrown when parameter is not supplied. - - - - Initializes a new instance of the class - specifying symbol case, author and years. - - The case of the copyright symbol. - The company or person holding the copyright. - The years of coverage of copyright. - Thrown when parameter is null or empty string. - Thrown when parameter is not supplied. - - - - Returns the copyright informations as a . - - The that contains the copyright informations. - - - - Converts the copyright informations to a . - - This instance. - The that contains the copyright informations. - - - - When overridden in a derived class, allows to specify a new algorithm to render copyright years - as a instance. - - A array of years. - A instance with copyright years. - - - - When overridden in a derived class, allows to specify a different copyright word. - - - - - Defines a basic interface to parse command line arguments. - - - - - Parses a array of command line arguments, setting values in - parameter instance's public fields decorated with appropriate attributes. - - A array of command line arguments. - An object's instance used to receive values. - Parsing rules are defined using derived types. - True if parsing process succeed. - Thrown if is null. - Thrown if is null. - - - - Parses a array of command line arguments, setting values in - parameter instance's public fields decorated with appropriate attributes. - This overload allows you to specify a derived instance for write text messages. - - A array of command line arguments. - An object's instance used to receive values. - Parsing rules are defined using derived types. - Any instance derived from , - usually . Setting this argument to null, will disable help screen. - True if parsing process succeed. - Thrown if is null. - Thrown if is null. - - - - Provides methods to parse command line arguments. - Default implementation for . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class, - configurable with a object. - - The object is used to configure - aspects and behaviors of the parser. - - - - Parses a array of command line arguments, setting values in - parameter instance's public fields decorated with appropriate attributes. - - A array of command line arguments. - An object's instance used to receive values. - Parsing rules are defined using derived types. - True if parsing process succeed. - Thrown if is null. - Thrown if is null. - - - - Parses a array of command line arguments, setting values in - parameter instance's public fields decorated with appropriate attributes. - This overload allows you to specify a derived instance for write text messages. - - A array of command line arguments. - An object's instance used to receive values. - Parsing rules are defined using derived types. - Any instance derived from , - usually . Setting this argument to null, will disable help screen. - True if parsing process succeed. - Thrown if is null. - Thrown if is null. - - - - Models an help text and collects related informations. - You can assign it in place of a instance. - - - - - Initializes a new instance of the class - specifying heading informations. - - A string with heading information or - an instance of . - Thrown when parameter is null or empty string. - - - - Adds a text line after copyright and before options usage informations. - - A instance. - Thrown when parameter is null or empty string. - - - - Adds a text line at the bottom, after options usage informations. - - A instance. - Thrown when parameter is null or empty string. - - - - Adds a text block with options usage informations. - - The instance that collected command line arguments parsed with class. - Thrown when parameter is null. - - - - Adds a text block with options usage informations. - - The instance that collected command line arguments parsed with the class. - The word to use when the option is required. - Thrown when parameter is null. - Thrown when parameter is null or empty string. - - - - Adds a text block with options usage informations. - - The instance that collected command line arguments parsed with the class. - The word to use when the option is required. - The maximum length of the help documentation. - Thrown when parameter is null. - Thrown when parameter is null or empty string. - - - - Returns the help informations as a . - - The that contains the help informations. - - - - Converts the help informations to a . - - This instance. - The that contains the help informations. - - - - Sets the copyright information string. - You can directly assign a instance. - - - - - Gets or sets the maximum width of the display. This determines word wrap when displaying the text. - - The maximum width of the display. - - - - Gets or sets whether to add an additional line after the description of the option. - - - - - Models the heading informations part of an help text. - You can assign it where you assign any instance. - - - - - Initializes a new instance of the class - specifying program name. - - The name of the program. - Thrown when parameter is null or empty string. - - - - Initializes a new instance of the class - specifying program name and version. - - The name of the program. - The version of the program. - Thrown when parameter is null or empty string. - - - - Returns the heading informations as a . - - The that contains the heading informations. - - - - Converts the heading informations to a . - - This instance. - The that contains the heading informations. - - - - Writes out a string and a new line using the program name specified in the constructor - and parameter. - - The message to write. - The target derived type. - Thrown when parameter is null or empty string. - Thrown when parameter is null. - - - - Writes out a string and a new line using the program name specified in the constructor - and parameter to standard output stream. - - The message to write. - Thrown when parameter is null or empty string. - - - - Writes out a string and a new line using the program name specified in the constructor - and parameter to standard error stream. - - The message to write. - Thrown when parameter is null or empty string. - - - - Models an option that can accept multiple values as separated arguments. - - - - - Initializes a new instance of the class. - - The short name of the option or null if not used. - The long name of the option or null if not used. - - - - Specifies a set of features to configure a behavior. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class, - setting the case comparison behavior. - - If set to true, parsing will be case sensitive. - - - - Initializes a new instance of the class, - setting the used for help method output. - - Any instance derived from , - default . Setting this argument to null, will disable help screen. - - - - Initializes a new instance of the class, - setting case comparison and help output options. - - If set to true, parsing will be case sensitive. - Any instance derived from , - default . Setting this argument to null, will disable help screen. - - - - Initializes a new instance of the class, - setting case comparison and mutually exclusive behaviors. - - If set to true, parsing will be case sensitive. - If set to true, enable mutually exclusive behavior. - - - - Initializes a new instance of the class, - setting case comparison, mutually exclusive behavior and help output option. - - If set to true, parsing will be case sensitive. - If set to true, enable mutually exclusive behavior. - Any instance derived from , - default . Setting this argument to null, will disable help screen. - - - - Gets or sets the case comparison behavior. - Default is set to true. - - - - - Gets or sets the mutually exclusive behavior. - Default is set to false. - - - - - Gets or sets the used for help method output. - Setting this property to null, will disable help screen. - - - - diff --git a/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.0.bat b/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.0.bat deleted file mode 100644 index 688482a..0000000 --- a/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.0.bat +++ /dev/null @@ -1,7 +0,0 @@ -mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins" 2> NUL -mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" 2> NUL -copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" -copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" > NUL -copy /y Machine.Specifications.dotCoverRunner.2.0.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" -copy /y Machine.Specifications.dotCoverRunner.2.0.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" > NUL -pause diff --git a/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.1.bat b/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.1.bat deleted file mode 100644 index b3267a1..0000000 --- a/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.1.bat +++ /dev/null @@ -1,7 +0,0 @@ -mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins" 2> NUL -mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" 2> NUL -copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" -copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" > NUL -copy /y Machine.Specifications.dotCoverRunner.2.1.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" -copy /y Machine.Specifications.dotCoverRunner.2.1.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" > NUL -pause diff --git a/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.2.bat b/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.2.bat deleted file mode 100644 index 6488d9e..0000000 --- a/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.2.bat +++ /dev/null @@ -1,7 +0,0 @@ -mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins" 2> NUL -mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" 2> NUL -copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" -copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" > NUL -copy /y Machine.Specifications.dotCoverRunner.2.2.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" -copy /y Machine.Specifications.dotCoverRunner.2.2.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" > NUL -pause diff --git a/packages/Machine.Specifications.0.5.12/tools/JetBrains.dotCover.Resources.dll b/packages/Machine.Specifications.0.5.12/tools/JetBrains.dotCover.Resources.dll deleted file mode 100644 index 141a241..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/JetBrains.dotCover.Resources.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Clr4.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Clr4.dll deleted file mode 100644 index ca4c0b9..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Clr4.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.GallioAdapter.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.GallioAdapter.dll deleted file mode 100644 index a6b926e..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.GallioAdapter.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.GallioAdapter.plugin b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.GallioAdapter.plugin deleted file mode 100644 index e43794c..0000000 --- a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.GallioAdapter.plugin +++ /dev/null @@ -1,43 +0,0 @@ - - - - Machine Specifications Adapter Plugin - 0.5.12.0 - Provides support for running MSpec within Gallio. Requires the assemblies from MSpec. - - - - - - - - - - - - - - - - - - - - - - - Machine Specifications - Machine.Specifications - 0.5.12.0 - Assembly - - - - \ No newline at end of file diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.6.1.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.6.1.dll deleted file mode 100644 index 62cdd28..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.6.1.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.7.0.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.7.0.dll deleted file mode 100644 index 7955aca..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.7.0.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.7.1.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.7.1.dll deleted file mode 100644 index 0ff4975..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.7.1.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Reporting.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Reporting.dll deleted file mode 100644 index 21343c6..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Reporting.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.WebDriverSupport.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.WebDriverSupport.dll deleted file mode 100644 index 83114d5..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.WebDriverSupport.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dll deleted file mode 100644 index 1926031..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dll.tdnet b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dll.tdnet deleted file mode 100644 index 59cdf2f..0000000 --- a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dll.tdnet +++ /dev/null @@ -1,5 +0,0 @@ - - Machine.Specifications 0.5.12-e1d117a - Machine.Specifications.TDNetRunner.dll - Machine.Specifications.TDNetRunner.SpecificationRunner - diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.0.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.0.dll deleted file mode 100644 index f3bd95f..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.0.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.1.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.1.dll deleted file mode 100644 index 8af29a1..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.1.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.2.dll b/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.2.dll deleted file mode 100644 index a5a1154..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.2.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Spark.dll b/packages/Machine.Specifications.0.5.12/tools/Spark.dll deleted file mode 100644 index 5c55786..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/Spark.dll and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/mspec-clr4.exe b/packages/Machine.Specifications.0.5.12/tools/mspec-clr4.exe deleted file mode 100644 index 716d188..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/mspec-clr4.exe and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/mspec-x86-clr4.exe b/packages/Machine.Specifications.0.5.12/tools/mspec-x86-clr4.exe deleted file mode 100644 index a77854d..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/mspec-x86-clr4.exe and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/mspec-x86.exe b/packages/Machine.Specifications.0.5.12/tools/mspec-x86.exe deleted file mode 100644 index 0d6a12b..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/mspec-x86.exe and /dev/null differ diff --git a/packages/Machine.Specifications.0.5.12/tools/mspec.exe b/packages/Machine.Specifications.0.5.12/tools/mspec.exe deleted file mode 100644 index 37dd649..0000000 Binary files a/packages/Machine.Specifications.0.5.12/tools/mspec.exe and /dev/null differ diff --git a/packages/Machine.Specifications.0.7.0/Machine.Specifications.0.7.0.nupkg b/packages/Machine.Specifications.0.7.0/Machine.Specifications.0.7.0.nupkg new file mode 100644 index 0000000..554cdf7 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/Machine.Specifications.0.7.0.nupkg differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.TDNetRunner.dll b/packages/Machine.Specifications.0.7.0/lib/net20/Machine.Specifications.TDNetRunner.dll similarity index 58% rename from packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.TDNetRunner.dll rename to packages/Machine.Specifications.0.7.0/lib/net20/Machine.Specifications.TDNetRunner.dll index c8fe85d..429acb6 100644 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.TDNetRunner.dll and b/packages/Machine.Specifications.0.7.0/lib/net20/Machine.Specifications.TDNetRunner.dll differ diff --git a/packages/Machine.Specifications.0.7.0/lib/net20/Machine.Specifications.dll b/packages/Machine.Specifications.0.7.0/lib/net20/Machine.Specifications.dll new file mode 100644 index 0000000..59a48ac Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/lib/net20/Machine.Specifications.dll differ diff --git a/packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.Clr4.dll b/packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.Clr4.dll new file mode 100644 index 0000000..1ad4eab Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.Clr4.dll differ diff --git a/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.TDNetRunner.dll b/packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.TDNetRunner.dll similarity index 58% rename from packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.TDNetRunner.dll rename to packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.TDNetRunner.dll index c8fe85d..429acb6 100644 Binary files a/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.TDNetRunner.dll and b/packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.TDNetRunner.dll differ diff --git a/packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.dll b/packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.dll new file mode 100644 index 0000000..59a48ac Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/lib/net40/Machine.Specifications.dll differ diff --git a/packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.Clr4.dll b/packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.Clr4.dll new file mode 100644 index 0000000..1ad4eab Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.Clr4.dll differ diff --git a/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.TDNetRunner.dll b/packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.TDNetRunner.dll similarity index 58% rename from packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.TDNetRunner.dll rename to packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.TDNetRunner.dll index c8fe85d..429acb6 100644 Binary files a/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.TDNetRunner.dll and b/packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.TDNetRunner.dll differ diff --git a/packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.dll b/packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.dll new file mode 100644 index 0000000..59a48ac Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/lib/net45/Machine.Specifications.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/CommandLine.dll b/packages/Machine.Specifications.0.7.0/tools/CommandLine.dll new file mode 100644 index 0000000..e288c46 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/CommandLine.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.0.bat b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.0.bat new file mode 100644 index 0000000..117b309 --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.0.bat @@ -0,0 +1,7 @@ +mkdir "%APPDATA%\JetBrains\dotCover\v2.0\Plugins" 2> NUL +mkdir "%APPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" 2> NUL +copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" +copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" > NUL +copy /y Machine.Specifications.dotCoverRunner.2.0.dll "%APPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" +copy /y Machine.Specifications.dotCoverRunner.2.0.pdb "%APPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" > NUL +pause diff --git a/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.1.bat b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.1.bat new file mode 100644 index 0000000..e960183 --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.1.bat @@ -0,0 +1,7 @@ +mkdir "%APPDATA%\JetBrains\dotCover\v2.1\Plugins" 2> NUL +mkdir "%APPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" 2> NUL +copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" +copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" > NUL +copy /y Machine.Specifications.dotCoverRunner.2.1.dll "%APPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" +copy /y Machine.Specifications.dotCoverRunner.2.1.pdb "%APPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" > NUL +pause diff --git a/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.2.bat b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.2.bat new file mode 100644 index 0000000..c5f80c0 --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.2.bat @@ -0,0 +1,7 @@ +mkdir "%APPDATA%\JetBrains\dotCover\v2.2\Plugins" 2> NUL +mkdir "%APPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" 2> NUL +copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" +copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" > NUL +copy /y Machine.Specifications.dotCoverRunner.2.2.dll "%APPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" +copy /y Machine.Specifications.dotCoverRunner.2.2.pdb "%APPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" > NUL +pause diff --git a/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.5.bat b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.5.bat new file mode 100644 index 0000000..5c4511f --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.5.bat @@ -0,0 +1,7 @@ +mkdir "%APPDATA%\JetBrains\dotCover\v2.5\Plugins" 2> NUL +mkdir "%APPDATA%\JetBrains\dotCover\v2.5\Plugins\mspec" 2> NUL +copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\dotCover\v2.5\Plugins\mspec" +copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\dotCover\v2.5\Plugins\mspec" > NUL +copy /y Machine.Specifications.dotCoverRunner.2.5.dll "%APPDATA%\JetBrains\dotCover\v2.5\Plugins\mspec" +copy /y Machine.Specifications.dotCoverRunner.2.5.pdb "%APPDATA%\JetBrains\dotCover\v2.5\Plugins\mspec" > NUL +pause diff --git a/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.6.bat b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.6.bat new file mode 100644 index 0000000..072b13a --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/InstallDotCoverRunner.2.6.bat @@ -0,0 +1,7 @@ +mkdir "%APPDATA%\JetBrains\dotCover\v2.6\Plugins" 2> NUL +mkdir "%APPDATA%\JetBrains\dotCover\v2.6\Plugins\mspec" 2> NUL +copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\dotCover\v2.6\Plugins\mspec" +copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\dotCover\v2.6\Plugins\mspec" > NUL +copy /y Machine.Specifications.dotCoverRunner.2.6.dll "%APPDATA%\JetBrains\dotCover\v2.6\Plugins\mspec" +copy /y Machine.Specifications.dotCoverRunner.2.6.pdb "%APPDATA%\JetBrains\dotCover\v2.6\Plugins\mspec" > NUL +pause diff --git a/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.6.1.bat b/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.6.1.bat similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.6.1.bat rename to packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.6.1.bat diff --git a/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.0.bat b/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.7.0.bat similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.0.bat rename to packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.7.0.bat diff --git a/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.1.bat b/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.7.1.bat similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.1.bat rename to packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.7.1.bat diff --git a/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.8.0.bat b/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.8.0.bat new file mode 100644 index 0000000..52785f6 --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.8.0.bat @@ -0,0 +1,10 @@ +del "%APPDATA%\JetBrains\ReSharper\v8.0\vs10.0\Plugins\Machine.Specifications.*" 2> NUL +del "%APPDATA%\JetBrains\ReSharper\v8.0\vs11.0\Plugins\Machine.Specifications.*" 2> NUL + +mkdir "%APPDATA%\JetBrains\ReSharper\v8.0\Plugins" 2> NUL +mkdir "%APPDATA%\JetBrains\ReSharper\v8.0\Plugins\mspec" 2> NUL +copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v8.0\Plugins\mspec" +copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v8.0\Plugins\mspec" > NUL +copy /y Machine.Specifications.ReSharperRunner.8.0.dll "%APPDATA%\JetBrains\ReSharper\v8.0\Plugins\mspec" +copy /y Machine.Specifications.ReSharperRunner.8.0.pdb "%APPDATA%\JetBrains\ReSharper\v8.0\Plugins\mspec" > NUL +pause diff --git a/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.8.1.bat b/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.8.1.bat new file mode 100644 index 0000000..19a4221 --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/InstallResharperRunner.8.1.bat @@ -0,0 +1,10 @@ +del "%APPDATA%\JetBrains\ReSharper\v8.1\vs10.0\Plugins\Machine.Specifications.*" 2> NUL +del "%APPDATA%\JetBrains\ReSharper\v8.1\vs11.0\Plugins\Machine.Specifications.*" 2> NUL + +mkdir "%APPDATA%\JetBrains\ReSharper\v8.1\Plugins" 2> NUL +mkdir "%APPDATA%\JetBrains\ReSharper\v8.1\Plugins\mspec" 2> NUL +copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v8.1\Plugins\mspec" +copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v8.1\Plugins\mspec" > NUL +copy /y Machine.Specifications.ReSharperRunner.8.1.dll "%APPDATA%\JetBrains\ReSharper\v8.1\Plugins\mspec" +copy /y Machine.Specifications.ReSharperRunner.8.1.pdb "%APPDATA%\JetBrains\ReSharper\v8.1\Plugins\mspec" > NUL +pause diff --git a/packages/Machine.Specifications.0.5.12/tools/InstallTDNetRunner.bat b/packages/Machine.Specifications.0.7.0/tools/InstallTDNetRunner.bat similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/InstallTDNetRunner.bat rename to packages/Machine.Specifications.0.7.0/tools/InstallTDNetRunner.bat diff --git a/packages/Machine.Specifications.0.5.12/tools/InstallTDNetRunnerSilent.bat b/packages/Machine.Specifications.0.7.0/tools/InstallTDNetRunnerSilent.bat similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/InstallTDNetRunnerSilent.bat rename to packages/Machine.Specifications.0.7.0/tools/InstallTDNetRunnerSilent.bat diff --git a/packages/Machine.Specifications.0.5.12/tools/License.txt b/packages/Machine.Specifications.0.7.0/tools/License.txt similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/License.txt rename to packages/Machine.Specifications.0.7.0/tools/License.txt diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Clr4.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Clr4.dll new file mode 100644 index 0000000..1ad4eab Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Clr4.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.6.1.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.6.1.dll new file mode 100644 index 0000000..1dddd29 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.6.1.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.7.0.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.7.0.dll new file mode 100644 index 0000000..598a608 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.7.0.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.7.1.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.7.1.dll new file mode 100644 index 0000000..2bdc14a Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.7.1.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.8.0.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.8.0.dll new file mode 100644 index 0000000..1677ed9 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.8.0.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.8.1.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.8.1.dll new file mode 100644 index 0000000..066584f Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.ReSharperRunner.8.1.dll differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Reporting.Templates.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Reporting.Templates.dll similarity index 70% rename from packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Reporting.Templates.dll rename to packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Reporting.Templates.dll index 17d5845..5071dbb 100644 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Reporting.Templates.dll and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Reporting.Templates.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Reporting.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Reporting.dll new file mode 100644 index 0000000..0c076be Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.Reporting.dll differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.SeleniumSupport.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.SeleniumSupport.dll similarity index 51% rename from packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.SeleniumSupport.dll rename to packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.SeleniumSupport.dll index 02897fc..62a9244 100644 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.SeleniumSupport.dll and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.SeleniumSupport.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.TDNetRunner.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.TDNetRunner.dll new file mode 100644 index 0000000..429acb6 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.TDNetRunner.dll differ diff --git a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.WatinSupport.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.WatinSupport.dll similarity index 52% rename from packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.WatinSupport.dll rename to packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.WatinSupport.dll index 2964f44..0a0456f 100644 Binary files a/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.WatinSupport.dll and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.WatinSupport.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.WebDriverSupport.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.WebDriverSupport.dll new file mode 100644 index 0000000..8ddd1a5 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.WebDriverSupport.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dll new file mode 100644 index 0000000..59a48ac Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dll.tdnet b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dll.tdnet new file mode 100644 index 0000000..a7e57cd --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dll.tdnet @@ -0,0 +1,5 @@ + + Machine.Specifications 0.7.0.0 + Machine.Specifications.TDNetRunner.dll + Machine.Specifications.TDNetRunner.SpecificationRunner + \ No newline at end of file diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.0.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.0.dll new file mode 100644 index 0000000..566ea2e Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.0.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.1.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.1.dll new file mode 100644 index 0000000..f9d7d87 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.1.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.2.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.2.dll new file mode 100644 index 0000000..179bc88 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.2.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.5.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.5.dll new file mode 100644 index 0000000..857feef Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.5.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.6.dll b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.6.dll new file mode 100644 index 0000000..7b52acb Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Machine.Specifications.dotCoverRunner.2.6.dll differ diff --git a/packages/Machine.Specifications.0.7.0/tools/Spark.dll b/packages/Machine.Specifications.0.7.0/tools/Spark.dll new file mode 100644 index 0000000..9ef6d37 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/Spark.dll differ diff --git a/packages/Machine.Specifications.0.5.12/tools/TestDriven.Framework.dll b/packages/Machine.Specifications.0.7.0/tools/TestDriven.Framework.dll similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/TestDriven.Framework.dll rename to packages/Machine.Specifications.0.7.0/tools/TestDriven.Framework.dll diff --git a/packages/Machine.Specifications.0.7.0/tools/history.txt b/packages/Machine.Specifications.0.7.0/tools/history.txt new file mode 100644 index 0000000..f1a373b --- /dev/null +++ b/packages/Machine.Specifications.0.7.0/tools/history.txt @@ -0,0 +1,153 @@ +Machine.Specifications 0.7.0 +----------------------------- +- Machine.Specifications.Should has been moved to seperate repository and nuget. + +Machine.Specifications 0.6.2 +----------------------------- +- Enable support for internal specs +- Enable support for private nested specs + +Machine.Specifications 0.6.1 +----------------------------- +- Nuget package adds proper references for .NET 4.0 and 4.5 +- Nuget package excludes sources + +Machine.Specifications 0.6.0 +----------------------------- +- Should Extension Methods are moved into own assembly which simplifies things for people using other assertion libraries. +- DelegateUsageAttribute is deprecated and will be remove in next version use new *DelegateAttribute types for custom delegates +- Dropped support for Gallio +- Resharper 8.1 support +- DotCover 2.6 support + +Machine.Specifications 0.5.18 +----------------------------- +- The zip package looks just like the NuGet package, minus NuGet-specific files + +Machine.Specifications 0.5.17 +----------------------------- +- This version was accidentally released as the signed version only. It is equal +to 0.5.16 unsigned. + +Machine.Specifications 0.5.16 +----------------------------- +- Capturing standard out, standard error and trace streams in ReSharper 8 +(7 does this for us) and the console runners. Output is added to the test result +XML/HTML. (#158) +- Some fixes for behaviors in ReSharper (#155) + +Machine.Specifications 0.5.15 +----------------------------- +Fixed an issue with running two spec assemblies: When the first one fails and +the second one succeeds mspec.exe reported success. I needed to introduce a +breaking change in the runner, so older versions are not compatible with 0.5.15. +Update your ReSharper runners when upgrading to 0.5.15! + +Machine.Specifications 0.5.14 +----------------------------- +- Closed #146: MSpec doesn't fail when Machine.Specifications cannot be found for +a spec assembly. Can be useful if you want to target mspec.exe to a NUnit +assembly, which is now a no-op. +- Closed #151: Fixed MSpec slowness with ReSharper 8. + +Machine.Specifications 0.5.12 +----------------------------- +- ReSharper 8 support +- dotCover 2.5 support by Alexander Mikhailov +- Documented --filters parameter for mspec.exe by Pieter Germishuys +- Fix for TeamCity integration by James Crowley + +Machine.Specifications 0.5.11 +----------------------------- + +- Console output (mspec.exe) is now colored by default. You can disable colored +output with the --no-color switch +- Added progress output for the console runner (--progress switch) +- The console runner now prints a list of failed specifications at the end of +the test run (for silent, progress and verbose reporting options) +- Support for custom delegates (i.e. you can replace Establish, Because, It, +Cleanup, Behaves_like) with your own versions as long as the delegate signatures +match. Please note that this currently only supported for console and +TestDriven.Net runners. ReSharper won't find your context/specs if you use +custom delegates. See Machine.Specifications.Example.CustomDelegates for an +example. -- Thanks Jonathan Dickinson! +- Fixed an issue with the ReSharper runner and generic Behaviors like +Behaves_like> a_blah_blah; +- Improved double-click navigation for behavior specifications in ReSharper +- Dropped support for ReSharper 6.0 +- Fixed bug #17 which caused ReSharper to run IAssemblyContexts for each +specification in an assembly (now the behavior is the same as with the console +runner - running them once per assembly) +- Matt Ellis contributed code that allows you to filter for "unit test usages" +in ReSharper -- thank you! + +Machine.Specifications 0.5.10 +----------------------------- + +- ReSharper 7.1 support +- Various fixes for ReSharper: + - Retrieving Subject from outer class + - Context sort order + - Unimplemented specs are being reported as inconclusive + +Machine.Specifications 0.5.9 +---------------------------- + +- Removed ReSharper runners for ReSharper 4.1, 4.5 and 5.0 +- Added runner for dotCover 2.1 +- Updated runner for Gallio 3.4 + +Machine.Specifications 0.5.8 +---------------------------- + +- ReSharper 7.0 runner for RTM +The installer batches now copy the plugin to a folder that's shared between +Visual Studio versions, i.e. install for both VS 2010 and VS 2012 at the same +time +- Some fixes for ReSharper not picking up TagsAttribute correctly +- New extension method `ShouldBeLike` to test multiple object properties at once +using an anonymous object. +Might be useful for DTOs, we have some samples here: http://bit.ly/Op7tmP + +Machine.Specifications 0.5.7 +---------------------------- + +- Updated ReSharper 7.0 EAP runner (it's the same as in the prerelease +packages) +- Added a new runner for dotCover 2.0 EAP +- Added a new command line switch, --no-teamcity-autodetect, to disable +TeamCity autodetection in certain scenarios (http://bit.ly/KrOqIh) +- Added code snippets for VS to the repository (http://bit.ly/KrOrMi) + +Machine.Specifications 0.5.6 +---------------------------- + +- Fixes for the ReSharper runner: +Our internal unit test data structures caused the runner to silently break on +renames. Corrected contexts with [Tags("foo")]; besides "foo", they also got the +ReSharper category of "object". + +- New ShouldMatch extension method allowing for custom assertions with a +Func. Thanks Tomas Ekeli! + +Machine.Specifications 0.5.5 +---------------------------- + +- For CLR4 projects, there are new extension methods in the M.S.Clr4 assembly +that should make testing Task easier. Thanks Albert Weinert! + +- Updated Gallio Adapter, works against Gallio 3.3.454. Thanks Niels Hanberg! + +- ReSharper 6.1 templates for MSpec's delegates - see Misc\*.DotSettings in the +repository. I wrote a blog post some time ago how to use them, +http://bit.ly/xRZf2s +Thanks @sksbrg! + +- Runner for the current ReSharper 7.0 EAP for VS 11 +Thanks Alexander Zeitler! + +- Updated result supplementer for Selenium WebDriver. An example: +http://bit.ly/A48A2I + +- Made AssertComparer public, it should be easier to write custom Should* +extension methods now. diff --git a/packages/Machine.Specifications.0.5.12/tools/install.ps1 b/packages/Machine.Specifications.0.7.0/tools/install.ps1 similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/install.ps1 rename to packages/Machine.Specifications.0.7.0/tools/install.ps1 diff --git a/packages/Machine.Specifications.0.7.0/tools/mspec-clr4.exe b/packages/Machine.Specifications.0.7.0/tools/mspec-clr4.exe new file mode 100644 index 0000000..a4d87ca Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/mspec-clr4.exe differ diff --git a/packages/Machine.Specifications.0.5.12/tools/mspec-clr4.exe.config b/packages/Machine.Specifications.0.7.0/tools/mspec-clr4.exe.config similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/mspec-clr4.exe.config rename to packages/Machine.Specifications.0.7.0/tools/mspec-clr4.exe.config diff --git a/packages/Machine.Specifications.0.7.0/tools/mspec-x86-clr4.exe b/packages/Machine.Specifications.0.7.0/tools/mspec-x86-clr4.exe new file mode 100644 index 0000000..8324da0 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/mspec-x86-clr4.exe differ diff --git a/packages/Machine.Specifications.0.5.12/tools/mspec-x86-clr4.exe.config b/packages/Machine.Specifications.0.7.0/tools/mspec-x86-clr4.exe.config similarity index 100% rename from packages/Machine.Specifications.0.5.12/tools/mspec-x86-clr4.exe.config rename to packages/Machine.Specifications.0.7.0/tools/mspec-x86-clr4.exe.config diff --git a/packages/Machine.Specifications.0.7.0/tools/mspec-x86.exe b/packages/Machine.Specifications.0.7.0/tools/mspec-x86.exe new file mode 100644 index 0000000..b945efb Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/mspec-x86.exe differ diff --git a/packages/Machine.Specifications.0.7.0/tools/mspec.exe b/packages/Machine.Specifications.0.7.0/tools/mspec.exe new file mode 100644 index 0000000..7396ee7 Binary files /dev/null and b/packages/Machine.Specifications.0.7.0/tools/mspec.exe differ diff --git a/packages/Machine.Specifications.Should.0.7.1/License.txt b/packages/Machine.Specifications.Should.0.7.1/License.txt new file mode 100644 index 0000000..6183ea8 --- /dev/null +++ b/packages/Machine.Specifications.Should.0.7.1/License.txt @@ -0,0 +1,54 @@ +Copyright (c) 2008 Machine Project +Portions Copyright (c) 2008 Jacob Lewallen, Aaron Jensen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +***************************** +Some parts licensed under MS-PL +***************************** + +This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. + +1. Definitions + +The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. + +A "contribution" is the original software, or any additions or changes to the software. + +A "contributor" is any person that distributes its contribution under this license. + +"Licensed patents" are a contributor's patent claims that read directly on its contribution. + +2. Grant of Rights + +(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. + +(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. + +3. Conditions and Limitations + +(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. + +(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. + +(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. + +(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. + +(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. \ No newline at end of file diff --git a/packages/Machine.Specifications.Should.0.7.1/Machine.Specifications.Should.0.7.1.nupkg b/packages/Machine.Specifications.Should.0.7.1/Machine.Specifications.Should.0.7.1.nupkg new file mode 100644 index 0000000..59beaed Binary files /dev/null and b/packages/Machine.Specifications.Should.0.7.1/Machine.Specifications.Should.0.7.1.nupkg differ diff --git a/packages/Machine.Specifications.Should.0.7.1/lib/net20/Machine.Specifications.Should.dll b/packages/Machine.Specifications.Should.0.7.1/lib/net20/Machine.Specifications.Should.dll new file mode 100644 index 0000000..91d6bc7 Binary files /dev/null and b/packages/Machine.Specifications.Should.0.7.1/lib/net20/Machine.Specifications.Should.dll differ diff --git a/packages/Machine.Specifications.Should.0.7.1/lib/net40/Machine.Specifications.Should.dll b/packages/Machine.Specifications.Should.0.7.1/lib/net40/Machine.Specifications.Should.dll new file mode 100644 index 0000000..91d6bc7 Binary files /dev/null and b/packages/Machine.Specifications.Should.0.7.1/lib/net40/Machine.Specifications.Should.dll differ diff --git a/packages/Machine.Specifications.Should.0.7.1/lib/net45/Machine.Specifications.Should.dll b/packages/Machine.Specifications.Should.0.7.1/lib/net45/Machine.Specifications.Should.dll new file mode 100644 index 0000000..91d6bc7 Binary files /dev/null and b/packages/Machine.Specifications.Should.0.7.1/lib/net45/Machine.Specifications.Should.dll differ diff --git a/packages/Moq.4.0.10827/License.txt b/packages/Moq.4.0.10827/License.txt deleted file mode 100755 index fb36f92..0000000 --- a/packages/Moq.4.0.10827/License.txt +++ /dev/null @@ -1,39 +0,0 @@ -Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD -http://code.google.com/p/moq/ -All rights reserved. - -Redistribution and use in source and binary forms, -with or without modification, are permitted provided -that the following conditions are met: - - * Redistributions of source code must retain the - above copyright notice, this list of conditions and - the following disclaimer. - - * Redistributions in binary form must reproduce - the above copyright notice, this list of conditions - and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - * Neither the name of Clarius Consulting, Manas Technology Solutions or InSTEDD nor the - names of its contributors may be used to endorse - or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND -CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. - -[This is the BSD license, see - http://www.opensource.org/licenses/bsd-license.php] \ No newline at end of file diff --git a/packages/Moq.4.0.10827/Moq.4.0.10827.nupkg b/packages/Moq.4.0.10827/Moq.4.0.10827.nupkg deleted file mode 100755 index 91e88a4..0000000 Binary files a/packages/Moq.4.0.10827/Moq.4.0.10827.nupkg and /dev/null differ diff --git a/packages/Moq.4.0.10827/lib/NET35/Moq.dll b/packages/Moq.4.0.10827/lib/NET35/Moq.dll deleted file mode 100755 index 3d3b8cc..0000000 Binary files a/packages/Moq.4.0.10827/lib/NET35/Moq.dll and /dev/null differ diff --git a/packages/Moq.4.0.10827/lib/NET35/Moq.pdb b/packages/Moq.4.0.10827/lib/NET35/Moq.pdb deleted file mode 100755 index b0eaa80..0000000 Binary files a/packages/Moq.4.0.10827/lib/NET35/Moq.pdb and /dev/null differ diff --git a/packages/Moq.4.0.10827/lib/NET40/Moq.dll b/packages/Moq.4.0.10827/lib/NET40/Moq.dll deleted file mode 100755 index 3a3e653..0000000 Binary files a/packages/Moq.4.0.10827/lib/NET40/Moq.dll and /dev/null differ diff --git a/packages/Moq.4.0.10827/lib/NET40/Moq.pdb b/packages/Moq.4.0.10827/lib/NET40/Moq.pdb deleted file mode 100755 index 03cca56..0000000 Binary files a/packages/Moq.4.0.10827/lib/NET40/Moq.pdb and /dev/null differ diff --git a/packages/Moq.4.0.10827/lib/Silverlight4/Castle.Core.dll b/packages/Moq.4.0.10827/lib/Silverlight4/Castle.Core.dll deleted file mode 100755 index a887ecd..0000000 Binary files a/packages/Moq.4.0.10827/lib/Silverlight4/Castle.Core.dll and /dev/null differ diff --git a/packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.dll b/packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.dll deleted file mode 100755 index fb516c1..0000000 Binary files a/packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.dll and /dev/null differ diff --git a/packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.pdb b/packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.pdb deleted file mode 100755 index d33d394..0000000 Binary files a/packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.pdb and /dev/null differ diff --git a/packages/Moq.4.2.1402.2112/Moq.4.2.1402.2112.nupkg b/packages/Moq.4.2.1402.2112/Moq.4.2.1402.2112.nupkg new file mode 100644 index 0000000..6591c34 Binary files /dev/null and b/packages/Moq.4.2.1402.2112/Moq.4.2.1402.2112.nupkg differ diff --git a/packages/Moq.4.2.1402.2112/lib/net35/Moq.dll b/packages/Moq.4.2.1402.2112/lib/net35/Moq.dll new file mode 100644 index 0000000..1b36476 Binary files /dev/null and b/packages/Moq.4.2.1402.2112/lib/net35/Moq.dll differ diff --git a/packages/Moq.4.0.10827/lib/NET35/Moq.xml b/packages/Moq.4.2.1402.2112/lib/net35/Moq.xml old mode 100755 new mode 100644 similarity index 95% rename from packages/Moq.4.0.10827/lib/NET35/Moq.xml rename to packages/Moq.4.2.1402.2112/lib/net35/Moq.xml index a0be31c..2fee68e --- a/packages/Moq.4.0.10827/lib/NET35/Moq.xml +++ b/packages/Moq.4.2.1402.2112/lib/net35/Moq.xml @@ -47,6 +47,62 @@ The setter expression. + + + Handle interception + + the current invocation context + shared data for the interceptor as a whole + shared data among the strategies during a single interception + InterceptionAction.Continue if further interception has to be processed, otherwise InterceptionAction.Stop + + + + Covarient interface for Mock<T> such that casts between IMock<Employee> to IMock<Person> + are possible. Only covers the covariant members of Mock<T>. + + + + + Exposes the mocked object instance. + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called + for mocked classes if no setup is matched. Defaults to . + + + + + Specifies the behavior to use when returning default values for + unexpected invocations on loose mocks. + + + + + Get an eventInfo for a given event name. Search type ancestors depth first if necessary. + + Name of the event, with the set_ or get_ prefix already removed + + + + Get an eventInfo for a given event name. Search type ancestors depth first if necessary. + Searches also in non public events. + + Name of the event, with the set_ or get_ prefix already removed + + + + Given a type return all of its ancestors, both types and interfaces. + + The type to find immediate ancestors of + Defines the Callback verb and overloads. @@ -1622,6 +1678,12 @@ + + + Calls the real method of the object and returns its return value. + + The value calculated by the real method of the object. + Specifies a function that will calculate the value to return from the method, @@ -2177,6 +2239,43 @@ + + + Hook used to tells Castle which methods to proxy in mocked classes. + + Here we proxy the default methods Castle suggests (everything Object's methods) + plus Object.ToString(), so we can give mocks useful default names. + + This is required to allow Moq to mock ToString on proxy *class* implementations. + + + + + Extends AllMethodsHook.ShouldInterceptMethod to also intercept Object.ToString(). + + + + + The base class used for all our interface-inheriting proxies, which overrides the default + Object.ToString() behavior, to route it via the mock by default, unless overriden by a + real implementation. + + This is required to allow Moq to mock ToString on proxy *interface* implementations. + + + This is internal to Moq and should not be generally used. + + Unfortunately it must be public, due to cross-assembly visibility issues with reflection, + see github.com/Moq/moq4/issues/98 for details. + + + + + Overrides the default ToString implementation to instead find the mock for this mock.Object, + and return MockName + '.Object' as the mocked object's ToString, to make it easy to relate + mocks and mock object instances in error messages. + + Language for ReturnSequence @@ -2197,6 +2296,11 @@ Throws an exception + + + Calls original method + + The first method call or member access will be the @@ -2300,7 +2404,7 @@ // that expectation was not marked as verifiable. this.VerifyAll(); - At least one expectation was not met. + At least one expectation was not met. @@ -2385,6 +2489,20 @@ This is used in the auto-mocking of hierarchy access. + + + If this is a mock of a delegate, this property contains the method + on the autogenerated interface so that we can convert setup + verify + expressions on the delegate into expressions on the interface proxy. + + + + + Allows to check whether expression conversion to the + must be performed on the mock, without causing unnecessarily early initialization of + the mock instance, which breaks As{T}. + + Specifies the class that will determine the default @@ -3006,6 +3124,12 @@ that moment. + + + Calls the real property of the object and returns its return value. + + The value calculated by the real property of the object. + Implements the fluent API. @@ -3659,6 +3783,20 @@ The sixteenth parameter of the method that this delegate encapsulates. The return value of the method that this delegate encapsulates. + + + Provides additional methods on mocks. + + + Those methods are useful for Testeroids support. + + + + + Resets the calls previously made on the specified mock. + + The mock whose calls need to be reset. + Helper class to setup a full trace between many mocks @@ -3918,6 +4056,11 @@ var mock = new Mock<MyProvider>(someArgument, 25); Behavior of the mock.Optional constructor arguments if the mocked type is a class. + + + Returns the name of the mock + + Returns the mocked object value. @@ -4090,6 +4233,15 @@ . Expression to verify.The number of times a method is allowed to be called. + + + Verifies that a specific invocation matching the given expression was performed on the mock. Use + in conjuntion with the default . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called. + Verifies that a specific invocation matching the given expression was performed on the mock, @@ -4117,6 +4269,16 @@ . Expression to verify.The number of times a method is allowed to be called.Message to show if verification fails. + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. Use in conjuntion with the default + . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called.Message to show if verification fails. + Verifies that a specific invocation matching the given expression was performed on the mock. Use @@ -4143,6 +4305,16 @@ . Expression to verify.The number of times a method is allowed to be called.Type of return value from the expression. + + + Verifies that a specific invocation matching the given + expression was performed on the mock. Use in conjuntion + with the default . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called.Type of return value from the expression. + Verifies that a specific invocation matching the given @@ -4201,6 +4373,17 @@ be inferred from the expression's return type. + + + Verifies that a property was read on the mock. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + Verifies that a property was read on the mock, specifying a failure @@ -4233,6 +4416,18 @@ be inferred from the expression's return type. + + + Verifies that a property was read on the mock, specifying a failure + error message. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + Verifies that a property was set on the mock. @@ -4257,6 +4452,14 @@ . The number of times a method is allowed to be called.Expression to verify. + + + Verifies that a property was set on the mock. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify. + Verifies that a property was set on the mock, specifying @@ -4283,6 +4486,15 @@ . The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + + + Verifies that a property was set on the mock, specifying + a failure message. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + Raises the event referenced in using @@ -4341,6 +4553,14 @@ Exposes the mocked object instance. + + + Allows naming of your mocks, so they can be easily identified in error messages (e.g. from failed assertions). + + + + + Provides legacy API members as extensions so that @@ -4363,7 +4583,7 @@ Obsolete. - + Provides additional methods on mocks. @@ -4372,7 +4592,7 @@ with the overloads taking Action. - + Specifies a setup on the mocked type for a call to to a property setter, regardless of its value. @@ -4395,7 +4615,7 @@ confusing the compiler with the new Action syntax. - + Verifies that a property has been set on the mock, regarless of its value. @@ -4418,7 +4638,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, specifying a failure error message. @@ -4443,7 +4663,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, regardless of the value but only the specified number of times. @@ -4470,7 +4690,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, regardless of the value but only the specified number of times, and specifying a failure @@ -4564,6 +4784,18 @@ is fixed. + + + Extracts, into a common form, information from a + around either a (for a normal method call) + or a (for a delegate invocation). + + + + + Tests if a type is a delegate type (subclasses ). + + Provides partial evaluation of subtrees, whenever they can be evaluated locally. @@ -4659,18 +4891,6 @@ all mocks. - - - Get an eventInfo for a given event name. Search type ancestors depth first if necessary. - - Name of the event, with the set_ or get_ prefix already removed - - - - Given a type return all of its ancestors, both types and interfaces. - - The type to find immediate ancestors of - Implements the fluent API. @@ -4720,6 +4940,11 @@ Type of the value. + + + Matches any value of the given type, except null. + Type of the value. + Matches any value that satisfies the given predicate. @@ -4757,6 +4982,66 @@ + + + Matches any value that is present in the sequence specified. + Type of the argument to check.The sequence of possible values. + The following example shows how to expect a method call + with an integer argument with value from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(values))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + Type of the argument to check.The sequence of possible values. + The following example shows how to expect a method call + with an integer argument with a value of 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(1, 2, 3))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + Type of the argument to check.The sequence of disallowed values. + The following example shows how to expect a method call + with an integer argument with value not found from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(values))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + Type of the argument to check.The sequence of disallowed values. + The following example shows how to expect a method call + with an integer argument of any value except 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(1, 2, 3))) + .Returns(false); + + + Matches a string argument if it matches the given regular expression pattern. @@ -4856,6 +5141,11 @@ Serialization information. Streaming context. + + + Indicates whether this exception is a verification fault raised by Verify() + + Made internal as it's of no use for @@ -4910,6 +5200,11 @@ Looks up a localized string similar to Can't set return value for void method {0}.. + + + Looks up a localized string similar to Constructor arguments cannot be passed for delegate mocks.. + + Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks.. @@ -5678,6 +5973,25 @@ Retrieves a fluent mock from the given setup expression. + + + Gets an autogenerated interface with a method on it that matches the signature of the specified + . + + + Such an interface can then be mocked, and a delegate pointed at the method on the mocked instance. + This is how we support delegate mocking. The factory caches such interfaces and reuses them + for repeated requests for the same delegate type. + + The delegate type for which an interface is required. + The method on the autogenerated interface. + + + + + + + Defines the number of invocations allowed by a mocked method. diff --git a/packages/Moq.4.2.1402.2112/lib/net40/Moq.dll b/packages/Moq.4.2.1402.2112/lib/net40/Moq.dll new file mode 100644 index 0000000..bdd4235 Binary files /dev/null and b/packages/Moq.4.2.1402.2112/lib/net40/Moq.dll differ diff --git a/packages/Moq.4.0.10827/lib/NET40/Moq.xml b/packages/Moq.4.2.1402.2112/lib/net40/Moq.xml old mode 100755 new mode 100644 similarity index 94% rename from packages/Moq.4.0.10827/lib/NET40/Moq.xml rename to packages/Moq.4.2.1402.2112/lib/net40/Moq.xml index 13b8804..0431a9e --- a/packages/Moq.4.0.10827/lib/NET40/Moq.xml +++ b/packages/Moq.4.2.1402.2112/lib/net40/Moq.xml @@ -47,6 +47,62 @@ The setter expression. + + + Handle interception + + the current invocation context + shared data for the interceptor as a whole + shared data among the strategies during a single interception + InterceptionAction.Continue if further interception has to be processed, otherwise InterceptionAction.Stop + + + + Covarient interface for Mock<T> such that casts between IMock<Employee> to IMock<Person> + are possible. Only covers the covariant members of Mock<T>. + + + + + Exposes the mocked object instance. + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called + for mocked classes if no setup is matched. Defaults to . + + + + + Specifies the behavior to use when returning default values for + unexpected invocations on loose mocks. + + + + + Get an eventInfo for a given event name. Search type ancestors depth first if necessary. + + Name of the event, with the set_ or get_ prefix already removed + + + + Get an eventInfo for a given event name. Search type ancestors depth first if necessary. + Searches also in non public events. + + Name of the event, with the set_ or get_ prefix already removed + + + + Given a type return all of its ancestors, both types and interfaces. + + The type to find immediate ancestors of + Defines the Callback verb and overloads. @@ -1622,6 +1678,12 @@ + + + Calls the real method of the object and returns its return value. + + The value calculated by the real method of the object. + Specifies a function that will calculate the value to return from the method, @@ -2177,6 +2239,58 @@ + + + Hook used to tells Castle which methods to proxy in mocked classes. + + Here we proxy the default methods Castle suggests (everything Object's methods) + plus Object.ToString(), so we can give mocks useful default names. + + This is required to allow Moq to mock ToString on proxy *class* implementations. + + + + + Extends AllMethodsHook.ShouldInterceptMethod to also intercept Object.ToString(). + + + + + The base class used for all our interface-inheriting proxies, which overrides the default + Object.ToString() behavior, to route it via the mock by default, unless overriden by a + real implementation. + + This is required to allow Moq to mock ToString on proxy *interface* implementations. + + + This is internal to Moq and should not be generally used. + + Unfortunately it must be public, due to cross-assembly visibility issues with reflection, + see github.com/Moq/moq4/issues/98 for details. + + + + + Overrides the default ToString implementation to instead find the mock for this mock.Object, + and return MockName + '.Object' as the mocked object's ToString, to make it easy to relate + mocks and mock object instances in error messages. + + + + + Defines async extension methods on IReturns. + + + + + Allows to specify the return value of an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + Language for ReturnSequence @@ -2197,6 +2311,11 @@ Throws an exception + + + Calls original method + + The first method call or member access will be the @@ -2300,7 +2419,7 @@ // that expectation was not marked as verifiable. this.VerifyAll(); - At least one expectation was not met. + At least one expectation was not met. @@ -2385,6 +2504,20 @@ This is used in the auto-mocking of hierarchy access. + + + If this is a mock of a delegate, this property contains the method + on the autogenerated interface so that we can convert setup + verify + expressions on the delegate into expressions on the interface proxy. + + + + + Allows to check whether expression conversion to the + must be performed on the mock, without causing unnecessarily early initialization of + the mock instance, which breaks As{T}. + + Specifies the class that will determine the default @@ -3006,11 +3139,31 @@ that moment. + + + Calls the real property of the object and returns its return value. + + The value calculated by the real property of the object. + Implements the fluent API. + + + Provides additional methods on mocks. + + + Those methods are useful for Testeroids support. + + + + + Resets the calls previously made on the specified mock. + + The mock whose calls need to be reset. + Helper class to setup a full trace between many mocks @@ -3270,6 +3423,11 @@ var mock = new Mock<MyProvider>(someArgument, 25); Behavior of the mock.Optional constructor arguments if the mocked type is a class. + + + Returns the name of the mock + + Returns the mocked object value. @@ -3442,6 +3600,15 @@ . Expression to verify.The number of times a method is allowed to be called. + + + Verifies that a specific invocation matching the given expression was performed on the mock. Use + in conjuntion with the default . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called. + Verifies that a specific invocation matching the given expression was performed on the mock, @@ -3469,6 +3636,16 @@ . Expression to verify.The number of times a method is allowed to be called.Message to show if verification fails. + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. Use in conjuntion with the default + . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called.Message to show if verification fails. + Verifies that a specific invocation matching the given expression was performed on the mock. Use @@ -3495,6 +3672,16 @@ . Expression to verify.The number of times a method is allowed to be called.Type of return value from the expression. + + + Verifies that a specific invocation matching the given + expression was performed on the mock. Use in conjuntion + with the default . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called.Type of return value from the expression. + Verifies that a specific invocation matching the given @@ -3553,6 +3740,17 @@ be inferred from the expression's return type. + + + Verifies that a property was read on the mock. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + Verifies that a property was read on the mock, specifying a failure @@ -3585,6 +3783,18 @@ be inferred from the expression's return type. + + + Verifies that a property was read on the mock, specifying a failure + error message. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + Verifies that a property was set on the mock. @@ -3609,6 +3819,14 @@ . The number of times a method is allowed to be called.Expression to verify. + + + Verifies that a property was set on the mock. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify. + Verifies that a property was set on the mock, specifying @@ -3635,6 +3853,15 @@ . The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + + + Verifies that a property was set on the mock, specifying + a failure message. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + Raises the event referenced in using @@ -3693,6 +3920,14 @@ Exposes the mocked object instance. + + + Allows naming of your mocks, so they can be easily identified in error messages (e.g. from failed assertions). + + + + + Provides legacy API members as extensions so that @@ -3715,7 +3950,7 @@ Obsolete. - + Provides additional methods on mocks. @@ -3724,7 +3959,7 @@ with the overloads taking Action. - + Specifies a setup on the mocked type for a call to to a property setter, regardless of its value. @@ -3747,7 +3982,7 @@ confusing the compiler with the new Action syntax. - + Verifies that a property has been set on the mock, regarless of its value. @@ -3770,7 +4005,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, specifying a failure error message. @@ -3795,7 +4030,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, regardless of the value but only the specified number of times. @@ -3822,7 +4057,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, regardless of the value but only the specified number of times, and specifying a failure @@ -3916,6 +4151,18 @@ is fixed. + + + Extracts, into a common form, information from a + around either a (for a normal method call) + or a (for a delegate invocation). + + + + + Tests if a type is a delegate type (subclasses ). + + Provides partial evaluation of subtrees, whenever they can be evaluated locally. @@ -4011,18 +4258,6 @@ all mocks. - - - Get an eventInfo for a given event name. Search type ancestors depth first if necessary. - - Name of the event, with the set_ or get_ prefix already removed - - - - Given a type return all of its ancestors, both types and interfaces. - - The type to find immediate ancestors of - Implements the fluent API. @@ -4072,6 +4307,11 @@ Type of the value. + + + Matches any value of the given type, except null. + Type of the value. + Matches any value that satisfies the given predicate. @@ -4109,6 +4349,66 @@ + + + Matches any value that is present in the sequence specified. + Type of the argument to check.The sequence of possible values. + The following example shows how to expect a method call + with an integer argument with value from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(values))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + Type of the argument to check.The sequence of possible values. + The following example shows how to expect a method call + with an integer argument with a value of 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(1, 2, 3))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + Type of the argument to check.The sequence of disallowed values. + The following example shows how to expect a method call + with an integer argument with value not found from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(values))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + Type of the argument to check.The sequence of disallowed values. + The following example shows how to expect a method call + with an integer argument of any value except 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(1, 2, 3))) + .Returns(false); + + + Matches a string argument if it matches the given regular expression pattern. @@ -4208,6 +4508,11 @@ Serialization information. Streaming context. + + + Indicates whether this exception is a verification fault raised by Verify() + + Made internal as it's of no use for @@ -4262,6 +4567,11 @@ Looks up a localized string similar to Can't set return value for void method {0}.. + + + Looks up a localized string similar to Constructor arguments cannot be passed for delegate mocks.. + + Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks.. @@ -5030,6 +5340,25 @@ Retrieves a fluent mock from the given setup expression. + + + Gets an autogenerated interface with a method on it that matches the signature of the specified + . + + + Such an interface can then be mocked, and a delegate pointed at the method on the mocked instance. + This is how we support delegate mocking. The factory caches such interfaces and reuses them + for repeated requests for the same delegate type. + + The delegate type for which an interface is required. + The method on the autogenerated interface. + + + + + + + Defines the number of invocations allowed by a mocked method. diff --git a/packages/Moq.4.2.1402.2112/lib/sl4/Moq.Silverlight.dll b/packages/Moq.4.2.1402.2112/lib/sl4/Moq.Silverlight.dll new file mode 100644 index 0000000..3f56e12 Binary files /dev/null and b/packages/Moq.4.2.1402.2112/lib/sl4/Moq.Silverlight.dll differ diff --git a/packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.xml b/packages/Moq.4.2.1402.2112/lib/sl4/Moq.Silverlight.xml old mode 100755 new mode 100644 similarity index 94% rename from packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.xml rename to packages/Moq.4.2.1402.2112/lib/sl4/Moq.Silverlight.xml index ac37f5c..26046c4 --- a/packages/Moq.4.0.10827/lib/Silverlight4/Moq.Silverlight.xml +++ b/packages/Moq.4.2.1402.2112/lib/sl4/Moq.Silverlight.xml @@ -170,7 +170,7 @@ // that expectation was not marked as verifiable. this.VerifyAll(); - At least one expectation was not met. + At least one expectation was not met. @@ -255,6 +255,20 @@ This is used in the auto-mocking of hierarchy access. + + + If this is a mock of a delegate, this property contains the method + on the autogenerated interface so that we can convert setup + verify + expressions on the delegate into expressions on the interface proxy. + + + + + Allows to check whether expression conversion to the + must be performed on the mock, without causing unnecessarily early initialization of + the mock instance, which breaks As{T}. + + Specifies the class that will determine the default @@ -268,6 +282,34 @@ Exposes the list of extra interfaces implemented by the mock. + + + Covarient interface for Mock<T> such that casts between IMock<Employee> to IMock<Person> + are possible. Only covers the covariant members of Mock<T>. + + + + + Exposes the mocked object instance. + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called + for mocked classes if no setup is matched. Defaults to . + + + + + Specifies the behavior to use when returning default values for + unexpected invocations on loose mocks. + + Ctor invoked by AsTInterface exclusively. @@ -309,6 +351,11 @@ var mock = new Mock<MyProvider>(someArgument, 25); Behavior of the mock.Optional constructor arguments if the mocked type is a class. + + + Returns the name of the mock + + Returns the mocked object value. @@ -481,6 +528,15 @@ . Expression to verify.The number of times a method is allowed to be called. + + + Verifies that a specific invocation matching the given expression was performed on the mock. Use + in conjuntion with the default . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called. + Verifies that a specific invocation matching the given expression was performed on the mock, @@ -508,6 +564,16 @@ . Expression to verify.The number of times a method is allowed to be called.Message to show if verification fails. + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. Use in conjuntion with the default + . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called.Message to show if verification fails. + Verifies that a specific invocation matching the given expression was performed on the mock. Use @@ -534,6 +600,16 @@ . Expression to verify.The number of times a method is allowed to be called.Type of return value from the expression. + + + Verifies that a specific invocation matching the given + expression was performed on the mock. Use in conjuntion + with the default . + + The invocation was not call the times specified by + . + Expression to verify.The number of times a method is allowed to be called.Type of return value from the expression. + Verifies that a specific invocation matching the given @@ -592,6 +668,17 @@ be inferred from the expression's return type. + + + Verifies that a property was read on the mock. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + Verifies that a property was read on the mock, specifying a failure @@ -624,6 +711,18 @@ be inferred from the expression's return type. + + + Verifies that a property was read on the mock, specifying a failure + error message. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + Verifies that a property was set on the mock. @@ -648,6 +747,14 @@ . The number of times a method is allowed to be called.Expression to verify. + + + Verifies that a property was set on the mock. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify. + Verifies that a property was set on the mock, specifying @@ -674,6 +781,15 @@ . The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + + + Verifies that a property was set on the mock, specifying + a failure message. + + The invocation was not call the times specified by + . + The number of times a method is allowed to be called.Expression to verify.Message to show if verification fails. + Raises the event referenced in using @@ -757,6 +873,14 @@ Exposes the mocked object instance. + + + Allows naming of your mocks, so they can be easily identified in error messages (e.g. from failed assertions). + + + + + Implements the fluent API. @@ -937,12 +1061,24 @@ is fixed. + + + Extracts, into a common form, information from a + around either a (for a normal method call) + or a (for a delegate invocation). + + The intention of is to create a more readable string representation for the failure message. + + + Tests if a type is a delegate type (subclasses ). + + Tracks the current mock and interception context. @@ -991,6 +1127,15 @@ The minimun allowed value for the argument. The maximun allowed value for the argument. + + + Handle interception + + the current invocation context + shared data for the interceptor as a whole + shared data among the strategies during a single interception + InterceptionAction.Continue if further interception has to be processed, otherwise InterceptionAction.Stop + Implemented by all generated mock object instances. @@ -1017,13 +1162,20 @@ all mocks. - + + + Get an eventInfo for a given event name. Search type ancestors depth first if necessary. + + Name of the event, with the set_ or get_ prefix already removed + + Get an eventInfo for a given event name. Search type ancestors depth first if necessary. + Searches also in non public events. Name of the event, with the set_ or get_ prefix already removed - + Given a type return all of its ancestors, both types and interfaces. @@ -1053,6 +1205,11 @@ Type of the value. + + + Matches any value of the given type, except null. + Type of the value. + Matches any value that satisfies the given predicate. @@ -1090,6 +1247,66 @@ + + + Matches any value that is present in the sequence specified. + Type of the argument to check.The sequence of possible values. + The following example shows how to expect a method call + with an integer argument with value from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(values))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + Type of the argument to check.The sequence of possible values. + The following example shows how to expect a method call + with an integer argument with a value of 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(1, 2, 3))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + Type of the argument to check.The sequence of disallowed values. + The following example shows how to expect a method call + with an integer argument with value not found from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(values))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + Type of the argument to check.The sequence of disallowed values. + The following example shows how to expect a method call + with an integer argument of any value except 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(1, 2, 3))) + .Returns(false); + + + Matches a string argument if it matches the given regular expression pattern. @@ -3351,6 +3568,12 @@ + + + Calls the real method of the object and returns its return value. + + The value calculated by the real method of the object. + Implements the fluent API. @@ -3420,6 +3643,12 @@ that moment. + + + Calls the real property of the object and returns its return value. + + The value calculated by the real property of the object. + Implements the fluent API. @@ -3465,6 +3694,11 @@ Throws an exception + + + Calls original method + + The first method call or member access will be the @@ -4227,6 +4461,11 @@ + + + Indicates whether this exception is a verification fault raised by Verify() + + Made internal as it's of no use for @@ -4287,7 +4526,7 @@ Obsolete. - + Provides additional methods on mocks. @@ -4296,7 +4535,7 @@ with the overloads taking Action. - + Specifies a setup on the mocked type for a call to to a property setter, regardless of its value. @@ -4319,7 +4558,7 @@ confusing the compiler with the new Action syntax. - + Verifies that a property has been set on the mock, regarless of its value. @@ -4342,7 +4581,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, specifying a failure error message. @@ -4367,7 +4606,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, regardless of the value but only the specified number of times. @@ -4394,7 +4633,7 @@ Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. - + Verifies that a property has been set on the mock, regardless of the value but only the specified number of times, and specifying a failure @@ -4704,6 +4943,11 @@ Looks up a localized string similar to Can't set return value for void method {0}.. + + + Looks up a localized string similar to Constructor arguments cannot be passed for delegate mocks.. + + Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks.. @@ -4983,6 +5227,62 @@ Looks up a localized string similar to Invalid verify on a non-virtual (overridable in VB) member: {0}. + + + Gets an autogenerated interface with a method on it that matches the signature of the specified + . + + + Such an interface can then be mocked, and a delegate pointed at the method on the mocked instance. + This is how we support delegate mocking. The factory caches such interfaces and reuses them + for repeated requests for the same delegate type. + + The delegate type for which an interface is required. + The method on the autogenerated interface. + + + + + + + + + + Hook used to tells Castle which methods to proxy in mocked classes. + + Here we proxy the default methods Castle suggests (everything Object's methods) + plus Object.ToString(), so we can give mocks useful default names. + + This is required to allow Moq to mock ToString on proxy *class* implementations. + + + + + Extends AllMethodsHook.ShouldInterceptMethod to also intercept Object.ToString(). + + + + + The base class used for all our interface-inheriting proxies, which overrides the default + Object.ToString() behavior, to route it via the mock by default, unless overriden by a + real implementation. + + This is required to allow Moq to mock ToString on proxy *interface* implementations. + + + This is internal to Moq and should not be generally used. + + Unfortunately it must be public, due to cross-assembly visibility issues with reflection, + see github.com/Moq/moq4/issues/98 for details. + + + + + Overrides the default ToString implementation to instead find the mock for this mock.Object, + and return MockName + '.Object' as the mocked object's ToString, to make it easy to relate + mocks and mock object instances in error messages. + + Kind of range to use in a filter specified through diff --git a/packages/NSubstitute.1.6.0.0/NSubstitute.1.6.0.0.nupkg b/packages/NSubstitute.1.6.0.0/NSubstitute.1.6.0.0.nupkg deleted file mode 100644 index ebffe8f..0000000 Binary files a/packages/NSubstitute.1.6.0.0/NSubstitute.1.6.0.0.nupkg and /dev/null differ diff --git a/packages/NSubstitute.1.6.0.0/NSubstitute.1.6.0.0.nuspec b/packages/NSubstitute.1.6.0.0/NSubstitute.1.6.0.0.nuspec deleted file mode 100644 index 07ba936..0000000 --- a/packages/NSubstitute.1.6.0.0/NSubstitute.1.6.0.0.nuspec +++ /dev/null @@ -1,15 +0,0 @@ - - - - NSubstitute - 1.6.0.0 - Anthony Egerton, David Tchepak - Anthony Egerton, David Tchepak - https://github.com/nsubstitute/NSubstitute/raw/master/LICENSE.txt - http://nsubstitute.github.com/ - http://nsubstitute.github.com/images/nsubstitute-100x100.png - false - NSubstitute is a friendly substitute for .NET mocking frameworks. It has a simple, succinct syntax to help developers write clearer tests. NSubstitute is designed for Arrange-Act-Assert (AAA) testing and with Test Driven Development (TDD) in mind. - mocking mocks testing unit-testing TDD AAA - - \ No newline at end of file diff --git a/packages/NSubstitute.1.6.0.0/lib/NET35/NSubstitute.dll b/packages/NSubstitute.1.6.0.0/lib/NET35/NSubstitute.dll deleted file mode 100644 index 3f613c9..0000000 Binary files a/packages/NSubstitute.1.6.0.0/lib/NET35/NSubstitute.dll and /dev/null differ diff --git a/packages/NSubstitute.1.6.0.0/lib/NET40/NSubstitute.dll b/packages/NSubstitute.1.6.0.0/lib/NET40/NSubstitute.dll deleted file mode 100644 index 4a5174a..0000000 Binary files a/packages/NSubstitute.1.6.0.0/lib/NET40/NSubstitute.dll and /dev/null differ diff --git a/packages/NSubstitute.1.6.0.0/BreakingChanges.txt b/packages/NSubstitute.1.7.2.0/BreakingChanges.txt similarity index 81% rename from packages/NSubstitute.1.6.0.0/BreakingChanges.txt rename to packages/NSubstitute.1.7.2.0/BreakingChanges.txt index dd5edd7..87b7674 100644 --- a/packages/NSubstitute.1.6.0.0/BreakingChanges.txt +++ b/packages/NSubstitute.1.7.2.0/BreakingChanges.txt @@ -1,3 +1,33 @@ + +================================================================================================ +1.7.0 Release +================================================================================================ + +Auto-substitute for pure virtual classes with at least one public static method, which +means some methods and properties on substitutes that used to return null by default will now +return a new substitute of that type. + +Reason: +Keep consistency with the behaviour of other pure virtual classes. + +Fix: +Explicitly return null from methods and property getters when required for a test. +e.g. sub.Method().Returns(x => null); + +------------------------------------------------------------------------------------------------ + +Moved `Received.InOrder` feature from `NSubstitute.Experimental` to main `NSubstitute` namespace. +Obsoleted original `NSubstitute.Experimental.Received`. + +This can result in ambiguous reference compiler errors and obsolete member compiler earnings. + +Reason: +Promoted experimental Received feature to core library. + +Fix: +Import `NSubstitute` namespace instead of `NSubstitute.Experimental`. +(If `NSubstitute` is already imported just delete the `using NSubstitute.Experimental;` line from your fixtures.) + ================================================================================================ 1.5.0 Release ================================================================================================ diff --git a/packages/NSubstitute.1.6.0.0/CHANGELOG.txt b/packages/NSubstitute.1.7.2.0/CHANGELOG.txt similarity index 85% rename from packages/NSubstitute.1.6.0.0/CHANGELOG.txt rename to packages/NSubstitute.1.7.2.0/CHANGELOG.txt index ca0de57..7bae3a3 100644 --- a/packages/NSubstitute.1.6.0.0/CHANGELOG.txt +++ b/packages/NSubstitute.1.7.2.0/CHANGELOG.txt @@ -1,3 +1,21 @@ +1.7.2 (March 2014) +* [FIX] Basic support for types that return dynamic. Thanks to Alexandr Nikitin. (#75) +* [NEW] Auto-subbing for observables. Thanks to Paul Betts. + +1.7.1 (January 2014) +* [FIX] Ambiguous arg exception with out/ref parameters. Thanks to Alexandr Nikitin. (#129) + +1.7.0 (January 2014) +* [NEW] Partial subs (Substitute.ForPartsOf()). Thanks to Alexandr Nikitin for tonnes of hard work on this feature (and for putting up with a vacillating project owner :)). +* [UPDATE] Received.InOrder moved out of Experimental namespace. +* [FIX] Argument matching with optional parameters. Thanks to Peter Wiles. (#111) +* [FIX] Argument matching with out/ref. Thanks to Kevin Bosman. (#111) +* [FIX] The default return value for any call that returns a concrete type that is purely virtual, but also has at least one public static method in it will be a substitute rather than null. Thanks to Robert Moore (@robdmoore) for this contribution. (#118) + +1.6.1 (June 2013) +* [FIX] Detect and throw on type mismatches in Returns() caused by Returns(ConfigureOtherSub()). +* [FIX] Support raising exceptions that do not implement a serialisation constructor (#110). Thanks to Alexandr Nikitin for this contribution. + 1.6.0 (April 2013) * [NEW] .AndDoes() method for chaining a callback after a Returns(). (#98) * [FIX] Handling calls with params argument of value types, thanks to Eric Winkler. diff --git a/packages/NSubstitute.1.6.0.0/LICENSE.txt b/packages/NSubstitute.1.7.2.0/LICENSE.txt similarity index 100% rename from packages/NSubstitute.1.6.0.0/LICENSE.txt rename to packages/NSubstitute.1.7.2.0/LICENSE.txt diff --git a/packages/NSubstitute.1.7.2.0/NSubstitute.1.7.2.0.nupkg b/packages/NSubstitute.1.7.2.0/NSubstitute.1.7.2.0.nupkg new file mode 100644 index 0000000..1d11161 Binary files /dev/null and b/packages/NSubstitute.1.7.2.0/NSubstitute.1.7.2.0.nupkg differ diff --git a/packages/NSubstitute.1.6.0.0/README.txt b/packages/NSubstitute.1.7.2.0/README.txt similarity index 87% rename from packages/NSubstitute.1.6.0.0/README.txt rename to packages/NSubstitute.1.7.2.0/README.txt index 8d7e842..e5c7d90 100644 --- a/packages/NSubstitute.1.6.0.0/README.txt +++ b/packages/NSubstitute.1.7.2.0/README.txt @@ -108,12 +108,6 @@ Finally, we can raise events on our substitutes (unfortunately C# dramatically r ### Building -If you have Visual Studio 2008 or 2010 you should be able to compile NSubstitute and run the unit tests using the NUnit GUI or console test runner (see the ThirdParty directory). +If you have Visual Studio 2008, 2010, 2012, or 2013 you should be able to compile NSubstitute and run the unit tests using the NUnit GUI or console test runner (see the ThirdParty directory). To do full builds you'll also need Ruby and rake to run the rakefile. -### NOTE: Framework Multi-Targeting - -[Brendan](https://github.com/shiftkey) is updating the build process to [support multiple framework versions](https://github.com/nsubstitute/NSubstitute/wiki/Silverlight-port), including Silverlight. See the [Silverlight port](https://github.com/nsubstitute/NSubstitute/wiki/Silverlight-port) wiki page for current status. - - - diff --git a/packages/NSubstitute.1.6.0.0/acknowledgements.txt b/packages/NSubstitute.1.7.2.0/acknowledgements.txt similarity index 100% rename from packages/NSubstitute.1.6.0.0/acknowledgements.txt rename to packages/NSubstitute.1.7.2.0/acknowledgements.txt diff --git a/packages/NSubstitute.1.6.0.0/lib/NET35/NSubstitute.XML b/packages/NSubstitute.1.7.2.0/lib/NET35/NSubstitute.XML similarity index 80% rename from packages/NSubstitute.1.6.0.0/lib/NET35/NSubstitute.XML rename to packages/NSubstitute.1.7.2.0/lib/NET35/NSubstitute.XML index ac80aa9..278fbbd 100644 --- a/packages/NSubstitute.1.6.0.0/lib/NET35/NSubstitute.XML +++ b/packages/NSubstitute.1.7.2.0/lib/NET35/NSubstitute.XML @@ -100,13 +100,13 @@ - + Provides a specification for arguments for use with . Can additionally implement to give descriptions when arguments do not match. - + Checks whether the satisfies the condition of the matcher. If this throws an exception the argument will be treated as non-matching. @@ -114,7 +114,7 @@ - + Describes how the does not match the condition specified by this class, or if a detailed description can not be provided for the argument. @@ -162,6 +162,14 @@ + + + Particularly poor implementation of Maybe/Option type. + This is just filling an immediate need; use FSharpOption or XSharpx or similar for a + real implementation. + + + Delegates to ThreadLocal<T>, but wraps Value property access in try/catch to swallow ObjectDisposedExceptions. @@ -170,6 +178,16 @@ + + + Standard substitute behaviour; replace all calls with substituted behaviour. + + + + + Partial substitute; use base behaviour unless explicitly overriden. + + *EXPERIMENTAL* Asserts the calls to the substitutes contained in the given Action were @@ -178,14 +196,14 @@ Action containing calls to substitutes in the expected order - + Provides a specification for arguments for use with . Can additionally implement to give descriptions when arguments do not match. Matches arguments of type or compatible type. - + Checks whether the satisfies the condition of the matcher. If this throws an exception the argument will be treated as non-matching. @@ -193,6 +211,14 @@ + + + Asserts the calls to the substitutes contained in the given Action were + received by these substitutes in the same order. Calls to property getters are not included + in the assertion. + + Action containing calls to substitutes in the expected order + Clears last call router on SubstitutionContext for routes that do not require it. @@ -201,6 +227,33 @@ This is to help prevent static state bleeding over into future calls. + + + Get the arguments passed to this call. + + Array of all arguments passed to this call + + + + Gets the types of all the arguments passed to this call. + + Array of types of all arguments passed to this call + + + + Gets the argument of type `T` passed to this call. This will throw if there are no arguments + of this type, or if there is more than one matching argument. + + The type of the argument to retrieve + The argument passed to the call, or throws if there is not exactly one argument of this type + + + + Gets the nth argument to this call. + + Index of argument + The value of the argument at the given index + Raise an event for an EventHandler<TEventArgs> event with the provided and . @@ -258,7 +311,7 @@ Substitute for multiple interfaces or a class that implements multiple interfaces. At most one class can be specified. - If additional interfaces are required use the overload. + If additional interfaces are required use the overload. Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members can be recorded or have return values specified. @@ -278,6 +331,18 @@ Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors. A substitute implementing the specified types. + + + Create a substitute for a class that behaves just like a real instance of the class, but also + records calls made to its virtual members and allows for specific members to be substituted + by using When(() => call).DoNotCallBase() or by + setting a value to return value for that member. + + The type to substitute for parts of. Must be a class; not a delegate or interface. + + An instance of the class that will execute real methods when called, but allows parts to be selectively + overridden via `Returns` and `When..DoNotCallBase`. + Set a return value for this call. @@ -406,11 +471,34 @@ + + + Create a substitute for the given types. + + + + + + + + Create an instance of the given types, with calls configured to call the base implementation + where possible. Parts of the instance can be substituted using + Returns(). + + + + + Perform this action when called. + + + Do not call the base implementation on future calls. For us with partial substitutes. + + diff --git a/packages/NSubstitute.1.7.2.0/lib/NET35/NSubstitute.dll b/packages/NSubstitute.1.7.2.0/lib/NET35/NSubstitute.dll new file mode 100644 index 0000000..d491272 Binary files /dev/null and b/packages/NSubstitute.1.7.2.0/lib/NET35/NSubstitute.dll differ diff --git a/packages/NSubstitute.1.6.0.0/lib/NET40/NSubstitute.XML b/packages/NSubstitute.1.7.2.0/lib/NET40/NSubstitute.XML similarity index 80% rename from packages/NSubstitute.1.6.0.0/lib/NET40/NSubstitute.XML rename to packages/NSubstitute.1.7.2.0/lib/NET40/NSubstitute.XML index ac80aa9..278fbbd 100644 --- a/packages/NSubstitute.1.6.0.0/lib/NET40/NSubstitute.XML +++ b/packages/NSubstitute.1.7.2.0/lib/NET40/NSubstitute.XML @@ -100,13 +100,13 @@ - + Provides a specification for arguments for use with . Can additionally implement to give descriptions when arguments do not match. - + Checks whether the satisfies the condition of the matcher. If this throws an exception the argument will be treated as non-matching. @@ -114,7 +114,7 @@ - + Describes how the does not match the condition specified by this class, or if a detailed description can not be provided for the argument. @@ -162,6 +162,14 @@ + + + Particularly poor implementation of Maybe/Option type. + This is just filling an immediate need; use FSharpOption or XSharpx or similar for a + real implementation. + + + Delegates to ThreadLocal<T>, but wraps Value property access in try/catch to swallow ObjectDisposedExceptions. @@ -170,6 +178,16 @@ + + + Standard substitute behaviour; replace all calls with substituted behaviour. + + + + + Partial substitute; use base behaviour unless explicitly overriden. + + *EXPERIMENTAL* Asserts the calls to the substitutes contained in the given Action were @@ -178,14 +196,14 @@ Action containing calls to substitutes in the expected order - + Provides a specification for arguments for use with . Can additionally implement to give descriptions when arguments do not match. Matches arguments of type or compatible type. - + Checks whether the satisfies the condition of the matcher. If this throws an exception the argument will be treated as non-matching. @@ -193,6 +211,14 @@ + + + Asserts the calls to the substitutes contained in the given Action were + received by these substitutes in the same order. Calls to property getters are not included + in the assertion. + + Action containing calls to substitutes in the expected order + Clears last call router on SubstitutionContext for routes that do not require it. @@ -201,6 +227,33 @@ This is to help prevent static state bleeding over into future calls. + + + Get the arguments passed to this call. + + Array of all arguments passed to this call + + + + Gets the types of all the arguments passed to this call. + + Array of types of all arguments passed to this call + + + + Gets the argument of type `T` passed to this call. This will throw if there are no arguments + of this type, or if there is more than one matching argument. + + The type of the argument to retrieve + The argument passed to the call, or throws if there is not exactly one argument of this type + + + + Gets the nth argument to this call. + + Index of argument + The value of the argument at the given index + Raise an event for an EventHandler<TEventArgs> event with the provided and . @@ -258,7 +311,7 @@ Substitute for multiple interfaces or a class that implements multiple interfaces. At most one class can be specified. - If additional interfaces are required use the overload. + If additional interfaces are required use the overload. Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members can be recorded or have return values specified. @@ -278,6 +331,18 @@ Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors. A substitute implementing the specified types. + + + Create a substitute for a class that behaves just like a real instance of the class, but also + records calls made to its virtual members and allows for specific members to be substituted + by using When(() => call).DoNotCallBase() or by + setting a value to return value for that member. + + The type to substitute for parts of. Must be a class; not a delegate or interface. + + An instance of the class that will execute real methods when called, but allows parts to be selectively + overridden via `Returns` and `When..DoNotCallBase`. + Set a return value for this call. @@ -406,11 +471,34 @@ + + + Create a substitute for the given types. + + + + + + + + Create an instance of the given types, with calls configured to call the base implementation + where possible. Parts of the instance can be substituted using + Returns(). + + + + + Perform this action when called. + + + Do not call the base implementation on future calls. For us with partial substitutes. + + diff --git a/packages/NSubstitute.1.7.2.0/lib/NET40/NSubstitute.dll b/packages/NSubstitute.1.7.2.0/lib/NET40/NSubstitute.dll new file mode 100644 index 0000000..01dbbdc Binary files /dev/null and b/packages/NSubstitute.1.7.2.0/lib/NET40/NSubstitute.dll differ diff --git a/packages/NSubstitute.1.7.2.0/lib/NET45/NSubstitute.XML b/packages/NSubstitute.1.7.2.0/lib/NET45/NSubstitute.XML new file mode 100644 index 0000000..278fbbd --- /dev/null +++ b/packages/NSubstitute.1.7.2.0/lib/NET45/NSubstitute.XML @@ -0,0 +1,504 @@ + + + + NSubstitute + + + + + Argument matchers used for specifying calls to substitutes. + + + + + Match any argument value compatible with type . + + + + + + + Match argument that is equal to . + + + + + + + + Match argument that satisfies . + If the throws an exception for an argument it will be treated as non-matching. + + + + + + + + Invoke any argument whenever a matching call is made to the substitute. + + + + + + Invoke any argument with specified argument whenever a matching call is made to the substitute. + + + + + + + + Invoke any argument with specified arguments whenever a matching call is made to the substitute. + + + + + + + + + + Invoke any argument with specified arguments whenever a matching call is made to the substitute. + + + + + + + + + + + + Invoke any argument with specified arguments whenever a matching call is made to the substitute. + + + + + + + + + + + + + + Invoke any argument with specified arguments whenever a matching call is made to the substitute. + + + Arguments to pass to delegate. + + + + + Capture any argument compatible with type and use it to call the function + whenever a matching call is made to the substitute. + + + + + + + + Provides a specification for arguments for use with . + Can additionally implement to give descriptions when arguments do not match. + + + + + Checks whether the satisfies the condition of the matcher. + If this throws an exception the argument will be treated as non-matching. + + + + + + + Describes how the does not match the condition specified by this class, or + if a detailed description can not be provided for the argument. + + + Description of the non-match, or if no description can be provided. + + + + Adds a callback to execute for matching calls. + + an action to call + + + + + Combines two enumerables into a new enumerable using the given selector. + + + + + + + + + + This implementation was sanity-checked against the + Edulinq implementation and + Eric Lippert's implementation. + + + + + Checks if the instance can be used when a is expected. + + + + + + + + Join the using . + + + + + + + + Particularly poor implementation of Maybe/Option type. + This is just filling an immediate need; use FSharpOption or XSharpx or similar for a + real implementation. + + + + + + Delegates to ThreadLocal<T>, but wraps Value property access in try/catch to swallow ObjectDisposedExceptions. + These can occur if the Value property is accessed from the finalizer thread. Because we can't detect this, we'll + just swallow the exception (the finalizer thread won't be using any of the values from thread local storage anyway). + + + + + + Standard substitute behaviour; replace all calls with substituted behaviour. + + + + + Partial substitute; use base behaviour unless explicitly overriden. + + + + + *EXPERIMENTAL* Asserts the calls to the substitutes contained in the given Action were + received by these substitutes in the same order. Calls to property getters are not included + in the assertion. + + Action containing calls to substitutes in the expected order + + + + Provides a specification for arguments for use with . + Can additionally implement to give descriptions when arguments do not match. + + Matches arguments of type or compatible type. + + + + Checks whether the satisfies the condition of the matcher. + If this throws an exception the argument will be treated as non-matching. + + + + + + + Asserts the calls to the substitutes contained in the given Action were + received by these substitutes in the same order. Calls to property getters are not included + in the assertion. + + Action containing calls to substitutes in the expected order + + + + Clears last call router on SubstitutionContext for routes that do not require it. + + + This is to help prevent static state bleeding over into future calls. + + + + + Get the arguments passed to this call. + + Array of all arguments passed to this call + + + + Gets the types of all the arguments passed to this call. + + Array of types of all arguments passed to this call + + + + Gets the argument of type `T` passed to this call. This will throw if there are no arguments + of this type, or if there is more than one matching argument. + + The type of the argument to retrieve + The argument passed to the call, or throws if there is not exactly one argument of this type + + + + Gets the nth argument to this call. + + Index of argument + The value of the argument at the given index + + + + Raise an event for an EventHandler<TEventArgs> event with the provided and . + + + + + Raise an event for an EventHandler<TEventArgs> event with the substitute as the sender and the provided . + + + + + Raise an event for an EventHandler<EventArgsT> event with the substitute as the sender + and with a default instance of . + + + + + Raise an event for an EventHandler or EventHandler<EventArgs> event with the substitute + as the sender and with empty EventArgs. + + + + + Raise an event of type with the provided arguments. If no arguments are provided + NSubstitute will try and provide reasonble defaults. + + + + + Create a substitute for one or more types. For example: Substitute.For<ISomeType>() + + + + + Substitute for an interface or class. + Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members + can be recorded or have return values specified. + + The type of interface or class to substitute. + Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors. + A substitute for the interface or class. + + + + Substitute for multiple interfaces or a class that implements an interface. At most one class can be specified. + Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members + can be recorded or have return values specified. + + The type of interface or class to substitute. + An additional interface or class (maximum of one class) the substitute should implement. + Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors. + A substitute of type T1, that also implements T2. + + + + Substitute for multiple interfaces or a class that implements multiple interfaces. At most one class can be specified. + If additional interfaces are required use the overload. + Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members + can be recorded or have return values specified. + + The type of interface or class to substitute. + An additional interface or class (maximum of one class) the substitute should implement. + An additional interface or class (maximum of one class) the substitute should implement. + Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors. + A substitute of type T1, that also implements T2 and T3. + + + + Substitute for multiple interfaces or a class that implements multiple interfaces. At most one class can be specified. + Be careful when specifying a class, as all non-virtual members will actually be executed. Only virtual members + can be recorded or have return values specified. + + The types of interfaces or a type of class and multiple interfaces the substitute should implement. + Arguments required to construct a class being substituted. Not required for interfaces or classes with default constructors. + A substitute implementing the specified types. + + + + Create a substitute for a class that behaves just like a real instance of the class, but also + records calls made to its virtual members and allows for specific members to be substituted + by using When(() => call).DoNotCallBase() or by + setting a value to return value for that member. + + The type to substitute for parts of. Must be a class; not a delegate or interface. + + An instance of the class that will execute real methods when called, but allows parts to be selectively + overridden via `Returns` and `When..DoNotCallBase`. + + + + Set a return value for this call. + + + + Value to return + Optionally return these values next + + + + + Set a return value for this call, calculated by the provided function. + + + + Function to calculate the return value + Optionally use these functions next + + + + + Set a return value for this call made with any arguments. + + + + Value to return + Optionally return these values next + + + + + Set a return value for this call made with any arguments, calculated by the provided function. + + + + Function to calculate the return value + Optionally use these functions next + + + + + Checks this substitute has received the following call. + + + + + + + + Checks this substitute has received the following call the required number of times. + + + + + + + + + Checks this substitute has not received the following call. + + + + + + + + Checks this substitute has received the following call with any arguments. + + + + + + + + Checks this substitute has received the following call with any arguments the required number of times. + + + + + + + + + Checks this substitute has not received the following call with any arguments. + + + + + + + + Forget all the calls this substitute has received. + + + + + Note that this will not clear any results set up for the substitute using Returns(). + + + + + Perform an action when this member is called. + Must be followed by to provide the callback. + + + + + + + + + Perform an action when this member is called with any arguments. + Must be followed by to provide the callback. + + + + + + + + + Returns the calls received by this substitute. + + + + + + + + Create a substitute for the given types. + + + + + + + + Create an instance of the given types, with calls configured to call the base implementation + where possible. Parts of the instance can be substituted using + Returns(). + + + + + + + + Perform this action when called. + + + + + + Do not call the base implementation on future calls. For us with partial substitutes. + + + + diff --git a/packages/NSubstitute.1.7.2.0/lib/NET45/NSubstitute.dll b/packages/NSubstitute.1.7.2.0/lib/NET45/NSubstitute.dll new file mode 100644 index 0000000..a78e007 Binary files /dev/null and b/packages/NSubstitute.1.7.2.0/lib/NET45/NSubstitute.dll differ diff --git a/source/developwithpassion.specification.specs/developwithpassion.specification.specs.csproj b/source/developwithpassion.specification.specs/developwithpassion.specification.specs.csproj index 1df19d7..620766a 100755 --- a/source/developwithpassion.specification.specs/developwithpassion.specification.specs.csproj +++ b/source/developwithpassion.specification.specs/developwithpassion.specification.specs.csproj @@ -31,21 +31,25 @@ 4 - + False - ..\..\packages\Machine.Fakes.1.4.0\lib\net40\Machine.Fakes.dll + ..\..\packages\Machine.Fakes.2.1.0\lib\net40\Machine.Fakes.dll - + False - ..\..\packages\Machine.Fakes.RhinoMocks.1.4.0\lib\net40\Machine.Fakes.Adapters.RhinoMocks.dll + ..\..\packages\Machine.Fakes.RhinoMocks.2.1.0\lib\net40\Machine.Fakes.Adapters.RhinoMocks.dll - + False - ..\..\packages\Machine.Specifications.0.5.12\lib\net40\Machine.Specifications.dll + ..\..\packages\Machine.Specifications.0.7.0\lib\net40\Machine.Specifications.dll - + False - ..\..\packages\Machine.Specifications.0.5.12\lib\net40\Machine.Specifications.Clr4.dll + ..\..\packages\Machine.Specifications.0.7.0\lib\net40\Machine.Specifications.Clr4.dll + + + False + ..\..\packages\Machine.Specifications.Should.0.7.1\lib\net40\Machine.Specifications.Should.dll ..\..\packages\RhinoMocks.3.6.1\lib\net\Rhino.Mocks.dll diff --git a/source/developwithpassion.specification.specs/packages.config b/source/developwithpassion.specification.specs/packages.config index 31b354b..38c6ec0 100755 --- a/source/developwithpassion.specification.specs/packages.config +++ b/source/developwithpassion.specification.specs/packages.config @@ -1,7 +1,8 @@  - - - + + + + \ No newline at end of file diff --git a/source/developwithpassion.specifications.examples/developwithpassion.specifications.examples.csproj b/source/developwithpassion.specifications.examples/developwithpassion.specifications.examples.csproj index 5d6b899..17ad42d 100755 --- a/source/developwithpassion.specifications.examples/developwithpassion.specifications.examples.csproj +++ b/source/developwithpassion.specifications.examples/developwithpassion.specifications.examples.csproj @@ -31,19 +31,25 @@ 4 - + False - ..\..\packages\Machine.Fakes.1.4.0\lib\net40\Machine.Fakes.dll + ..\..\packages\Machine.Fakes.2.1.0\lib\net40\Machine.Fakes.dll - - ..\..\packages\Machine.Fakes.RhinoMocks.0.5.1\lib\net40\Machine.Fakes.Adapters.RhinoMocks.dll + + False + ..\..\packages\Machine.Fakes.RhinoMocks.2.1.0\lib\net40\Machine.Fakes.Adapters.RhinoMocks.dll + + + False + ..\..\packages\Machine.Specifications.0.7.0\lib\net40\Machine.Specifications.dll - + False - ..\..\packages\Machine.Specifications.0.5.12\lib\net40\Machine.Specifications.dll + ..\..\packages\Machine.Specifications.0.7.0\lib\net40\Machine.Specifications.Clr4.dll - - ..\..\packages\Machine.Specifications.0.5.12\lib\net40\Machine.Specifications.Clr4.dll + + False + ..\..\packages\Machine.Specifications.Should.0.7.1\lib\net40\Machine.Specifications.Should.dll ..\..\packages\RhinoMocks.3.6.1\lib\net\Rhino.Mocks.dll @@ -83,6 +89,9 @@ developwithpassion.specifications + + +