C# Class Microsoft.Silverlight.Testing.Harness.AssemblyManager

Container and manager type which handles an entire test assembly; contains sub work items that represent all actions needed to execute its tests.
Afficher le fichier Open project: garyjohnson/wpnest Class Usage Examples

Private Properties

Свойство Type Description
EnqueueAssemblyCleanup void
EnqueueAssemblyInitialize void
EnqueueMethodDispatcher void
EnqueueTestClasses void

Méthodes publiques

Méthode Description
AssemblyManager ( TestRunFilter runFilter, UnitTestHarness testHarness, IUnitTestProvider provider, IAssembly testAssembly ) : System

Create a new assembly manager, takes in the harness, provider reference and actual IAssembly object.

Méthodes protégées

Méthode Description
FirstInvoke ( ) : void

When the test run is ready to test the underlying test assembly that this class manages, perform reflection and enqueue work items to run the tests.

Private Methods

Méthode Description
EnqueueAssemblyCleanup ( ) : void

The assembly cleanup method.

EnqueueAssemblyInitialize ( ) : void

The assembly initialize method.

EnqueueMethodDispatcher ( MethodInfo method ) : void

Helper to enqueue a new method dispatcher.

EnqueueTestClasses ( ) : void

Reflect over all test classes in the assembly and add any which are not filtered out into the test work item queue.

Method Details

AssemblyManager() public méthode

Create a new assembly manager, takes in the harness, provider reference and actual IAssembly object.
public AssemblyManager ( TestRunFilter runFilter, UnitTestHarness testHarness, IUnitTestProvider provider, IAssembly testAssembly ) : System
runFilter TestRunFilter The test run filter object.
testHarness UnitTestHarness Harness object.
provider IUnitTestProvider The unit test metadata provider.
testAssembly IAssembly The test assembly metadata object.
Résultat System

FirstInvoke() protected méthode

When the test run is ready to test the underlying test assembly that this class manages, perform reflection and enqueue work items to run the tests.
protected FirstInvoke ( ) : void
Résultat void