C# 클래스 StatLight.Client.Harness.Hosts.MSTest.UnitTestProviders.MSTest.VsttProvider

Provider for the Visual Studio Team Test unit test (UT) framework metadata.
상속: IUnitTestProvider
파일 보기 프로젝트 열기: staxmanade/StatLight 1 사용 예제들

공개 메소드들

메소드 설명
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