Class TestBase<TConfig, TResult>
- Namespace
- Loehnert.Lisrt.HighVoltageTester.Etl
- Assembly
- Loehnert.Lisrt.HighVoltageTester.Etl.dll
Represents a test base.
public abstract class TestBase<TConfig, TResult> : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
Type Parameters
TConfig
The type of the configuration.
TResult
The type of the test result.
- Inheritance
-
PropertyChangedBaseTestBase<TConfig, TResult>
- Implements
-
INotifyPropertyChangedEx
- Derived
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Methods
Run(TConfig, CancellationToken, int)
Runs a test.
public abstract TResult Run(TConfig configuration, CancellationToken cancellationToken, int timeoutWaitOnStartInMS)
Parameters
configuration
TConfigThe test configuration.
cancellationToken
CancellationTokenCancellation token to cancel the method.
timeoutWaitOnStartInMS
intTimeout used to wait for test to start. This is relevant if the test is started by the test probe, for example.
Returns
- TResult
Test result data.