Поделиться через


Assert.DoesNotThrow Метод

Определение

Перегрузки

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

Параметры

Применяется к

DoesNotThrow(TestDelegate, String)

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

Параметры

message
String

Применяется к

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

Параметры

message
String
args
Object[]

Применяется к