C# Class Xunit.DefaultBehaviorConfig

Helper base class for implementing IBehaviorConfig.
Inheritance: IBehaviorConfig
Afficher le fichier Open project: BjRo/xunitbddextensions

Méthodes publiques

Méthode Description
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)

Method Details

Cleanup() public méthode

Performs some cleanup operation on the sut.
public Cleanup ( object sut ) : void
sut object Specifies the sut.
Résultat void

EstablishContext() public méthode

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.
Résultat void

PrepareSut() public méthode

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.
Résultat void