Freigeben über


Assert.DoesNotThrow Methode

Definition

Überlädt

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

Parameter

Gilt für:

DoesNotThrow(TestDelegate, String)

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

Parameter

message
String

Gilt für:

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

Parameter

message
String
args
Object[]

Gilt für: