Bagikan melalui


Assert.DoesNotThrow Metode

Definisi

Overload

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

Berlaku untuk

DoesNotThrow(TestDelegate, String)

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

Parameter

message
String

Berlaku untuk

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[]

Berlaku untuk