GeneratedTestClassBase Members
Provides an abstract base class for test classes generated by Spec Explorer.
The following tables list the members exposed by the GeneratedTestClassBase type.
Protected Constructors
Name | Description | |
---|---|---|
GeneratedTestClassBase | Called from constructors in derived classes to initialize the GeneratedTestClassBase class. |
Top
Public Properties
Name | Description | |
---|---|---|
LogToFile | Gets or sets a value that indicates whether to write messages to a log file. | |
Manager | Gets or sets the test manager. This method supports the generated test cases and is not intended to be used directly from your code. | |
ProceedControlTimeout | Gets or sets the time-out period during which the test engine waits for observations before proceeding with a control action. This method supports the generated test cases and is not intended to be used directly from your code. | |
QuiescenceTimeout | Gets or sets the time-out period after which the implementation is assumed to be unresponsive. This method supports the generated test cases and is not intended to be used directly from your code. | |
TestProperties | When overridden in a derived class, gets or sets a dictionary of named properties for the generated test class. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Assert | When overridden in a derived class, supports assertion handling in the generated test cases. | |
Assume | When overridden in a derived class, supports initialization requirements in the generated test class. | |
BeginTest | When overridden in a derived class, indicates to the test harness that a test case is starting. | |
Checkpoint | When overridden in a derived class, indicates to the test harness that a step in a test case captured a requirement. | |
CleanupTestManager | Performs test case cleanup. The test harness calls this method after running a test case. This method supports the generated test cases and is not intended to be used directly from your code. | |
Comment | When overridden in a derived class, produces a comment to the test harness about test execution in the generated test cases. | |
EndTest | When overridden in a derived class, indicates to the test harness that a test case finished. | |
Equals | (Inherited from Object) | |
GetAdapter | When overridden in a derived class, retrieves a singleton instance of an adapter of the given type; throws an exception on failure. This method supports the Spec Explorer infrastructure and is not intended to be used directly from your code. | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
InitializeTestManager | Performs test case setup. The test harness calls this method before running a test case. This method supports the generated test cases and is not intended to be used directly from your code. | |
Make | Creates and initializes a structure or compound value. This method supports the generated test cases and is not intended to be used directly from your code. | |
SetSwitch | When overridden in a derived class, sets the value of a Cord switch in the generated test class. This method supports the generated test cases and is not intended to be used directly from your code. | |
ToString | (Inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) |
Top
See Also
Reference
GeneratedTestClassBase Class
Microsoft.SpecExplorer.Runtime.Testing Namespace
VsTestClassBase
IGeneratedTestClass
IConfigurableGeneratedTestClass
IBasicTestSite