C# Class NStub.CSharp.ObjectGeneration.Builders.MemberBuilder

Base class for a test method processing class.
Inheritance: IMemberBuilder
Afficher le fichier Open project: Jedzia/NStub

Méthodes publiques

Méthode Description
Build ( IMemberBuildContext context ) : bool

Builds the specified context.

GetTestName ( IMemberBuildContext context, string originalName ) : string

Determines the name of the test method.

RunPreBuild ( IMemberPreBuildContext context ) : void

Runs before anything else on the test method.

The builders are called one after one, so an integral name resolution happens.

Méthodes protégées

Méthode Description
BuildMember ( IMemberBuildContext context ) : bool

Builds the test method member with the specified context.

DetermineTestName ( IMemberSetupContext context, string originalName ) : string

Determines the name of the test method.

The builders are called one after one, so an integral name resolution happens.

MemberBuilder ( IMemberSetupContext context ) : NStub.Core

Initializes a new instance of the MemberBuilder class.

PreBuild ( IMemberPreBuildContext context ) : void

Runs before anything else on the test method.

The builders are called one after one, so an integral name resolution happens.

Method Details

Build() public méthode

Builds the specified context.
public Build ( IMemberBuildContext context ) : bool
context IMemberBuildContext The build context of the test method member.
Résultat bool

BuildMember() protected abstract méthode

Builds the test method member with the specified context.
protected abstract BuildMember ( IMemberBuildContext context ) : bool
context IMemberBuildContext The build context of the test method member.
Résultat bool

DetermineTestName() protected méthode

Determines the name of the test method.
The builders are called one after one, so an integral name resolution happens.
protected DetermineTestName ( IMemberSetupContext context, string originalName ) : string
context IMemberSetupContext The build context of the test method member.
originalName string The initial name of the test method member.
Résultat string

GetTestName() public méthode

Determines the name of the test method.
public GetTestName ( IMemberBuildContext context, string originalName ) : string
context IMemberBuildContext The build context of the test method member.
originalName string The initial name of the test method member.
Résultat string

MemberBuilder() protected méthode

Initializes a new instance of the MemberBuilder class.
protected MemberBuilder ( IMemberSetupContext context ) : NStub.Core
context IMemberSetupContext The build context of the test method member.
Résultat NStub.Core

PreBuild() protected méthode

Runs before anything else on the test method.
The builders are called one after one, so an integral name resolution happens.
protected PreBuild ( IMemberPreBuildContext context ) : void
context IMemberPreBuildContext The build context of the test method member.
Résultat void

RunPreBuild() public méthode

Runs before anything else on the test method.
The builders are called one after one, so an integral name resolution happens.
public RunPreBuild ( IMemberPreBuildContext context ) : void
context IMemberPreBuildContext The build context of the test method member.
Résultat void