C# Класс Jwc.Experiment.Xunit.StaticTestCaseCommandContext

Represents context of a static test-case command.
Наследование: TestCommandContext
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetMethodContext() публичный Метод

Gets information of the test method.
public GetMethodContext ( object testObject ) : ITestMethodContext
testObject object /// The test object. ///
Результат ITestMethodContext

GetStaticMethodContext() публичный Метод

Gets information of the static test method.
public GetStaticMethodContext ( ) : ITestMethodContext
Результат ITestMethodContext

StaticTestCaseCommandContext() публичный Метод

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. ///
Результат System