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
TConfigThe type of the configuration.
TResultThe 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
configurationTConfigThe test configuration.
cancellationTokenCancellationTokenCancellation token to cancel the method.
timeoutWaitOnStartInMSintTimeout 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.