TestScenario Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for TestScenarios which defines all the common methods and functionality.
public abstract class TestScenario : IDisposable
type TestScenario = class
interface IDisposable
Public MustInherit Class TestScenario
Implements IDisposable
- Inheritance
-
TestScenario
- Derived
- Implements
Constructors
TestScenario(FabricClient, TestScenarioParameters) |
This API supports the Service Fabric platform and is not meant to be called from your code |
Fields
ProgressChanged |
Event handler which exposes the current progress of the test. When handled it gives you the ProgressChangedEventArgs which gives out a total % of the test which has already completed and the last operation (string) that was performed which can be useful for logging. |
Properties
FabricClient |
This API supports the Service Fabric platform and is not meant to be called from your code |
ScenarioParameters |
This API supports the Service Fabric platform and is not meant to be called from your code |
Methods
Dispose() |
This method will dispose the TestScenario. |
ExecuteAsync(CancellationToken) |
This method executes the test with the specified parameter set passed into the constructor. |
GetElapsedTime() |
This API supports the Service Fabric platform and is not meant to be called from your code |
HandleTaskComplete(Task, String, String) |
This API supports the Service Fabric platform and is not meant to be called from your code |
OnDispose(Boolean) |
This API supports the Service Fabric platform and is not meant to be called from your code |
OnExecuteAsync(CancellationToken) |
This API supports the Service Fabric platform and is not meant to be called from your code |
ReportProgress(String, Object[]) |
This API supports the Service Fabric platform and is not meant to be called from your code |
ReportProgress(String) |
This API supports the Service Fabric platform and is not meant to be called from your code |
ValidateScenarioAtExitAsync(CancellationToken) |
This API supports the Service Fabric platform and is not meant to be called from your code |