diff --git a/Libraries/FluentAssertions.dll b/Libraries/FluentAssertions.dll
index cd2ffbf5a..0e091fd15 100644
Binary files a/Libraries/FluentAssertions.dll and b/Libraries/FluentAssertions.dll differ
diff --git a/Libraries/FluentAssertions.xml b/Libraries/FluentAssertions.xml
index 76cc4d4bb..0ff33172f 100644
--- a/Libraries/FluentAssertions.xml
+++ b/Libraries/FluentAssertions.xml
@@ -4,60 +4,223 @@
FluentAssertions
-
+
- Provides a fluent API for verifying an arbitrary condition.
+ Initializes a new instance of the class.
-
+
- Initializes a new instance of the class.
+ Contains extension methods for custom assertions in unit tests.
-
+
- Gets the name or identifier of the current subject, or a default value if the subject is not known.
+ Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
+ overloads.
-
+
- Indicates that every argument passed into is displayed on a separate line.
+ Provides methods for asserting the execution time of a method or property.
+ The object that exposes the method or property.
+ A reference to the method or property to measure the execution time of.
+
+ Returns an object for asserting that the execution time matches certain conditions.
+
-
+
- Gets or sets the name of the subject for the next verification.
+ Provides methods for asserting the execution time of a method or property.
+ The object that exposes the method or property.
+ A reference to the method or property to measure the execution time of.
+
+ Returns an object for asserting that the execution time matches certain conditions.
+
-
+
- The amount of time that a should exceed compared to another .
+ Asserts that the throws an exception.
+
+ The type of the exception it should throw.
+
+
+ Returns an object that allows asserting additional members of the thrown exception.
+
-
+
- The amount of time that a should be equal or exceed compared to another .
+ Asserts that the throws an exception.
+
+ The type of the exception it should throw.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+ Returns an object that allows asserting additional members of the thrown exception.
+
-
+
- The amount of time that a should differ exactly compared to another .
+ Asserts that the does not throw a particular exception.
+
+ The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
+
-
+
- The maximum amount of time that a should differ compared to another .
+ Asserts that the does not throw a particular exception.
+
+ The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
-
+
- The amount of time that a should be within another .
+ Asserts that the does not throw any exception at all.
-
+
- Gets the object which value is being asserted.
+ Asserts that the does not throw any exception at all.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Forces enumerating a collection. Should be used to assert that a method that uses the
+ yield keyword throws a particular exception.
+
+
+
+
+ Forces enumerating a collection. Should be used to assert that a method that uses the
+ yield keyword throws a particular exception.
+
+
+
+
+ Asserts that the properties of an object matches those of another object.
+
+
+
+
+ Safely casts the specified object to the type specified through .
+
+
+ Has been introduced to allow casting objects without breaking the fluent API.
+
+
+
+
+
+ Asserts that the current throws an exception of type .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current does not throw an exception of type .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current does not throw any exception.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is false.
+
+
+
+
+ Asserts that the value is false.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is true.
+
+
+
+
+ Asserts that the value is true.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
@@ -77,7 +240,7 @@
The type to which the object should be assignable.
The reason why the object should be assignable to the type.
- The parameters used when formatting the .
+ The parameters used when formatting the .
An which can be used to chain assertions.
@@ -93,7 +256,7 @@
The predicate which must be statisfied by the .
The reason why the predicate should be satisfied.
- The parameters used when formatting the .
+ The parameters used when formatting the .
An which can be used to chain assertions.
@@ -109,7 +272,7 @@
The predicate which must be statisfied by the .
The reason why the predicate should be satisfied.
- The parameters used when formatting the .
+ The parameters used when formatting the .
An which can be used to chain assertions.
@@ -119,346 +282,421 @@
- Asserts that the number of items in the collection matches the supplied amount.
+ Asserts that the number of items in the collection matches the supplied amount.
- Asserts that the number of items in the collection matches the supplied amount.
+ Asserts that the number of items in the collection matches the supplied amount.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the number of items in the collection matches a condition stated by a predicate.
+ Asserts that the number of items in the collection matches a condition stated by the .
- Asserts that the number of items in the collection matches a condition stated by a predicate.
+ Asserts that the number of items in the collection matches a condition stated by the .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the collection does not contain any items.
+ Asserts that the collection does not contain any items.
- Asserts that the collection does not contain any items.
+ Asserts that the collection does not contain any items.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the collection contains at least 1 item.
+ Asserts that the collection contains at least 1 item.
- Asserts that the collection contains at least 1 item.
+ Asserts that the collection contains at least 1 item.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the collection does not contain any duplicate items.
+ Asserts that the collection does not contain any duplicate items.
- Asserts that the collection does not contain any duplicate items.
+ Asserts that the collection does not contain any duplicate items.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the collection does not contain any null items.
+ Asserts that the collection does not contain any null items.
- Asserts that the collection does not contain any null items.
+ Asserts that the collection does not contain any null items.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ Expects the current collection not to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ Expects the current collection not to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
+ Expects the current collection not to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
-
+
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
+ Expects the current collection not to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the current collection only contains items that are assignable to the type .
+ Asserts that the current collection only contains items that are assignable to the type .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
+ Expects the current collection to contain the specified elements in any order. Elements are compared
+ using their implementation.
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
+ Expects the current collection to contain the specified elements in any order. Elements are compared
+ using their implementation.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
+ Expects the current collection to contain the specified elements in the exact same order. Elements are compared
+ using their implementation.
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
+ Expects the current collection to contain the specified elements in the exact same order. Elements are compared
+ using their implementation.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the collection is a subset of the .
+ Asserts that the collection is a subset of the .
- Asserts that the collection is a subset of the .
+ Asserts that the collection is a subset of the .
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Asserts that the collection is not a subset of the .
+ Asserts that the collection is not a subset of the .
- Asserts that the collection is not a subset of the .
+ Asserts that the collection is not a subset of the .
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Assert that the current collection has the same number of elements as .
+ Assert that the current collection has the same number of elements as .
- Assert that the current collection has the same number of elements as .
+ Assert that the current collection has the same number of elements as .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the current collection has not been initialized yet with an actual collection.
+ Asserts that the current collection has not been initialized yet with an actual collection.
- Asserts that the current collection has not been initialized yet with an actual collection.
+ Asserts that the current collection has not been initialized yet with an actual collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the current collection has been initialized with an actual collection.
+ Asserts that the current collection has been initialized with an actual collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the current collection has been initialized with an actual collection.
+ Asserts that the current collection has been initialized with an actual collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the current collection has the supplied at the supplied .
+ Asserts that the current collection has the supplied at the
+ supplied .
- Asserts that the current collection has the supplied at the supplied .
+ Asserts that the current collection has the supplied at the
+ supplied .
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
- Asserts that the current collection only contains items that are assignable to the type .
+ Asserts that the current collection only contains items that are assignable to the type .
- Asserts that the current collection does not contain the supplied item.
+ Asserts that the current collection does not contain the supplied item.
- Asserts that the current collection does not contain the supplied item.
-
-
-
-
- Asserts that the collection contains the specified item.
-
-
-
-
- Asserts that the collection contains the specified item.
+ Asserts that the current collection does not contain the supplied item.
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
-
- Zero or more values to use for filling in any compatible placeholders.
+
+ Zero or more objects to format using the placeholders in .
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
-
-
+
- Asserts that the collection contains at least one item that matches the predicate.
+ Asserts that the subject is considered equal to another object according to the implementation of .
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
+
+ The object to pass to the subject's method.
-
-
- Asserts that the collection only contains items that match a predicate.
-
-
-
+
- Asserts that the collection only contains items that match a predicate.
+ Asserts that the subject is considered equal to another object according to the implementation of .
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
+
+ The object to pass to the subject's method.
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
-
- Zero or more values to use for filling in any compatible placeholders.
+
+ Zero or more objects to format using the placeholders in .
-
-
- Provides services for formatting an object being used in an assertion in a human readable format.
-
-
-
-
- A list of objects responsible for formatting the objects represented by placeholders.
-
-
-
-
- Returns a human-readable representation of a particular object.
-
-
-
+
- Returns a human-readable representation of a particular object that starts on a new line.
+ Asserts that the subject is not equal to another object according to its implementation of .
+
+ The object to pass to the subject's method.
+
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the subject is not equal to another object according to its implementation of .
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
+
+ The object to pass to the subject's method.
A formatted phrase as is supported by explaining why the assertion
@@ -468,15 +706,12 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the subject is less than another object according to its implementation of .
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
+
+ The object to pass to the subject's method.
A formatted phrase as is supported by explaining why the assertion
@@ -486,15 +721,12 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the subject is less than another object according to its implementation of .
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
+
+ The object to pass to the subject's method.
A formatted phrase as is supported by explaining why the assertion
@@ -504,15 +736,20 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the subject is less than or equal to another object according to its implementation of .
-
- The expected value to compare the actual value with.
+
+ The object to pass to the subject's method.
-
- The maximum amount of which the two values may differ.
+
+
+
+ Asserts that the subject is less than or equal to another object according to its implementation of .
+
+
+ The object to pass to the subject's method.
A formatted phrase as is supported by explaining why the assertion
@@ -522,15 +759,20 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the subject is greater than another object according to its implementation of .
-
- The expected value to compare the actual value with.
+
+ The object to pass to the subject's method.
-
- The maximum amount of which the two values may differ.
+
+
+
+ Asserts that the subject is greater than another object according to its implementation of .
+
+
+ The object to pass to the subject's method.
A formatted phrase as is supported by explaining why the assertion
@@ -540,15 +782,20 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the subject is greater than or equal to another object according to its implementation of .
-
- The expected value to compare the actual value with.
+
+ The object to pass to the subject's method.
-
- The maximum amount of which the two values may differ.
+
+
+
+ Asserts that the subject is greater than or equal to another object according to its implementation of .
+
+
+ The object to pass to the subject's method.
A formatted phrase as is supported by explaining why the assertion
@@ -558,33 +805,32 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that a value is within a range.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+ Where the range is continuous or incremental depends on the actual type of the value.
+
+
+ The minimum valid value of the range.
-
- Zero or more objects to format using the placeholders in .
+
+ The maximum valid value of the range.
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that a value is within a range.
-
- The expected value to compare the actual value with.
+
+ Where the range is continuous or incremental depends on the actual type of the value.
+
+
+ The minimum valid value of the range.
-
- The maximum amount of which the two values may differ.
+
+ The maximum valid value of the range.
A formatted phrase as is supported by explaining why the assertion
@@ -594,222 +840,1150 @@
Zero or more objects to format using the placeholders in .
-
+
- Records activity for a single event.
+ Asserts that a nullable numeric value is not null.
-
+
+
+ Asserts that a nullable numeric value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable numeric value is null.
+
+
+
+
+ Asserts that a nullable numeric value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Defines the way compares the expected exception
+ message with the actual one.
+
+
+
+
+ The message must match exactly, including the casing of the characters.
+
+
+
+
+ The message must contain the expected message.
+
+
+
+
+ The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
+
+
+
+
+ Asserts that the current is exactly equal to the value.
+
+
+
+
+ Asserts that the current is exactly equal to the value.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is before the specified value.
+
+
+
+
+ Asserts that the current is before the specified value.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is either on, or before the specified value.
+
+
+
+
+ Asserts that the current is either on, or before the specified value.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is after the specified value.
+
+
+
+
+ Asserts that the current is after the specified value.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is either on, or after the specified value.
+
+
+
+
+ Asserts that the current is either on, or after the specified value.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the year.
+
+
+
+
+ Asserts that the current has the year.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the month.
+
+
+
+
+ Asserts that the current has the month.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the day.
+
+
+
+
+ Asserts that the current has the day.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the hour.
+
+
+
+
+ Asserts that the current has the hour.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the minute.
+
+
+
+
+ Asserts that the current has the minute.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the second.
+
+
+
+
+ Asserts that the current has the second.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ exceeds the specified compared to another .
+
+
+ The amount of time that the current should exceed compared to another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ is equal to or exceeds the specified compared to another .
+
+
+ The amount of time that the current should be equal or exceed compared to
+ another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ differs exactly the specified compared to another .
+
+
+ The amount of time that the current should differ exactly compared to another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ is within the specified compared to another .
+
+
+ The amount of time that the current should be within another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ differs at maximum the specified compared to another .
+
+
+ The maximum amount of time that the current should differ compared to another .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Asserts that the thrown exception has a message that exactly matches the
+
+
+ The expected message of the exception.
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ Determines how the expected message is compared with the actual message.
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ Determines how the expected message is compared with the actual message.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the thrown exception contains an inner exception of type .
+
+ The expected type of the inner exception.
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the thrown exception contains an inner exception of type .
+
+ The expected type of the inner exception.
+ The reason why the inner exception should be of the supplied type.
+ The parameters used when formatting the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+
+ The reason why the message of the inner exception should match .
+
+ The parameters used when formatting the .
+
+
+
+ Asserts that the exception matches a particular condition.
+
+
+ The condition that the exception must match.
+
+
+
+
+ Asserts that the exception matches a particular condition.
+
+
+ The condition that the exception must match.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Gets the exception object of the exception thrown.
+
+
+
+
+ Provides methods for asserting that the execution time of an satifies certain conditions.
+
+
+
+
+ Asserts that the execution time of the operation does not exceed a specified amount of time.
+
+
+ The maximum allowed duration.
+
+
+
+
+ Asserts that the execution time of the operation does not exceed a specified amount of time.
+
+
+ The maximum allowed duration.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Provides methods for asserting that the execution time of an object member satifies certain conditions.
+
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection contains the specified item.
+
+
+
+
+ Asserts that the collection contains the specified item.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection contains some extra items in addition to the original items.
+
+
+
+
+ Asserts that the collection contains at least one item that matches the predicate.
+
+
+
+
+ Asserts that the collection contains at least one item that matches the predicate.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection only contains items that match a predicate.
+
+
+
+
+ Asserts that the collection only contains items that match a predicate.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection does not contain any items that match the predicate.
+
+
+
+
+ Asserts that the collection does not contain any items that match the predicate.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the current dictionary has not been initialized yet with an actual dictionary.
+
+
+
+
+ Asserts that the current dictionary has not been initialized yet with an actual dictionary.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current dictionary has been initialized with an actual dictionary.
+
+
+
+
+ Asserts that the current dictionary has been initialized with an actual dictionary.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the number of items in the dictionary matches the supplied amount.
+
+
+ The expected amount.
+
+
+
+
+ Asserts that the number of items in the dictionary matches the supplied amount.
+
+
+ The expected amount.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the number of items in the dictionary matches a condition stated by a predicate.
+
+
+ The predicate which must be statisfied by the amount of items
+
+
+
+
+ Asserts that the number of items in the dictionary matches a condition stated by a predicate.
+
+
+ The predicate which must be statisfied by the amount of items
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the dictionary does not contain any items.
+
+
+
+
+ Asserts that the dictionary does not contain any items.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the dictionary contains at least 1 item.
+
+
+
+
+ Asserts that the dictionary contains at least 1 item.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
- Records raised events for one event on one object
+ Asserts that the current dictionary contains all the same key-value pairs as the
+ specified dictionary. Keys and values are compared using
+ their implementation.
+
+ The expected dictionary
+
-
+
- Store information about a raised event
+ Asserts that the current dictionary contains all the same key-value pairs as the
+ specified dictionary. Keys and values are compared using
+ their implementation.
- Parameters the event was raised with
+
+ The expected dictionary
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- The object events are recorded from
+ Asserts the current dictionary not to contain all the same key-value pairs as the
+ specified dictionary. Keys and values are compared using
+ their implementation.
+
+ The unexpected dictionary
+
-
+
- The name of the event that's recorded
+ Asserts the current dictionary not to contain all the same key-value pairs as the
+ specified dictionary. Keys and values are compared using
+ their implementation.
+
+ The unexpected dictionary
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
+ Asserts that the dictionary contains the specified key. Keys are compared using
+ their implementation.
- The object events are recorded from
- The name of the event that's recorded
+
+ The expected key
+
-
+
- Enumerate raised events
+ Asserts that the dictionary contains the specified key. Keys are compared using
+ their implementation.
+
+ The expected key
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Enumerate raised events
+ Asserts that the dictionary contains all of the specified keys. Keys are compared using
+ their implementation.
-
+
+ The expected keys
+
-
+
- Called by the auto-generated IL, to record information about a raised event.
+ Asserts that the dictionary contains all of the specified keys. Keys are compared using
+ their implementation.
+
+ The expected keys
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- The object events are recorded from
+ Asserts that the current dictionary does not contain the specified key.
+ Keys are compared using their implementation.
+
+ The unexpected key
+
-
+
- The name of the event that's recorded
+ Asserts that the current dictionary does not contain the specified key.
+ Keys are compared using their implementation.
+
+ The unexpected key
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure.
+ Asserts that the dictionary contains the specified value. Values are compared using
+ their implementation.
+
+ The expected value
+
-
+
- Asserts that the supplied is met.
+ Asserts that the dictionary contains the specified value. Values are compared using
+ their implementation.
- The condition to assert.
-
- The message that will be used in the exception. This should describe what was expected and why. This message
- can contain the following three placeholders:
-
- - {0} = the expected value
- - {1} = the actual value
- - {2} = a reason explaining the expectations
-
- Any additional placeholders are allowed and will be satisfied using the .
+
+ The expected value
-
- The expected value, or null if there is no explicit expected value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- The actual value, or null if there is no explicit actual value.
- Should describe the reason for the expectation.
- Optional args for formatting placeholders in the .
-
- Optional arguments to satisfy any additional placeholders in the
+
+ Zero or more objects to format using the placeholders in .
-
+
- Asserts that the supplied is met.
+ Asserts that the dictionary contains all of the specified values. Values are compared using
+ their implementation.
- The condition to assert.
-
- The message that will be used in the exception. This should describe what was expected and why. This message
- can contain the following three placeholders:
-
- - {0} = the expected value
- - {1} = the actual value
- - {2} = a reason explaining the expectations
-
- Any additional placeholders are allowed and will be satisfied using the .
+
+ The expected values
-
- The expected value, or null if there is no explicit expected value.
+
+
+
+ Asserts that the dictionary contains all of the specified values. Values are compared using
+ their implementation.
+
+
+ The expected values
- The actual value, or null if there is no explicit actual value.
- Should describe the reason for the expectation.
- Optional args for formatting placeholders in the .
-
- Optional arguments to satisfy any additional placeholders in the
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
-
+
- Handles an assertion failure.
+ Asserts that the current dictionary does not contain the specified value.
+ Values are compared using their implementation.
-
- The message that will be used in the exception. This should describe what was expected and why. This message
- can contain the following three placeholders:
-
- - {0} = the expected value
- - {1} = the actual value
- - {2} = a reason explaining the expectations
-
- Any additional placeholders are allowed and will be satisfied using the .
+
+ The unexpected value
-
- The expected value, or null if there is no explicit expected value.
+
+
+
+ Asserts that the current dictionary does not contain the specified value.
+ Values are compared using their implementation.
+
+
+ The unexpected value
- The actual value, or null if there is no explicit actual value.
- Should describe the reason for the expectation.
- Optional args for formatting placeholders in the .
-
- Optional arguments to satisfy any additional placeholders in the
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
-
+
- Gets an object that wraps and executes a conditional or unconditional verification.
+ Asserts that the current dictionary contains the specified .
+ Keys and values are compared using their implementation.
+
+ The to look for
+
-
+
- Gets the object which value is being asserted.
+ Asserts that the current dictionary contains the specified .
+ Keys and values are compared using their implementation.
+
+ The to look for
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Is responsible for validating the equality of one or more properties of a subject with another object.
+ Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
+
+ The key for which to validate the value
+
+
+ The value to validate
+
-
+
- Returns a based on a number of seconds.
+ Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
+
+ The key for which to validate the value
+
+
+ The value to validate
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Returns a based on a number of seconds.
+ Asserts that the current dictionary does not contain the specified .
+ Keys and values are compared using their implementation.
+
+ The to look for
+
-
+
- Returns a based on a number of minutes.
+ Asserts that the current dictionary does not contain the specified .
+ Keys and values are compared using their implementation.
+
+ The to look for
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Returns a based on a number of hours.
+ Asserts that the current dictionary does not contain the specified for the
+ supplied . Values are compared using their implementation.
+
+ The key for which to validate the value
+
+
+ The value to validate
+
-
+
- Returns a based on a number of days.
+ Asserts that the current dictionary does not contain the specified for the
+ supplied . Values are compared using their implementation.
+
+ The key for which to validate the value
+
+
+ The value to validate
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Initializes a new instance of the class.
+ Gets the object which value is being asserted.
-
+
- Static methods that aid in generic event subscription
+ Asserts that a value is within a range.
+
+ Where the range is continuous or incremental depends on the actual type of the value.
+
+
+ The minimum valid value of the range.
+
+
+ The maximum valid value of the range.
+
-
+
- Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
- when invoked.
+ Asserts that a value is within a range.
+
+ Where the range is continuous or incremental depends on the actual type of the value.
+
+
+ The minimum valid value of the range.
+
+
+ The maximum valid value of the range.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Finds the Return Type of a Delegate.
+ Asserts that a nullable numeric value is not null.
-
+
- Returns an Array of Types that make up a delegate's parameter signature.
+ Asserts that a nullable numeric value is not null.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Returns an array of types appended with an EventRecorder reference at the beginning.
+ Asserts that a nullable numeric value is null.
-
+
- Returns T/F Dependent on a Type Being a Delegate.
+ Asserts that a nullable numeric value is null.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Returns the MethodInfo for the Delegate's "Invoke" Method.
+ Gets the object which value is being asserted.
@@ -842,7 +2016,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -859,7 +2033,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -876,7 +2050,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -918,83 +2092,6 @@
Zero or more objects to format using the placeholders in .
-
-
- Asserts that the thrown exception has a message matching the .
-
- The expected message of the exception.
-
-
-
- Asserts that the thrown exception has a message matching the .
-
- The expected message of the exception.
-
- The reason why the message of the exception should match the .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
Provides methods for selecting one or properties of an object and comparing them with another object.
@@ -1019,207 +2116,52 @@
- Includes all properties of when comparing the subject with another object using ,
- except those specified using a property expression.
-
-
-
-
- Includes only those properties of when comparing the subject with another object using
- that were specified using a property expression.
-
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Asserts that the throws an exception.
-
-
- The type of the exception it should throw.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the throws an exception.
-
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
+ Includes all properties of when comparing the subject with another object using ,
+ except those specified using a property expression.
-
+
- Asserts that the properties of an object matches those of another object.
+ Includes only those properties of when comparing the subject with another object using
+ that were specified using a property expression.
-
+
- Safely casts the specified object to the type specified through .
+ Asserts that the previously selected properties of have the same value as the equally named
+ properties of .
- Has been introduced to allow casting objects without breaking the fluent API.
+ Property values are considered equal if, after converting them to the requested type, calling
+ returns true.
-
-
-
- Provides methods for asserting that the execution time of an satifies certain conditions.
-
-
-
+
- Asserts that the execution time of the operation does not exceed a specified amount of time.
+ Asserts that the previously selected properties of have the same value as the equally named
+ properties of .
-
- The maximum allowed duration.
-
+
+ Property values are considered equal if, after converting them to the requested type, calling
+ returns true.
+
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
-
- Zero or more values to use for filling in any compatible placeholders.
+
+ Zero or more objects to format using the placeholders in .
-
+
- Asserts that the execution time of the operation does not exceed a specified amount of time.
+ Gets the object which value is being asserted.
-
- The maximum allowed duration.
-
-
+
- Provides methods for asserting that the execution time of an object member satifies certain conditions.
+ Is responsible for validating the equality of one or more properties of a subject with another object.
-
@@ -1251,15 +2193,112 @@
- Case insensitive comparison
+ Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
+ the exception of the casing.
+
+ The string that the subject is expected to be equivalent to.
+
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
+ Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
+ the exception of the casing.
- The expected string.
+ The string that the subject is expected to be equivalent to.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
A formatted phrase as is supported by explaining why the assertion
@@ -1328,7 +2367,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -1345,7 +2384,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -1362,7 +2401,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -1379,7 +2418,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -1388,128 +2427,158 @@
Gets the object which value is being asserted.
-
+
- Asserts that a value is within a range.
+ Dedicated class for comparing two strings and generating consistent error messages.
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
+
+
+
+ Gets or sets a value indicating whether the subject should not match the pattern.
+
+
+
+
+ Gets or sets a value indicating whether the matching process should ignore any casing difference.
+
+
+
+
+ Provides methods for asserting that two objects differ in certain ways.
+
+
+
+
+ Asserts that a occurs a specified amount of time before another .
+
+
+ The to compare the subject with.
-
- The maximum valid value of the range.
+
+
+
+ Asserts that a occurs a specified amount of time before another .
+
+
+ The to compare the subject with.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
-
+
- Asserts that a value is within a range.
+ Asserts that a occurs a specified amount of time after another .
-
- Where the range is continuous or incremental depends on the actual type of the value.
-
-
- The minimum valid value of the range.
+
+ The to compare the subject with.
-
- The maximum valid value of the range.
+
+
+
+ Asserts that a occurs a specified amount of time after another .
+
+
+ The to compare the subject with.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
- Zero or more objects to format using the placeholders in .
+ Zero or more values to use for filling in any compatible placeholders.
-
+
- Determines whether this instance can handle the specified value.
+ Provides the logic and the display text for a .
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
+
- Returns a that represents this instance.
+ Returns a based on a number of milliseconds.
- The value.
-
- A that represents this instance.
-
-
+
- This class is used to store data about an intercepted event
+ Returns a based on a number of seconds.
-
+
- Default constructor stores the parameters the event was raised with
+ Returns a based on a number of minutes.
-
+
- Parameters for the event
+ Returns a based on a number of hours.
-
+
- Provides methods for asserting that two objects differ in certain ways.
+ Returns a based on a number of days.
-
+
- Asserts that a occurs a specified amount of time before another .
+ Finds the first index at which the does not match the
+ string anymore, including the exact casing.
+
+
+
+
+ Finds the first index at which the does not match the
+ string anymore, accounting for the specified .
+
+
+
+
+ Gets the quoted three characters at the specified index of a string, including the index itself.
+
+
+
+
+ Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
+
+
+
+
+ Static methods that aid in generic event subscription
+
+
+
+
+ Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
+ when invoked.
+
+
+
+
+ Finds the Return Type of a Delegate.
-
- The to compare the subject with.
-
-
+
- Asserts that a occurs a specified amount of time before another .
+ Returns an Array of Types that make up a delegate's parameter signature.
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
+
- Asserts that a occurs a specified amount of time after another .
+ Returns an array of types appended with an EventRecorder reference at the beginning.
-
- The to compare the subject with.
-
-
+
- Asserts that a occurs a specified amount of time after another .
+ Returns T/F Dependent on a Type Being a Delegate.
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
+
- Provides the logic and the display text for a .
+ Returns the MethodInfo for the Delegate's "Invoke" Method.
@@ -1546,7 +2615,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -1577,7 +2646,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -1602,7 +2671,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -1627,7 +2696,7 @@
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
-
+
Zero or more values to use for filling in any compatible placeholders.
@@ -1645,14 +2714,62 @@
Asserts that at least one occurrence of the event had an object matching a predicate.
-
+
+
+ Records activity for a single event.
+
+
+
+
+ Records raised events for one event on one object
+
+
+
+
+ Store information about a raised event
+
+ Parameters the event was raised with
+
+
+
+ The object events are recorded from
+
+
+
+
+ The name of the event that's recorded
+
+
+
+
+
+ The object events are recorded from
+ The name of the event that's recorded
+
+
+
+ Enumerate raised events
+
+
+
+
+ Enumerate raised events
+
+
+
+
+
+ Called by the auto-generated IL, to record information about a raised event.
+
+
+
- Dedicated class for comparing two strings and generating consistent error messages.
+ The object events are recorded from
-
+
- Gets or sets a value indicating whether the comparison is case sensitive.
+ The name of the event that's recorded
@@ -1661,61 +2778,171 @@
This should ensure the Garbage Collector can still clean-up the event source object.
-
+
- Finds the first index at which the does not match the
- string anymore, including the exact casing.
+ This class is used to store data about an intercepted event
-
+
- Finds the first index at which the does not match the
- string anymore, accounting for the specified .
+ Default constructor stores the parameters the event was raised with
-
+
- Gets the quoted three characters at the specified index of a string, including the index itself.
+ Parameters for the event
-
+
- Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
+ Helper class for verifying a condition and/or throwing a test harness specific exception representing an assertion failure.
-
+
- Asserts that a nullable numeric value is not null.
+ Asserts that the supplied is met.
+
+ The condition to assert.
+
+ The message that will be used in the exception. This should describe what was expected and why. This message
+ can contain the following three placeholders:
+
+ - {0} = the expected value
+ - {1} = the actual value
+ - {2} = a reason explaining the expectations
+
+
+
+ The expected value, or null if there is no explicit expected value.
+
+ The actual value, or null if there is no explicit actual value.
+ Should describe the reason for the expectation.
+ Optional args for formatting placeholders in the .
+
+
+
+ Asserts that the supplied is met.
+ The condition to assert.
+
+ The message that will be used in the exception. This should describe what was expected and why. This message
+ can contain the following three placeholders:
+
+ - {0} = the expected value
+ - {1} = the actual value
+ - {2} = a reason explaining the expectations
+
+
+
+ The expected value, or null if there is no explicit expected value.
+
+ The actual value, or null if there is no explicit actual value.
+ Should describe the reason for the expectation.
+ Optional args for formatting placeholders in the .
-
+
- Asserts that a nullable numeric value is not null.
+ Handles an assertion failure.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+ The message that will be used in the exception. This should describe what was expected and why. This message
+ can contain the following three placeholders:
+
+ - {0} = the expected value
+ - {1} = the actual value
+ - {2} = a reason explaining the expectations
+
+ Any additional placeholders are allowed and will be satisfied using the .
+
+
+ The expected value, or null if there is no explicit expected value.
+
+ The actual value, or null if there is no explicit actual value.
+ Should describe the reason for the expectation.
+ Optional args for formatting placeholders in the .
+
+ Optional arguments to satisfy any additional placeholders in the
-
- Zero or more objects to format using the placeholders in .
-
-
+
- Asserts that a nullable numeric value is null.
+ Gets an object that wraps and executes a conditional or unconditional verification.
-
+
- Asserts that a nullable numeric value is null.
+ Determines whether this instance can handle the specified value.
+
+ The value.
+
+ true if this instance can handle the specified value; otherwise, false.
+
+
+
+
+ Returns a that represents this instance.
+
+ The value.
+
+ A that represents this instance.
+
+
+
+
+ Provides services for formatting an object being used in an assertion in a human readable format.
+
+
+
+
+ A list of objects responsible for formatting the objects represented by placeholders.
+
+
+
+
+ Returns a human-readable representation of a particular object.
+
+
+
+
+ Returns a human-readable representation of a particular object that starts on a new line.
+
+
+
+
+ Provides a fluent API for verifying an arbitrary condition.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Gets the name or identifier of the current subject, or a default value if the subject is not known.
+
+
+
+
+ Define the failure message for the verification.
+
+
+ If the contains the text "{reason}", this will be replaced by the reason as
+ defined through . Only 10 are supported in combination with
+ a {reason}.
+
+ The format string that represents the failure message.
+ Optional arguments for the
+
+
+
+ Indicates that every argument passed into is displayed on a separate line.
+
+
+
+
+ Gets or sets the name of the subject for the next verification.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
diff --git a/NzbDrone.Core.Test/QualityTest.cs b/NzbDrone.Core.Test/QualityTest.cs
index 42743d1c1..03c2f9af0 100644
--- a/NzbDrone.Core.Test/QualityTest.cs
+++ b/NzbDrone.Core.Test/QualityTest.cs
@@ -11,43 +11,39 @@ namespace NzbDrone.Core.Test
public class QualityTest : TestBase
{
[Test]
- [Ignore("No supported asserts are available")]
public void Icomparer_greater_test()
{
var first = new Quality(QualityTypes.DVD, true);
var second = new Quality(QualityTypes.Bluray1080p, true);
- //Assert.GreaterThan(second, first);
+ second.Should().BeGreaterThan(first);
}
[Test]
- [Ignore("No supported asserts are available")]
public void Icomparer_greater_proper()
{
var first = new Quality(QualityTypes.Bluray1080p, false);
var second = new Quality(QualityTypes.Bluray1080p, true);
- //Assert.GreaterThan(second, first);
+ second.Should().BeGreaterThan(first);
}
[Test]
- [Ignore("No supported asserts are available")]
public void Icomparer_lesser()
{
var first = new Quality(QualityTypes.DVD, true);
var second = new Quality(QualityTypes.Bluray1080p, true);
- //Assert.LessThan(first, second);
+ first.Should().BeLessThan(second);
}
[Test]
- [Ignore("No supported asserts are available")]
public void Icomparer_lesser_proper()
{
var first = new Quality(QualityTypes.DVD, false);
var second = new Quality(QualityTypes.DVD, true);
- //Assert.LessThan(first, second);
+ first.Should().BeLessThan(second);
}
[Test]
@@ -86,7 +82,7 @@ namespace NzbDrone.Core.Test
var first = new Quality(QualityTypes.Bluray1080p, true);
var second = new Quality(QualityTypes.Bluray1080p, true);
- Assert.IsFalse(first != second);
+ (first != second).Should().BeFalse();
}
[Test]