TestCaseData.Throws Method

Definition

Overloads

Throws(String)
Throws(Type)

Throws(String)

public NUnit.Framework.TestCaseData Throws (string exceptionName);
member this.Throws : string -> NUnit.Framework.TestCaseData

Parameters

exceptionName
String

Returns

Applies to

Throws(Type)

public NUnit.Framework.TestCaseData Throws (Type exceptionType);
member this.Throws : Type -> NUnit.Framework.TestCaseData

Parameters

exceptionType
Type

Returns

Applies to