C# Class PclUnit.Style.Xunit.Exceptions.ThrowsException

Inheritance: AssertActualExpectedException
Show file Open project: jbtule/PclUnit

Public Methods

Method Description
ThrowsException ( Type expectedType ) : System

Creates a new instance of the ThrowsException class. Call this constructor when no exception was thrown.

Protected Methods

Method Description
ThrowsException ( Type expected, string actual, string actualMessage, string stackTrace ) : System

THIS CONSTRUCTOR IS FOR UNIT TESTING PURPOSES ONLY.

Private Methods

Method Description
ThrowsException ( Type expectedType, Exception actual ) : System

Method Details

ThrowsException() public method

Creates a new instance of the ThrowsException class. Call this constructor when no exception was thrown.
public ThrowsException ( Type expectedType ) : System
expectedType System.Type The type of the exception that was expected
return System

ThrowsException() protected method

THIS CONSTRUCTOR IS FOR UNIT TESTING PURPOSES ONLY.
protected ThrowsException ( Type expected, string actual, string actualMessage, string stackTrace ) : System
expected System.Type
actual string
actualMessage string
stackTrace string
return System