C# Class Jwc.Experiment.Xunit.ParameterizedCommandContext

Represents context of a parameterized command.
Inheritance: TestCommandContext
Afficher le fichier Open project: jwChung/Experimentalism Class Usage Examples

Méthodes publiques

Méthode Description
GetMethodContext ( object testObject ) : ITestMethodContext

Gets information of the test method.

GetStaticMethodContext ( ) : ITestMethodContext

Gets information of the static test method.

ParameterizedCommandContext ( IMethodInfo testMethod, ISpecimenBuilderFactory factory, IEnumerable arguments ) : System

Initializes a new instance of the ParameterizedCommandContext class.

Method Details

GetMethodContext() public méthode

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

GetStaticMethodContext() public méthode

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

ParameterizedCommandContext() public méthode

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