C# 클래스 NUnit.Framework.Internal.Execution.CommandBuilder

A utility class to create TestCommands
파일 보기 프로젝트 열기: nunit/nunit 1 사용 예제들

공개 메소드들

메소드 설명
BuildSetUpTearDownList ( Type fixtureType, Type setUpType, Type tearDownType ) : List

Builds the set up tear down list.

MakeOneTimeSetUpCommand ( TestSuite suite, List setUpTearDown, List actions ) : TestCommand

Gets the command to be executed before any of the child tests are run.

MakeOneTimeTearDownCommand ( TestSuite suite, List setUpTearDownItems, List actions ) : TestCommand

Gets the command to be executed after all of the child tests are run.

MakeSkipCommand ( System.Test test ) : SkipCommand

Creates a command for skipping a test. The result returned will depend on the test RunState.

MakeTestCommand ( TestMethod test ) : TestCommand

Creates a test command for use in running this test.

비공개 메소드들

메소드 설명
BuildNode ( Type fixtureType, IList setUpMethods, IList tearDownMethods ) : SetUpTearDownItem
SelectMethodsByDeclaringType ( Type type, IList methods ) : List

메소드 상세

BuildSetUpTearDownList() 공개 정적인 메소드

Builds the set up tear down list.
public static BuildSetUpTearDownList ( Type fixtureType, Type setUpType, Type tearDownType ) : List
fixtureType System.Type Type of the fixture.
setUpType System.Type Type of the set up attribute.
tearDownType System.Type Type of the tear down attribute.
리턴 List

MakeOneTimeSetUpCommand() 공개 정적인 메소드

Gets the command to be executed before any of the child tests are run.
public static MakeOneTimeSetUpCommand ( TestSuite suite, List setUpTearDown, List actions ) : TestCommand
suite TestSuite
setUpTearDown List
actions List
리턴 TestCommand

MakeOneTimeTearDownCommand() 공개 정적인 메소드

Gets the command to be executed after all of the child tests are run.
public static MakeOneTimeTearDownCommand ( TestSuite suite, List setUpTearDownItems, List actions ) : TestCommand
suite TestSuite
setUpTearDownItems List
actions List
리턴 TestCommand

MakeSkipCommand() 공개 정적인 메소드

Creates a command for skipping a test. The result returned will depend on the test RunState.
public static MakeSkipCommand ( System.Test test ) : SkipCommand
test System.Test
리턴 SkipCommand

MakeTestCommand() 공개 정적인 메소드

Creates a test command for use in running this test.
public static MakeTestCommand ( TestMethod test ) : TestCommand
test TestMethod
리턴 TestCommand