Assert.DoesNotThrow Method

Definition

Overloads

DoesNotThrow(TestDelegate)
DoesNotThrow(TestDelegate, String)
DoesNotThrow(TestDelegate, String, Object[])

DoesNotThrow(TestDelegate)

public static void DoesNotThrow (NUnit.Framework.TestDelegate code);
static member DoesNotThrow : NUnit.Framework.TestDelegate -> unit

Parameters

Applies to

DoesNotThrow(TestDelegate, String)

public static void DoesNotThrow (NUnit.Framework.TestDelegate code, string message);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string -> unit

Parameters

message
String

Applies to

DoesNotThrow(TestDelegate, String, Object[])

public static void DoesNotThrow (NUnit.Framework.TestDelegate code, string message, params object[] args);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string * obj[] -> unit

Parameters

message
String
args
Object[]

Applies to