C# Class Microsoft.Silverlight.Testing.UnitTesting.Metadata.VisualStudio.VsttProvider

Provider for the Visual Studio Team Test unit test (UT) framework metadata.
Inheritance: IUnitTestProvider
Afficher le fichier Open project: garyjohnson/wpnest

Méthodes publiques

Méthode Description
GetUnitTestAssembly ( Microsoft.Silverlight.Testing.Harness.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.

Method Details

GetUnitTestAssembly() public méthode

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 ( Microsoft.Silverlight.Testing.Harness.UnitTestHarness testHarness, Assembly assemblyReference ) : IAssembly
testHarness Microsoft.Silverlight.Testing.Harness.UnitTestHarness The unit test harness.
assemblyReference System.Reflection.Assembly Assembly reflection object.
Résultat IAssembly

HasCapability() public méthode

Whether the capability is supported by this provider.
public HasCapability ( UnitTestProviderCapabilities capability ) : bool
capability UnitTestProviderCapabilities Capability type.
Résultat bool

IsFailedAssert() public méthode

Check if the Exception is actually a failed assertion.
public IsFailedAssert ( Exception exception ) : bool
exception System.Exception Exception object to check.
Résultat bool

VsttProvider() public méthode

Create a new Visual Studio Team Test unit test framework provider instance.
public VsttProvider ( ) : System
Résultat System