메소드 | 설명 | |
---|---|---|
Execute ( TestExecutionContext context ) : TestResult |
Runs the test, saving a TestResult in the supplied TestExecutionContext
|
|
ExpectedExceptionCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand, NUnit.Framework.Api.ExpectedExceptionData exceptionData ) : System |
Initializes a new instance of the ExpectedExceptionCommand class.
|
|
ProcessException ( |
Handles processing when an exception was thrown.
|
|
ProcessNoException ( TestExecutionContext context ) : void |
Handles processing when no exception was thrown.
|
메소드 | 설명 | |
---|---|---|
CombineWithUserMessage ( string message ) : string | ||
GetStackTrace ( |
||
IsExpectedExceptionType ( |
||
IsExpectedMessageMatch ( |
||
NoExceptionMessage ( ) : string | ||
WrongTextMessage ( |
||
WrongTypeMessage ( |
public Execute ( TestExecutionContext context ) : TestResult | ||
context | TestExecutionContext | The context in which the test is to be run. |
리턴 | TestResult |
public ExpectedExceptionCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand, NUnit.Framework.Api.ExpectedExceptionData exceptionData ) : System | ||
innerCommand | NUnit.Framework.Internal.Commands.TestCommand | The inner command. |
exceptionData | NUnit.Framework.Api.ExpectedExceptionData | The exception data. |
리턴 | System |
public ProcessException ( |
||
exception | The exception. | |
context | TestExecutionContext | The execution context. |
리턴 | void |
public ProcessNoException ( TestExecutionContext context ) : void | ||
context | TestExecutionContext | The execution context. |
리턴 | void |