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

Provider for the Visual Studio Team Test unit test (UT) framework metadata.
Наследование: IUnitTestProvider
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetUnitTestAssembly ( UnitTestHarness testHarness, Assembly assemblyReference ) : IAssembly
GetUnitTestAssembly ( UnitTestHarness testHarness, Assembly assemblyReference ) : IAssembly

VSTT unit test provider constructor; takes an assembly reference to perform reflection on to retrieve all test class types. In this implementation of an engine for the VSTT metadata, only a single test Assembly can be utilized at a time for simplicity.

HasCapability ( UnitTestProviderCapabilities capability ) : bool

Whether the capability is supported by this provider.

IsFailedAssert ( Exception exception ) : bool

Check if the Exception is actually a failed assertion.

VsttProvider ( ) : System

Create a new Visual Studio Team Test unit test framework provider instance.

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

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

public GetUnitTestAssembly ( UnitTestHarness testHarness, Assembly assemblyReference ) : IAssembly
testHarness Microsoft.Silverlight.Testing.Harness.UnitTestHarness
assemblyReference System.Reflection.Assembly
Результат IAssembly

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

VSTT unit test provider constructor; takes an assembly reference to perform reflection on to retrieve all test class types. In this implementation of an engine for the VSTT metadata, only a single test Assembly can be utilized at a time for simplicity.
public GetUnitTestAssembly ( UnitTestHarness testHarness, Assembly assemblyReference ) : IAssembly
testHarness Microsoft.Silverlight.Testing.Harness.UnitTestHarness The unit test harness.
assemblyReference System.Reflection.Assembly Assembly reflection object.
Результат IAssembly

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

Whether the capability is supported by this provider.
public HasCapability ( UnitTestProviderCapabilities capability ) : bool
capability UnitTestProviderCapabilities Capability type.
Результат bool

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

Check if the Exception is actually a failed assertion.
public IsFailedAssert ( Exception exception ) : bool
exception System.Exception Exception object to check.
Результат bool

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

Create a new Visual Studio Team Test unit test framework provider instance.
public VsttProvider ( ) : System
Результат System