Partager via


GeneratedTestClassBase.Manager Property

Gets or sets the test manager. This method supports the generated test cases and is not intended to be used directly from your code.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime (in Microsoft.SpecExplorer.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public ITestManager Manager { get; set; }

Property Value

The test manager. The default is null.

Remarks

The test initialization method in the generated test class calls the InitializeTestManager method, which sets this property to an instance of the DefaultTestManager class. The test manager provides logging and checking functions for each generated test case. The test cleanup method in the generated test class calls the CleanupTestManager method, which sets this property to null.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

GeneratedTestClassBase Class
GeneratedTestClassBase Members
Microsoft.SpecExplorer.Runtime.Testing Namespace
DefaultTestManager Class
GeneratedTestClassBase.InitializeTestManager Method
GeneratedTestClassBase.CleanupTestManager Method