-
Notifications
You must be signed in to change notification settings - Fork 53
Cyrille DUPUYDAUBY edited this page Mar 18, 2020
·
15 revisions
- Dropped support for Net 2.0 and 3.5
- Equality logic changed for
IDictionary
: dictionaries are considered equals if they have the same keys and the same values for each key. In NFluent V2, they were considered as different but equivalent. -
IsAnInstanceOf<nullableType>(null)
now fails (with an appropriate message). Previously, it did succeed. But, as captured in issue #68, this behavior was triggered by a bug and kept due to a poor error message when fixed.
Here is the list of methods, classes and other obsolete stuff that have been removed in this version as well as workaround advices.
- Drop support for Net 2.0 and 3.0: keep using NFluent V2.x versions
-
ILambdaCheck
: the definition was kept to prevent breaking build, but it was no longer used. If this is a problem for you, open an issue - IsPositive (available for numbers): please use IsStrictlyPositive instead.
- IsNegative (available for numbers): please use IsStrictlyNegative instead.
- IsLessThan (available for numbers): please use IsStrictlyNegative instead.
- IsGreaterThan (available for numbers): please use IsStrictlyGreaterThan instead.
- IsSameReferenceThan: please use IsSameReferenceAs instead.
- HasFieldsEqualToThose: please use HasFieldsWithSameValues instead.
- HasFieldsNotEqualToThose: please use HasNotFieldsWithSameValues instead.
- IsAFaillingCheckWithMessage: please use IsAFailingCheckWithMessage instead.
- IsAFaillingCheck: please use IsAFailingCheck instead.
- Properties (available for enumeration): please use Extracting instead.
- Welcome
- How to start
- Customising error messages
-
Check.That
- All (Equality, Type)
- Reference types
- Members based
- IEnumerable (Properties, Content, Elements)
- String (Properties, Content, RegExp )
- Numeric Type(Properties, Comparisons, Floating)
- Dictionary
- Char (Properties, Value)
- IComparable
- DateTime
- DateTimeOffset
- Misc: Boolean, TimeSpan, Stream, Enum, EventWaitHandle
- Check.ThatCode
- Check.ThatDynamic
- Extensibility
- Auxiliary types (TimeUnit)
- Mocks