C# 클래스 NUnit.Framework.Internal.Commands.SetUpTearDownCommand

SetUpTearDownCommand runs any SetUp methods for a suite, runs the test and then runs any TearDown methods.
상속: NUnit.Framework.Internal.Commands.DelegatingTestCommand
파일 보기 프로젝트 열기: nunit/nunit

공개 메소드들

메소드 설명
Execute ( TestExecutionContext context ) : TestResult

Runs the test, saving a TestResult in the supplied TestExecutionContext.

SetUpTearDownCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand ) : System

Initializes a new instance of the SetUpTearDownCommand class.

메소드 상세

Execute() 공개 메소드

Runs the test, saving a TestResult in the supplied TestExecutionContext.
public Execute ( TestExecutionContext context ) : TestResult
context TestExecutionContext The context in which the test should run.
리턴 TestResult

SetUpTearDownCommand() 공개 메소드

Initializes a new instance of the SetUpTearDownCommand class.
public SetUpTearDownCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand ) : System
innerCommand NUnit.Framework.Internal.Commands.TestCommand The inner command.
리턴 System