Assert.DoesNotThrow Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| 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
Parâmetros
- code
- TestDelegate
Aplica-se a
DoesNotThrow(TestDelegate, String)
public static void DoesNotThrow(NUnit.Framework.TestDelegate code, string message);
static member DoesNotThrow : NUnit.Framework.TestDelegate * string -> unit
Parâmetros
- code
- TestDelegate
- message
- String
Aplica-se a
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
Parâmetros
- code
- TestDelegate
- message
- String
- args
- Object[]