C# (CSharp) NUnit.Framework.Constraints Namespace

Classes

Name Description
AllItemsConstraintTests
BinaryOperator Abstract base class for all binary operators
BinarySerializableConstraint BinarySerializableConstraint tests whether an object is serializable in binary format.
BinarySerializableTest
CollectionContainsConstraint CollectionContainsConstraint is used to test whether a collection contains an expected object as a member.
CollectionContainsConstraintTests
CollectionEqualsTests
CollectionEquivalentConstraintTests
CollectionEquivalentConstraintTests.IgnoreCaseDataProvider
CollectionOrderedConstraintTests
CollectionOrderedConstraintTests.TestClass1
CollectionOrderedConstraintTests.TestClass2
CollectionOrderedConstraintTests.TestClass3
CollectionSubsetConstraintTests
CollectionSubsetConstraintTests.IgnoreCaseDataProvider
CollectionSupersetConstraintTests
CollectionSupersetConstraintTests.IgnoreCaseDataProvider
CollectionTally CollectionTally counts (tallies) the number of occurences of each object in one or more enumerations.
ConstraintTestBase
ConstraintTestBaseNoData
DelayedConstraintTests
EmptyConstraint EmptyConstraint tests a whether a string or collection is empty, postponing the decision about which test is applied until the type of the actual argument is known.
EmptyConstraintTest
EmptyDirectoryConstraint EmptyDirectoryConstraint is used to test that a directory is empty
EmptyDirectoryConstraintTest
EmptyDirectoryContraint EmptyDirectoryConstraint is used to test that a directory is empty
EmptyStringConstraintTest
EqualTests
EqualTests.SomeClass
ExactCountConstraintTests
ExactCountOperator Represents a constraint that succeeds if the specified count of members of a collection match a base constraint.
FloatingPointNumericsTests
ItemsConstraintExpression An extension of ResolvableConstraintExpression that adds a no-op Items property for readability.
MessageWriter MessageWriter is the abstract base for classes that write constraint descriptions and messages in some form. The class has separate methods for writing various components of a message, allowing implementations to tailor the presentation as needed.
MsgUtilTests
MsgUtils Static methods used in creating messages
NUnitComparerTests
NUnitEqualityComparer NUnitEqualityComparer encapsulates NUnit's handling of equality tests between objects.
NUnitEqualityComparer.FailurePoint FailurePoint class represents one point of failure in an equality test.
Numerics The Numerics class contains common operations on numeric values.
PathConstraint PathConstraint serves as the abstract base of constraints that operate on paths and provides several helper methods.
PredicateConstraintTests
PrefixConstraint Abstract base class used for prefixes
PropertyConstraint Summary description for PropertyConstraint.
RegexConstraint RegexConstraint can test whether a string matches the pattern provided.
ReusableConstraint ReusableConstraint wraps a resolved constraint so that it may be saved and reused as needed.
SamePathConstraint Summary description for SamePathConstraint.
SamePathOrUnderConstraint SamePathOrUnderConstraint tests that one path is under another
SubDirectoryConstraint SubDirectoryConstraint is used to test that one directory is a subdirectory of another.
ThrowsConstraint ThrowsConstraint is used to test the exception thrown by a delegate by applying a constraint to it.
ThrowsConstraintTestBase
ThrowsConstraintTest_ExactType
ThrowsConstraintTest_InstanceOfType
ThrowsConstraintTest_WithConstraint
ThrowsNothingConstraint ThrowsNothingConstraint tests that a delegate does not throw an exception.
XmlSerializableConstraint BinarySerializableConstraint tests whether an object is serializable in binary format.
XmlSerializableTest