C# Class Jwc.Experiment.Xunit.StaticTestCaseCommandContext

Represents context of a static test-case command.
Inheritance: TestCommandContext
Show file Open project: jwChung/Experimentalism Class Usage Examples

Public Methods

Method Description
GetMethodContext ( object testObject ) : ITestMethodContext

Gets information of the test method.

GetStaticMethodContext ( ) : ITestMethodContext

Gets information of the static test method.

StaticTestCaseCommandContext ( IMethodInfo testMethod, IMethodInfo actualMethod, ISpecimenBuilderFactory factory, IEnumerable arguments ) : System

Initializes a new instance of the StaticTestCaseCommandContext class.

Method Details

GetMethodContext() public method

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

GetStaticMethodContext() public method

Gets information of the static test method.
public GetStaticMethodContext ( ) : ITestMethodContext
return ITestMethodContext

StaticTestCaseCommandContext() public method

Initializes a new instance of the StaticTestCaseCommandContext class.
public StaticTestCaseCommandContext ( IMethodInfo testMethod, IMethodInfo actualMethod, ISpecimenBuilderFactory factory, IEnumerable arguments ) : System
testMethod IMethodInfo /// A test method. ///
actualMethod IMethodInfo /// A actual method. ///
factory ISpecimenBuilderFactory /// A factory to create test fixture. ///
arguments IEnumerable /// Explicit arguments of the actual method. ///
return System