Table of Contents

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
PropertyChangedBase
TestBase<TConfig, TResult>
Implements
INotifyPropertyChangedEx
Derived
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Methods

Run(TConfig, CancellationToken, int)

Runs a test.

public abstract TResult Run(TConfig configuration, CancellationToken cancellationToken, int timeoutWaitOnStartInMS)

Parameters

configuration TConfig

The test configuration.

cancellationToken CancellationToken

Cancellation token to cancel the method.

timeoutWaitOnStartInMS int

Timeout 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.