Class EngineTestHarnessBuilder<TEngineTestHarnessBuilder>
Provides the abstract builder class for an EngineTestHarness.
Inheritance
System.Object
EngineTestHarnessBuilder<TEngineTestHarnessBuilder>
Namespace: Copper.Conventions.Method.Testing.Harness.V1
Assembly: Copper.Conventions.Method.Testing.Harness.dll
Syntax
public abstract class EngineTestHarnessBuilder<TEngineTestHarnessBuilder> : ComponentBuilder<EngineTestHarness, TEngineTestHarnessBuilder> where TEngineTestHarnessBuilder : EngineTestHarnessBuilder<TEngineTestHarnessBuilder>
Type Parameters
Name | Description |
---|---|
TEngineTestHarnessBuilder | The Engine test harness builder type. |
Constructors
View SourceEngineTestHarnessBuilder()
Initializes a new instance of the EngineTestHarnessBuilder<TEngineTestHarnessBuilder> class.
Declaration
protected EngineTestHarnessBuilder()
Methods
View SourceAddAccess<TImplementation>(Func<TestHarnessAccessBuilder<TImplementation>>)
Adds an Access to the test harness.
Declaration
public TEngineTestHarnessBuilder AddAccess<TImplementation>(Func<TestHarnessAccessBuilder<TImplementation>> testHarnessAccessBuilderConfigureDelegate)
where TImplementation : class
Parameters
Type | Name | Description |
---|---|---|
System.Func<TestHarnessAccessBuilder<TImplementation>> | testHarnessAccessBuilderConfigureDelegate | The test harness Access builder configure delegate. |
Returns
Type | Description |
---|---|
TEngineTestHarnessBuilder | The same instance of |
Type Parameters
Name | Description |
---|---|
TImplementation |
AddEngine<TImplementation>(Func<TestHarnessEngineBuilder<TImplementation>>)
Adds an Engine to the test harness.
Declaration
public TEngineTestHarnessBuilder AddEngine<TImplementation>(Func<TestHarnessEngineBuilder<TImplementation>> testHarnessEngineBuilderConfigureDelegate)
where TImplementation : class
Parameters
Type | Name | Description |
---|---|---|
System.Func<TestHarnessEngineBuilder<TImplementation>> | testHarnessEngineBuilderConfigureDelegate | The test harness Engine builder configure delegate. |
Returns
Type | Description |
---|---|
TEngineTestHarnessBuilder | The same instance of |
Type Parameters
Name | Description |
---|---|
TImplementation |
ConfigureTestHarnessComponentConfiguration(Action<ChildComponentConfiguration<TestHarnessBuilder>>)
Configures Engine test harness's inner test harness component configuration.
Declaration
public TEngineTestHarnessBuilder ConfigureTestHarnessComponentConfiguration(Action<ChildComponentConfiguration<TestHarnessBuilder>> configureDelegate)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ChildComponentConfiguration<TestHarnessBuilder>> | configureDelegate | The delegate for configuring the |
Returns
Type | Description |
---|---|
TEngineTestHarnessBuilder |