C# Class NUnit.Framework.ExpectedExceptionAttribute

Inheritance: Xunit.Sdk.LegacyExpectedExceptionAttribute
Mostrar archivo Open project: antonsamarsky/emitmapper-tools

Public Methods

Method Description
ExpectedExceptionAttribute ( ) : System

Constructor for a non-specific exception

ExpectedExceptionAttribute ( Type exceptionType ) : System

Constructor for a given type of exception

ExpectedExceptionAttribute ( string exceptionName ) : System

Constructor for a given exception name

Method Details

ExpectedExceptionAttribute() public method

Constructor for a non-specific exception
public ExpectedExceptionAttribute ( ) : System
return System

ExpectedExceptionAttribute() public method

Constructor for a given type of exception
public ExpectedExceptionAttribute ( Type exceptionType ) : System
exceptionType System.Type The type of the expected exception
return System

ExpectedExceptionAttribute() public method

Constructor for a given exception name
public ExpectedExceptionAttribute ( string exceptionName ) : System
exceptionName string The full name of the expected exception
return System