IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Constraints.ThrowsConstraintTest_ExactType Class Reference
+ Inheritance diagram for NUnit.Framework.Constraints.ThrowsConstraintTest_ExactType:
+ Collaboration diagram for NUnit.Framework.Constraints.ThrowsConstraintTest_ExactType:

Public Member Functions

void SetUp ()
 
- Public Member Functions inherited from NUnit.Framework.Constraints.ThrowsConstraintTestBase
void SucceedsWithGoodValues (object value)
 
void FailsWithBadValues (object badValue, string message)
 
- Public Member Functions inherited from NUnit.Framework.Constraints.ConstraintTestBaseNoData
void ProvidesProperDescription ()
 
void ProvidesProperStringRepresentation ()
 

Static Private Attributes

static object[] SuccessData
 
static object[] FailureData
 

Additional Inherited Members

- Protected Attributes inherited from NUnit.Framework.Constraints.ConstraintTestBaseNoData
Constraint theConstraint
 
string expectedDescription = "<NOT SET>"
 
string stringRepresentation = "<NOT SET>"
 

Member Function Documentation

void NUnit.Framework.Constraints.ThrowsConstraintTest_ExactType.SetUp ( )
inline

Member Data Documentation

object [] NUnit.Framework.Constraints.ThrowsConstraintTest_ExactType.SuccessData
staticprivate
Initial value:
= new object[]
{
new TestDelegate( TestDelegates.ThrowsArgumentException )
}
object [] NUnit.Framework.Constraints.ThrowsConstraintTest_ExactType.FailureData
staticprivate
Initial value:
= new object[]
{
new TestCaseData( new TestDelegate( TestDelegates.ThrowsNullReferenceException ), "<System.NullReferenceException: my message" + Env.NewLine ),
new TestCaseData( new TestDelegate( TestDelegates.ThrowsNothing ), "no exception thrown" ),
new TestCaseData( new TestDelegate( TestDelegates.ThrowsSystemException ), "<System.Exception: my message" + Env.NewLine )
}

The documentation for this class was generated from the following file: