C# Класс StatLight.Client.Harness.Hosts.MSTest.UnitTestProviders.MSTest.TestMethod

A provider wrapper for a test method.
Наследование: ITestMethod
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DecorateInstance ( object instance ) : void

Decorates a test class instance with the unit test framework's specific test context capability, if supported.

GetDynamicAttributes ( ) : IEnumerable

Get any attribute on the test method that are provided dynamically.

Invoke ( object instance ) : void

Invoke the test method.

TestMethod ( MethodInfo methodInfo ) : System

Creates a new test method wrapper object.

Приватные методы

Метод Описание
OnWriteLine ( string s ) : void

Call the WriteLine method.

TestMethod ( ) : System

Private constructor, the constructor requires the method reflection object.

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

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

Decorates a test class instance with the unit test framework's specific test context capability, if supported.
public DecorateInstance ( object instance ) : void
instance object Instance to decorate.
Результат void

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

Get any attribute on the test method that are provided dynamically.
public GetDynamicAttributes ( ) : IEnumerable
Результат IEnumerable

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

Invoke the test method.
public Invoke ( object instance ) : void
instance object Instance of the test class.
Результат void

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

Creates a new test method wrapper object.
public TestMethod ( MethodInfo methodInfo ) : System
methodInfo System.Reflection.MethodInfo The reflected method.
Результат System