C# 클래스 Xunit.DefaultBehaviorConfig

Helper base class for implementing IBehaviorConfig.
상속: IBehaviorConfig
파일 보기 프로젝트 열기: BjRo/xunitbddextensions

공개 메소드들

메소드 설명
Cleanup ( object sut ) : void

Performs some cleanup operation on the sut.

EstablishContext ( IDependencyAccessor accessor ) : void

Uses the accessor specified by accessor in order to configure some behavior on dependencies of the system under test. This is called before the system under test has been created.

PrepareSut ( object sut ) : void

Does some preparation of the sut itself (e.g. adding some elements to container like structures)

메소드 상세

Cleanup() 공개 메소드

Performs some cleanup operation on the sut.
public Cleanup ( object sut ) : void
sut object Specifies the sut.
리턴 void

EstablishContext() 공개 메소드

Uses the accessor specified by accessor in order to configure some behavior on dependencies of the system under test. This is called before the system under test has been created.
public EstablishContext ( IDependencyAccessor accessor ) : void
accessor IDependencyAccessor Specifies the accessor for accessing dependencies of the SUT.
리턴 void

PrepareSut() 공개 메소드

Does some preparation of the sut itself (e.g. adding some elements to container like structures)
public PrepareSut ( object sut ) : void
sut object Specifies the sut.
리턴 void