C# Class Jwc.Experiment.Xunit.TestCommandContext

Represents a base class for test command context.
Inheritance: ITestCommandContext
Afficher le fichier Open project: jwChung/Experimentalism

Méthodes publiques

Méthode Description
GetArguments ( ITestMethodContext context ) : IEnumerable

Gets test arguments.

GetMethodContext ( object testObject ) : ITestMethodContext

Gets information of the test method.

GetStaticMethodContext ( ) : ITestMethodContext

Gets information of the static test method.

Méthodes protégées

Méthode Description
TestCommandContext ( ISpecimenBuilderFactory factory, IEnumerable arguments ) : System

Initializes a new instance of the TestCommandContext class.

Method Details

GetArguments() public méthode

Gets test arguments.
public GetArguments ( ITestMethodContext context ) : IEnumerable
context ITestMethodContext /// Information of the test method. ///
Résultat IEnumerable

GetMethodContext() public abstract méthode

Gets information of the test method.
public abstract GetMethodContext ( object testObject ) : ITestMethodContext
testObject object /// The test object. ///
Résultat ITestMethodContext

GetStaticMethodContext() public abstract méthode

Gets information of the static test method.
public abstract GetStaticMethodContext ( ) : ITestMethodContext
Résultat ITestMethodContext

TestCommandContext() protected méthode

Initializes a new instance of the TestCommandContext class.
protected TestCommandContext ( ISpecimenBuilderFactory factory, IEnumerable arguments ) : System
factory ISpecimenBuilderFactory /// A factory to create test fixture. ///
arguments IEnumerable /// Explicit arguments of the test method. ///
Résultat System